Skip to main content
PUT
/
api
/
v1
/
storage
/
files
/
{file_id}
/
metadata
Update File Metadata
curl --request PUT \
  --url https://control-plane.kubiya.ai/api/v1/storage/files/{file_id}/metadata \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "tags": [
    "<string>"
  ],
  "custom_metadata": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

file_id
string
required

Body

application/json

Update file metadata request

tags
string[] | null
custom_metadata
Custom Metadata · object

Response

Successful Response