Skip to main content
POST
Give an agent a task

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

agentId
string
required

Agent id from list_agents; the agent must belong to the workspace.

Required string length: 1 - 64

Body

application/json
workspaceId
string
required

Workspace id from list_workspaces.

Required string length: 1 - 64
prompt
string
required

What the agent should do.

Required string length: 1 - 20000
assigneeUserIds
string[]

People to assign the task to.

Maximum array length: 20

User id

Required string length: 1 - 64

Response

Success

The response is of type object.