[Deprecated] Documentation for Dependabot Preview's API
Repo dependabot/api-docs, read from GitHub 8 h ago. dependabot has not joined Take My Repo.
dependabot/api-docs is a public repo on GitHub by dependabot. [Deprecated] Documentation for Dependabot Preview's API. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It has 43 stars and last changed on 2021-07-29. It is archived: its maker no longer maintains it. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Dependabot Preview is scheduled for shutdown on August 3rd, 2021, which means that the Dependabot Preview REST API documented here will also be shut down. This repository has been archived to reflect that.
Please migrate to GitHub-native Dependabot before then in order to continue keeping your dependencies up to date.
Dependabot has a JSON API to make it easy to bulk-import projects. This API is also used by the Dependabot dashboard.
Please note that Dependabot cannot commit to maintaining backwards compatibility of this API. We will, however, update these docs whenever breaking changes are made (likely to be infrequently). We recommend you "watch" this repo to receive notifications of any changes.
Dependabot uses GitHub access tokens to authenticate users. To use the API:
repo permissions (so the token can see private repos)Authorization: Personal <token> header to all requests using this
access tokenWe use the access token you provide to ensure you have sufficient GitHub permissions to undertake any actions you request through the Dependabot API.
GET https://api.dependabot.com/accounts
Returns all Dependabot accounts that the authenticated user has access to.
{
"data": [
{
"id": "27347476",
"type": "accounts",
"attributes": {
"github-id": 27347476,
"github-login": "dependabot",
"github-account-type": "org",
"access-granted-to-all-repos": true,
"current-installation-id": 25920,
"plan-name": "free",
"plan-number": 7,
"free-trial-end-date": null,
"automatically-rebase-prs": true,
"update-run-time": "05:00",
"create-merge-commits": false,
"weekly-update-run-day": "monday",
"limit-initial-update-runs": true,
"limit-open-pull-requests": true
}
},
{
"id": "1144873",
"type": "accounts",
"attributes": {
"github-id": 1144873,
"github-login": "greysteil",
"github-account-type": "user",
"access-granted-to-all-repos": true,
"current-installation-id": 132882,
"plan-name": "free",
"plan-number": 7,
"free-trial-end-date": null,
"automatically-rebase-prs": true,
"update-run-time": "02:15",
"create-merge-commits": true,
"weekly-update-run-day": "monday",
"limit-initial-update-runs": true,
"limit-open-pull-requests": true
}
}
]
}
GET https://api.dependabot.com/repos?account-id=27347476&account-type=org&installation-state=active
Returns active or inactive repos for the specified account.
installation-state param must be active or inactiveinactive repos are paginated (100 repos per page)page=num param to paginate the results (defaults to page=1)response.meta.pages.next{
"data": [
{
"id": "93163073",
"type": "repos",
"attributes": {
"github-id": 93163073,
"name": "dependabot-core",
"installation-state": "active",
"private": false,
"fork": false,
"github-url": "https://github.com/dependabot/dependabot-core",
"primary-language": "ruby",
"default-branch": "master",
"using-config-file":true
},
"relationships": {
"update-configs": {
"data": [
{
"id": "1332",
"type": "update-configs"
},
{
"id": "5061",
"type": "update-configs"
},
{
"id": "275",
"type": "update-configs"
},
{
"id": "879",
"type": "update-configs"
},
{
"id": "1672",
"type": "update-configs"
},
{
"id": "326",
"type": "update-configs"
},
{
"id": "3123",
"type": "update-configs"
}
]
},
"account": {
"data": {
"id": "27347476",
"type": "accounts"
}
}
}
},
{
"id": "131328855",
"type": "repos",
"attributes": {
"github-id": 131328855,
"name": "dependabot-script",
"installation-state": "active",
"private": false,
"fork": false,
"github-url": "https://github.com/dependabot/dependabot-script",
"primary-language": "ruby",
"default-branch": "master",
"using-config-file":true
},
"relationships": {
"update-configs": {
"data": [
{
"id": "4925",
"type": "update-configs"
}
]
},
"account": {
"data": {
"id": "27347476",
"type": "accounts"
}
}
}
}
],
"included": [
{
"id": "1332",
"type": "update-configs",
"attributes": {
"language": "javascript",
"package-manager": "npm_and_yarn",
"update-schedule": "live",
"directory": "/helpers/npm",
"automerge-rule-runtime-deps": "semver:patch",
"automerge-rule-development-deps": "semver:minor",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "5061",
"type": "update-configs",
"attributes": {
"language": "java",
"package-manager": "gradle",
"update-schedule": "daily",
"directory": "/helpers/gradle",
"automerge-rule-runtime-deps": "never",
"automerge-rule-development-deps": "never",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "275",
"type": "update-configs",
"attributes": {
"language": "php",
"package-manager": "composer",
"update-schedule": "live",
"directory": "/helpers/php",
"automerge-rule-runtime-deps": "semver:patch",
"automerge-rule-development-deps": "semver:patch",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "879",
"type": "update-configs",
"attributes": {
"language": "javascript",
"package-manager": "npm_and_yarn",
"update-schedule": "live",
"directory": "/helpers/yarn",
"automerge-rule-runtime-deps": "semver:patch",
"automerge-rule-development-deps": "semver:minor",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "1672",
"type": "update-configs",
"attributes": {
"language": "python",
"package-manager": "pip",
"update-schedule": "live",
"directory": "/helpers/python",
"automerge-rule-runtime-deps": "semver:patch",
"automerge-rule-development-deps": "semver:patch",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "326",
"type": "update-configs",
"attributes": {
"language": "ruby",
"package-manager": "bundler",
"update-schedule": "live",
"directory": "/",
"automerge-rule-runtime-deps": "semver:patch",
"automerge-rule-development-deps": "semver:patch",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "3123",
"type": "update-configs",
"attributes": {
"language": "elixir",
"package-manager": "hex",
"update-schedule": "live",
"directory": "/helpers/elixir",
"automerge-rule-runtime-deps": "semver:patch",
"automerge-rule-development-deps": "semver:patch",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "93163073",
"type": "repos"
}
}
}
},
{
"id": "4925",
"type": "update-configs",
"attributes": {
"language": "ruby",
"package-manager": "bundler",
"update-schedule": "daily",
"directory": "/",
"automerge-rule-runtime-deps": "never",
"automerge-rule-development-deps": "never",
"target-branch": null,
"lockfile-only": false,
"security-updates-only": false
},
"relationships": {
"repo": {
"data": {
"id": "131328855",
"type": "repos"
}
}
}
}
]
}
POST https://api.dependabot.com/update_configs
{
"repo-id": 93163073,
"package-manager": "bundler",
"update-schedule": "daily",
"directory": "/",
"account-id": "27347476",
"account-type": "org",
}
Creates an update config. The following parameters can be passed:
| Attribute | Default | Description |
|---|---|---|
repo-id |
None (required) | The GitHub ID of the repository |
account-id |
None (required) | The GitHub ID of the repository owner |
account-type |
None (required) | org or user |
directory |
None (required) | The directory of the dependency files. Normally / |
update-schedule |
None (required) | One of live, daily, weekly or monthly |
package-manager |
None (required) | One of bundler, composer, docker, maven, npm_and_yarn, elm, submodules, hex, cargo, gradle, nuget, dep, go_modules, pip, terraform, github_actions |
target-branch |
GitHub default | The branch to create PRs against |
lockfile-only |
false | Ignore updates that are out-of-range of the manifest file |
security-updates-only |
false | Only generate PRs for updates that fix a security vulnerability |
automerge-rule-development-deps |
never |
One of never, security:patch, semver:patch, semver:minor, in_range or all |
dependabot/api-docs is a public repo on GitHub by dependabot. [Deprecated] Documentation for Dependabot Preview's API.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
No. It is archived on GitHub: its maker no longer maintains it.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run api-docs. What is known comes from GitHub. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is archived: its maker no longer maintains it. It has 43 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.