Endpoints
Agent - Create
RapidAgent API
Endpoints
- POSTAgent - Query
- POSTAgent - Create
- GETAgent - Get
- DELAgent - Delete
- POSTDatasource - Create
- GETDatasource - Get
- DELDatasource - Delete
- POSTDatastore - Query
- POSTDatastore - Create
- GETDatastore - Get
- DELDatastore - Delete
- POSTDatasource - Upsert (⚠️ deprecated)
- POSTDatasource - Update (⚠️ deprecated)
- POSTDatasource - File Upload (⚠️ deprecated)
Endpoints
Agent - Create
POST
/
agents
curl --request POST \
--url https://api.chaindesk.ai/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"modelName": "gpt_3_5_turbo",
"temperature": 123,
"promptType": "raw",
"promptTemplate": "<string>",
"visibility": "public"
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"modelName": "gpt_3_5_turbo",
"temperature": 123,
"promptType": "raw",
"promptTemplate": "<string>",
"visibility": "public"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Success
The response is of type object
.
curl --request POST \
--url https://api.chaindesk.ai/agents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"description": "<string>",
"modelName": "gpt_3_5_turbo",
"temperature": 123,
"promptType": "raw",
"promptTemplate": "<string>",
"visibility": "public"
}'
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"modelName": "gpt_3_5_turbo",
"temperature": 123,
"promptType": "raw",
"promptTemplate": "<string>",
"visibility": "public"
}