Create Work Agent
POST /work/agents
POST
/work/agents
Create one Work agent and its conversation.
visibility: "organization" needs the share permission (see
GET /work/agents/policy); 403 otherwise. Creating does not run it.
Authorizations
Parameters
Header Parameters
Request Body required
A Work agent’s profile. Mirrors work.agent_profiles.AgentProfileInput.
object
avatar
Avatar glyph
string
description
required
The agent’s instructions
string
name
required
Agent name
string
role
Role shown beside the name
string
visibility
private to its owner, or shared with the organization
string
Responses
201
Successful Response
object
data
required
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string