Assistants

Update assistant

- Fields left empty are not updated - Non-empty fields overwrite the existing values - The response is identical to "List assistants"

PATCH/openapi/assistants

Request

Request body

welcomestring

开场白

promptstring

提示词

idintegerrequired

ID

Response

200 OK

No fields

Sample code

curl -X PATCH 'https://openapi.voicefox.ai/openapi/assistants' \
  -H 'Authorization: Bearer <YOUR_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
  "welcome": "开场白",
  "prompt": "提示词",
  "id": 0
}'

Response example

{}