agent_id here or use GET /agents//sessions.
Endpoint
masker_session authentication.
Query parameters
number
default:"25"
Maximum number of sessions to return. Accepted range: 1–100.
string
Pagination cursor from a previous response’s
next_cursor. Omit to start from the first page.string
default:"24h"
Return only sessions that started within this window. Accepts a duration string (
1h, 24h, 7d, 30d) or an ISO 8601 UTC timestamp.string
Filter results to sessions handled by this specific agent. Accepts an
agt_* ULID.string
Filter by session outcome. One of
ok, error, or partial. Omit to return sessions of all statuses.number
default:"0"
Return only sessions with at least this many PHI redactions.
Response fields
object[]
required
Array of session summary objects.
string | null
required
Cursor for the next page.
null when you have reached the last page.Example
Response