Files

Download the resource's original file

GET/resources/{ref}/file

Streams the resource's original file as raw bytes with the correct Content-Type and a Content-Disposition: attachment filename taken from the resource's stored filename. Requires the read scope.

Supports HTTP Range requests for resumable downloads (responds 206 Partial Content).

Access follows the internal download rules: confidential resources are denied, and restricted-access users cannot download originals (403 DOWNLOAD_NOT_ALLOWED).

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.

Response Body

application/octet-stream

application/octet-stream

application/json

application/json

application/json

curl -X GET "https://example.com/resources/0/file"
"string"
"string"

{  "success": false,  "status": "fail",  "message": "API key is required",  "error": {    "code": "NO_API_KEY",    "message": "API key is required"  }}

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