Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pixlcore/xyops/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Events define jobs to run including what, when, and how. Use these endpoints to list, fetch, create, update, delete events, and trigger runs immediately.List Events
GET /api/app/get_events/v1
Fetch all event definitions. No specific privilege is required beyond a valid user session or API Key.
Response
Response code (0 = success)
Array of event objects
Metadata including total length
Example
cURL
Response
Get Event
GET /api/app/get_event/v1
Fetch a single event definition by ID including currently active jobs.
Parameters
Event ID to fetch
Response
Complete event definition
Array of currently active jobs for this event
Count of queued jobs
Example
cURL
Create Event
POST /api/app/create_event/v1
Create a new event definition. Requires the create_events privilege.
Parameters
Display name for the event
Whether the event is active
Category ID for organization
Array of server group IDs or hostnames to run on
Plugin ID to execute
Target selection algorithm:
random, round_robin, least_cpu, least_mem, prefer_first, or multiplexPlugin-specific parameters
Array of trigger definitions (schedule, manual, etc.)
Resource limits (memory, CPU, time, etc.)
Actions to perform on job completion
Custom event ID (auto-generated if omitted)
Example
Update Event
POST /api/app/update_event/v1
Update an existing event. Requires the edit_events privilege. The request is shallow-merged into the existing event.
Parameters
Event ID to update
Any event properties to update (title, enabled, params, etc.)
Optional state updates (e.g., cursor for catch-up mode)
Example
cURL
Delete Event
POST /api/app/delete_event/v1
Delete an event definition. Requires the delete_events privilege. Deletion is blocked if any jobs are currently active.
Parameters
Event ID to delete
If true, also delete all historical jobs for this event (performed in background)
Example
cURL
Run Event
POST /api/app/run_event/v1
Run an event on demand with optional parameter overrides. Requires the run_jobs privilege.
Parameters
Event ID to run (either id or title required)
Event title to run (alternative to id)
Override event parameters
Optional input data or files for the job
If true, bypasses manual trigger and enabled checks
Response
The newly created job ID
Example
Get Event History
GET /api/app/get_event_history/v1
Fetch revision history for a specific event from the activity log.
Parameters
Event ID
Row offset for pagination (default: 0)
Row limit for pagination (default: 1)
Response
Events must have an enabled
manual trigger to be run via the API, unless you pass test: true.