Skip to content

Access tokens

Tokens are the only credential Git and the API accept in normal use.

ScopeMeaning
ALL_REPOEvery repository you own, including repos created later
SELECTED_REPOOnly the repository ids you list. repository_ids is required
GrantWhat it allows
ALLEverything below
GIT_HTTP_READgit clone / fetch
GIT_HTTP_WRITEgit push (read is added if missing)
API_REPOS_WRITECreate and delete repositories
API_COMMITS_READList branches and commits
API_WEBHOOKSWebhook CRUD, ping, deliveries
API_STORAGEBYO buckets, verify, error log, oidc-setup
API_OIDC_TRUSTTrust-rule CRUD and setup payload

Listing repositories and reading /v1/account/usage need a valid token, not a special grant.

Minting and listing tokens via API is stricter: the calling token must have grant ALL and scope ALL_REPO.

Open Access tokens. For a laptop or agent, keep Grant All Permissions checked.

PlanToken ceiling
Free20
Pro100

OIDC-exchanged tokens are short-lived (15 minutes) and do not replace this cap the same way a dashboard token does. See OIDC for machines.

There is no regenerate endpoint. Create a new token, switch Git remotes and CI secrets, then delete the old id:

Terminal window
amendable token delete 11111111-1111-1111-1111-111111111111

The secret is never returned on GET after create.