convert → split → shape → extract pipeline as a single managed job and loads the result into a workspace. You get orchestration, retries, and cancellation handling without chaining the tools yourself.
Prerequisites
- An AiQL API key in the
AIQL_API_KEYenvironment variable - A workspace ID (see Quickstart to create one)
- A source document AiQL can reach
Start the ingestion
Pass the source document and the workspace ID in theAiQL-Workspace header. Unlike the individual tools, ingestions operate on a workspace.
Poll for completion
Ingestions run asynchronously. Poll until the status reports the job is done.Handle interruptions
Cancel a running ingestion, or retry one that failed. A cancelled job is only billed for the steps that finished; a retry only bills for the steps it re-runs.Next step
Once the ingestion finishes, query the data in your workspace. See the Quickstart for a query example.An ingestion is billed as the sum of the steps it runs:
convert per page, plus split, shape, and extract per 1,000 words. See Pricing for details.