APIs.io Engineering Platform Actions API

Endpoints to manage GitHub Actions using the REST API.

Operations 137

GET /enterprises/{enterprise}/actions/cache/usage APIs.io Engineering Platform Get GitHub Actions cache usage for an enterprise #
GET /enterprises/{enterprise}/actions/cache/usage-policy APIs.io Engineering Platform Get GitHub Actions cache usage policy for an enterprise #
PATCH /enterprises/{enterprise}/actions/cache/usage-policy APIs.io Engineering Platform Set GitHub Actions cache usage policy for an enterprise #
GET /enterprises/{enterprise}/actions/permissions/workflow APIs.io Engineering Platform Get default workflow permissions for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/workflow APIs.io Engineering Platform Set default workflow permissions for an enterprise #
GET /orgs/{org}/actions/cache/usage APIs.io Engineering Platform Get GitHub Actions cache usage for an organization #
GET /orgs/{org}/actions/cache/usage-by-repository APIs.io Engineering Platform List repositories with GitHub Actions cache usage for an organization #
GET /orgs/{org}/actions/permissions APIs.io Engineering Platform Get GitHub Actions permissions for an organization #
PUT /orgs/{org}/actions/permissions APIs.io Engineering Platform Set GitHub Actions permissions for an organization #
GET /orgs/{org}/actions/permissions/repositories APIs.io Engineering Platform List selected repositories enabled for GitHub Actions in an organization #
PUT /orgs/{org}/actions/permissions/repositories APIs.io Engineering Platform Set selected repositories enabled for GitHub Actions in an organization #
PUT /orgs/{org}/actions/permissions/repositories/{repository_id} APIs.io Engineering Platform Enable a selected repository for GitHub Actions in an organization #
DELETE /orgs/{org}/actions/permissions/repositories/{repository_id} APIs.io Engineering Platform Disable a selected repository for GitHub Actions in an organization #
GET /orgs/{org}/actions/permissions/selected-actions APIs.io Engineering Platform Get allowed actions for an organization #
PUT /orgs/{org}/actions/permissions/selected-actions APIs.io Engineering Platform Set allowed actions for an organization #
GET /orgs/{org}/actions/permissions/workflow APIs.io Engineering Platform Get default workflow permissions for an organization #
PUT /orgs/{org}/actions/permissions/workflow APIs.io Engineering Platform Set default workflow permissions for an organization #
GET /orgs/{org}/actions/runner-groups APIs.io Engineering Platform List self-hosted runner groups for an organization #
POST /orgs/{org}/actions/runner-groups APIs.io Engineering Platform Create a self-hosted runner group for an organization #
GET /orgs/{org}/actions/runner-groups/{runner_group_id} APIs.io Engineering Platform Get a self-hosted runner group for an organization #
PATCH /orgs/{org}/actions/runner-groups/{runner_group_id} APIs.io Engineering Platform Update a self-hosted runner group for an organization #
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id} APIs.io Engineering Platform Delete a self-hosted runner group from an organization #
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories APIs.io Engineering Platform List repository access to a self-hosted runner group in an organization #
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories APIs.io Engineering Platform Set repository access for a self-hosted runner group in an organization #
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id} APIs.io Engineering Platform Add repository access to a self-hosted runner group in an organization #
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id} APIs.io Engineering Platform Remove repository access to a self-hosted runner group in an organization #
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners APIs.io Engineering Platform List self-hosted runners in a group for an organization #
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners APIs.io Engineering Platform Set self-hosted runners in a group for an organization #
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id} APIs.io Engineering Platform Add a self-hosted runner to a group for an organization #
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id} APIs.io Engineering Platform Remove a self-hosted runner from a group for an organization #
GET /orgs/{org}/actions/runners APIs.io Engineering Platform List self-hosted runners for an organization #
GET /orgs/{org}/actions/runners/downloads APIs.io Engineering Platform List runner applications for an organization #
POST /orgs/{org}/actions/runners/registration-token APIs.io Engineering Platform Create a registration token for an organization #
POST /orgs/{org}/actions/runners/remove-token APIs.io Engineering Platform Create a remove token for an organization #
GET /orgs/{org}/actions/runners/{runner_id} APIs.io Engineering Platform Get a self-hosted runner for an organization #
DELETE /orgs/{org}/actions/runners/{runner_id} APIs.io Engineering Platform Delete a self-hosted runner from an organization #
GET /orgs/{org}/actions/runners/{runner_id}/labels APIs.io Engineering Platform List labels for a self-hosted runner for an organization #
POST /orgs/{org}/actions/runners/{runner_id}/labels APIs.io Engineering Platform Add custom labels to a self-hosted runner for an organization #
PUT /orgs/{org}/actions/runners/{runner_id}/labels APIs.io Engineering Platform Set custom labels for a self-hosted runner for an organization #
DELETE /orgs/{org}/actions/runners/{runner_id}/labels APIs.io Engineering Platform Remove all custom labels from a self-hosted runner for an organization #
DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name} APIs.io Engineering Platform Remove a custom label from a self-hosted runner for an organization #
GET /orgs/{org}/actions/secrets APIs.io Engineering Platform List organization secrets #
GET /orgs/{org}/actions/secrets/public-key APIs.io Engineering Platform Get an organization public key #
GET /orgs/{org}/actions/secrets/{secret_name} APIs.io Engineering Platform Get an organization secret #
PUT /orgs/{org}/actions/secrets/{secret_name} APIs.io Engineering Platform Create or update an organization secret #
DELETE /orgs/{org}/actions/secrets/{secret_name} APIs.io Engineering Platform Delete an organization secret #
GET /orgs/{org}/actions/secrets/{secret_name}/repositories APIs.io Engineering Platform List selected repositories for an organization secret #
PUT /orgs/{org}/actions/secrets/{secret_name}/repositories APIs.io Engineering Platform Set selected repositories for an organization secret #
PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id} APIs.io Engineering Platform Add selected repository to an organization secret #
DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id} APIs.io Engineering Platform Remove selected repository from an organization secret #
GET /orgs/{org}/actions/variables APIs.io Engineering Platform List organization variables #
POST /orgs/{org}/actions/variables APIs.io Engineering Platform Create an organization variable #
GET /orgs/{org}/actions/variables/{name} APIs.io Engineering Platform Get an organization variable #
PATCH /orgs/{org}/actions/variables/{name} APIs.io Engineering Platform Update an organization variable #
DELETE /orgs/{org}/actions/variables/{name} APIs.io Engineering Platform Delete an organization variable #
GET /orgs/{org}/actions/variables/{name}/repositories APIs.io Engineering Platform List selected repositories for an organization variable #
PUT /orgs/{org}/actions/variables/{name}/repositories APIs.io Engineering Platform Set selected repositories for an organization variable #
PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id} APIs.io Engineering Platform Add selected repository to an organization variable #
DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id} APIs.io Engineering Platform Remove selected repository from an organization variable #
GET /repos/{owner}/{repo}/actions/artifacts APIs.io Engineering Platform List artifacts for a repository #
GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id} APIs.io Engineering Platform Get an artifact #
DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id} APIs.io Engineering Platform Delete an artifact #
GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format} APIs.io Engineering Platform Download an artifact #
GET /repos/{owner}/{repo}/actions/cache/usage APIs.io Engineering Platform Get GitHub Actions cache usage for a repository #
GET /repos/{owner}/{repo}/actions/cache/usage-policy APIs.io Engineering Platform Get GitHub Actions cache usage policy for a repository #
PATCH /repos/{owner}/{repo}/actions/cache/usage-policy APIs.io Engineering Platform Set GitHub Actions cache usage policy for a repository #
GET /repos/{owner}/{repo}/actions/caches APIs.io Engineering Platform List GitHub Actions caches for a repository #
DELETE /repos/{owner}/{repo}/actions/caches APIs.io Engineering Platform Delete GitHub Actions caches for a repository (using a cache key) #
DELETE /repos/{owner}/{repo}/actions/caches/{cache_id} APIs.io Engineering Platform Delete a GitHub Actions cache for a repository (using a cache ID) #
GET /repos/{owner}/{repo}/actions/jobs/{job_id} APIs.io Engineering Platform Get a job for a workflow run #
GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs APIs.io Engineering Platform Download job logs for a workflow run #
POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun APIs.io Engineering Platform Re-run a job from a workflow run #
GET /repos/{owner}/{repo}/actions/oidc/customization/sub APIs.io Engineering Platform Get the customization template for an OIDC subject claim for a repository #
PUT /repos/{owner}/{repo}/actions/oidc/customization/sub APIs.io Engineering Platform Set the customization template for an OIDC subject claim for a repository #
GET /repos/{owner}/{repo}/actions/organization-secrets APIs.io Engineering Platform List repository organization secrets #
GET /repos/{owner}/{repo}/actions/organization-variables APIs.io Engineering Platform List repository organization variables #
GET /repos/{owner}/{repo}/actions/permissions APIs.io Engineering Platform Get GitHub Actions permissions for a repository #
PUT /repos/{owner}/{repo}/actions/permissions APIs.io Engineering Platform Set GitHub Actions permissions for a repository #
GET /repos/{owner}/{repo}/actions/permissions/access APIs.io Engineering Platform Get the level of access for workflows outside of the repository #
PUT /repos/{owner}/{repo}/actions/permissions/access APIs.io Engineering Platform Set the level of access for workflows outside of the repository #
GET /repos/{owner}/{repo}/actions/permissions/selected-actions APIs.io Engineering Platform Get allowed actions for a repository #
PUT /repos/{owner}/{repo}/actions/permissions/selected-actions APIs.io Engineering Platform Set allowed actions for a repository #
GET /repos/{owner}/{repo}/actions/permissions/workflow APIs.io Engineering Platform Get default workflow permissions for a repository #
PUT /repos/{owner}/{repo}/actions/permissions/workflow APIs.io Engineering Platform Set default workflow permissions for a repository #
GET /repos/{owner}/{repo}/actions/runners APIs.io Engineering Platform List self-hosted runners for a repository #
GET /repos/{owner}/{repo}/actions/runners/downloads APIs.io Engineering Platform List runner applications for a repository #
POST /repos/{owner}/{repo}/actions/runners/registration-token APIs.io Engineering Platform Create a registration token for a repository #
POST /repos/{owner}/{repo}/actions/runners/remove-token APIs.io Engineering Platform Create a remove token for a repository #
GET /repos/{owner}/{repo}/actions/runners/{runner_id} APIs.io Engineering Platform Get a self-hosted runner for a repository #
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id} APIs.io Engineering Platform Delete a self-hosted runner from a repository #
GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels APIs.io Engineering Platform List labels for a self-hosted runner for a repository #
POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels APIs.io Engineering Platform Add custom labels to a self-hosted runner for a repository #
PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels APIs.io Engineering Platform Set custom labels for a self-hosted runner for a repository #
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels APIs.io Engineering Platform Remove all custom labels from a self-hosted runner for a repository #
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name} APIs.io Engineering Platform Remove a custom label from a self-hosted runner for a repository #
GET /repos/{owner}/{repo}/actions/runs APIs.io Engineering Platform List workflow runs for a repository #
GET /repos/{owner}/{repo}/actions/runs/{run_id} APIs.io Engineering Platform Get a workflow run #
DELETE /repos/{owner}/{repo}/actions/runs/{run_id} APIs.io Engineering Platform Delete a workflow run #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals APIs.io Engineering Platform Get the review history for a workflow run #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts APIs.io Engineering Platform List workflow run artifacts #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number} APIs.io Engineering Platform Get a workflow run attempt #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs APIs.io Engineering Platform List jobs for a workflow run attempt #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs APIs.io Engineering Platform Download workflow run attempt logs #
POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel APIs.io Engineering Platform Cancel a workflow run #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs APIs.io Engineering Platform List jobs for a workflow run #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs APIs.io Engineering Platform Download workflow run logs #
DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs APIs.io Engineering Platform Delete workflow run logs #
GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments APIs.io Engineering Platform Get pending deployments for a workflow run #
POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments APIs.io Engineering Platform Review pending deployments for a workflow run #
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun APIs.io Engineering Platform Re-run a workflow #
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs APIs.io Engineering Platform Re-run failed jobs from a workflow run #
GET /repos/{owner}/{repo}/actions/secrets APIs.io Engineering Platform List repository secrets #
GET /repos/{owner}/{repo}/actions/secrets/public-key APIs.io Engineering Platform Get a repository public key #
GET /repos/{owner}/{repo}/actions/secrets/{secret_name} APIs.io Engineering Platform Get a repository secret #
PUT /repos/{owner}/{repo}/actions/secrets/{secret_name} APIs.io Engineering Platform Create or update a repository secret #
DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name} APIs.io Engineering Platform Delete a repository secret #
GET /repos/{owner}/{repo}/actions/variables APIs.io Engineering Platform List repository variables #
POST /repos/{owner}/{repo}/actions/variables APIs.io Engineering Platform Create a repository variable #
GET /repos/{owner}/{repo}/actions/variables/{name} APIs.io Engineering Platform Get a repository variable #
PATCH /repos/{owner}/{repo}/actions/variables/{name} APIs.io Engineering Platform Update a repository variable #
DELETE /repos/{owner}/{repo}/actions/variables/{name} APIs.io Engineering Platform Delete a repository variable #
GET /repos/{owner}/{repo}/actions/workflows APIs.io Engineering Platform List repository workflows #
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id} APIs.io Engineering Platform Get a workflow #
PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable APIs.io Engineering Platform Disable a workflow #
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches APIs.io Engineering Platform Create a workflow dispatch event #
PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable APIs.io Engineering Platform Enable a workflow #
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs APIs.io Engineering Platform List workflow runs for a workflow #
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets APIs.io Engineering Platform List environment secrets #
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key APIs.io Engineering Platform Get an environment public key #
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} APIs.io Engineering Platform Get an environment secret #
PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} APIs.io Engineering Platform Create or update an environment secret #
DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name} APIs.io Engineering Platform Delete an environment secret #
GET /repos/{owner}/{repo}/environments/{environment_name}/variables APIs.io Engineering Platform List environment variables #
POST /repos/{owner}/{repo}/environments/{environment_name}/variables APIs.io Engineering Platform Create an environment variable #
GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} APIs.io Engineering Platform Get an environment variable #
PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} APIs.io Engineering Platform Update an environment variable #
DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name} APIs.io Engineering Platform Delete an environment variable #

Documentation

Specifications

Other Resources

🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-1ab188a6-cc1f-490d-9413-9c6da20918d0?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-0e94f581-cbc1-48e0-b594-1f6b3d07a328?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-4517d93a-e7f7-4dc2-b572-06762bbe14de?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-88f9ddbb-3115-47dc-b6e5-7fc6f1d2a190?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-3a12caae-4945-4df4-8ab9-bb6219ba7a9f?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-863b18f0-c2f2-4e32-a5fa-0d1e6ccf77a9?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-189876d1-f207-49a2-a4bc-5c67ae78cd19?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-c1e74fd9-3f84-4d95-943d-d645d6cb82f7?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-b002164d-6e8a-4b6d-b409-4929476e7818?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-508660fd-30b8-4c9c-aede-8edbac8a514d?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-da35e0ba-f1a9-42fe-a77a-56ff0a47e341?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-1d4df7d0-9c92-4fa8-946f-2110c2b3b48d?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-2af6f54f-d259-46c0-8f86-78856f5885cd?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-cc203f31-e7f6-42ec-ad34-c5c4cde58904?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-f19285da-48dd-4691-bbdf-f7d6bec157a3?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-aa69cacc-4bbf-4724-a1d4-78cdad57fee8?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-a5858f86-04d3-4e15-ae11-b42c7516688b?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-c2052341-766c-43c7-b1dc-ed4985e4606b?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-aa777c90-8271-4809-8eac-3ec39a9a899c?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-4d5957dc-df05-4216-a5fc-d46b3ba811d8?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-28d97617-fdba-46a5-ac3e-40f3d2e0fa57?action=share&creator=35240
🔗
PostmanCollection
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-7429b451-d812-4abc-b497-b763372cf5c5?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-b0eafdd0-adaa-48a2-a855-6a31beb86d83?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-209f34ef-13c1-400c-bca8-fcddb304aff5?action=share&creator=35240
🔗
PostmanCapability
https://api-evangelist.postman.co/workspace/APIs.io-Engineering-Platform/fe320942-e505-4ee8-8b7c-d72eae00d93f/collection/35240-fb2bbbb8-d4cc-48b1-a660-c8e158bfbbea?action=share&creator=35240

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/engineering-platform-actions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

engineering-platform-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.1.4
  title: APIs.io Engineering Platform GitHub v3 REST Actions API
  description: GitHub's v3 REST API.
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: https://docs.github.com/articles/github-terms-of-service
  contact:
    name: Support
    url: https://support.github.com/contact?tags=dotcom-rest-api
  x-github-plan: ghes
  x-github-release: 3.9
servers:
- url: '{protocol}://{hostname}/api/v3'
  variables:
    hostname:
      description: Self-hosted Enterprise Server hostname
      default: HOSTNAME
    protocol:
      description: Self-hosted Enterprise Server protocol
      default: http
tags:
- name: Actions
  description: Endpoints to manage GitHub Actions using the REST API.
paths:
  /enterprises/{enterprise}/actions/cache/usage:
    get:
      summary: APIs.io Engineering Platform Get GitHub Actions cache usage for an enterprise
      description: 'Gets the total GitHub Actions cache usage for an enterprise.

        The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.


        OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.'
      operationId: actions/get-actions-cache-usage-for-enterprise
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise
      parameters:
      - $ref: '#/components/parameters/enterprise'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/actions-cache-usage-org-enterprise'
              examples:
                default:
                  $ref: '#/components/examples/actions-cache-usage-org-enterprise'
          headers:
            Link:
              $ref: '#/components/headers/link'
      x-github:
        enabledForGitHubApps: false
        githubCloudOnly: true
        category: actions
        subcategory: cache
  /enterprises/{enterprise}/actions/cache/usage-policy:
    get:
      summary: APIs.io Engineering Platform Get GitHub Actions cache usage policy for an enterprise
      description: 'Gets the GitHub Actions cache usage policy for an enterprise.


        OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/get-actions-cache-usage-policy-for-enterprise
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/cache#get-github-actions-cache-usage-policy-for-an-enterprise
      parameters:
      - $ref: '#/components/parameters/enterprise'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/actions-cache-usage-policy-enterprise'
              examples:
                default:
                  $ref: '#/components/examples/actions-cache-usage-policy-enterprise'
          headers:
            Link:
              $ref: '#/components/headers/link'
      x-github:
        enabledForGitHubApps: false
        githubCloudOnly: false
        category: actions
        subcategory: cache
    patch:
      summary: APIs.io Engineering Platform Set GitHub Actions cache usage policy for an enterprise
      description: 'Sets the GitHub Actions cache usage policy for an enterprise.


        OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/set-actions-cache-usage-policy-for-enterprise
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/cache#set-github-actions-cache-usage-policy-for-an-enterprise
      parameters:
      - $ref: '#/components/parameters/enterprise'
      responses:
        '204':
          description: Response
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/actions-cache-usage-policy-enterprise'
            examples:
              selected_actions:
                $ref: '#/components/examples/actions-cache-usage-policy-enterprise'
      x-github:
        enabledForGitHubApps: false
        githubCloudOnly: false
        category: actions
        subcategory: cache
  /enterprises/{enterprise}/actions/permissions/workflow:
    get:
      summary: APIs.io Engineering Platform Get default workflow permissions for an enterprise
      description: 'Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise,

        as well as whether GitHub Actions can submit approving pull request reviews. For more information, see

        "[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise)."


        OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/get-github-actions-default-workflow-permissions-enterprise
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise
      parameters:
      - $ref: '#/components/parameters/enterprise'
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/actions-get-default-workflow-permissions'
              examples:
                default:
                  $ref: '#/components/examples/actions-default-workflow-permissions'
      x-github:
        githubCloudOnly: true
        enabledForGitHubApps: false
        category: actions
        subcategory: permissions
    put:
      summary: APIs.io Engineering Platform Set default workflow permissions for an enterprise
      description: 'Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and sets

        whether GitHub Actions can submit approving pull request reviews. For more information, see

        "[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.9/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise)."


        OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/set-github-actions-default-workflow-permissions-enterprise
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise
      parameters:
      - $ref: '#/components/parameters/enterprise'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/actions-set-default-workflow-permissions'
            examples:
              default:
                $ref: '#/components/examples/actions-default-workflow-permissions'
      responses:
        '204':
          description: Success response
      x-github:
        githubCloudOnly: true
        enabledForGitHubApps: false
        category: actions
        subcategory: permissions
  /orgs/{org}/actions/cache/usage:
    get:
      summary: APIs.io Engineering Platform Get GitHub Actions cache usage for an organization
      description: 'Gets the total GitHub Actions cache usage for an organization.

        The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.


        OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/get-actions-cache-usage-for-org
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/cache#get-github-actions-cache-usage-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/actions-cache-usage-org-enterprise'
              examples:
                default:
                  $ref: '#/components/examples/actions-cache-usage-org-enterprise'
          headers:
            Link:
              $ref: '#/components/headers/link'
      x-github:
        githubCloudOnly: false
        enabledForGitHubApps: true
        category: actions
        subcategory: cache
  /orgs/{org}/actions/cache/usage-by-repository:
    get:
      summary: APIs.io Engineering Platform List repositories with GitHub Actions cache usage for an organization
      description: 'Lists repositories and their GitHub Actions cache usage for an organization.

        The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.


        OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/get-actions-cache-usage-by-repo-for-org
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      - $ref: '#/components/parameters/per-page'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                type: object
                required:
                - total_count
                - repository_cache_usages
                properties:
                  total_count:
                    type: integer
                  repository_cache_usages:
                    type: array
                    items:
                      $ref: '#/components/schemas/actions-cache-usage-by-repository'
              examples:
                default:
                  $ref: '#/components/examples/org-actions-cache-usage-by-repo'
          headers:
            Link:
              $ref: '#/components/headers/link'
      x-github:
        githubCloudOnly: false
        enabledForGitHubApps: true
        category: actions
        subcategory: cache
  /orgs/{org}/actions/permissions:
    get:
      summary: APIs.io Engineering Platform Get GitHub Actions permissions for an organization
      description: 'Gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.


        You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.'
      operationId: actions/get-github-actions-permissions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-github-actions-permissions-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/actions-organization-permissions'
              examples:
                default:
                  $ref: '#/components/examples/actions-organization-permissions'
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
    put:
      summary: APIs.io Engineering Platform Set GitHub Actions permissions for an organization
      description: 'Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.


        If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.


        OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/set-github-actions-permissions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-github-actions-permissions-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '204':
          description: Response
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                enabled_repositories:
                  $ref: '#/components/schemas/enabled-repositories'
                allowed_actions:
                  $ref: '#/components/schemas/allowed-actions'
              required:
              - enabled_repositories
            examples:
              default:
                value:
                  enabled_repositories: all
                  allowed_actions: selected
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
  /orgs/{org}/actions/permissions/repositories:
    get:
      summary: APIs.io Engineering Platform List selected repositories enabled for GitHub Actions in an organization
      description: 'Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."


        OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/list-selected-repositories-enabled-github-actions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      - $ref: '#/components/parameters/per-page'
      - $ref: '#/components/parameters/page'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                type: object
                required:
                - total_count
                - repositories
                properties:
                  total_count:
                    type: number
                  repositories:
                    type: array
                    items:
                      $ref: '#/components/schemas/repository'
              examples:
                default:
                  $ref: '#/components/examples/repository-paginated'
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
    put:
      summary: APIs.io Engineering Platform Set selected repositories enabled for GitHub Actions in an organization
      description: 'Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."



        OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/set-selected-repositories-enabled-github-actions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '204':
          description: Response
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                selected_repository_ids:
                  description: List of repository IDs to enable for GitHub Actions.
                  type: array
                  items:
                    type: integer
                    description: Unique identifier of the repository.
              required:
              - selected_repository_ids
            examples:
              default:
                value:
                  selected_repository_ids:
                  - 32
                  - 42
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
  /orgs/{org}/actions/permissions/repositories/{repository_id}:
    put:
      summary: APIs.io Engineering Platform Enable a selected repository for GitHub Actions in an organization
      description: 'Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."


        OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/enable-selected-repository-github-actions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      - $ref: '#/components/parameters/repository-id'
      responses:
        '204':
          description: Response
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
    delete:
      summary: APIs.io Engineering Platform Disable a selected repository for GitHub Actions in an organization
      description: 'Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."


        OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/disable-selected-repository-github-actions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      - $ref: '#/components/parameters/repository-id'
      responses:
        '204':
          description: Response
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
  /orgs/{org}/actions/permissions/selected-actions:
    get:
      summary: APIs.io Engineering Platform Get allowed actions for an organization
      description: 'Gets the selected actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).""


        You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API.'
      operationId: actions/get-allowed-actions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/selected-actions'
              examples:
                default:
                  $ref: '#/components/examples/selected-actions'
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
    put:
      summary: APIs.io Engineering Platform Set allowed actions for an organization
      description: 'Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."


        If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise''s allowed actions settings.


        To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.


        OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/set-allowed-actions-organization
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '204':
          description: Response
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/selected-actions'
            examples:
              selected_actions:
                $ref: '#/components/examples/selected-actions'
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: false
        category: actions
        subcategory: permissions
  /orgs/{org}/actions/permissions/workflow:
    get:
      summary: APIs.io Engineering Platform Get default workflow permissions for an organization
      description: 'Gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,

        as well as whether GitHub Actions can submit approving pull request reviews. For more information, see

        "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."


        OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/get-github-actions-default-workflow-permissions-organization
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#get-default-workflow-permissions-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/actions-get-default-workflow-permissions'
              examples:
                default:
                  $ref: '#/components/examples/actions-default-workflow-permissions'
      x-github:
        githubCloudOnly: false
        enabledForGitHubApps: true
        category: actions
        subcategory: permissions
    put:
      summary: APIs.io Engineering Platform Set default workflow permissions for an organization
      description: 'Sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actions

        can submit approving pull request reviews. For more information, see

        "[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/enterprise-server@3.9/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."


        OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      tags:
      - Actions
      operationId: actions/set-github-actions-default-workflow-permissions-organization
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/permissions#set-default-workflow-permissions-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      responses:
        '204':
          description: Success response
        '409':
          description: Conflict response when changing a setting is prevented by the owning enterprise
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/actions-set-default-workflow-permissions'
            examples:
              default:
                $ref: '#/components/examples/actions-default-workflow-permissions'
      x-github:
        githubCloudOnly: false
        enabledForGitHubApps: true
        category: actions
        subcategory: permissions
  /orgs/{org}/actions/runner-groups:
    get:
      summary: APIs.io Engineering Platform List self-hosted runner groups for an organization
      description: 'Lists all self-hosted runner groups configured in an organization and inherited from an enterprise.


        OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/list-self-hosted-runner-groups-for-org
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      - $ref: '#/components/parameters/per-page'
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/visible-to-repository'
      responses:
        '200':
          description: Response
          content:
            application/json:
              schema:
                type: object
                required:
                - total_count
                - runner_groups
                properties:
                  total_count:
                    type: number
                  runner_groups:
                    type: array
                    items:
                      $ref: '#/components/schemas/runner-groups-org'
              examples:
                default:
                  $ref: '#/components/examples/runner-groups-org'
      x-github:
        enabledForGitHubApps: true
        githubCloudOnly: true
        category: actions
        subcategory: self-hosted-runner-groups
    post:
      summary: APIs.io Engineering Platform Create a self-hosted runner group for an organization
      description: 'Creates a new self-hosted runner group for an organization.


        OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.'
      operationId: actions/create-self-hosted-runner-group-for-org
      tags:
      - Actions
      externalDocs:
        description: API method documentation
        url: https://docs.github.com/enterprise-server@3.9/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization
      parameters:
      - $ref: '#/components/parameters/org'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  description: Name of the runner group.
                  type: string
                visibility:
                  description: Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories.
                  type: string
                  enum:
                  - selected
                  - all
                  - private
                  default: all
                selected_repository_ids:
                  description: List of repository IDs that can access the runner group.
                  type: array
                  items:
                    type: integer
                    description: Unique identifier of the repository.
                runners:
                  description: List of runner IDs to add to the runner group.
                  type: array
                  items:
                    type: integer
                    description: Unique identifier of the runner.
                allows_public_repositories:
                  description: Whether the runner group can be used by `public` repositories.
                  type: boolean
                  default: false
                restricted_to_workflows:
                  description: If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
                  type: boolean
                  default: false
                selected_workflows:
                  description: List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.
                  type: array
                  items:
                    type: string
                    description: Name of workflow the runner group should be allowed to run. Note that a ref, tag, or long SHA is required.
                    example: octo-org/octo-repo/.github/workflows/deploy.yaml@main
              required:
              - name
            examples:
              default:
                value:
                  name: Expensive hardware runners
                  visibility: selected
                  selected_repository_ids:
                  - 32
                  - 91
                  runners:
                  - 9
                  - 2
      responses:
        '201':
          description: Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/runner-groups-org'
              examples:
                default:
                  $ref: '#/components/examples/runner-group'
    

# --- truncated at 32 KB (400 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/engineering-platform/refs/heads/main/openapi/engineering-platform-actions-api-openapi.yml