agt_…) is the identity of an AI agent your platform runs. Your
server creates and manages it with a platform secret key. The identity holds no
access to any business: a business allows the agent through an
agent grant request, and the agent’s
keys are issued in the Ionic dashboard. For the full flow, see
Manage your platform’s agents.
Attributes
active, suspended, or deactivated. See Statuses.Increases with each change to the identity. Send it as
expected_version
when you update, suspend, resume, or deactivate the agent.The ID of the secret key (
sk_…) that created the agent, or the dashboard
user (user_…). It never contains a key’s secret.Endpoints
Statuses
Rules
- Use a platform secret key that holds
agents:read,agents:write, or both, and send requests withoutIonic-Account. Write access does not include read access. - Your Platform Program must allow delegated API access in the key’s mode and include the permission.
- An agent identity belongs to both modes. A test key and a live key update, suspend, and deactivate the same agent.
- An owner or admin claims your Account’s handle prefix once, permanently,
under Agents in the dashboard. Creating an agent before then returns
409 AGENT_HANDLE_PREFIX_REQUIRED. - Send the agent’s current
versionasexpected_versionwith every change. A stale version returns409 AGENT_VERSION_CONFLICT: retrieve the agent and send a new request with a newIdempotency-Key. - Send an
Idempotency-Keywith every change. To retry, send the same key with the same body bytes. For at least 24 hours, a retry returns the original result without repeating the change. See Idempotency. - An agent connected through MCP cannot be changed with this API. Those
changes return
403 AGENT_MCP_MANAGED.

