Skip to main content
PATCH
Edit an agent

Authorizations

Authorization
string
header
required

A workspace API key: wdy_live_… / wdy_test_…. Created at POST /workspaces/{tenantId}/keys and shown exactly once.

Path Parameters

agentId
string
required

Body

application/json
name
string

Rename the agent (internal label).

Required string length: 1 - 80
identity
object
content
object
answerPolicy
object

Response

id
string
required

The agent id. The only handle it has.

name
string
required

Internal label. Never an address (no slug).

identity
object
required
content
object
required
answerPolicy
object
required
defaultLocale
enum<string>
required

The language the agent’s copy is authored in (D-44).

Available options:
es,
en
locales
enum<string>[]
required

Every language the agent speaks.

Available options:
es,
en
createdAt
string<date-time>
required
updatedAt
string<date-time>
required