Get Factory Workloads
Changed onThe team's Model Factory workloads feed (the squeue): leaf training runs, inference deployments and native Slurm jobs with owner, state, requested/allocated GPUs, per-source freshness and — for terminal states (completed/failed/all) — the completion stamp of the terminal record (ended_at), bounded and newest first.
The selected team_id must be a team the token's user is a member of; data of other teams is never returned. The default state window is running + queued. Windows that include terminal states read the terminal records (RFTRun/Job rows; the slurmdbd accounting read for native Slurm jobs) and are bounded to limit rows (default 50, max 200), newest first; since bounds them further by timestamp.
Request
- Base URLhttps://api.primeintellect.ai
- AuthHTTP bearer
Query parameters
Team whose Model Factory fleet to read
Limit rows to one workload type (legacy spelling; the frozen-contract type wins when both are sent)
Limit rows to one workload type (the frozen-contract spelling of the filter)
Limit rows to one normalized state, or 'all' (every mappable state); default is running + queued
ISO-8601 bound: rows whose completion (terminal rows) or creation stamp is older are excluded
Row bound (1..200); defaults to 200 for every window (the response carries truncated when matching rows exist beyond the page)
Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- info
endpoint added
- info