POST
/
rest
/
copilotz
curl --request POST \
  --url https://copilotz.com/rest/copilotz \
  --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
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Request payload for creating or updating a Copilotz agent.

Response

200 - application/json

Successful response

Response containing Copilotz agent details.