How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Actions Secrets API

Manage encrypted secrets for Actions

GitHub Actions Secrets API is one of 11 APIs that GitHub Actions publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 9 JSON Schema definitions.

Tagged areas include Secrets. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, a getting-started guide, an API reference, a changelog, and 9 JSON Schemas.

This API exposes 13 operations across 8 paths, and defines 5 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://api.github.com.

13 operations 8 paths 5 schemas 2 DELETE8 GET3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.github.com
Authentication
HTTP Bearer, HTTP Bearer
License
Resource Areas
1

Authentication & Security 2

GitHub Actions Secrets API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP bearer tokens (personalAccessToken). By default, every request must be authenticated.

  • bearerAuth — GitHub personal access token or OAuth token
  • personalAccessToken — Fine-grained personal access token with Actions permissions

Paths & Operations 13

Across 8 paths, the API surfaces 13 operations — 2 DELETE, 8 GET, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Secrets 13

Manage encrypted secrets for Actions

GET
/repos/{owner}/{repo}/actions/secrets
Github Actions List Repository Secrets
listRepoSecrets 4 params → 200
GET
/repos/{owner}/{repo}/actions/secrets/public-key
Github Actions Get a Repository Public Key
getRepoPublicKey 2 params → 200
GET
/repos/{owner}/{repo}/actions/secrets/{secret_name}
Github Actions Get a Repository Secret
getRepoSecret 3 params → 200
PUT
/repos/{owner}/{repo}/actions/secrets/{secret_name}
Github Actions Create or Update a Repository Secret
createOrUpdateRepoSecret 3 params body → 201204
DELETE
/repos/{owner}/{repo}/actions/secrets/{secret_name}
Github Actions Delete a Repository Secret
deleteRepoSecret 3 params → 204
GET
/repos/{owner}/{repo}/actions/organization-secrets
Github Actions List Repository Organization Secrets
listRepoOrgSecrets 4 params → 200
GET
/orgs/{org}/actions/secrets
Github Actions List Organization Secrets
listOrgSecrets 3 params → 200
GET
/orgs/{org}/actions/secrets/public-key
Github Actions Get an Organization Public Key
getOrgPublicKey 1 param → 200
GET
/orgs/{org}/actions/secrets/{secret_name}
Github Actions Get an Organization Secret
getOrgSecret 2 params → 200
PUT
/orgs/{org}/actions/secrets/{secret_name}
Github Actions Create or Update an Organization Secret
createOrUpdateOrgSecret 2 params body → 201204
DELETE
/orgs/{org}/actions/secrets/{secret_name}
Github Actions Delete an Organization Secret
deleteOrgSecret 2 params → 204
GET
/orgs/{org}/actions/secrets/{secret_name}/repositories
Github Actions List Selected Repositories for an Organization Secret
listSelectedReposForOrgSecret 4 params → 200
PUT
/orgs/{org}/actions/secrets/{secret_name}/repositories
Github Actions Set Selected Repositories for an Organization Secret
setSelectedReposForOrgSecret 2 params body → 204

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are MinimalRepository (9 properties), SimpleUser (7 properties), OrgActionsSecret (5 properties), ActionsSecret (3 properties). Each schema is shown below with its type and property counts.

ActionsSecret
object
3 properties
SimpleUser
object
7 properties
ActionsPublicKey
object
2 properties
MinimalRepository
object
9 properties
OrgActionsSecret
object
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-actions-secrets-api-openapi.yml Raw ↑

Other APIs GitHub Actions publishes across the network.

GitHub Actions Artifacts API
GitHub Actions Cache API
GitHub Actions Jobs API
GitHub Actions OIDC API
GitHub Actions Permissions API
GitHub Actions Self-Hosted Runner Groups API
GitHub Actions Self-Hosted Runners API
GitHub Actions Variables API
GitHub Actions Workflow Runs API
GitHub Actions Workflows API
Where this information came from

This is an independent, third-party profile of GitHub Actions Secrets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.