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"
}
'