Resources

Stream preview image bytes

GET/resources/{ref}/preview/{size}

Returns JPEG bytes for the requested preview size.

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
size*string

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"  }}