Workers Builds
Get latest builds by script IDs
Get builds by Worker version
Get build-minute availability
ModelsExpand Collapse
WorkersBuildGetLatestBuildsResponse object { builds }
builds: optional map[object { build_outcome, build_trigger_metadata, build_uuid, 10 more } ]
build_trigger_metadata: optional object { author, branch, build_command, 11 more }
URL serving the Worker version this build deployed. Only returned by Get build by UUID, and only once the build has produced a preview artifact.
trigger: optional object { branch_excludes, branch_includes, build_caching_enabled, 12 more } Trigger information without build_token_uuid
Trigger information without build_token_uuid
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
WorkersBuildGetBuildsByVersionResponse object { builds }
builds: optional map[object { build_outcome, build_trigger_metadata, build_uuid, 10 more } ]
build_trigger_metadata: optional object { author, branch, build_command, 11 more }
URL serving the Worker version this build deployed. Only returned by Get build by UUID, and only once the build has produced a preview artifact.
trigger: optional object { branch_excludes, branch_includes, build_caching_enabled, 12 more } Trigger information without build_token_uuid
Trigger information without build_token_uuid
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
Workers BuildsTriggers
List triggers for a Worker
Create a build trigger
Update a build trigger
Delete a build trigger
Purge a trigger's build cache
Start a Workers build
ModelsExpand Collapse
TriggerListResponse object { branch_excludes, branch_includes, build_caching_enabled, 14 more }
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
TriggerCreateResponse object { branch_excludes, branch_includes, build_caching_enabled, 14 more }
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
TriggerUpdateResponse object { branch_excludes, branch_includes, build_caching_enabled, 14 more }
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
TriggerCreateBuildResponse object { build_outcome, build_trigger_metadata, build_uuid, 10 more }
build_trigger_metadata: optional object { author, branch, build_command, 11 more }
URL serving the Worker version this build deployed. Only returned by Get build by UUID, and only once the build has produced a preview artifact.
trigger: optional object { branch_excludes, branch_includes, build_caching_enabled, 12 more } Trigger information without build_token_uuid
Trigger information without build_token_uuid
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
Workers BuildsTriggersEnvironment Variables
List build variables
Set build variables
Delete a build variable
Workers BuildsDeploy Hooks
List deploy hooks
Create a deploy hook
Get a deploy hook
Update a deploy hook
Delete a deploy hook
Trigger deploy hook
ModelsExpand Collapse
Workers BuildsTokens
Create build token
List build tokens
Delete a build token
ModelsExpand Collapse
Workers BuildsRepos
Workers BuildsReposConnections
Create or update a repository connection
Delete a repository connection
ModelsExpand Collapse
ConnectionUpsertResponse object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
Workers BuildsReposConfig Autofill
Get repository configuration autofill
Workers BuildsBuilds
List builds for a Worker
Get a Workers build
Cancel a Workers build
ModelsExpand Collapse
BuildListResponse object { build_outcome, build_trigger_metadata, build_uuid, 10 more }
build_trigger_metadata: optional object { author, branch, build_command, 11 more }
URL serving the Worker version this build deployed. Only returned by Get build by UUID, and only once the build has produced a preview artifact.
trigger: optional object { branch_excludes, branch_includes, build_caching_enabled, 12 more } Trigger information without build_token_uuid
Trigger information without build_token_uuid
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.
BuildGetResponse object { build_outcome, build_trigger_metadata, build_uuid, 10 more }
build_trigger_metadata: optional object { author, branch, build_command, 11 more }
URL serving the Worker version this build deployed. Only returned by Get build by UUID, and only once the build has produced a preview artifact.
trigger: optional object { branch_excludes, branch_includes, build_caching_enabled, 12 more } Trigger information without build_token_uuid
Trigger information without build_token_uuid
Whether builds reuse cached dependencies and build artifacts.
repo_connection: optional object { created_on, deleted_on, modified_on, 6 more }
Provider-specific identifier of the account or namespace that owns the repository.
Human-readable name of the account or namespace that owns the repository.