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 Agents API

Endpoints for Agents secrets and variables.

GitHub Agents API is one of 129 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Agents. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 30 operations across 16 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

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

30 operations 16 paths 10 schemas 6 DELETE14 GET2 PATCH2 POST6 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 30

Across 16 paths, the API surfaces 30 operations — 6 DELETE, 14 GET, 2 PATCH, 2 POST, 6 PUT. Each is listed below with its method, path, parameters, and response codes.

Agents 30

Endpoints for Agents secrets and variables.

GET
/orgs/{org}/agents/secrets
List organization secrets
agents/list-org-secrets 3 params → 200
GET
/orgs/{org}/agents/secrets/public-key
Get an organization public key
agents/get-org-public-key 1 param → 200
GET
/orgs/{org}/agents/secrets/{secret_name}
Get an organization secret
agents/get-org-secret 2 params → 200
PUT
/orgs/{org}/agents/secrets/{secret_name}
Create or update an organization secret
agents/create-or-update-org-secret 2 params body → 201204
DELETE
/orgs/{org}/agents/secrets/{secret_name}
Delete an organization secret
agents/delete-org-secret 2 params → 204
GET
/orgs/{org}/agents/secrets/{secret_name}/repositories
List selected repositories for an organization secret
agents/list-selected-repos-for-org-secret 4 params → 200
PUT
/orgs/{org}/agents/secrets/{secret_name}/repositories
Set selected repositories for an organization secret
agents/set-selected-repos-for-org-secret 2 params body → 204
PUT
/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}
Add selected repository to an organization secret
agents/add-selected-repo-to-org-secret 3 params → 204409
DELETE
/orgs/{org}/agents/secrets/{secret_name}/repositories/{repository_id}
Remove selected repository from an organization secret
agents/remove-selected-repo-from-org-secret 3 params → 204409
GET
/orgs/{org}/agents/variables
List organization variables
agents/list-org-variables 3 params → 200
POST
/orgs/{org}/agents/variables
Create an organization variable
agents/create-org-variable 1 param body → 201
GET
/orgs/{org}/agents/variables/{name}
Get an organization variable
agents/get-org-variable 2 params → 200
PATCH
/orgs/{org}/agents/variables/{name}
Update an organization variable
agents/update-org-variable 2 params body → 204
DELETE
/orgs/{org}/agents/variables/{name}
Delete an organization variable
agents/delete-org-variable 2 params → 204
GET
/orgs/{org}/agents/variables/{name}/repositories
List selected repositories for an organization variable
agents/list-selected-repos-for-org-variable 4 params → 200409
PUT
/orgs/{org}/agents/variables/{name}/repositories
Set selected repositories for an organization variable
agents/set-selected-repos-for-org-variable 2 params body → 204409
PUT
/orgs/{org}/agents/variables/{name}/repositories/{repository_id}
Add selected repository to an organization variable
agents/add-selected-repo-to-org-variable 3 params → 204409
DELETE
/orgs/{org}/agents/variables/{name}/repositories/{repository_id}
Remove selected repository from an organization variable
agents/remove-selected-repo-from-org-variable 3 params → 204409
GET
/repos/{owner}/{repo}/agents/organization-secrets
List repository organization secrets
agents/list-repo-organization-secrets 4 params → 200
GET
/repos/{owner}/{repo}/agents/organization-variables
List repository organization variables
agents/list-repo-organization-variables 4 params → 200
GET
/repos/{owner}/{repo}/agents/secrets
List repository secrets
agents/list-repo-secrets 4 params → 200
GET
/repos/{owner}/{repo}/agents/secrets/public-key
Get a repository public key
agents/get-repo-public-key 2 params → 200
GET
/repos/{owner}/{repo}/agents/secrets/{secret_name}
Get a repository secret
agents/get-repo-secret 3 params → 200
PUT
/repos/{owner}/{repo}/agents/secrets/{secret_name}
Create or update a repository secret
agents/create-or-update-repo-secret 3 params body → 201204
DELETE
/repos/{owner}/{repo}/agents/secrets/{secret_name}
Delete a repository secret
agents/delete-repo-secret 3 params → 204
GET
/repos/{owner}/{repo}/agents/variables
List repository variables
agents/list-repo-variables 4 params → 200
POST
/repos/{owner}/{repo}/agents/variables
Create a repository variable
agents/create-repo-variable 2 params body → 201
GET
/repos/{owner}/{repo}/agents/variables/{name}
Get a repository variable
agents/get-repo-variable 3 params → 200
PATCH
/repos/{owner}/{repo}/agents/variables/{name}
Update a repository variable
agents/update-repo-variable 3 params body → 204
DELETE
/repos/{owner}/{repo}/agents/variables/{name}
Delete a repository variable
agents/delete-repo-variable 3 params → 204

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are minimal-repository (90 properties), simple-user (22 properties), security-and-analysis (10 properties), actions-public-key (6 properties). Each schema is shown below with its type and property counts.

security-and-analysis
objectnull
10 properties
empty-object
object
An object without any properties.
organization-actions-secret
object
Secrets for GitHub Actions for an organization.
5 properties 4 required
organization-actions-variable
object
Organization variable for GitHub Actions.
6 properties 5 required
minimal-repository
object
Minimal Repository
90 properties 46 required
simple-user
object
A GitHub user.
22 properties 18 required
code-of-conduct
object
Code Of Conduct
5 properties 4 required
actions-secret
object
Set secrets for GitHub Actions.
3 properties 3 required
actions-variable
object
4 properties 4 required
actions-public-key
object
The public key used for setting Actions Secrets.
6 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-agents-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Projects API
GitHub Repos API
GitHub Search API
GitHub User API
GitHub Deployments API
GitHub Releases API
GitHub Pages API
Where this information came from

This is an independent, third-party profile of GitHub Agents 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.