---
title: "Read source examples without advancing a production cursor"
method: POST
path: "/workflow-sources/sample"
tags: ["Workflows"]
---

# Read source examples without advancing a production cursor

`POST /workflow-sources/sample`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/workflow-sources/sample`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Query parameters

- `workspace_id` string, required

## Request body

- WorkflowSource
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `account_ids` string[], nullable
  - `connection_id` string
  - `include_prereleases` boolean
  - `interval_minutes` integer
  - `kind` 'manual' | 'github_release' | 'rss' | 'rendition_published' | 'interval' | 'publication_created' | 'rendition_failed', required
  - `repository` string
  - `url` string

## Response `200`

OK

- WorkflowSourceItem[], nullable
  - `account_id` string
  - `body` string, required
  - `created_at` string
  - `id` string, required
  - `publication_id` string
  - `published_at` string
  - `rendition_id` string
  - `title` string, required
  - `url` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
