SnozeDevelopers
API referenceAssets

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.

GET
/v1/workspaces/{workspaceId}/assets/{fileId}/meta
AuthorizationBearer <token>

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

In: header

Path Parameters

workspaceId*string
fileId*string

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"  }}