curl --request PUT \
--url https://copilotz.com/rest/copilotz/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It'\''s useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}'
{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It's useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}
curl --request PUT \
--url https://copilotz.com/rest/copilotz/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It'\''s useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}'
{
"name": "Your Copilotz Name",
"description": "Your Copilotz Description",
"backstory": "This is a simple backstory for your Copilotz. It's useful for defining its identity.",
"actions": [
1,
2,
3
],
"configs": [
1,
2
],
"job": 1
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Request payload for creating or updating a Copilotz agent.
Successful response
Response containing Copilotz agent details.