Skip to main content
POST

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Headers

Idempotency-Key
string

Optional key that makes a retry of this operation safe. Send a new value, 1 to 255 printable ASCII characters, for each intended operation, and send the same value with the same request when you retry it. A committed attempt reserves the key for 30 days from admission; retries do not extend that window. After 30 days the same key runs as a new request, even if its body differs. Within that window, a retry after the first request completed returns the original resource or run identity with the same status and response shape, without starting another operation. A failure before the intent commits stores nothing; after an external effect fails, a retry may resume that same committed intent. Keys belong to the credential, so another API key, even one the same user created, cannot replay them. Within 30 days, reusing a key with a different request returns 422 IDEMPOTENCY_KEY_REUSED; an invalid key returns 400 INVALID_IDEMPOTENCY_KEY. The key is compared exactly, so case and surrounding spaces count.

Required string length: 1 - 255
Pattern: ^[\x20-\x7E]{1,255}$

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
flow
enum<string>
required

Which parsing flow to run for these targets.

Available options:
submission,
policy
fileIds
string<uuid>[]

Ids of already-uploaded, finalized files to parse (each a run of one file). Optional, but provide at least one of fileIds or folderIds.

folderIds
string<uuid>[]

Ids of folders to parse. Each folder is recursively flattened to its live, ready files and parsed together as a single run. Optional, but provide at least one of fileIds or folderIds.

parseVersionOverride
string

Optional pin for the parse-stage task version (e.g. create_submission_v1). Must be a registered parse-stage task name or the request is rejected with a 400.

force
boolean
default:false

Blind re-trigger. When true, bypass the per-target dedupe so each requested target always mints a fresh run (a full extract+parse) instead of collapsing to duplicate. Defaults to false, which keeps the idempotent dedupe behavior.

Response

Parse enqueued — one outcome per requested target, in request order (files then folders)

flow
enum<string>

The flow the targets were enqueued for

Available options:
submission,
policy
enqueued
object[]