Submit a file or text for processing using a workflow
Submit a file or text content for processing using a specific workflow. The process runs asynchronously, and you’ll receive a file UUID to poll for results.Documentation Index
Fetch the complete documentation index at: https://docs.anyformat.ai/llms.txt
Use this file to discover all available pages before exploring further.
file or text, not both.id returned in the response is a file UUID. Use it to poll for results via GET /v2/workflows/{workflow_id}/files/{id}/results/. The endpoint returns 412 while processing and 200 when results are ready.API key issued from app.anyformat.ai/settings. Send as Authorization: Bearer <key>.
Successful Response
Response after triggering a workflow run. Contains the collection ID to use for polling extraction results.
The collection UUID for this run. Use this ID to poll for results via GET /v2/workflows/{workflow_id}/files/{id}/results/.
"069dcc2c-e14c-7606-8000-2ee4fb17b4e1"
Initial status of the run, typically success (meaning the run was accepted, not that extraction is complete).
"success"
The UUID of the workflow that was executed.
"0686bb97-8c30-70f0-8000-97669e000eb8"
The workflow version this run was bound to (the latest version at submission time). Lets callers verify which schema produced the results — useful right after an edit.
"FGaV4I2JAA"