extract tool is the final step of the pipeline. It pulls the fields you ask for out of the text and returns them as structured values.
Prerequisites
- An AiQL API key in the
AIQL_API_KEYenvironment variable - Text or chunks to extract from, and the fields you want
Extract specific fields
List the fields to pull. Use the schema from Shape to choose which fields are available. Tool requests authenticate with a Bearer token and do not need a workspace.Next step
To run all four steps as one managed job and load the result into a workspace, see Run a full ingestion.extract is billed at 30 credits per 1,000 words, with a minimum of 1 credit. See Pricing for details.