DOCS
Dashboardnorth_eastGet an API keyvpn_key
PAI Chat·Endpoint
PATCH/chat/{chatId}/rename

PATCH /chat/{chatId}/rename

GET/chat/saas/{chatId}arrow_forward
tune
Parameters
chatIdrequiredpath
string (uuid)
The UUID of the chat
upload
Request body
namerequired
string
double_arrow
Returns 200
namerequired
string
report
Errors
StatusDescription
404Default Response
500Default Response
north_east
Request
curl -X PATCH 'https://chat-api-dev.paicloud.ai//chat/{chatId}/rename' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "name"
}'
south_west
Response
200 OK
application/json
{
  "name": "name"
}