Skip to main content
POST
/
agents
Create Agent
curl --request POST \
  --url https://api.example.com/agents \
  --header 'Content-Type: application/json' \
  --data '
{
  "handle": "<string>",
  "description": "<string>",
  "definition": {
    "manifest": {}
  }
}
'
{
  "success": true,
  "data": {
    "id": "<string>",
    "entity": "agent",
    "organization_id": "<string>",
    "handle": "<string>",
    "version": 1,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "active_revision_id": "<string>"
  }
}

Body

application/json
handle
string
required
description
string | null
definition
object

Response

201 - application/json

The created agent

success
boolean
data
object