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

Path Parameters

id
string
required

Response

200 - application/json
Successful response

Response containing configuration details.

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"