SnozeDevelopers
API referenceAssets

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.

POST
/v1/workspaces/{workspaceId}/assets/metadata

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string

Request Body

application/json
  1. body
fileIds*array<string>
Itemsitems <= 200

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspaces/string/assets/metadata' \  -H 'Content-Type: application/json' \  -d '{  "fileIds": []}'
Example Response
{  "data": {    "assets": [      {        "fileId": "string",        "url": "string",        "name": "string",        "size": 0,        "mimeType": "string"      }    ]  }}