POST
/
clear-messages
Clear Messages
curl --request POST \
  --url https://api.agentbase.sh/clear-messages \
  --header 'Authorization: Bearer <token>'

Query Parameters

session
string
required
The session ID to clear messages from. This identifies the specific agent session.

Response

Returns confirmation of the clear messages operation.
{
  "success": true,
  "message": "Messages cleared"
}