Read one asset's metadata
Returns a single file's capability URL, name, size, and MIME type without serving its bytes. Requires a workspace member with the `files:read` permission; an unknown or malformed file id is reported as not found.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/string/assets/string/meta"{ "data": { "fileId": "string", "url": "string", "name": "string", "size": 0, "mimeType": "string" }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}List the assets in a workspace
Returns a page of workspace files newest first, each with its capability URL, name, size, and MIME type. Requires a workspace member with the `files:read` permission; a file that is itself a workspace item can be restricted further by item-level grants and is dropped from the page when the caller cannot view it. Paginated: pass `limit` and the `cursor` from the previous response.
Delete an asset
Deletes the file record and, when no other record shares its storage key, the stored object itself. Requires a workspace member with the `files:write` permission. A file that is still referenced elsewhere is refused with a conflict carrying the full reference report; pass `force=1` to detach every reference first, each owner emitting its normal update event, and delete anyway.