Skip to content
Autobots API
DocsREST API

Autobots API

List the Autobots in your account and the sessions each Autobot started.

Endpoints use the existing sessions:read permission. These endpoints are read-only. To hire or edit an Autobot, use the app.

List Autobots

GET/api/v1/autobots

Requires sessions:read permission. Returns the account's Autobots and the personal Autobots of the API key's creator.

Query Parameters

ParamDefaultDescription
include_draftsfalseSet to true to include Autobots that are not hired yet. Must be true or false.

Response 200 OK

json
{
  "autobots": [
    {
      "autobotId": "wb_123",
      "name": "Juno",
      "title": "Release Manager",
      "status": "ACTIVE",
      "scope": "ACCOUNT",
      "slackTeamId": "T0123456",
      "slackChannelId": "C0123456",
      "harnessId": "h_456",
      "sessionId": "bot789",
      "budget": {
        "dailyBudgetUsd": 50,
        "weeklyBudgetUsd": 200,
        "sessionsPerHour": 0
      },
      "activeLimitTypes": [],
      "createdAt": "2026-10-01T12:00:00Z",
      "updatedAt": "2026-10-20T08:30:00Z"
    }
  ]
}
  • status is ACTIVE or DISABLED. scope is ACCOUNT or PERSONAL.
  • sessionId is the Autobot's own session. A draft has no sessionId.
  • In budget, 0 means the limit is not set.
  • activeLimitTypes lists the limits that the Autobot hit and that are still active: DAILY_USD, WEEKLY_USD, SESSIONS_PER_HOUR, CODEX_SUBSCRIPTION, SUPERGROK_SUBSCRIPTION, or CLAUDE_SUBSCRIPTION. It is empty when no limit applies.
  • Optional fields such as title, iconUrl, spawnHarnessId, and templateId are left out when they are not set.
  • The response does not include the role definition, integrations, webhooks, or user IDs.

List Autobot Sessions

GET/api/v1/autobots/{autobotId}/sessions

Requires sessions:read permission. An Autobot runs in its own session and starts each piece of work as a child session. This endpoint lists those child sessions. It uses the same visibility rules and pagination as List Sub-Sessions.

Query Parameters

ParamDefaultDescription
limit20Number of sessions to return (1–100)
offset0Pagination offset

Response 200 OK

json
{
  "sessions": [
    {
      "sessionId": "sub456",
      "title": "Triage failing release job",
      "status": "ACTIVE",
      "sessionType": "GENERAL",
      "createdAt": "2026-10-21T09:15:00Z",
      "parentSessionId": "bot789"
    }
  ],
  "totalCount": 12
}

Returns 404 if the Autobot does not exist or the API key cannot see it. A draft Autobot returns an empty list. To get the Autobot's own session, call Get a Session with its sessionId.