OpenAPI 3.1.02026-08-133781,4501.9 MB
6c2d6eb4a7e6
Assets
List Assets
List assets in the workspace, most recently created first.
get/v1/assets
Query parameters
page_sizeinteger
Number of assets to return.
Number of assets to return.
cursorstring nullable
Token from a previous response's next_cursor. Omit to fetch the first page.
Token from a previous response's next_cursor. Omit to fetch the first page.
searchstring nullable
Optional free-text search filter over asset names.
Optional free-text search filter over asset names.
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"assets": [
{
"asset_id": "5xM2KqOnZyce22SPZ9d4",
"content_url": "https://.../a1b2c3d4/content?...",
"created_at_unix": 1721520000,
"mime_type": "audio/mpeg",
"name": "podcast-intro.mp3"
}
],
"has_more": true,
"next_cursor": "eyJvZmZzZXQiOjEwfQ"
}