Overview
HTTP endpoints for runs, jobs, logs, diagnostics, spend, pinned skills, and Disks
The StarSling control plane exposes an HTTP API for everything the platform knows about your CI: which runs and jobs executed, why one failed, where the wall-clock went, and what it all cost.
curl -H "Authorization: Bearer $TOKEN" \ "https://runners.starsling.dev/api/runs?org=acme&limit=5"Prefer a terminal to an HTTP client? The sling CLI wraps these same endpoints, adding argument validation, readable tables, and a stable exit-code contract.
Base URL
All endpoints are served from a single origin:
https://runners.starsling.devEvery path in this reference is relative to it, and every path is prefixed with /api.
Conventions
Two things hold across every endpoint:
- Org scoping. Results are scoped to the orgs you belong to. Org-scoped endpoints take
orgas a required parameter (and often an optionalrepo). Naming an org you do not belong to returns403; a run, job, or attempt id that belongs to an org you cannot see returns404, not403, so the API never confirms that an id exists elsewhere. - Money and time. Costs are US dollars in
*_usdfields, and durations are seconds unless the field name says otherwise.runner_minutesremains the wire field name for compatibility. On new paid subscriptions it reports billed whole seconds divided by 60 —ceil(duration / 1s) / 60per job — so it can be fractional. Existing paid subscriptions report whole-minute billing,max(1, ceil(duration / 60s))per job, until migrated. Raw duration fields are unchanged.
Endpoint groups
Runs and jobs
List and inspect workflow runs, jobs, and their attempts.
Logs
Read job log lines, filtered server-side so you fetch only what matters.
Diagnostics
Deterministic classification of why a job failed, with evidence.
Pinned skills
Resolve the checksum-verified skill release pinned for local agent launches.
Timing
Decompose CI wall-clock into runner-lifecycle phases.
Usage and billing
Attribute runner minutes and cost; read billing snapshots and invoices.
Identity
Confirm who you are authenticated as and which orgs you can reach.
Disks
List an organization's StarSling Disks, and the presets a step may name.
Pinned skills
GET /api/skill/{name} returns the pinned starslingdev/skills commit, its GitHub codeload URL, and its SHA-256 digest. It requires bearer authentication plus the required org query parameter. The caller must belong to that GitHub organization, and the organization must be known to StarSling.
Today the only registered name is ci-speedup. Membership is checked before the skill lookup, so a non-member receives 403; an unknown skill returns 404 only after the caller passes the organization check. The pin itself is global rather than organization-specific.
Before you start
Two pages cover the behaviour shared by every endpoint. Reading them first saves working it out one 400 at a time: