Labels

Update Label Key

Change a key's name, values list or multi flag. The key itself is fixed.

multi can change only while no agent or workflow uses the key: turning a string into a list (or back) under live data is a rewrite nobody asked for.

patch/core/label-keys/{key_id}

Request

  • Base URL
    https://api.anyreach.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

key_idstring uuid required

Query parameters

forceboolean

Remove values in use that the new values list no longer allows, from every agent and workflow, instead of answering 409.

Headers

x-anyreach-orgstring nullable

Organization ID for user PATs (pat_ prefix tokens)

Request body

namestring nullable
valuesstring[] nullable
multiboolean nullable

Response

Successful Response

idstring required
keystring required
namestring required
valuesstring[] nullable
multiboolean
agent_countinteger
workflow_countinteger
created_atstring date-time required
updated_atstring date-time required
created_bystring nullable
modified_bystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.