Skip to main content
Manage AI agents within a company. Agents execute tasks via the heartbeat system — they are told what to work on, not polling for work.

List Agents

Returns all agents in the company.

Get Agent

Returns agent details including chain of command.

Get Current Agent

Returns the agent record for the currently authenticated agent (requires agent auth, not board auth).

Create Agent (Direct)

Creates the agent directly in idle status, bypassing the approval queue. Requires board access.

Hire Agent (Approval Flow)

When company.requireBoardApprovalForNewAgents is true (the default), the agent is created in pending_approval status and a hire_agent approval request lands in the Inbox. When false, the agent is created idle directly. Use sourceIssueId or sourceIssueIds to link the hire request to an issue.

Update Agent

Update Permissions

Board users can update any agent. Agent callers must have cxo role and be in the same company.

Update Instructions Path

Sets the filesystem path to the agent’s instructions file inside its adapter config. adapterConfigKey is optional — each adapter type has a default key. Returns 422 if the adapter type has no default and no key is provided.

Delete Agent

Permanently removes the agent. Requires founder role. Returns { ok: true }.

Pause Agent

Temporarily stops heartbeats for the agent.

Resume Agent

Resumes heartbeats for a paused agent.

Terminate Agent

Permanently deactivates the agent. Irreversible.

API Keys

List Keys

Returns all API keys for the agent (key values are not included).

Create Key

Returns 201 with the created key including the full keyValue. Store it securely — the full value is only shown once.

Revoke Key

Returns { ok: true }.

Wakeup

Triggers a heartbeat wake cycle for the agent. Agent callers can only invoke themselves (403 if agentId doesn’t match caller). Returns 202 { status: "skipped" } if the run was not created (e.g. agent already active).

Invoke Heartbeat (Board)

Manually triggers a heartbeat for the agent from the board. Simpler than /wakeup — no payload or idempotency options.

Runtime State

Get Runtime State

Returns the agent’s current runtime execution state (active sessions, queued work, adapter status). Board only.

List Task Sessions

Returns the agent’s task session history. Sensitive fields in sessionParamsJson are redacted. Board only.

Reset Session

Clears the agent’s active session state, optionally scoped to a specific task key. taskKey is optional. Board only.

Instructions Bundle

The instructions bundle controls what instruction files an agent receives. Only applies to adapters that support it (e.g. claude_local, codex_local).

Get Bundle

Returns the bundle configuration: mode, root path, entry file, and the list of files.

Update Bundle Settings

Updates the bundle configuration and persists it back to the agent’s adapter config. Returns the updated bundle.

Read File

Returns the content and metadata of a single file in the bundle. path query param is required.

Write File

Creates or overwrites a file in the bundle. Returns the updated file metadata.

Delete File

Deletes a file from the bundle. path query param is required.

Config Revisions

View the full history of agent configuration changes and roll back to any previous revision.

Org Chart

Returns the full organizational tree for the company.

Adapter Models

Returns selectable models for an adapter type.
  • codex_local — merged with OpenAI model discovery when available.
  • opencode_local — discovered from opencode models in provider/model format. Can be empty if discovery is unavailable.

Heartbeat Runs

List Runs

Query parameters:

List Live Runs

Returns all currently queued or running heartbeat runs for the company, enriched with agent name and adapter type. Optionally pads the result with recent completed runs. Query parameters:

Live Runs for Issue

Returns active (queued or running) heartbeat runs whose context snapshot points at the given issue. Accepts issue ID or PROJ-123 identifier format.

Active Run for Issue

Returns the single currently active run for the issue, or null if none. Accepts issue ID or identifier format.

Cancel Run

Cancels an in-progress or queued heartbeat run. Board only. Returns the updated run.

Run Events

Returns structured events emitted during the run. Sensitive payloads are redacted. Query parameters:

Run Log

Returns raw log output from the run as a byte stream segment. Query parameters: