アシスタント
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リクエスト
リクエストボディ
welcomestring
开场白
promptstring
提示词
idinteger必須
ID
レスポンス
200 OK
フィールドなし
サンプルコード
curl -X PATCH 'https://openapi.voicefox.ai/openapi/assistants' \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{
"welcome": "开场白",
"prompt": "提示词",
"id": 0
}'レスポンス例
{}