GET
/
agents
/
{id}
cURL
curl --request GET \
  --url https://api.chaindesk.ai/agents/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "modelName": "gpt_3_5_turbo",
  "temperature": 123,
  "promptType": "raw",
  "promptTemplate": "<string>",
  "visibility": "public"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID of the Agent

Body

application/json · object

Response

Success

id
string
name
string
description
string
modelName
enum<string>
Available options:
gpt_3_5_turbo,
gpt_3_5_turbo_16k,
gpt_4,
gpt_4_32k
temperature
number

Temperature of the model (min 0.0, max 1.0)

promptType
enum<string>

Set the prompt type for this query

Available options:
raw,
customer_support
promptTemplate
string

Set the prompt template for this query

visibility
enum<string>
Available options:
public,
private