GET
/
rest
/
configs
curl --request GET \
  --url https://copilotz.com/rest/configs \
  --header 'Authorization: Bearer <token>'
[
  {
    "name": "AI_CHAT_PROVIDER",
    "value": {
      "provider": "openai",
      "model": "gpt-4o"
    },
    "owner": 1,
    "ownerType": "copilotz"
  }
]

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
Successful response
name
string
required

Name of the configuration.

Example:

"AI_CHAT_PROVIDER"

value
object
required

Configuration values.

owner
integer
required

ID of the owner entity (e.g., Copilotz agent ID).

Example:

1

ownerType
string
required

Type of the owner entity.

Example:

"copilotz"