v4

latestOpenAPI 3.0.0raw.githubusercontent.com2026-04-06211660.4 KB
Agents

Create a new channel (agent)

post/api/v1/agents

Request body

namestring required
descriptionstring
avatarUrlstring uri
webhookUrlstring uri

Response

Agent created

idstring required
namestring required
descriptionstring
avatarUrlstring
webhookUrlstring
lastActiveAtstring
createdAtstring required

Example response

{
  "id": "clxyz456",
  "name": "My Agent",
  "description": "A helpful assistant",
  "avatarUrl": "https://example.com/avatar.png",
  "webhookUrl": "https://example.com/webhook",
  "lastActiveAt": "2025-01-01T12:00:00.000Z",
  "createdAt": "2025-01-01T00:00:00.000Z"
}