Resize a runner pool's RAM tier
Changes a runner pool's RAM tier (poolRamGb) and moves its subscription to the matching price. It cannot go below the RAM its active and queued jobs use.
Required permission
Requires the runner.write permission. See Permissions for the roles and API key permissions that include it.
Command line
The orl CLI wraps this endpoint:
orl runners pool resize <id> --pool-ram-gb <pool-ram-gb>apiKeyAuthorizationBearer <token>OpenRelay API key. Send it as Authorization: Bearer or_… (legacy vl_… keys still work).
orgId*stringid*stringapplication/json- body
poolRamGb*integerOK
application/json- response
id*stringorganizationId*stringname*stringgithubInstallationId*integerint64githubOwner*stringgithubOwnerType*stringpoolRamGb*integerdiskSizeGb*integerruntime?stringstatus*stringsubscriptionStatus?stringtrialEndsAt?stringcurrentPeriodEnd?stringcreatedAt*stringupdatedAt*stringcurl -X POST 'https://api.openrelay.inc/v1/orgs/string/runner-pools/string/resize' \ -H 'Content-Type: application/json' \ -d '{ "poolRamGb": 0}'{ "id": "string", "organizationId": "string", "name": "string", "githubInstallationId": 0, "githubOwner": "string", "githubOwnerType": "string", "poolRamGb": 0, "diskSizeGb": 0, "runtime": "string", "status": "string", "subscriptionStatus": "string", "trialEndsAt": "string", "currentPeriodEnd": "string", "createdAt": "string", "updatedAt": "string"}Delete (or drain) a runner pool DELETE
Deletes a runner pool, or moves it to draining when jobs are still active or queued. The response status says which: deleted or draining. A delete cancels the pool's subscription. A draining pool keeps its subscription until you call delete again once its jobs finish.
List runner jobs for a pool GET
Returns a runner pool's jobs, most recently queued first, with repository, runner size, status and timestamps. Pages with limit (default 50) and offset.