cURL
curl --request POST \ --url https://platform.aifano.com/pipeline \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "input": "<string>", "pipeline_id": "<string>" } '
{ "job_id": "<string>", "duration": 123, "usage": { "num_pages": 123, "credits": 123 }, "result": {} }
Execute a pre-configured pipeline on a document. Combines multiple processing steps (parse, extract, split) into a single call.
API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.
ak_live_
The document to process. Accepts: (1) a public URL, (2) a presigned S3 URL, (3) an aifano://file_id from /upload, or (4) a jobid://job_id from a previous /parse call.
aifano://file_id
jobid://job_id
The ID of the pipeline to execute.
Pipeline result
Show child attributes