GET
/admin/analyticsGet platform analytics
Returns core platform metrics including user counts, app counts, job statistics, review counts, and recent activity.
No request parameters
GET
/admin/usersList users
Returns paginated user records with role, ban status, and app counts.
Parameters
searchquerylimitquerycursorqueryPATCH
/admin/users/updateUpdate user status
Updates a user's role and ban settings returning the new record.
Request Body
Bodyapplication/json
| Field | Type | Notes |
|---|---|---|
userId | string | required |
role | string | enum: admin | user |
banned | boolean | |
banReason | string |
GET
/admin/ticketsList support tickets
Returns paginated support tickets with optional filtering by status and type.
Parameters
statusquerytypequerysearchquerylimitquerycursorqueryGET
/admin/tickets/{ticketId}Get ticket details
Returns detailed information for a specific support ticket including user information.
Parameters
ticketIdpathrequiredPATCH
/admin/tickets/{ticketId}/statusUpdate ticket status
Updates the status of a support ticket and returns the updated record.
Parameters
ticketIdpathrequiredRequest Body
Bodyapplication/json
| Field | Type | Notes |
|---|---|---|
status | string | required enum: OPEN | IN_PROGRESS | RESOLVED | CLOSED |
POST
/admin/tickets/{ticketId}/messagesAdd message to ticket
Adds a new message to an existing support ticket as admin.
Parameters
ticketIdpathrequiredRequest Body
Bodyapplication/json
| Field | Type | Notes |
|---|---|---|
message | string | required |
GET
/admin/email-templatesList email templates
Returns all available email templates with metadata.
No request parameters
POST
/admin/send-test-emailSend test email and push notification
Sends a test email and push notification with sample data to the specified recipient.
Request Body
Bodyapplication/json
| Field | Type | Notes |
|---|---|---|
to | string (email) | required |
template | string | required |
GET
/admin/jobsList queue jobs
Returns paginated queue jobs with optional filtering by status and queue.
Parameters
statusqueryqueueNamequerysearchquerydaysquerylimitquerycursorqueryGET
/admin/jobs/{jobId}Get job details
Returns detailed information for a specific queue job including payload, result, error, and logs.
Parameters
jobIdpathrequiredGET
/admin/jobs/statsGet job statistics for charts
Returns aggregated job statistics over time for visualization.
Parameters
daysqueryGET
/admin/jobs/queuesGet unique queue names
Returns list of unique queue names for filtering.
No request parameters
POST
/admin/jobs/{jobId}/retryRetry failed job
Creates a new job with the same payload and resumes the queue for processing.
Parameters
jobIdpathrequiredGET
/admin/agentsList all agents
Returns all A/B agents with app info, status, and event counts.
No request parameters
GET
/admin/agents/{agentId}Get agent detail
Returns full agent details with app info and counts.
Parameters
agentIdpathrequiredGET
/admin/agents/{agentId}/eventsList agent events
Returns paginated agent events for the admin detail view.
Parameters
agentIdpathrequiredcursorquerylimitqueryPOST
/admin/agents/{agentId}/wakeWake sleeping agent
Clears the waitUntil field to wake a sleeping agent immediately.
Parameters
agentIdpathrequired