Extract structured data from a document using a JSON schema. Combines parsing and schema-based extraction in one call.
API key authentication. Use your Aifano API key (starts with ak_live_) as the Bearer token.
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.
JSON Schema defining the data to extract from the document.
Custom system prompt for the extraction model.
Configuration for the parsing step. Ignored when using jobid:// input.