Skip to main content
All bot procedures act in the current space.

bots/list

POST /rpc/bots/list returns the bots you can see in the space. No input.
bots/listArchived returns archived bots the same way.

bots/get

POST /rpc/bots/get returns one bot.
string
required
The bot’s id.

The bot object

string
The bot’s id.
string
The space it belongs to.
string
Display name.
string
The short label under the name.
string
The bot’s instructions.
string
The id of the bot’s own chat.
string
What the bot is doing now.
boolean
Whether it is pinned in the sidebar.
"team" | "dedicated"
Shared team computer, or its own.
string | null
Its own model provider, or null for the space default.
string | null
Its own model, or null for the space default.
string | null
off, minimal, low, medium, high, xhigh or max.
string | null
When it was archived.
string
ISO timestamp.
string
ISO timestamp.

bots/create

POST /rpc/bots/create creates a bot and returns it.
string
required
Up to 80 characters.
string
Up to 500 characters.
string
Up to 100,000 characters.
"team" | "dedicated"
default:"team"
Which computer it uses.
boolean
default:"true"
Notify when it finishes a task.
string
An idempotency key. Creating twice with the same key in a space returns the same bot.

bots/update

POST /rpc/bots/update changes any of a bot’s settings and returns the bot. Send only the fields you want to change.
string
required
The bot to change.
string
Up to 80 characters.
string
Up to 500 characters.
string
Up to 100,000 characters.
string
The instructions you started from. If they changed since, the call fails with CONFLICT.
boolean
Pin or unpin.
string | null
Set together with modelId. Both null returns the bot to the space default.
string | null
Set together with modelProvider.
string | null
off to max, or null for the default.
boolean
Notify when it finishes a task.

bots/setComputer

POST /rpc/bots/setComputer switches the bot between the team computer and its own.
string
required
The bot.
"team" | "dedicated"
required
dedicated is a private computer.

bots/visibility and bots/setVisibility

Who else in the space can use the bot. Only the bot’s creator and space admins can change it.
"everyone" | "admins" | { people: string[] }
required
everyone, admins, or a list of emails and @domain entries (up to 500).

Archive, restore, duplicate, remove