Api reference
Returns one normalized asset. Deleted or cross-team assets return not_found.
Authorization
bearerAuth assets:readAuthorizationBearer <token>
In: header
Scope: assets:read
Path Parameters
assetId*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/assets/string"{ "id": "string", "type": "image", "name": "string", "url": "http://example.com", "thumbnailUrl": "http://example.com", "preview": { "url": "http://example.com", "width": 0, "height": 0, "mimeType": "string" }, "width": 0, "height": 0, "duration": 0, "mimeType": "string", "source": "string", "sourceProcessId": "string", "trainingId": "string", "draft": { "finishableUntil": "2019-08-24T14:15:22Z" }, "favorite": true, "sessionId": "string", "createdAt": "2019-08-24T14:15:22Z", "links": { "self": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}Get agent usage GET
The in-app agent's usage for the current billing period: the included allowance shared by every chat, pay-as-you-go credits charged after it ran out, and the split by agent model. Matches the Agent Usage card on the account usage page.
Get a canvas card GET
Returns one card with every version (run) it has made, newest first. Uses the processes:read scope.