Resources

Stream a rendered PDF page image

GET/resources/{ref}/pages/{pdfPage}

Returns JPEG bytes for a pre-rendered page of the resource's PDF (rendered during vector indexing). Useful for showing the exact page a search hit or AI citation points at.

Two ways to authenticate:

  • X-Api-Key header (read scope) — for server-side fetches.
  • Signed URL (exp + sig query params) — time-limited HMAC signature, so the URL can be embedded directly in a browser <img src> without exposing the api-key. Signed page URLs are issued by the AI chat response when a citation references a page.
X-Api-Key<token>

Issued to you when your integration is provisioned. Determines which catalogue resources are visible and which AI tools are available.

In: header

Path Parameters

ref*integer

Resource ref.

pdfPage*integer

1-based PDF page number.

Range1 <= value

Query Parameters

exp?integer

Signed-URL expiry (unix timestamp). Only with sig.

sig?string

HMAC signature for browser-embeddable access.

Response Body

image/jpeg

application/json

application/json

curl -X GET "https://example.com/resources/0/pages/1"
"string"
{  "success": false,  "status": "fail",  "message": "string",  "error": {    "message": "API key is required",    "code": "NO_API_KEY"  }}
{  "success": false,  "status": "fail",  "message": "string",  "error": {    "message": "API key is required",    "code": "NO_API_KEY"  }}