Run Uploaded File
Process a file you already staged with Upload File
file_id you got back from the upload response as the file_id path parameter.
The run is asynchronous — poll GET /v2/workflows/{workflow_id}/files/{collection_id}/results/ (using the collection id from the response below) for the output.
file_id is the file_id from the upload response — the individual file handle, not the file_collection_id. See Packets and files. For upload-and-process in one call, use Run Workflow instead.Authorizations
API key issued from app.anyformat.ai/api-key. Send as Authorization: Bearer <key>.
Headers
Response
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: queued (the run was accepted and enqueued, not that extraction is complete). Use GET /v2/workflows/{workflow_id}/files/{id}/results/ to poll the run through its in_progress / processed lifecycle.
not_started, queued, in_progress, processed, error, cancelled "queued"
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"
