Skip to main content
POST
Create a canary credential

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
agent_id
string
required
canary_type
enum<string>
required
Available options:
api_key,
password,
database_url,
ssh_key,
oauth_token

Response

Canary created. canary_value is returned once and must be captured.

Canary credential planted in an agent context. canary_value is only returned on creation.

canary_value
string
required
id
string
agent_id
string
canary_type
enum<string>
Available options:
api_key,
password,
database_url,
ssh_key,
oauth_token
triggered
boolean
triggered_at
string<date-time> | null
created_at
string<date-time>