Amazon CodeBuild Agentic Access
Amazon CodeBuild exposes 51 API operations that an AI agent could call, of which 50 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: 1 read, 47 write, and 3 safety-critical.
3 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 |
|---|---|---|---|
| POST | /#X-Amz-Target=CodeBuild_20161006.StopBuild | safety-critical | required |
| POST | /#X-Amz-Target=CodeBuild_20161006.StopBuildBatch | safety-critical | required |
| POST | /builds/stop | safety-critical | required |
Source
Agentic Access
generated: '2026-07-15'
method: generated
source: openapi/amazon-codebuild-openapi-original.yaml, openapi/amazon-codebuild-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: 51
by_action_class:
acting: 50
connected: 1
by_consequence:
write: 47
safety-critical: 3
read: 1
human_in_the_loop_required: 3
operations:
- path: /#X-Amz-Target=CodeBuild_20161006.BatchDeleteBuilds
method: post
operationId: BatchDeleteBuilds
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: /#X-Amz-Target=CodeBuild_20161006.BatchGetBuildBatches
method: post
operationId: BatchGetBuildBatches
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: /#X-Amz-Target=CodeBuild_20161006.BatchGetBuilds
method: post
operationId: BatchGetBuilds
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: /#X-Amz-Target=CodeBuild_20161006.BatchGetProjects
method: post
operationId: BatchGetProjects
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: /#X-Amz-Target=CodeBuild_20161006.BatchGetReportGroups
method: post
operationId: BatchGetReportGroups
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: /#X-Amz-Target=CodeBuild_20161006.BatchGetReports
method: post
operationId: BatchGetReports
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: /#X-Amz-Target=CodeBuild_20161006.CreateProject
method: post
operationId: CreateProject
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: /#X-Amz-Target=CodeBuild_20161006.CreateReportGroup
method: post
operationId: CreateReportGroup
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: /#X-Amz-Target=CodeBuild_20161006.CreateWebhook
method: post
operationId: CreateWebhook
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: /#X-Amz-Target=CodeBuild_20161006.DeleteBuildBatch
method: post
operationId: DeleteBuildBatch
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: /#X-Amz-Target=CodeBuild_20161006.DeleteProject
method: post
operationId: DeleteProject
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: /#X-Amz-Target=CodeBuild_20161006.DeleteReport
method: post
operationId: DeleteReport
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: /#X-Amz-Target=CodeBuild_20161006.DeleteReportGroup
method: post
operationId: DeleteReportGroup
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: /#X-Amz-Target=CodeBuild_20161006.DeleteResourcePolicy
method: post
operationId: DeleteResourcePolicy
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: /#X-Amz-Target=CodeBuild_20161006.DeleteSourceCredentials
method: post
operationId: DeleteSourceCredentials
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: /#X-Amz-Target=CodeBuild_20161006.DeleteWebhook
method: post
operationId: DeleteWebhook
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: /#X-Amz-Target=CodeBuild_20161006.DescribeCodeCoverages
method: post
operationId: DescribeCodeCoverages
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: /#X-Amz-Target=CodeBuild_20161006.DescribeTestCases
method: post
operationId: DescribeTestCases
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: /#X-Amz-Target=CodeBuild_20161006.GetReportGroupTrend
method: post
operationId: GetReportGroupTrend
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: /#X-Amz-Target=CodeBuild_20161006.GetResourcePolicy
method: post
operationId: GetResourcePolicy
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: /#X-Amz-Target=CodeBuild_20161006.ImportSourceCredentials
method: post
operationId: ImportSourceCredentials
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: /#X-Amz-Target=CodeBuild_20161006.InvalidateProjectCache
method: post
operationId: InvalidateProjectCache
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: /#X-Amz-Target=CodeBuild_20161006.ListBuildBatches
method: post
operationId: ListBuildBatches
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: /#X-Amz-Target=CodeBuild_20161006.ListBuildBatchesForProject
method: post
operationId: ListBuildBatchesForProject
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: /#X-Amz-Target=CodeBuild_20161006.ListBuilds
method: post
operationId: ListBuilds
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: /#X-Amz-Target=CodeBuild_20161006.ListBuildsForProject
method: post
operationId: ListBuildsForProject
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: /#X-Amz-Target=CodeBuild_20161006.ListCuratedEnvironmentImages
method: post
operationId: ListCuratedEnvironmentImages
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: /#X-Amz-Target=CodeBuild_20161006.ListProjects
method: post
operationId: ListProjects
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: /#X-Amz-Target=CodeBuild_20161006.ListReportGroups
method: post
operationId: ListReportGroups
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: /#X-Amz-Target=CodeBuild_20161006.ListReports
method: post
operationId: ListReports
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: /#X-Amz-Target=CodeBuild_20161006.ListReportsForReportGroup
method: post
operationId: ListReportsForReportGroup
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: /#X-Amz-Target=CodeBuild_20161006.ListSharedProjects
method: post
operationId: ListSharedProjects
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: /#X-Amz-Target=CodeBuild_20161006.ListSharedReportGroups
method: post
operationId: ListSharedReportGroups
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: /#X-Amz-Target=CodeBuild_20161006.ListSourceCredentials
method: post
operationId: ListSourceCredentials
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: /#X-Amz-Target=CodeBuild_20161006.PutResourcePolicy
method: post
operationId: PutResourcePolicy
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: /#X-Amz-Target=CodeBuild_20161006.RetryBuild
method: post
operationId: RetryBuild
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: /#X-Amz-Target=CodeBuild_20161006.RetryBuildBatch
method: post
operationId: RetryBuildBatch
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: /#X-Amz-Target=CodeBuild_20161006.StartBuild
method: post
operationId: StartBuild
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: /#X-Amz-Target=CodeBuild_20161006.StartBuildBatch
method: post
operationId: StartBuildBatch
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: /#X-Amz-Target=CodeBuild_20161006.StopBuild
method: post
operationId: StopBuild
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /#X-Amz-Target=CodeBuild_20161006.StopBuildBatch
method: post
operationId: StopBuildBatch
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /#X-Amz-Target=CodeBuild_20161006.UpdateProject
method: post
operationId: UpdateProject
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: /#X-Amz-Target=CodeBuild_20161006.UpdateProjectVisibility
method: post
operationId: UpdateProjectVisibility
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: /#X-Amz-Target=CodeBuild_20161006.UpdateReportGroup
method: post
operationId: UpdateReportGroup
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: /#X-Amz-Target=CodeBuild_20161006.UpdateWebhook
method: post
operationId: UpdateWebhook
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: /projects
method: post
operationId: CreateProject
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: /projects
method: get
operationId: ListProjects
x-agentic-access:
action-class: connected
consequence: read
subject: optional
token:
max-ttl: 3600
audit: none
- path: /projects/{projectName}
method: delete
operationId: DeleteProject
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: /builds/start
method: post
operationId: StartBuild
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: /builds/stop
method: post
operationId: StopBuild
x-agentic-access:
action-class: acting
consequence: safety-critical
subject: required
audience: null
token:
max-ttl: 120
exchange: true
purpose-required: true
proof-of-possession: true
escalation:
human-in-the-loop: required
audit: required
- path: /builds
method: post
operationId: BatchGetBuilds
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