Skip to main content
PATCH
/
api
/
v2
/
chatbots
/
{chatbotId}
/
instructions
/
{instructionId}
Update instructions
curl --request PATCH \
  --url https://sitegpt.ai/api/v2/chatbots/{chatbotId}/instructions/{instructionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "instructions": "<string>",
  "temperature": 1
}
'
{
  "ok": true,
  "data": {
    "instruction": {
      "id": "instruction-id",
      "name": "Example instruction",
      "createdAt": "2026-05-13T00:00:00.000Z"
    }
  },
  "meta": {
    "requestId": "request-id"
  }
}

Documentation Index

Fetch the complete documentation index at: https://sitegpt.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required
instructionId
string
required

Body

application/json
title
string
instructions
string
Minimum string length: 1
temperature
number
Required range: 0 <= x <= 2

Response

Successful SiteGPT API v2 response.

ok
boolean
required
data
object
required
meta
object
required