Bitbucket Pipelines Agentic Access
Bitbucket Pipelines exposes 363 API operations that an AI agent could call, of which 166 are state-changing ‘acting’ operations. This is a recommended x-agentic-access execution contract — the scope, audience, consequence tier, short-lived token constraints, and escalation each action should carry before it is handed to an autonomous agent.
By consequence: 197 read, 151 write, 11 physical, and 4 safety-critical.
4 operations are classed safety-critical and should require human-in-the-loop approval at runtime.
Contracts are classified heuristically from the provider’s OpenAPI and refresh on every APIs.io network build; audience is bound per deployment. The model follows Curity’s Access Intelligence (apidays Munich 2026). Browse every provider’s agent contracts at agentic-access.apis.io.
By consequence
Highest-consequence actions
The physical and safety-critical operations an agent could invoke — the ones that most warrant scoped tokens, tight TTLs, and escalation. Full per-operation contracts are in the source below.
| Method | Path | Consequence | Human-in-loop |
|---|---|---|---|
| DELETE | /repositories/{workspace}/{repo_slug}/issues/{issue_id}/watch | safety-critical | required |
| PUT | /repositories/{workspace}/{repo_slug}/override-settings | safety-critical | required |
| POST | /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/stopPipeline | safety-critical | required |
| DELETE | /snippets/{workspace}/{encoded_id}/watch | safety-critical | required |
| POST | /repositories/{workspace}/{repo_slug}/deploy-keys | physical | conditional |
| DELETE | /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} | physical | conditional |
| PUT | /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} | physical | conditional |
| POST | /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables | physical | conditional |
| PUT | /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} | physical | conditional |
| DELETE | /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} | physical | conditional |
| POST | /repositories/{workspace}/{repo_slug}/environments | physical | conditional |
| DELETE | /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} | physical | conditional |
| POST | /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes | physical | conditional |
| POST | /workspaces/{workspace}/projects/{project_key}/deploy-keys | physical | conditional |
| DELETE | /workspaces/{workspace}/projects/{project_key}/deploy-keys/{key_id} | physical | conditional |
Source
Agentic Access
generated: '2026-09-23'
method: generated
source: openapi/bitbucket-pipelines-addon-api-openapi.yml, openapi/bitbucket-pipelines-branch-restrictions-api-openapi.yml,
openapi/bitbucket-pipelines-branching-model-api-openapi.yml, openapi/bitbucket-pipelines-commit-statuses-api-openapi.yml,
openapi/bitbucket-pipelines-commits-api-openapi.yml, openapi/bitbucket-pipelines-deployments-api-openapi.yml,
openapi/bitbucket-pipelines-downloads-api-openapi.yml, openapi/bitbucket-pipelines-gpg-api-openapi.yml,
openapi/bitbucket-pipelines-issue-tracker-api-openapi.yml, openapi/bitbucket-pipelines-pipelines-api-openapi.yml,
openapi/bitbucket-pipelines-projects-api-openapi.yml, openapi/bitbucket-pipelines-properties-api-openapi.yml,
openapi/bitbucket-pipelines-pull-requests-api-openapi.yml, openapi/bitbucket-pipelines-refs-api-openapi.yml,
openapi/bitbucket-pipelines-reports-api-openapi.yml, openapi/bitbucket-pipelines-repositories-api-openapi.yml,
openapi/bitbucket-pipelines-search-api-openapi.yml, openapi/bitbucket-pipelines-snippets-api-openapi.yml,
openapi/bitbucket-pipelines-source-api-openapi.yml, openapi/bitbucket-pipelines-ssh-api-openapi.yml,
openapi/bitbucket-pipelines-users-api-openapi.yml, openapi/bitbucket-pipelines-webhooks-api-openapi.yml,
openapi/bitbucket-pipelines-workspaces-api-openapi.yml
description: Recommended x-agentic-access execution contracts, classified heuristically from
the OpenAPI. A governance starting point for exposing this API to AI agents — review and bind
audience per deployment. See research/curity/agentic-governance/.
summary:
operations: 363
by_action_class:
acting: 166
connected: 197
by_consequence:
write: 151
read: 197
physical: 11
safety-critical: 4
human_in_the_loop_required: 4
operations:
- path: /addon
method: delete
operationId: deleteAddon
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /addon
method: put
operationId: putAddon
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /addon/linkers
method: get
operationId: getAddonLinkers
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /addon/linkers/{linker_key}
method: get
operationId: getAddonLinkersByLinkerKey
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /addon/linkers/{linker_key}/values
method: delete
operationId: deleteAddonLinkersByLinkerKeyValues
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /addon/linkers/{linker_key}/values
method: get
operationId: getAddonLinkersByLinkerKeyValues
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /addon/linkers/{linker_key}/values
method: post
operationId: postAddonLinkersByLinkerKeyValues
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /addon/linkers/{linker_key}/values
method: put
operationId: putAddonLinkersByLinkerKeyValues
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /addon/linkers/{linker_key}/values/{value_id}
method: delete
operationId: deleteAddonLinkersByLinkerKeyValuesByValueId
x-agentic-access:
action-class: acting
consequence: write
subject: required
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /addon/linkers/{linker_key}/values/{value_id}
method: get
operationId: getAddonLinkersByLinkerKeyValuesByValueId
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /addon/{addon_key}/client-key
method: get
operationId: getAddonByAddonKeyClientKey
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/branch-restrictions
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugBranchRestrictions
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/branch-restrictions
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugBranchRestrictions
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/branch-restrictions/{id}
method: delete
operationId: deleteRepositoriesByWorkspaceByRepoSlugBranchRestrictionsById
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/branch-restrictions/{id}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugBranchRestrictionsById
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/branch-restrictions/{id}
method: put
operationId: putRepositoriesByWorkspaceByRepoSlugBranchRestrictionsById
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/branching-model
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugBranchingModel
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/branching-model/settings
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugBranchingModelSettings
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/branching-model/settings
method: put
operationId: putRepositoriesByWorkspaceByRepoSlugBranchingModelSettings
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/effective-branching-model
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugEffectiveBranchingModel
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /workspaces/{workspace}/projects/{project_key}/branching-model
method: get
operationId: getWorkspacesByWorkspaceProjectsByProjectKeyBranchingModel
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- project:admin
token:
max-ttl: 3600
audit: none
- path: /workspaces/{workspace}/projects/{project_key}/branching-model/settings
method: get
operationId: getWorkspacesByWorkspaceProjectsByProjectKeyBranchingModelSettings
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- project:admin
token:
max-ttl: 3600
audit: none
- path: /workspaces/{workspace}/projects/{project_key}/branching-model/settings
method: put
operationId: putWorkspacesByWorkspaceProjectsByProjectKeyBranchingModelSettings
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- project:admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommitByCommitStatuses
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugCommitByCommitStatusesBuild
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommitByCommitStatusesBuildByKey
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key}
method: put
operationId: putRepositoriesByWorkspaceByRepoSlugCommitByCommitStatusesBuildByKey
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugPullrequestsByPullRequestIdStatuses
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- pullrequest
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommitByCommit
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/approve
method: delete
operationId: deleteRepositoriesByWorkspaceByRepoSlugCommitByCommitApprove
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/approve
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugCommitByCommitApprove
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommitByCommitComments
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugCommitByCommitComments
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
method: delete
operationId: deleteRepositoriesByWorkspaceByRepoSlugCommitByCommitCommentsByCommentId
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommitByCommitCommentsByCommentId
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
method: put
operationId: putRepositoriesByWorkspaceByRepoSlugCommitByCommitCommentsByCommentId
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports
method: get
operationId: getReportsForCommit
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
method: put
operationId: createOrUpdateReport
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
method: get
operationId: getReport
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
method: delete
operationId: deleteReport
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
method: get
operationId: getAnnotationsForReport
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
method: post
operationId: bulkCreateOrUpdateAnnotations
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
method: get
operationId: getAnnotation
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
method: put
operationId: createOrUpdateAnnotation
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
method: delete
operationId: deleteAnnotation
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/commits
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommits
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commits
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugCommits
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commits/{revision}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugCommitsByRevision
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/commits/{revision}
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugCommitsByRevision
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/diff/{spec}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugDiffBySpec
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/diffstat/{spec}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugDiffstatBySpec
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/merge-base/{revspec}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugMergeBaseByRevspec
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/patch/{spec}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugPatchBySpec
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/deploy-keys
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugDeployKeys
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
- repository:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/deploy-keys
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugDeployKeys
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- repository
- repository:admin
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id}
method: delete
operationId: deleteRepositoriesByWorkspaceByRepoSlugDeployKeysByKeyId
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- repository
- repository:admin
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugDeployKeysByKeyId
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
- repository:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id}
method: put
operationId: putRepositoriesByWorkspaceByRepoSlugDeployKeysByKeyId
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- repository
- repository:admin
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/deployments
method: get
operationId: getDeploymentsForRepository
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- pipeline
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid}
method: get
operationId: getDeploymentForRepository
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- pipeline
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/environments
method: get
operationId: getEnvironmentsForRepository
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- pipeline
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/environments
method: post
operationId: createEnvironment
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- pipeline
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}
method: get
operationId: getEnvironmentForRepository
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- pipeline
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}
method: delete
operationId: deleteEnvironmentForRepository
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- pipeline
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes
method: post
operationId: updateEnvironmentForRepository
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- pipeline
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /workspaces/{workspace}/projects/{project_key}/deploy-keys
method: get
operationId: getWorkspacesByWorkspaceProjectsByProjectKeyDeployKeys
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- project
- project:admin
token:
max-ttl: 3600
audit: none
- path: /workspaces/{workspace}/projects/{project_key}/deploy-keys
method: post
operationId: postWorkspacesByWorkspaceProjectsByProjectKeyDeployKeys
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- project
- project:admin
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /workspaces/{workspace}/projects/{project_key}/deploy-keys/{key_id}
method: delete
operationId: deleteWorkspacesByWorkspaceProjectsByProjectKeyDeployKeysByKeyId
x-agentic-access:
action-class: acting
consequence: physical
subject: required
scope:
- project
- project:admin
audience: null
token:
max-ttl: 300
exchange: true
purpose-required: true
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /workspaces/{workspace}/projects/{project_key}/deploy-keys/{key_id}
method: get
operationId: getWorkspacesByWorkspaceProjectsByProjectKeyDeployKeysByKeyId
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- project
- project:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/downloads
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugDownloads
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/downloads
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugDownloads
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/downloads/{filename}
method: delete
operationId: deleteRepositoriesByWorkspaceByRepoSlugDownloadsByFilename
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- repository:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/downloads/{filename}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugDownloadsByFilename
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- repository
token:
max-ttl: 3600
audit: none
- path: /users/{selected_user}/gpg-keys
method: get
operationId: getUsersBySelectedUserGpgKeys
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- account
token:
max-ttl: 3600
audit: none
- path: /users/{selected_user}/gpg-keys
method: post
operationId: postUsersBySelectedUserGpgKeys
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- account:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /users/{selected_user}/gpg-keys/{fingerprint}
method: delete
operationId: deleteUsersBySelectedUserGpgKeysByFingerprint
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- account:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /users/{selected_user}/gpg-keys/{fingerprint}
method: get
operationId: getUsersBySelectedUserGpgKeysByFingerprint
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- account
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/components
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugComponents
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- issue
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/components/{component_id}
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugComponentsByComponentId
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- issue
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/issues
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugIssues
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- issue
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/issues
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugIssues
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- issue:write
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/issues/export
method: post
operationId: postRepositoriesByWorkspaceByRepoSlugIssuesExport
x-agentic-access:
action-class: acting
consequence: write
subject: required
scope:
- issue
- repository:admin
audience: null
token:
max-ttl: 900
escalation:
human-in-the-loop: conditional
triggers:
- abnormal
- high-value
audit: required
- path: /repositories/{workspace}/{repo_slug}/issues/export/{repo_name}-issues-{task_id}.zip
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugIssuesExport{repoName}Issues{taskId}Zip
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- issue
- repository:admin
token:
max-ttl: 3600
audit: none
- path: /repositories/{workspace}/{repo_slug}/issues/import
method: get
operationId: getRepositoriesByWorkspaceByRepoSlugIssuesImport
x-agentic-access:
action-class: connected
consequence: read
subject: optional
scope:
- issue:write
- repository:admin
token:
max-ttl: 3600
audit: none
# --- truncated at 32 KB (132 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitbucket-pipelines/refs/heads/main/agentic-access/bitbucket-pipelines-agentic-access.yml
Work with this as data
Every access contract here is available over the APIs.io API and to AI agents over MCP. Agentic Access is not yet its own endpoint on the v1 API. Reach it through catalog search and the tag graph, or the MCP server.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for agentic access
3 MCP tools reach this
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/search?q=bitbucket-pipelines-agentic-access&limit=10"
curl "https://apis.io/api/v1/tags/bitbucket-pipelines-agentic-access"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.