Create a bot

Create a long-lived bot with its own chat. Message it like any agent, using its agentId. Needs a token for all projects that can edit.

POST /api/v1/bots
Bearer token

Body

required application/json
name string · min length: 1 required
description string · default:

One line shown under the name.

mode string · enum required

values

  • orchestrator
  • specialist
instructions string · default:

What the bot does and how. Sent with every turn.

projects object required

The projects the bot works on.

skills array of string · default: []

Skill IDs the bot is told to read and follow.

connections array of string | null · default: null

Toolkit slugs of your connected apps and MCP servers the bot and its workers may use. Null means all of them.

sharing object · default: { "workspace": false, "people": [] }

Who else may use the bot. Each person gets their own chat with it. Only you change the bot.

Responses