Unified ticket activity log (super admin only)
GET
/admin/ticket-activity
const url = 'https://example.com/api/admin/ticket-activity?limit=200&type=ticket_created';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/admin/ticket-activity?limit=200&type=ticket_created' \ --header 'Authorization: Bearer <token>'Reconstructs a timeline of ticket events from handoff_requests timestamps, handoff_request_roles status changes, and mcp_tool_calls for ticket-mutating tools. Defaults to the last 24 hours.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” project_id
string format: uuid
since
string format: date-time
ISO 8601 timestamp lower bound (default 24h ago)
limit
integer
type
string
Responses
Section titled “ Responses ”Ticket activity events
Media type application/json
object
since
required
string format: date-time
total
required
integer
returned
required
integer
events
required
Array<object>
object
occurred_at
required
string format: date-time
event_type
required
string
ticket_number
integer | null
ticket_title
string | null
ticket_id
string | null
project_id
string | null
project_name
string | null
detail
string | null
actor
string | null
Forbidden
Media type application/json
object
error
required
Human-readable error message
string
code
Stable machine-readable error code for client branching
string
fieldErrors
First validation message per field path
object
key
additional properties
string
issues
Structured validation issues (Zod)
Array<object>
object
path
required
string
message
required
string
retryAfter
Seconds until rate limit resets (429 responses)
number