Skip to main content
POST
Register a new agent

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 2 - 64
default_expiry_hours
integer
required
Required range: 1 <= x <= 720
default_revocation_policy
enum<string>
required
Available options:
drain,
kill
description
string | null
Maximum string length: 500
capabilities
string[] | null
Maximum array length: 12
Pattern: ^[a-z0-9][a-z0-9\-]{0,30}[a-z0-9]$
allowed_scope_types
enum<string>[] | null
Available options:
hasp.data.read,
hasp.data.write,
external.tool.invoke,
tool.destructive,
agent.delegate,
agent.compose,
human.escalate,
workflow.schedule,
workflow.invoke

Response

The newly registered agent.

success
boolean
required
data
object
required