Skip to main content
GET
/
api
/
resources
/
{id}
/
content
Download resource content
curl --request GET \
  --url https://api.empirical.run/api/resources/{id}/content \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Resource ID.

Required range: x >= 1

Query Parameters

scope
enum<string>
required

Capability scope: r (read) or w (write).

Available options:
r,
w
exp
integer | null

Expiry as a Unix timestamp (seconds).

sig
string
required

HMAC signature for the capability.

Response

The resource's binary content.

Binary file content.