Skip to main content
POST
/
agent
/
messages
/
stop
Stop active agent run
curl --request POST \
  --url http://localhost:3000/api/openapi/agent/messages/stop \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "threadId": "<string>",
  "partialMessage": "<unknown>"
}
'
"<unknown>"

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Body

application/json
threadId
string
required
partialMessage
any

Response

200 - application/json

OK

The response is of type any.