API Reference

Analyze Document

Analyze a single document by passing a documentId and a list of questions in natural language. If the pages parameter is provided, the AI will only analyze the specified pages. Poll for the results using the GET /job/{jobId} endpoint with the returned jobId.

Body Params
string
required

Unique identifier of the document to be questioned.

questions
array of strings
required

List of questions to be answered.

Questions*
pages
array of integers

List of page numbers to be analyzed (zero indexed). If not provided, all pages will be analyzed.

Pages
Responses

Response body
object
string
required

Unique identifier for the submitted job.

string
required

Unique identifier for the analysis.

boolean
required

Whether the job was successful launched or not.

Language
Credentials