Attach a sandbox to a CI runner
Makes a sandbox a long-lived runner for the organization. Send sandbox to create a new sandbox and attach it, or sandboxId to attach one you already have. Send exactly one of the two.
An existing sandbox must be ready, created from the github-actions-runner template, and in the same workspace as the runner. The call registers the sandbox with GitHub and starts the runner in it, which can take up to two minutes.
While attached, the sandbox does not expire and is billed for as long as it runs. If the runner cannot start in a sandbox created by this call, that sandbox is removed.
Only runners in reuse mode accept sandboxes.
API key scope: ci_runner.update
Team role permission: ci_runner.update
Authorizations
API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.
Path Parameters
ID of the CI runner.
^[a-fA-F0-9]{24}$