Specs

Test a Spec on samples

Changed on

Runs the draft on document_ids, or on the pinned samples when you send none, as a preview: preview runs are never delivered to your destinations. A draft with unpublished changes is published first, exactly as when you test in the Spec editor, so a draft with errors is refused (422). Uses credits like any run.

Poll links.progress, then read rows with their evidence from GET /v1/pipelines/{pipeline_id}/results?include=provenance. Requires specs:write and runs:write, and the workspace Admin role.

post/v1/specs/{id}/test

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

object required
document_ids, string[]
acknowledge_issues, boolean

Response

The preview run started.

object required
spec_id, string uuid
pipeline_id, string uuid
version, integer
schema_id, string uuid
status, 'processing'
document_count, integer
issues, object[]
links, object

Changes