cURL
curl --request POST \ --url https://openagents.com/api/autopilots \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "avatar": "<string>", "displayName": "EP212 Bot", "handle": "ep212-bot", "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.
Bearer <token>
<token>
Create an autopilot resource.
255
120
"EP212 Bot"
64
"ep212-bot"
"active"
"private"
Autopilot resource payload
Show child attributes