Skip to main content
PUT
/
v1
/
bot
/
update
Update Agent
curl --request PUT \
  --url https://api.boostgpt.co/v1/bot/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "<string>",
  "bot_id": "<string>",
  "model": "<string>",
  "instruction": "<string>",
  "status": 0
}
'
{
  "id": "<string>",
  "updated_at": "<string>",
  "model": "<string>",
  "instruction": "<string>",
  "status": 0,
  "name": "<string>",
  "reasoning_type": "<string>",
  "max_reply_tokens": "<string>",
  "top": 123
}

Authorizations

Authorization
string
header
required

Enter your API key

Body

application/json
project_id
string
required

The project ID

bot_id
string
required

The agent ID to update

model
string

Updated AI model

instruction
string

Updated system instructions

status
enum<integer>

Updated status

Available options:
0,
1

Response

Agent updated successfully

Agent update response containing only the ID and updated fields

id
string
required

Agent ID

updated_at
string
required

Last update timestamp

model
string

Updated AI model (if changed)

instruction
string

Updated system instructions (if changed)

status
enum<integer>

Updated status (if changed)

Available options:
0,
1
name
string

Updated agent name (if changed)

reasoning_type
string

Updated reasoning type (if changed)

max_reply_tokens
string

Updated max reply tokens (if changed)

top
integer

Updated top value (if changed)