Set the organisation's CI runner label
Set the GitHub Actions runner label generated pipelines run on. Organisation admins only. The label is validated rather than accepted as free text: one label of at most 64 characters, starting and ending with a letter or digit, containing only letters, digits, ’-’, ’_’ and ’.’ (for example ubuntu-latest, depot-ubuntu-24.04, self-hosted). Anything else answers 400 - a label outside that grammar produces a workflow GitHub cannot parse or run, and the generators concatenate it into a YAML scalar. An explicit null clears the choice and puts every future generation back on the default. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication plus the X-Ankra-CSRF double-submit header).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ci_runner_label is required; an explicit null clears the organisation's choice.
Response
Successful Response
The organisation's application CI settings. ci_runner_label is the runs-on value generated pipelines carry; is_default reports that the organisation has never chosen one, so the label is Ankra's default rather than a decision - a build that never starts reads very differently under the two.