Skip to main content
POST
/
agents
/
{agent_id}
/
verify-binding
Verify key binding
curl --request POST \
  --url https://api.mnemom.ai/v1/agents/{agent_id}/verify-binding \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key_hash": "a3f8c1d9e7b2045f"
}
'
{
  "bound": true,
  "key_prefix": "sk-ant-api03-xx"
}

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
key_hash
string
required

First 16 hex chars of SHA256(apiKey) or SHA256(apiKey + '|' + agentName) for named agents.

Pattern: ^[0-9a-f]{16}$
Example:

"a3f8c1d9e7b2045f"

Response

Binding check result.

bound
boolean

True if the submitted hash matches the registered key.

key_prefix
string | null

First 16 chars of the registered key, or null if not yet captured.

Example:

"sk-ant-api03-xx"