GitHub Actions website screenshot

GitHub Actions

APIs for GitHub Actions - automation and CI/CD platform.

1 APIs 10 Features

APIs

GitHub Actions API

REST API for managing GitHub Actions workflows, runs, artifacts, and secrets.

Collections

Arazzo Workflows

GitHub Actions Approve a Pending Deployment

Get a run, find its pending deployment environments, approve them, then poll the run to completion.

ARAZZO

GitHub Actions Cancel a Workflow Run and Confirm

Get a run, request cancellation, poll until it is no longer in progress, and force-cancel if it gets stuck.

ARAZZO

GitHub Actions Collect Workflow Run Artifacts

Find the latest run for a repository, confirm it, list its artifacts, and resolve a download URL.

ARAZZO

GitHub Actions Dispatch and Track a Workflow Run

Manually dispatch a workflow, find the run it created, poll until it completes, then list its jobs.

ARAZZO

GitHub Actions Inspect Failed Job Logs

Find the latest failed run, list its jobs, get the failing job, and resolve its log download URL.

ARAZZO

GitHub Actions Prune Repository Caches

Read cache usage, list the largest caches, and delete the largest one by id to reclaim space.

ARAZZO

GitHub Actions Register a Self-hosted Runner

List the available runner application binaries, mint a registration token, then list the repository's runners.

ARAZZO

GitHub Actions Re-run Failed Jobs and Track

Find the most recent failed run, re-run only its failed jobs, and poll the run until it completes again.

ARAZZO

GitHub Actions Share an Organization Secret with Selected Repositories

Fetch the org public key, create or update a selected-visibility org secret, scope it to repositories, and list them.

ARAZZO

GitHub Actions Upsert a Repository Secret

Fetch the repository public key, create or update an encrypted secret, then confirm it exists.

ARAZZO

GitHub Actions Upsert a Repository Variable

Look up a repository variable by name and either create it or update it, then read it back.

ARAZZO

Pricing Plans

Rate Limits

Github Actions Rate Limits

5 limits

RATE LIMITS

FinOps

Features

Automated CI/CD workflows triggered by repository events
Matrix builds across multiple OS and language versions
Reusable workflows and composite actions
Encrypted secrets and variables at repo, org, and environment scopes
Self-hosted and GitHub-hosted runner management
Workflow artifact storage and sharing
Deployment protection rules and environment approvals
OIDC integration for cloud provider authentication
Dependency caching for faster builds
Runner groups for organizational access control

Use Cases

Continuous integration and testing on every push or pull request
Automated deployment to cloud environments
Scheduled maintenance and cleanup workflows
Building and publishing container images
Automated code quality and security scanning
Release management and artifact publishing

Integrations

AWS (via OIDC)
Azure (via OIDC)
Google Cloud (via OIDC)
Docker Hub
npm
PyPI
Slack
Jira

Semantic Vocabularies

Github Actions Context

0 classes · 0 properties

JSON-LD

API Governance Rules

GitHub Actions API Rules

7 rules · 7 errors

SPECTRAL

JSON Structure

Github Actions Actions Cache Entry Structure

7 properties

JSON STRUCTURE

Github Actions Actions Cache Usage Structure

3 properties

JSON STRUCTURE

Github Actions Actions Public Key Structure

2 properties

JSON STRUCTURE

Github Actions Actions Secret Structure

3 properties

JSON STRUCTURE

Github Actions Actions Variable Structure

4 properties

JSON STRUCTURE

Github Actions Artifact Structure

11 properties

JSON STRUCTURE

Github Actions Authentication Token Structure

2 properties

JSON STRUCTURE

Github Actions Deployment Structure

8 properties

JSON STRUCTURE

Github Actions Environment Approval Structure

3 properties

JSON STRUCTURE

Github Actions Job Step Structure

6 properties

JSON STRUCTURE

Github Actions Job Structure

21 properties

JSON STRUCTURE

Github Actions Minimal Repository Structure

8 properties

JSON STRUCTURE

Github Actions Oidc Custom Sub Org Structure

1 properties

JSON STRUCTURE

Github Actions Oidc Custom Sub Structure

2 properties

JSON STRUCTURE

Github Actions Org Actions Secret Structure

5 properties

JSON STRUCTURE

Github Actions Pending Deployment Structure

5 properties

JSON STRUCTURE

Github Actions Runner Application Structure

6 properties

JSON STRUCTURE

Github Actions Runner Group Structure

7 properties

JSON STRUCTURE

Github Actions Runner Label Structure

3 properties

JSON STRUCTURE

Github Actions Self Hosted Runner Structure

6 properties

JSON STRUCTURE

Github Actions Simple Commit Structure

6 properties

JSON STRUCTURE

Github Actions Simple User Structure

7 properties

JSON STRUCTURE

Github Actions Workflow Run Structure

24 properties

JSON STRUCTURE

Github Actions Workflow Run Usage Structure

2 properties

JSON STRUCTURE

Github Actions Workflow Structure

10 properties

JSON STRUCTURE

Github Actions Workflow Usage Structure

1 properties

JSON STRUCTURE

Example Payloads

Github Actions Job Example

21 fields

EXAMPLE

Resources

🔗
PostmanWorkspace
PostmanWorkspace
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
🔗
RateLimits
RateLimits
📰
Blog
Blog
🟢
StatusPage
StatusPage
📄
ChangeLog
ChangeLog
🚀
GettingStarted
GettingStarted
🔑
Authentication
Authentication
💬
Support
Support
💰
Pricing
Pricing
👥
GitHubOrganization
GitHubOrganization
🌐
Portal
Portal
🔗
Documentation
Documentation
📝
Signup
Signup
🔗
Login
Login
🌐
DeveloperPortal
DeveloperPortal
🔗
Marketplace
Marketplace
👥
StackOverflow
StackOverflow
👥
YouTube
YouTube
📦
JavaScript SDK
SDKs
📦
Ruby SDK
SDKs
📦
.NET SDK
SDKs
📦
Go SDK
SDKs
🔗
CLI
CLI
🚀
GettingStarted
GettingStarted
🔗
Security
Security
🔗
JSONLD
JSONLD
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
CI/CD Automation Capability
Capabilities
🔗
Actions API Shared Definition
Capabilities
🔗
LlmsText
LlmsText

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: GitHub Actions API
  version: 1.0.0
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Workflows
    type: folder
  items:
  - info:
      name: Github Actions List Repository Workflows
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/workflows
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists the workflows in a repository. Anyone with read access to the repository can use this endpoint.
  - info:
      name: Github Actions Get a Workflow
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/workflows/:workflow_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: workflow_id
        value: ''
        type: path
        description: The ID of the workflow or the workflow file name.
    docs: Gets a specific workflow. You can replace workflow_id with the workflow file name.
  - info:
      name: Github Actions Disable a Workflow
      type: http
    http:
      method: PUT
      url: https://api.github.com/repos/:owner/:repo/actions/workflows/:workflow_id/disable
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: workflow_id
        value: ''
        type: path
        description: The ID of the workflow or the workflow file name.
    docs: Disables a workflow and sets the state of the workflow to disabled_manually.
  - info:
      name: Github Actions Enable a Workflow
      type: http
    http:
      method: PUT
      url: https://api.github.com/repos/:owner/:repo/actions/workflows/:workflow_id/enable
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: workflow_id
        value: ''
        type: path
        description: The ID of the workflow or the workflow file name.
    docs: Enables a workflow and sets the state of the workflow to active.
  - info:
      name: Github Actions Create a Workflow Dispatch Event
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/workflows/:workflow_id/dispatches
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: workflow_id
        value: ''
        type: path
        description: The ID of the workflow or the workflow file name.
      body:
        type: json
        data: '{}'
    docs: Manually triggers a GitHub Actions workflow run. The workflow must be configured to support the workflow_dispatch
      event.
  - info:
      name: Github Actions List Workflow Runs for a Workflow
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/workflows/:workflow_id/runs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: workflow_id
        value: ''
        type: path
        description: The ID of the workflow or the workflow file name.
      - name: actor
        value: example_value
        type: query
      - name: branch
        value: example_value
        type: query
      - name: event
        value: example_value
        type: query
      - name: status
        value: completed
        type: query
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: List all workflow runs for a workflow. You can replace workflow_id with the workflow file name.
  - info:
      name: Github Actions Get Workflow Usage
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/workflows/:workflow_id/timing
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: workflow_id
        value: ''
        type: path
        description: The ID of the workflow or the workflow file name.
    docs: Gets the number of billable minutes used by a specific workflow during the current billing cycle.
- info:
    name: Workflow Runs
    type: folder
  items:
  - info:
      name: Github Actions List Workflow Runs for a Repository
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: actor
        value: example_value
        type: query
      - name: branch
        value: example_value
        type: query
      - name: event
        value: example_value
        type: query
      - name: status
        value: completed
        type: query
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists all workflow runs for a repository. Anyone with read access to the repository can use this endpoint.
  - info:
      name: Github Actions Get a Workflow Run
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Gets a specific workflow run.
  - info:
      name: Github Actions Delete a Workflow Run
      type: http
    http:
      method: DELETE
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Deletes a specific workflow run. Anyone with write access to the repository can use this endpoint.
  - info:
      name: Github Actions Approve a Workflow Run for a Fork Pull Request
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/approve
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Approves a workflow run for a pull request from a public fork of a first time contributor.
  - info:
      name: Github Actions Get the Review History for a Workflow Run
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/approvals
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Anyone with read access to the repository can use this endpoint.
  - info:
      name: Github Actions Get a Workflow Run Attempt
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/attempts/:attempt_number
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      - name: attempt_number
        value: ''
        type: path
        description: The attempt number of the workflow run.
    docs: Gets a specific workflow run attempt.
  - info:
      name: Github Actions Download Workflow Run Attempt Logs
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/attempts/:attempt_number/logs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      - name: attempt_number
        value: ''
        type: path
        description: The attempt number of the workflow run.
    docs: Gets a redirect URL to download an archive of log files for a specific workflow run attempt.
  - info:
      name: Github Actions Cancel a Workflow Run
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/cancel
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Cancels a workflow run using its id.
  - info:
      name: Github Actions Review Custom Deployment Protection Rules for a Workflow Run
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/deployment_protection_rule
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      body:
        type: json
        data: '{}'
    docs: Approve or reject custom deployment protection rules for a workflow run.
  - info:
      name: Github Actions Force Cancel a Workflow Run
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/force-cancel
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Force cancels a workflow run. Use this endpoint to force cancel a workflow run that is not responding to a normal
      cancel request.
  - info:
      name: Github Actions Download Workflow Run Logs
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/logs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute.
  - info:
      name: Github Actions Delete Workflow Run Logs
      type: http
    http:
      method: DELETE
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/logs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Deletes all logs for a workflow run.
  - info:
      name: Github Actions Get Pending Deployments for a Workflow Run
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/pending_deployments
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Get all deployment environments for a workflow run that are waiting for protection rules to pass.
  - info:
      name: Github Actions Review Pending Deployments for a Workflow Run
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/pending_deployments
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      body:
        type: json
        data: '{}'
    docs: Approve or reject pending deployments that are waiting on approval by a required reviewer.
  - info:
      name: Github Actions Re-run a Workflow
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/rerun
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      body:
        type: json
        data: '{}'
    docs: Re-runs your workflow run using its id.
  - info:
      name: Github Actions Re-run Failed Jobs From a Workflow Run
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/rerun-failed-jobs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      body:
        type: json
        data: '{}'
    docs: Re-run all of the failed jobs and their dependent jobs in a workflow run using the id of the workflow run.
  - info:
      name: Github Actions Get Workflow Run Usage
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/timing
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
    docs: Gets the number of billable minutes and total run time for a specific workflow run.
- info:
    name: Jobs
    type: folder
  items:
  - info:
      name: Github Actions List Jobs for a Workflow Run
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/jobs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      - name: filter
        value: latest
        type: query
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists jobs for a workflow run. Anyone with read access to the repository can use this endpoint.
  - info:
      name: Github Actions List Jobs for a Workflow Run Attempt
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/attempts/:attempt_number/jobs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      - name: attempt_number
        value: ''
        type: path
        description: The attempt number of the workflow run.
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists jobs for a specific workflow run attempt.
  - info:
      name: Github Actions Get a Job for a Workflow Run
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/jobs/:job_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: job_id
        value: '500123'
        type: path
    docs: Gets a specific job in a workflow run.
  - info:
      name: Github Actions Download Job Logs for a Workflow Run
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/jobs/:job_id/logs
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: job_id
        value: '500123'
        type: path
    docs: Gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute.
  - info:
      name: Github Actions Re-run a Job From a Workflow Run
      type: http
    http:
      method: POST
      url: https://api.github.com/repos/:owner/:repo/actions/jobs/:job_id/rerun
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: job_id
        value: '500123'
        type: path
      body:
        type: json
        data: '{}'
    docs: Re-run a job and its dependent jobs in a workflow run.
- info:
    name: Artifacts
    type: folder
  items:
  - info:
      name: Github Actions List Artifacts for a Repository
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/artifacts
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: name
        value: Example Title
        type: query
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists all artifacts for a repository.
  - info:
      name: Github Actions Get an Artifact
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/artifacts/:artifact_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: artifact_id
        value: ''
        type: path
        description: The unique identifier of the artifact.
    docs: Gets a specific artifact for a workflow run.
  - info:
      name: Github Actions Delete an Artifact
      type: http
    http:
      method: DELETE
      url: https://api.github.com/repos/:owner/:repo/actions/artifacts/:artifact_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: artifact_id
        value: ''
        type: path
        description: The unique identifier of the artifact.
    docs: Deletes an artifact for a workflow run.
  - info:
      name: Github Actions Download an Artifact
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: artifact_id
        value: ''
        type: path
        description: The unique identifier of the artifact.
      - name: archive_format
        value: zip
        type: path
    docs: Gets a redirect URL to download an archive for a repository. The archive_format must be zip.
  - info:
      name: Github Actions List Workflow Run Artifacts
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/runs/:run_id/artifacts
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: run_id
        value: ''
        type: path
        description: The unique identifier of the workflow run.
      - name: name
        value: Example Title
        type: query
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists artifacts for a workflow run.
- info:
    name: Cache
    type: folder
  items:
  - info:
      name: List Github Actions Caches for a Repository
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/caches
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: ref
        value: example_value
        type: query
      - name: key
        value: example_value
        type: query
      - name: sort
        value: created_at
        type: query
      - name: direction
        value: asc
        type: query
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists the GitHub Actions caches for a repository.
  - info:
      name: Delete Github Actions Caches for a Repository (by Key)
      type: http
    http:
      method: DELETE
      url: https://api.github.com/repos/:owner/:repo/actions/caches
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: key
        value: example_value
        type: query
      - name: ref
        value: example_value
        type: query
    docs: Deletes one or more GitHub Actions caches for a repository, using a complete cache key.
  - info:
      name: Delete a Github Actions Cache for a Repository (by Id)
      type: http
    http:
      method: DELETE
      url: https://api.github.com/repos/:owner/:repo/actions/caches/:cache_id
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: cache_id
        value: '500123'
        type: path
    docs: Deletes a GitHub Actions cache for a repository, using a cache ID.
  - info:
      name: Get Github Actions Cache Usage for a Repository
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/cache/usage
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
    docs: Gets GitHub Actions cache usage for a repository.
- info:
    name: Secrets
    type: folder
  items:
  - info:
      name: Github Actions List Repository Secrets
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/secrets
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists all secrets available in a repository without revealing their encrypted values.
  - info:
      name: Github Actions Get a Repository Public Key
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/secrets/public-key
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
    docs: Gets your public key, which you need to encrypt secrets.
  - info:
      name: Github Actions Get a Repository Secret
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/secrets/:secret_name
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: secret_name
        value: ''
        type: path
        description: The name of the secret.
    docs: Gets a single repository secret without revealing its encrypted value.
  - info:
      name: Github Actions Create or Update a Repository Secret
      type: http
    http:
      method: PUT
      url: https://api.github.com/repos/:owner/:repo/actions/secrets/:secret_name
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: secret_name
        value: ''
        type: path
        description: The name of the secret.
      body:
        type: json
        data: '{}'
    docs: Creates or updates a repository secret with an encrypted value.
  - info:
      name: Github Actions Delete a Repository Secret
      type: http
    http:
      method: DELETE
      url: https://api.github.com/repos/:owner/:repo/actions/secrets/:secret_name
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: secret_name
        value: ''
        type: path
        description: The name of the secret.
    docs: Deletes a secret in a repository using the secret name.
  - info:
      name: Github Actions List Repository Organization Secrets
      type: http
    http:
      method: GET
      url: https://api.github.com/repos/:owner/:repo/actions/organization-secrets
      params:
      - name: owner
        value: ''
        type: path
        description: The account owner of the repository.
      - name: repo
        value: ''
        type: path
        description: The name of the repository without the .git extension.
      - name: per_page
        value: ''
        type: query
        description: The number of results per page (max 100).
      - name: page
        value: ''
        type: query
        description: The page number of the results to fetch.
    docs: Lists all organization secrets shared with a repository without revealing their encrypted values.
  - info:
      name: Github Actions List 

# --- truncated at 32 KB (54 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github-actions/refs/heads/main/apis.yml