Skip to main content
PUT
Update agent name

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

agent_id
string
required

Agent identifier (e.g. smolt-abc123)

Body

application/json
name
string
required

New agent name. 2-32 characters, alphanumeric and hyphens only.

Required string length: 2 - 32
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]{0,30}[a-zA-Z0-9]$

Response

Updated agent record

id
string
agent_hash
string

First 16 hex chars of SHA256(apiKey + '|' + agentName) for named agents, or SHA256(apiKey) for unnamed singleton agents. The gateway computes the same value on each request and uses it as the lookup key. See Agent Identity.

Example:

"a1b2c3d4e5f6a7b8"

user_id
string | null
email
string | null
claimed_at
string<date-time> | null
last_seen
string<date-time> | null
name
string | null

Agent name (2-32 chars, alphanumeric + hyphens). Present on all list and get responses.

containment_status
enum<string> | null

Containment state of the agent (ADR-053).

Available options:
active,
paused,
killed
key_prefix
string | null

First 8 chars of the bound API key hash — useful for key-rotation debugging.

status
enum<string>
Available options:
active,
offline
public
boolean
aip_enforcement_mode
enum<string> | null
Available options:
observe,
enforce,
nudge
billing_account_id
string | null
created_at
string<date-time>