Skip to content
Select themeSelect language

`GET /api/organization/runners/offers` — the org's runner offers (the DERIVED set: offers WHERE `runner_pool_id` IN the org's runners), each enriched with its live metered usage + settled earnings (the same numbers the SellerEarningsTab shows). Any active org member may read (`OrgAction::Read`).

GET
/api/organization/runners/offers
curl --request GET \
--url https://example.com/api/organization/runners/offers

The org’s runner offers + usage + earnings

Media typeapplication/json
Array

One org runner offer enriched for the “Offered / Earnings” view: the offer plus its metered-usage roll-up + settled seller earnings (the SAME numbers the existing SellerEarningsTab reads). DERIVED — runner_pool_id ties the offer to the org runner.

object
activation_status
required
string
active
required
boolean
capabilities
required
created_at
required
string format: date-time
display_region
string | null
hardware
required
health_status
required
string
heartbeat_interval_secs
required
integer format: int32
id
required
string format: uuid
item_id
required
string format: uuid
job_class_allowlist
required
Array<string>
last_heartbeat_at
string | null format: date-time
max_concurrency
required
integer format: int32
network_policy
required
runner_pool_id
string | null format: uuid
secret_trust_policy
required
string
seller_profile_id
string | null format: uuid
terms_accepted_at
string | null format: date-time
trust_tier
required
string
updated_at
required
string format: date-time
currency

The currency of the usage/earnings (None when there is no usage yet).

string | null
gross_minor
required

Gross priced total across all usage rows (minor currency units).

integer format: int64
net_minor
required

Settled seller net from the runner_usage ledger entries (minor units).

integer format: int64
runs
required

Metered runs recorded against this offer.

integer format: int64
Examplegenerated
[
{
"activation_status": "example",
"active": true,
"capabilities": "example",
"created_at": "2026-04-15T12:00:00Z",
"display_region": "example",
"hardware": "example",
"health_status": "example",
"heartbeat_interval_secs": 1,
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"job_class_allowlist": [
"example"
],
"last_heartbeat_at": "2026-04-15T12:00:00Z",
"max_concurrency": 1,
"network_policy": "example",
"runner_pool_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"secret_trust_policy": "example",
"seller_profile_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"terms_accepted_at": "2026-04-15T12:00:00Z",
"trust_tier": "example",
"updated_at": "2026-04-15T12:00:00Z",
"currency": "example",
"gross_minor": 1,
"net_minor": 1,
"runs": 1
}
]

Authentication required

Media typeapplication/json

The canonical JSON body of every error response — the single source of truth the frontend binds to. Every AppError serializes as this exact shape, and the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is what the frontend error schema is generated from, so there is no hand-written error schema on either end.

object
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden bad_request unprocessable precondition_failed conflict method_not_allowed rate_limited quota_exceeded database_error docker_error vault_error internal_error
details
One of:
null
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
Example
{
"code": "not_found"
}

Organization access required

Media typeapplication/json

The canonical JSON body of every error response — the single source of truth the frontend binds to. Every AppError serializes as this exact shape, and the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is what the frontend error schema is generated from, so there is no hand-written error schema on either end.

object
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden bad_request unprocessable precondition_failed conflict method_not_allowed rate_limited quota_exceeded database_error docker_error vault_error internal_error
details
One of:
null
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
Example
{
"code": "not_found"
}

Structured server error

Media typeapplication/json

The canonical JSON body of every error response — the single source of truth the frontend binds to. Every AppError serializes as this exact shape, and the generated OpenAPI component ApiErrorBody (with its ErrorCode enum) is what the frontend error schema is generated from, so there is no hand-written error schema on either end.

object
code
required

Machine-readable, stable error code.

string
Allowed values: not_found unauthorized forbidden bad_request unprocessable precondition_failed conflict method_not_allowed rate_limited quota_exceeded database_error docker_error vault_error internal_error
details
One of:
null
error
required

Human-readable message (the server’s English text; the client may localize by code).

string
Example
{
"code": "not_found"
}