Skip to content
AiventicDeveloper Docs
Esc
↑↓navigate↵open⌘Jpreview

Get a document page

Get one page as a one-page PDF, when a citation to this key’s lineage named it.

Scope: manuals:read

GET/v1/brand/{brand}/document/{documentId}/page/{n}
Authorization
AuthorizationBearer token (aiv_sk_) · headerrequired

An Aiventic API key, sent as Authorization: Bearer aiv_sk_....

Path parameters
brandstringrequired
documentIdstringrequired
ninteger | stringrequired
matches ^-?(?:0|[1-9]\d*)$
Query parameters
pdfSha256string

Copy it unchanged from the citation's url when it has one: it names the exact file version the citation came from.

Responses
200

OK

400

Bad Request

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
401

Unauthorized

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
403

Forbidden

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
404

Not Found

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
429

Too Many Requests

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
500

Internal Server Error

typestring | null
titlestring | null
statusinteger | string | null
matches ^-?(?:0|[1-9]\d*)$
detailstring | null
instancestring | null
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.aiventic.ai/v1/brand/string/document/string/page/0' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/problem+json'
Response
OK