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. Static and identical for every caller — authenticated, but requires no resource scope.

View Markdown
GET/api/labels

Authorization

bearerAuth
AuthorizationBearer <token>

Session token from sling login.

In: header

Response Body

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    }  ]}