Skip to main content
PATCH
Update agent settings

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Body

application/json
name
string
Required string length: 2 - 64
description
string | null
Maximum string length: 500
default_expiry_hours
integer
Required range: 1 <= x <= 720
default_revocation_policy
enum<string>
Available options:
drain,
kill
capabilities
string[]
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

success
boolean
required
data
object
required