Assets
Get one Asset
Fetches one Asset with its Registrations and a short-lived presigned previewUrl for the stored bytes. An Asset belonging to another organization is reported as missing, so the surface cannot be used to discover that an id is real.
This is also how a Registration is polled: status and providerIdentifier on each Registration settle here, and there is no separate status resource.
get/assets/{id}
Request
- Base URL: https://api.adcrunch.dev
- URL: https://api.adcrunch.dev/assets/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The Asset id.
Response
The Asset, its Registrations, and a signed link to the bytes that expires in 15 minutes.
Example response
{
"contentHash": "9d2f41b7c6e8a35014f7b2d9c3e6a810",
"createdAt": 1790000000000,
"createdBy": "usr_2e5b84",
"deletedAt": null,
"durationMs": 15000,
"filename": "spring-sale.mp4",
"height": 1920,
"id": "ast_7c1e9a",
"key": "org_3a7f10/ast_7c1e9a",
"kind": "video",
"mimeType": "video/mp4",
"name": "Spring sale 9:16",
"organizationId": "org_3a7f10",
"sizeBytes": 24117248,
"status": "ready",
"updatedAt": 1790000120000,
"width": 1080,
"registrations": [
{
"advertiserId": "acc_1203456789012345",
"assetId": "ast_7c1e9a",
"createdAt": 1790000121000,
"deletedAt": null,
"failureCode": null,
"failureReason": null,
"id": "reg_4b81d2",
"organizationId": "org_3a7f10",
"provider": "meta",
"providerIdentifier": "23843178520310445",
"status": "ready",
"updatedAt": 1790000249000,
"uploadSessionId": "1264871528937461",
"workflowId": "reg_4b81d2"
}
],
"previewUrl": "https://b7f3c81a29d64e0fa5c3d1e8b0947265.r2.cloudflarestorage.com/assets/org_3a7f10/ast_7c1e9a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20260922T104000Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=2f9a7c1e4b8d6035a1c7e2b94f0d38615c9a7e3d2b4f81c60d5a3e9b7f1c4028"
}Changes
No recorded changes to this operation across all 1 revision of this API.