Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.atthene.com/llms.txt

Use this file to discover all available pages before exploring further.

Delete all sessions belonging to the authenticated user for a specified agent.

Query Parameters

agent_key
string
required
Agent key identifying the agent whose sessions will be removed.
curl -X DELETE "https://api-be.atthene.com/api/v1/sessions/from-agent/?agent_key=my_agent" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

Returns the number of deleted sessions.
{
  "deleted": 5
}