API

GithubRunnerPool

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/github_runner_pools create GitHub Actions runner configuration
GET /api/v1/organizations/{organization_id}/github_runner_pools list Repository runner pools
PATCH /api/v1/organizations/{organization_id}/github_runner_pools/{id} update GitHub Actions runner configuration
PUT /api/v1/organizations/{organization_id}/github_runner_pools/configure update GitHub Actions runner configuration

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

github_runner_pools, err := client.GithubRunnerPool(nil).List(map[string]any{"organization_id": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(github_runner_pools)
created, err := client.GithubRunnerPool(nil).Create(map[string]any{"organization_id": "example", "github_app_installation_id": "example", "repository_full_name": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)
updated, err := client.GithubRunnerPool(nil).Update(map[string]any{"organization_id": "example", "enabled": true}, nil)
if err != nil {
    panic(err)
}
fmt.Println(updated)

Lua

Construct client as shown in the Lua setup, then call the operations:

local github_runner_pools, err = client:GithubRunnerPool():list({ organization_id = "example" })
local created, err = client:GithubRunnerPool():create({ organization_id = "example", github_app_installation_id = "example", repository_full_name = "example" })
local updated, err = client:GithubRunnerPool():update({ organization_id = "example", enabled = true })

PHP

Construct client as shown in the PHP setup, then call the operations:

$github_runner_pools = $client->GithubRunnerPool()->list(["organization_id" => "example"]);
$created = $client->GithubRunnerPool()->create(["organization_id" => "example", "github_app_installation_id" => "example", "repository_full_name" => "example"]);
$updated = $client->GithubRunnerPool()->update(["organization_id" => "example", "enabled" => true]);

Python

Construct client as shown in the Python setup, then call the operations:

github_runner_pools = client.GithubRunnerPool().list({"organization_id": "example"})
created = client.GithubRunnerPool().create({ "organization_id": "example", "github_app_installation_id": "example", "repository_full_name": "example" })
updated = client.GithubRunnerPool().update({"organization_id": "example", "enabled": True})

Ruby

Construct client as shown in the Ruby setup, then call the operations:

github_runner_pools = client.GithubRunnerPool.list({ "organization_id" => "example" })
created = client.GithubRunnerPool.create({ "organization_id" => "example", "github_app_installation_id" => "example", "repository_full_name" => "example" })
updated = client.GithubRunnerPool.update({ "organization_id" => "example", "enabled" => true })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const github_runner_pools = await client.GithubRunnerPool().list({ organization_id: "example" })
const created = await client.GithubRunnerPool().create({ organization_id: "example", github_app_installation_id: "example", repository_full_name: "example" })
const updated = await client.GithubRunnerPool().update({ organization_id: "example", enabled: true })

Fields

Field Type Required Description
cpu_millicores integer Yes Cpu Millicores
enabled boolean Yes Enabled
github_app_installation_id string Yes Github App Installation Id
github_repository_id string Yes Github Repository Id
github_runner_image any Yes Github Runner Image
id string Yes Id
image one,string,null No Organization image name or ID; null restores the standard image
invocations array Yes Invocations
label string Yes Label
last_error one,string,null Yes Last Error
last_polled_at one,string,null Yes Last Polled At
max_concurrency integer Yes Max Concurrency
memory_mb integer Yes Memory Mb
organization_id string Yes Organization Id
provider string Yes Provider
repository_full_name string Yes Repository Full Name
runtime_kind string Yes Runtime Kind
timeout_seconds integer Yes Timeout Seconds

create

POST /api/v1/organizations/{organization_id}/github_runner_pools

Operation ID: post_api_v1_organizations_organization_id_github_runner_pools.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Request body

application/json

Property Type Required Description
enabled boolean No
github_app_installation_id string Yes
image string No Organization image name or ID; null restores the standard image
label enum: composal, composal-x64-2x-8gb, composal-x64-2x, composal-x64-4x, composal-x64-8x, composal-x64-16x, ... No
max_concurrency integer No
provider enum: modal, boxmad No
repository_full_name string Yes
timeout_seconds integer No

Responses

200: GitHub Actions runner configuration

application/json

Property Type Required Description
github_runner_pool object Yes
github_runner_pool.cpu_millicores integer Yes
github_runner_pool.enabled boolean Yes
github_runner_pool.github_app_installation_id string Yes
github_runner_pool.github_repository_id string Yes
github_runner_pool.github_runner_image object or null Yes
github_runner_pool.id string Yes
github_runner_pool.invocations array of object Yes
github_runner_pool.invocations[].assigned_job_id integer Yes
github_runner_pool.invocations[].assigned_run_id integer Yes
github_runner_pool.invocations[].attempts integer Yes
github_runner_pool.invocations[].cleaned_up_at string Yes
github_runner_pool.invocations[].cleanup_pending boolean Yes Finished but its runner is not yet removed
github_runner_pool.invocations[].conclusion string Yes
github_runner_pool.invocations[].created_at string Yes
github_runner_pool.invocations[].finished_at string Yes
github_runner_pool.invocations[].github_job_id integer Yes
github_runner_pool.invocations[].github_run_id integer Yes
github_runner_pool.invocations[].github_runner_id integer Yes
github_runner_pool.invocations[].id string Yes
github_runner_pool.invocations[].image_version string Yes
github_runner_pool.invocations[].job_name string Yes
github_runner_pool.invocations[].job_url string Yes
github_runner_pool.invocations[].last_error string Yes
github_runner_pool.invocations[].modal_sandbox_id string Yes
github_runner_pool.invocations[].outcome enum: success, failed, active, cancelled Yes Same grouping as run history
github_runner_pool.invocations[].provider enum: modal, boxmad Yes
github_runner_pool.invocations[].sandbox_id string Yes
github_runner_pool.invocations[].spawned_at string Yes
github_runner_pool.invocations[].status string Yes
github_runner_pool.label string Yes
github_runner_pool.last_error string Yes
github_runner_pool.last_polled_at string Yes
github_runner_pool.max_concurrency integer Yes
github_runner_pool.memory_mb integer Yes
github_runner_pool.organization_id string Yes
github_runner_pool.provider enum: modal, boxmad Yes
github_runner_pool.repository_full_name string Yes
github_runner_pool.runtime_kind enum: vm, sandbox Yes
github_runner_pool.timeout_seconds integer Yes
201: GitHub Actions runner configuration

application/json

Property Type Required Description
github_runner_pool object Yes
github_runner_pool.cpu_millicores integer Yes
github_runner_pool.enabled boolean Yes
github_runner_pool.github_app_installation_id string Yes
github_runner_pool.github_repository_id string Yes
github_runner_pool.github_runner_image object or null Yes
github_runner_pool.id string Yes
github_runner_pool.invocations array of object Yes
github_runner_pool.invocations[].assigned_job_id integer Yes
github_runner_pool.invocations[].assigned_run_id integer Yes
github_runner_pool.invocations[].attempts integer Yes
github_runner_pool.invocations[].cleaned_up_at string Yes
github_runner_pool.invocations[].cleanup_pending boolean Yes Finished but its runner is not yet removed
github_runner_pool.invocations[].conclusion string Yes
github_runner_pool.invocations[].created_at string Yes
github_runner_pool.invocations[].finished_at string Yes
github_runner_pool.invocations[].github_job_id integer Yes
github_runner_pool.invocations[].github_run_id integer Yes
github_runner_pool.invocations[].github_runner_id integer Yes
github_runner_pool.invocations[].id string Yes
github_runner_pool.invocations[].image_version string Yes
github_runner_pool.invocations[].job_name string Yes
github_runner_pool.invocations[].job_url string Yes
github_runner_pool.invocations[].last_error string Yes
github_runner_pool.invocations[].modal_sandbox_id string Yes
github_runner_pool.invocations[].outcome enum: success, failed, active, cancelled Yes Same grouping as run history
github_runner_pool.invocations[].provider enum: modal, boxmad Yes
github_runner_pool.invocations[].sandbox_id string Yes
github_runner_pool.invocations[].spawned_at string Yes
github_runner_pool.invocations[].status string Yes
github_runner_pool.label string Yes
github_runner_pool.last_error string Yes
github_runner_pool.last_polled_at string Yes
github_runner_pool.max_concurrency integer Yes
github_runner_pool.memory_mb integer Yes
github_runner_pool.organization_id string Yes
github_runner_pool.provider enum: modal, boxmad Yes
github_runner_pool.repository_full_name string Yes
github_runner_pool.runtime_kind enum: vm, sandbox Yes
github_runner_pool.timeout_seconds integer Yes
401: Unauthorized
403: Organization administrator required
404: Not found
422: Invalid configuration or missing GitHub permissions
502: Bad gateway

list

GET /api/v1/organizations/{organization_id}/github_runner_pools

Operation ID: get_api_v1_organizations_organization_id_github_runner_pools.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Responses

200: Repository runner pools

application/json

Property Type Required Description
github_runner_pools array of object Yes
github_runner_pools[].cpu_millicores integer Yes
github_runner_pools[].enabled boolean Yes
github_runner_pools[].github_app_installation_id string Yes
github_runner_pools[].github_repository_id string Yes
github_runner_pools[].github_runner_image object or null Yes
github_runner_pools[].id string Yes
github_runner_pools[].invocations array of object Yes
github_runner_pools[].invocations[].assigned_job_id integer Yes
github_runner_pools[].invocations[].assigned_run_id integer Yes
github_runner_pools[].invocations[].attempts integer Yes
github_runner_pools[].invocations[].cleaned_up_at string Yes
github_runner_pools[].invocations[].cleanup_pending boolean Yes Finished but its runner is not yet removed
github_runner_pools[].invocations[].conclusion string Yes
github_runner_pools[].invocations[].created_at string Yes
github_runner_pools[].invocations[].finished_at string Yes
github_runner_pools[].invocations[].github_job_id integer Yes
github_runner_pools[].invocations[].github_run_id integer Yes
github_runner_pools[].invocations[].github_runner_id integer Yes
github_runner_pools[].invocations[].id string Yes
github_runner_pools[].invocations[].image_version string Yes
github_runner_pools[].invocations[].job_name string Yes
github_runner_pools[].invocations[].job_url string Yes
github_runner_pools[].invocations[].last_error string Yes
github_runner_pools[].invocations[].modal_sandbox_id string Yes
github_runner_pools[].invocations[].outcome enum: success, failed, active, cancelled Yes Same grouping as run history
github_runner_pools[].invocations[].provider enum: modal, boxmad Yes
github_runner_pools[].invocations[].sandbox_id string Yes
github_runner_pools[].invocations[].spawned_at string Yes
github_runner_pools[].invocations[].status string Yes
github_runner_pools[].label string Yes
github_runner_pools[].last_error string Yes
github_runner_pools[].last_polled_at string Yes
github_runner_pools[].max_concurrency integer Yes
github_runner_pools[].memory_mb integer Yes
github_runner_pools[].organization_id string Yes
github_runner_pools[].provider enum: modal, boxmad Yes
github_runner_pools[].repository_full_name string Yes
github_runner_pools[].runtime_kind enum: vm, sandbox Yes
github_runner_pools[].timeout_seconds integer Yes
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

update

PATCH /api/v1/organizations/{organization_id}/github_runner_pools/{id}

Operation ID: patch_api_v1_organizations_organization_id_github_runner_pools_id_.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
enabled boolean No
image string No Organization image name or ID; null restores the standard image
max_concurrency integer No
provider enum: modal, boxmad No
timeout_seconds integer No

Responses

200: GitHub Actions runner configuration

application/json

Property Type Required Description
github_runner_pool object Yes
github_runner_pool.cpu_millicores integer Yes
github_runner_pool.enabled boolean Yes
github_runner_pool.github_app_installation_id string Yes
github_runner_pool.github_repository_id string Yes
github_runner_pool.github_runner_image object or null Yes
github_runner_pool.id string Yes
github_runner_pool.invocations array of object Yes
github_runner_pool.invocations[].assigned_job_id integer Yes
github_runner_pool.invocations[].assigned_run_id integer Yes
github_runner_pool.invocations[].attempts integer Yes
github_runner_pool.invocations[].cleaned_up_at string Yes
github_runner_pool.invocations[].cleanup_pending boolean Yes Finished but its runner is not yet removed
github_runner_pool.invocations[].conclusion string Yes
github_runner_pool.invocations[].created_at string Yes
github_runner_pool.invocations[].finished_at string Yes
github_runner_pool.invocations[].github_job_id integer Yes
github_runner_pool.invocations[].github_run_id integer Yes
github_runner_pool.invocations[].github_runner_id integer Yes
github_runner_pool.invocations[].id string Yes
github_runner_pool.invocations[].image_version string Yes
github_runner_pool.invocations[].job_name string Yes
github_runner_pool.invocations[].job_url string Yes
github_runner_pool.invocations[].last_error string Yes
github_runner_pool.invocations[].modal_sandbox_id string Yes
github_runner_pool.invocations[].outcome enum: success, failed, active, cancelled Yes Same grouping as run history
github_runner_pool.invocations[].provider enum: modal, boxmad Yes
github_runner_pool.invocations[].sandbox_id string Yes
github_runner_pool.invocations[].spawned_at string Yes
github_runner_pool.invocations[].status string Yes
github_runner_pool.label string Yes
github_runner_pool.last_error string Yes
github_runner_pool.last_polled_at string Yes
github_runner_pool.max_concurrency integer Yes
github_runner_pool.memory_mb integer Yes
github_runner_pool.organization_id string Yes
github_runner_pool.provider enum: modal, boxmad Yes
github_runner_pool.repository_full_name string Yes
github_runner_pool.runtime_kind enum: vm, sandbox Yes
github_runner_pool.timeout_seconds integer Yes
401: Unauthorized
403: Organization administrator required
404: Not found
422: Invalid configuration
502: Bad gateway

PUT /api/v1/organizations/{organization_id}/github_runner_pools/configure

Operation ID: put_api_v1_organizations_organization_id_github_runner_pools_configure.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes

Request body

application/json

Property Type Required Description
enabled boolean No
github_app_installation_id string No
image string No
label string No
max_concurrency integer No
provider enum: modal, boxmad No
repository_full_name string Yes
timeout_seconds integer No

Responses

200: GitHub Actions runner configuration

application/json

Property Type Required Description
github_runner_pool object Yes
github_runner_pool.cpu_millicores integer Yes
github_runner_pool.enabled boolean Yes
github_runner_pool.github_app_installation_id string Yes
github_runner_pool.github_repository_id string Yes
github_runner_pool.github_runner_image object or null Yes
github_runner_pool.id string Yes
github_runner_pool.invocations array of object Yes
github_runner_pool.invocations[].assigned_job_id integer Yes
github_runner_pool.invocations[].assigned_run_id integer Yes
github_runner_pool.invocations[].attempts integer Yes
github_runner_pool.invocations[].cleaned_up_at string Yes
github_runner_pool.invocations[].cleanup_pending boolean Yes Finished but its runner is not yet removed
github_runner_pool.invocations[].conclusion string Yes
github_runner_pool.invocations[].created_at string Yes
github_runner_pool.invocations[].finished_at string Yes
github_runner_pool.invocations[].github_job_id integer Yes
github_runner_pool.invocations[].github_run_id integer Yes
github_runner_pool.invocations[].github_runner_id integer Yes
github_runner_pool.invocations[].id string Yes
github_runner_pool.invocations[].image_version string Yes
github_runner_pool.invocations[].job_name string Yes
github_runner_pool.invocations[].job_url string Yes
github_runner_pool.invocations[].last_error string Yes
github_runner_pool.invocations[].modal_sandbox_id string Yes
github_runner_pool.invocations[].outcome enum: success, failed, active, cancelled Yes Same grouping as run history
github_runner_pool.invocations[].provider enum: modal, boxmad Yes
github_runner_pool.invocations[].sandbox_id string Yes
github_runner_pool.invocations[].spawned_at string Yes
github_runner_pool.invocations[].status string Yes
github_runner_pool.label string Yes
github_runner_pool.last_error string Yes
github_runner_pool.last_polled_at string Yes
github_runner_pool.max_concurrency integer Yes
github_runner_pool.memory_mb integer Yes
github_runner_pool.organization_id string Yes
github_runner_pool.provider enum: modal, boxmad Yes
github_runner_pool.repository_full_name string Yes
github_runner_pool.runtime_kind enum: vm, sandbox Yes
github_runner_pool.timeout_seconds integer Yes
401: Unauthorized
403: Organization administrator required
404: Not found
422: Invalid configuration
502: Bad gateway