Skip to main content
POST
Create 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.

Body

application/json
name
string
required

Internal label, shown in the console. It is never an address: an agent is not reachable from outside and has no slug.

Required string length: 1 - 80
identity
object
answerPolicy
object
content
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