Skip to main content
PUT
/
ai
/
{v}
/
message
Update message
curl --request PUT \
  --url https://platform.ai.gloo.com/ai/{v}/message \
  --header 'Authorization: Bearer <token>'
{
  "task": "stop",
  "success": true
}
Deprecated Endpoint: This endpoint is part of the Chat API which is deprecated.Please migrate to the Completions v2 API for new projects.Migration Guide →

Authorizations

Authorization
string
header
required

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

Path Parameters

v
enum<string>
required
Available options:
v1

Query Parameters

task
enum<string>
required
Available options:
stop
chat_id
string | null
default:""
message_id
string | null
default:""

Response

Successful response

The response is of type Response Put-Message · object.