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.
apiKeyAuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
workspaceId*stringfileId*stringSuccess
application/json- response
data*curl -X GET 'https://api.snoze.dev/v1/workspaces/string/assets/string/meta'{ "data": { "fileId": "string", "url": "string", "name": "string", "size": 0, "mimeType": "string" }}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.
Read many assets' metadata
Returns the capability URL, name, size, and MIME type for up to 200 files in one request, without serving their bytes. Uses the same access rules as reading a single asset: files the caller cannot read, from another workspace, or that do not exist are omitted rather than failing the request. Read-only; safe to retry.