POST
/
api
/
v1
/
chatbot
/
{uuid}
/
update
curl --location --request POST 'https://app.gpt-trainer.com/api/v1/chatbot/{uuid}/update' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data-raw '{
  "name": "string"
  "prompt": "string",
  "temperature": 0,
  "model": "gpt-3.5-turbo",
  "rate_limit": [
    20,
    240
  ],
  "rate_limit_message": "Too many messages",
  "show_citations": false,
  "visibility": "private"
}'
{
  "created_at": "string",
  "meta": {
    "model": "gpt-3.5-turbo",
    "prompt": "string",
    "rate_limit": [
      20,
      240
    ],
    "rate_limit_message": "Too many messages",
    "show_citations": false,
    "temperature": 0,
    "visibility": "private"
  },
  "modified_at": "string",
  "name": "string",
  "uuid": "string"
}

Path

uuid
string
required

Body

name
string
prompt
string
temperature
float
model
select
visibility
string
rate_limit
[number, number]
rate_limit_message
string
show_citations
boolean

Response

created_at
string
meta
object

The meta of chatbot

modified_at
string
name
string
uuid
string