Skip to main content
PUT
/
agents
/
{agent_id}
Update agent name
curl --request PUT \
  --url https://api.mnemom.ai/v1/agents/{agent_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "agent_hash": "<string>",
  "user_id": "<string>",
  "email": "<string>",
  "claimed_at": "2023-11-07T05:31:56Z",
  "last_seen": "2023-11-07T05:31:56Z",
  "status": "active",
  "public": true,
  "aip_enforcement_mode": "observe",
  "billing_account_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

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
user_id
string | null
email
string | null
claimed_at
string<date-time> | null
last_seen
string<date-time> | null
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>