curl --request PATCH \
--url https://openagents.com/api/autopilots/{autopilot} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"avatar": "<string>",
"displayName": "Autopilot",
"policy": {
"dataPolicy": {},
"l402AllowedHosts": [
"<string>"
],
"l402MaxSpendMsatsPerCall": 123,
"l402MaxSpendMsatsPerDay": 123,
"l402RequireApproval": true,
"model": "<string>",
"modelProvider": "<string>",
"toolAllowlist": [
"<string>"
],
"toolDenylist": [
"<string>"
]
},
"profile": {
"autopilotVoice": "<string>",
"onboardingAnswers": {},
"ownerDisplayName": "<string>",
"personaSummary": "<string>",
"preferences": {},
"principles": [
"<string>"
],
"schemaVersion": 123
},
"status": "active",
"tagline": "<string>",
"visibility": "private"
}
'{
"data": {
"avatar": "<string>",
"configVersion": 123,
"createdAt": "2023-11-07T05:31:56Z",
"displayName": "<string>",
"handle": "<string>",
"id": "<string>",
"ownerUserId": 123,
"status": "<string>",
"tagline": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"visibility": "<string>"
}
}curl --request PATCH \
--url https://openagents.com/api/autopilots/{autopilot} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"avatar": "<string>",
"displayName": "Autopilot",
"policy": {
"dataPolicy": {},
"l402AllowedHosts": [
"<string>"
],
"l402MaxSpendMsatsPerCall": 123,
"l402MaxSpendMsatsPerDay": 123,
"l402RequireApproval": true,
"model": "<string>",
"modelProvider": "<string>",
"toolAllowlist": [
"<string>"
],
"toolDenylist": [
"<string>"
]
},
"profile": {
"autopilotVoice": "<string>",
"onboardingAnswers": {},
"ownerDisplayName": "<string>",
"personaSummary": "<string>",
"preferences": {},
"principles": [
"<string>"
],
"schemaVersion": 123
},
"status": "active",
"tagline": "<string>",
"visibility": "private"
}
'{
"data": {
"avatar": "<string>",
"configVersion": 123,
"createdAt": "2023-11-07T05:31:56Z",
"displayName": "<string>",
"handle": "<string>",
"id": "<string>",
"ownerUserId": 123,
"status": "<string>",
"tagline": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"visibility": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Update autopilot fields and optional profile/policy blocks.
255120"Autopilot"
Show child attributes
Show child attributes
"active"
255"private"
Autopilot resource payload
Show child attributes