Dashboard
Developers → Agents → Register an agent| Field | Required | Description |
|---|---|---|
| Display name | Yes | Human-readable name, unique within your org. 2–64 characters. |
| Capabilities | No | Short descriptive tags (e.g. chart-review, scheduling-handoff). Up to 12 tags, 32 chars each. |
| Default expiry | Yes | Default expiry for credentials issued to this agent. 1 hour to 30 days. |
| Default revocation policy | Yes | drain or kill. Used when issuing a credential without an explicit policy. |
| Allowed scope types | No | Scope types that credentials issued to this agent may carry. Leave blank to allow all scope types. Agents blocked from a scope type cannot receive credentials with that scope regardless of who is issuing. |
API
Body
Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique display name within the org. 2–64 chars. |
capabilities | string[] | No | Descriptive tags. Max 12, 32 chars each. |
default_expiry_hours | integer | Yes | 1–720. |
default_revocation_policy | drain | kill | Yes | Default policy for newly issued credentials. |
allowed_scope_types | string[] | null | No | Scope type allowlist. null permits all scope types. |
description | string | No | Optional long-form description. |
Response
Errors
| Code | HTTP | Meaning |
|---|---|---|
AGENT_NAME_TAKEN | 422 | An active agent with this name already exists in your org. |
INVALID_SCOPE_TYPE | 422 | allowed_scope_types contains an unrecognized scope type. |
Listing agents
Query parameters
| Parameter | Description |
|---|---|
status | active (default), archived, or all. |
search | Filter by name or ID prefix. |
page | Page number. |
per_page | Results per page (default 25, max 100). |
Response
Retrieving a single agent
Updating agent settings
name, description, capabilities, default_expiry_hours, default_revocation_policy, allowed_scope_types.
Emits agent.metadata_updated on any actual change.
Archiving an agent
Archiving immediately revokes all active credentials (withkill policy) and prevents new credentials from being issued.