Ask a document
Answer a question about a PDF or an image, from the document only; the answer is in output.text. Runs on MarqPDF's model or one of your own (model). Counts as one operation when it succeeds.
post/ask
Request
- Base URL: https://marqpdf.com/v1
- URL: https://marqpdf.com/v1/ask
- Auth: HTTP bearer
Request body
Example request
{
"file": "file_…",
"model": "anthropic/claude-opus-5-5"
}Response
Finished: the job with its output
Example response
{
"id": "job_3Fq…",
"output": {
"files": [
{
"id": "file_8rX2…"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.