Skip to main content
DELETE
/
sessions
{
  "detail": "Bad request",
  "error_code": "BAD_REQUEST"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

type
enum<string>
default:agent

Default session type filter

Available options:
agent,
team,
workflow
db_id
string | null

Database ID to use for deletion

table
string | null

Table to use for deletion

Body

application/json
session_ids
string[]
required

List of session IDs to delete

Minimum array length: 1
session_types
enum<string>[]
required

Types of sessions to delete

Minimum array length: 1
Available options:
agent,
team,
workflow

Response

Sessions deleted successfully