API referenceAssets
List Assets
GET
/api/v1/assetsAuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Query Parameters
limit?Limit
Range
1 <= value <= 100Default
50cursor?string|null
query?|
Case-insensitive literal filename substring.
created_by_id?|null
source_kind?|null
status?Status
Default
"all"Value in
- "all"
- "active"
- "retired"
order?Order
Default
"id"Value in
- "id"
- "newest"
Header Parameters
X-Workspace-ID?|
The workspace ID a login session acts in; required with a login session. An API key acts in its own workspace and needs none; naming another is forbidden.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/assets"{ "items": [ { "content_type": "string", "created_at": "2019-08-24T14:15:22Z", "created_by_id": "string", "creator_name": "string", "digest": "string", "id": "string", "name": "string", "retired_at": "2019-08-24T14:15:22Z", "session_id": "string", "size": 0, "source": { "property1": null, "property2": null }, "thread_id": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0, "workspace_id": "string" } ], "next_cursor": "string", "total_count": 0}