segments

Update a segment

Path identifier is segmentId (UUID) on the REST endpoint or slug via MCP. Both refer to the same segment.

put/tenants/{slug}/segments/{slugOrId}

Request

  • Base URL: https://api.animam.ai
  • URL: https://api.animam.ai/tenants/{slug}/segments/{slugOrId}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key
    • OAuth 2 (authorization code, authorization URL https://api.animam.ai/oauth/authorize, token URL https://api.animam.ai/oauth/token, scopes: segments:write)

Path parameters

slugstring required

Tenant slug (URL-safe identifier).

Example:dr-martin
slugOrIdstring required

Segment UUID (REST) or slug (MCP).

Request body

namestring
systemPromptstring
welcomeMessagestring
isActiveboolean

Response

Updated segment.

Changes

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