Skip to main content
PATCH
Update an agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Scopes

agent

Act as the agent chosen at sign-in

Path Parameters

id
string
required

The agent's id

Body

application/json
name
string
Required string length: 1 - 80
icon
enum<string>
Available options:
bot,
sparkles,
bug,
message-square,
headphones,
search,
file-text,
mail,
calendar,
chart-line,
code,
git-pull-request,
database,
shield,
megaphone,
rocket,
wrench,
zap

Response

The changed agent

id
string
required
name
string
required
icon
enum<string>
required
Available options:
bot,
sparkles,
bug,
message-square,
headphones,
search,
file-text,
mail,
calendar,
chart-line,
code,
git-pull-request,
database,
shield,
megaphone,
rocket,
wrench,
zap
createdAt
string<date-time>
required