Stream preview image bytes
/resources/{ref}/preview/{size}Returns JPEG bytes for the requested preview size.
Authorization
apiKey Issued to you when your integration is provisioned. Determines which catalogue resources are visible and which AI tools are available.
In: header
Path Parameters
Value in
- "thm"
- "pre"
- "scr"
Response Body
image/jpeg
application/json
curl -X GET "https://example.com/resources/0/preview/thm""string"{ "success": false, "status": "fail", "message": "string", "error": { "message": "API key is required", "code": "NO_API_KEY" }}Stream a rendered PDF page image GET
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.
List preview sizes available GET
Returns the URLs for any thumbnail/preview/screen-size cover images that exist for this resource.