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 Enterprise Dependency Graph API

Endpoints to access Dependency Graph features.

GitHub Enterprise Dependency Graph API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Dependency-Graph. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 8 operations across 7 paths, and defines 11 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.

8 operations 7 paths 11 schemas 5 GET2 POST1 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 8

Across 7 paths, the API surfaces 8 operations — 5 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

dependency-graph 8

Endpoints to access Dependency Graph features.

GET
/enterprises/{enterprise}/license-compliance/policies/{policy_id}
Get the license compliance policy for an enterprise
dependency-graph/get-enterprise-license-policy 2 params → 200404503
PUT
/enterprises/{enterprise}/license-compliance/policies/{policy_id}
Set the license compliance policy for an enterprise
dependency-graph/set-enterprise-license-policy 2 params body → 204404422503
GET
/repos/{owner}/{repo}/dependency-graph/compare/{basehead}
Get a diff of the dependencies between commits
dependency-graph/diff-range 4 params → 200404403400500503
GET
/repos/{owner}/{repo}/dependency-graph/sbomdeprecated
Export a software bill of materials (SBOM) for a repository
dependency-graph/export-sbom 2 params → 200404403
GET
/repos/{owner}/{repo}/dependency-graph/sbom/fetch-report/{sbom_uuid}
Fetch a software bill of materials (SBOM) for a repository
dependency-graph/fetch-sbom-report 3 params → 302202404403
GET
/repos/{owner}/{repo}/dependency-graph/sbom/generate-report
Request generation of a software bill of materials (SBOM) for a repository
dependency-graph/generate-sbom-report 2 params → 201404403
POST
/repos/{owner}/{repo}/dependency-graph/snapshots
Create a snapshot of dependencies for a repository
dependency-graph/create-repository-snapshot 2 params body → 201
POST
/repos/{owner}/{repo}/license-compliance/package-checks
Check license compliance for packages
dependency-graph/check-license-compliance-for-packages 2 params body → 200403404422503

Schemas 11

The contract defines 11 schemas that model the data the API accepts and returns. The most detailed are snapshot (8 properties), scim-error (6 properties), dependency (5 properties), manifest (4 properties). Each schema is shown below with its type and property counts.

basic-error
object
Basic Error
4 properties
enterprise-license-policy-item
object
2 properties 2 required
dependency-graph-spdx-sbom
object
A schema for the SPDX JSON format returned by the Dependency Graph.
1 property 1 required
validation-error
object
Validation Error
3 properties 2 required
dependency
object
5 properties
metadata
object
User-defined metadata to store domain-specific information limited to 8 keys with scalar values.
manifest
object
4 properties 1 required
dependency-graph-diff
array
A diff of the dependencies between two commits.
enterprise-license-policy-response
object
The license compliance policy for an enterprise.
1 property 1 required
scim-error
object
Scim Error
6 properties
snapshot
object
Create a new snapshot of a repository's dependencies.
8 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-dependency-graph-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

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