AgentsArtificial IntelligenceWeb ScrapingData ExtractionBrowser AutomationREST API
QueryDocumentRequest is a JSON Structure definition published by AgentQL, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/agentql/refs/heads/main/json-structure/agentql-query-document-request-structure.json",
"name": "QueryDocumentRequest",
"description": "Request body for querying data from a document.",
"type": "object",
"properties": {
"url": {
"type": "uri",
"description": "URL of the document to query (PDF or image).",
"example": "https://example.com/invoice.pdf"
},
"query": {
"type": "string",
"description": "AgentQL query string for structured data extraction.",
"example": "{ invoice { total_amount vendor_name date } }"
},
"prompt": {
"type": "string",
"description": "Natural language description of the data to extract.",
"example": "Extract invoice totals and vendor information"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.