Files
Update file metadata (starred · description · tags)
Each call accepts any subset of the three keys. Tags are normalised server-side: lowercased, trimmed, de-duplicated, empties dropped. Description capped at 2 000 chars; empty string clears. Max 16 tags × 32 chars each.
patch/api/workspaces/{slug}/files/{fileId}/metadata
Request
- Base URLhttps://trydock.ai
- AuthHTTP bearer
Path parameters
slugstring required
fileIdstring required
Request body
Response
Updated file
Example response
{
"file": {
"id": "cmpfile_…",
"name": "hero.png",
"mimeType": "image/png"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.