curl --request POST \
--url http://localhost/api/v1/agents/external-chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"name": "<string>",
"api_url": "<string>",
"auth_scheme": "BEARER_TOKEN",
"auth_config": {},
"chat_params": {},
"instructions": "<string>",
"config": {
"hidden": false,
"enable_cot": false
},
"nickname": "<string>",
"connection_id": "<string>",
"provider": "external_chat",
"context_access_enabled": true,
"context_variables": []
}'
"<any>"
curl --request POST \
--url http://localhost/api/v1/agents/external-chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "<string>",
"description": "<string>",
"tags": [
"<string>"
],
"name": "<string>",
"api_url": "<string>",
"auth_scheme": "BEARER_TOKEN",
"auth_config": {},
"chat_params": {},
"instructions": "<string>",
"config": {
"hidden": false,
"enable_cot": false
},
"nickname": "<string>",
"connection_id": "<string>",
"provider": "external_chat",
"context_access_enabled": true,
"context_variables": []
}'
"<any>"
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type any
.