Ellipsis APIReferenceAssets

Get Asset

Return one asset's metadata, its gated dashboard URL, and a short-lived presigned `download_url`. To fetch the bytes locally, call this and then GET download_url immediately — the JSON API never carries the file. The CLI's `agent asset get` wraps exactly that two-step.

GET
/v1/assets/{asset_id}

Return one asset's metadata, its gated dashboard URL, and a short-lived presigned download_url.

To fetch the bytes locally, call this and then GET download_url immediately — the JSON API never carries the file. The CLI's agent asset get wraps exactly that two-step.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

asset_id*Asset Id

Header Parameters

user-agent?string|null

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/assets/string"
{  "asset": {    "agent_session_id": "string",    "content_type": "string",    "created_at": "2019-08-24T14:15:22Z",    "filename": "string",    "id": "string",    "size_bytes": 0  },  "download_url": "string",  "url": "string"}