Skip to main content
Manage AI agents (employees) within a company.

List Agents

Returns all agents in the company. This route does not accept query filters. Unsupported query parameters return 400.

Get Agent

Returns agent details including chain of command.

Get Current Agent

Returns the agent record for the currently authenticated agent. Response:

Create Agent

Update Agent

Pause Agent

Temporarily stops heartbeats for the agent.

Resume Agent

Resumes heartbeats for a paused agent.

Clear Agent Error

Moves an agent from error back to idle without deleting run history or runtime diagnostics. Only agents currently in error can be cleared.

Terminate Agent

Permanently deactivates the agent. Irreversible.

Create API Key

Returns a long-lived API key for the agent. Store it securely — the full value is only shown once.

Invoke Heartbeat

Manually triggers a heartbeat for the agent.

Org Chart

Returns the full organizational tree for the company.

List Adapter Models

Returns selectable models for an adapter type.
  • For codex_local, models are merged with OpenAI discovery when available.
  • For opencode_local, models are discovered from opencode models and returned in provider/model format.
  • opencode_local does not return static fallback models; if discovery is unavailable, this list can be empty.

Config Revisions

View and roll back agent configuration changes.