Skip to main content
POST
Create Tool Run

Extract Fields from Data Sources

The Extract Fields tool allows you to automatically extract structured information from documents in your knowledge engine. This is useful for:
  • Pulling specific data points from contracts, invoices, or reports
  • Extracting consistent information across multiple documents
  • Converting unstructured document data into structured format
The tool uses AI to identify and extract the specific fields you define, with confidence scores for each extraction.

Request

object
required
Configuration for the extraction tool
boolean
Whether to stream the response (default: false)
boolean
Whether to process the request asynchronously (default: false)
object
Custom metadata for the tool run

Response

string
Unique identifier for the tool run
string
Status of the tool run. Possible values: queued, processing, completed, failed
integer
Unix timestamp when the tool run was created
object
The tool configuration used for this run (same as request)
object
Results of the extraction

Example

Request Example

Response Example