Skip to main content
A set of endpoints used to interact with supported LLMs.

AI agent for extract requests

The AI agent to be used for extraction.
PropertyTypeRequiredDescription
typeenum<string>YesThe type of AI agent to be used for extraction. Available options: ai_agent_extract.
long_textAI agent long text toolNo
basic_textAI agent basic text toolNo
basic_imageAI agent basic text toolNo
Example

AI agent for question requests

The AI agent used to handle queries.
PropertyTypeRequiredDescription
typeenum<string>YesThe type of AI agent used to handle queries. Available options: ai_agent_ask.
long_textAI agent long text toolNo
basic_textAI agent basic text toolNo
spreadsheetAI agent spreadsheet toolNo
long_text_multiAI agent long text toolNo
basic_text_multiAI agent basic text toolNo
basic_imageAI agent basic text toolNo
basic_image_multiAI agent basic text toolNo
Example

AI agent for structured extract request

The AI agent to be used for structured extraction.
PropertyTypeRequiredDescription
typeenum<string>YesThe type of AI agent to be used for extraction. Available options: ai_agent_extract_structured.
long_textAI agent long text toolNo
basic_textAI agent basic text toolNo
basic_imageAI agent basic text toolNo
Example

AI agent for text generation requests

The AI agent used for generating text.
PropertyTypeRequiredDescription
typeenum<string>YesThe type of AI agent used for generating text. Available options: ai_agent_text_gen.
basic_genAI agent basic text generation toolNo
Example

AI agent reference

The AI agent used to handle queries.
PropertyTypeRequiredDescription
typeenum<string>YesThe type of AI agent used to handle queries. Available options: ai_agent_id.
idstringYesThe ID of an Agent. This can be a numeric ID for custom agents (for example, 14031) or a unique identifier for pre-built agents (for example, enhanced_extract_agent for the Enhanced Extract Agent).
Example

AI extract response

AI extract response. The content of this response may vary depending on the requested configuration.
Example

AI extract structured response

AI extract structured response.
PropertyTypeRequiredDescription
answerAI extract responseYes
created_atstringYesThe ISO date formatted timestamp of when the answer to the prompt was created.
completion_reasonstringNoThe reason the response finishes.
confidence_scoreobjectNoThe confidence score levels and numeric values for each extracted field as a JSON dictionary. This can be empty if no field could be extracted.
referenceobjectNoThe reference for each extracted field as a JSON dictionary. This can be empty if no field could be extracted.
ai_agent_infoThe information on the models and processors used in the request.No
Example

AI response

AI response.
PropertyTypeRequiredDescription
answerstringYesThe answer provided by the LLM.
created_atstringYesThe ISO date formatted timestamp of when the answer to the prompt was created.
completion_reasonstringNoThe reason the response finishes.
ai_agent_infoThe information on the models and processors used in the request.No
Example

AI response (Full)

AI ask response.
PropertyTypeRequiredDescription
answerstringYesThe answer provided by the LLM.
created_atstringYesThe ISO date formatted timestamp of when the answer to the prompt was created.
completion_reasonstringNoThe reason the response finishes.
ai_agent_infoThe information on the models and processors used in the request.No
citationsarray of The citation of the LLM's answer referenceNoThe citations of the LLM’s answer reference.
Example
Last modified on July 9, 2026