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
Jobs represent individual executions of events. Use these endpoints to fetch job details, monitor progress, abort running jobs, and manage job history.Get Active Jobs
GET /api/app/get_active_jobs/v1
Get all active jobs with optional search criteria, pagination, and sorting.
Parameters
Filter by state:
queued or activeFilter by event ID
Pagination offset (default: 0)
Results per page (default: all)
Sort field (default:
started)Sort direction:
-1 descending, 1 ascendingExample
cURL
Response
Get Job
GET /api/app/get_job/v1
Get detailed information about a single job (running or completed).
Parameters
Job ID to fetch
Optional array of field names to exclude from response
Response
Complete job object with all details
Download token for accessing job log
Example
cURL
Response
Get Multiple Jobs
POST /api/app/get_jobs/v1
Fetch information about multiple jobs in a single request.
Parameters
Array of job IDs to fetch
If true, include full details (default: false returns pruned data)
Example
cURL
Abort Job
POST /api/app/abort_job/v1
Abort a running job. Requires the abort_jobs privilege.
Parameters
Job ID to abort
Example
cURL
Response
Resume Job
POST /api/app/resume_job/v1
Resume a suspended job. Requires the run_jobs privilege.
Parameters
Job ID to resume
Optional parameters to merge into job
Example
cURL
Delete Job
POST /api/app/delete_job/v1
Permanently delete a completed job including log and files. Requires the delete_jobs privilege.
Parameters
Job ID to delete
Example
cURL
Update Job
POST /api/app/update_job/v1
Update a running or completed job. This is an admin-only API that allows direct modification of job properties.
Parameters
Job ID to update
Any job properties to update
Example
cURL
Manage Job Tags
POST /api/app/manage_job_tags/v1
Update tags for a completed job. Requires the tag_jobs privilege.
Parameters
Job ID
Array of tag IDs to assign
Example
cURL
Get Job Log
GET /api/app/get_job_log/v1
Fetch the plain text log for a job (gzip compressed).
Parameters
Job ID
Example
cURL
Download Job Log
GET /api/app/download_job_log/v1
Download job log file with token authentication (no session/API key required).
Parameters
Job ID
Download token from get_job response
Example
cURL
Stream Job
GET /api/app/stream_job/v1
Stream real-time job updates via Server-Sent Events (SSE).
Parameters
Job ID to stream
Optional stream token (for magic link authentication)
Example
cURL
Event Stream Format
The stream automatically closes when the job completes.
Flush Event Queue
POST /api/app/flush_event_queue/v1
Flush all queued jobs for an event without triggering completion actions. Requires the abort_jobs privilege.
Parameters
Event ID to flush queue for
Response
Number of jobs removed from queue
Example
cURL