StarSling
APILabels

List runner labels

The catalog of available runner labels with their specs (cpu, memory, arch, price/min) so runs-on mapping and cost-savings hints reference concrete options. Without org, the public tiers, identical for every caller. With org, also the private-beta labels that org is entitled to; the caller must be a member. Requires no resource scope.

View Markdown
GET/api/labels

Authorization

bearerAuth
AuthorizationBearer <token>

Session token from sling login.

In: header

Query Parameters

org?string

GitHub organization login. When given, the catalog adds the private-beta labels that org is entitled to; the caller must be a member.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/labels"
{  "labels": [    {      "label": "starsling-ubuntu-24.04-8",      "cpu": 8,      "memory_gb": 32,      "arch": "x64",      "price_per_min_usd": 0.016    }  ]}