Workers Builds
Get latest builds by script IDs
Get builds by Worker version
Get build-minute availability
ModelsExpand Collapse
WorkersBuildGetLatestBuildsResponse = object { builds } or object { builds }
Builds 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.
Builds 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 } or object { builds }
Builds 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.
Builds 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.
WorkersBuildGetAccountLimitsResponse = object { build_minutes_refresh_on, has_reached_build_minutes_limit } or object { build_minutes_refresh_on, has_reached_build_minutes_limit }
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
TriggerCreateResponse = object { branch_excludes, branch_includes, build_caching_enabled, 14 more } or object { branch_excludes, branch_includes, build_caching_enabled, 14 more }
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.
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 } or object { branch_excludes, branch_includes, build_caching_enabled, 14 more }
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.
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 } or object { build_outcome, build_trigger_metadata, build_uuid, 10 more }
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.
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
ModelsExpand Collapse
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 } or object { created_on, deleted_on, modified_on, 6 more }
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.
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
ModelsExpand Collapse
ConfigAutofillGetResponse = object { config_file, default_worker_name, env_worker_names, 2 more } or object { config_file, default_worker_name, env_worker_names, 2 more }
object { config_file, default_worker_name, env_worker_names, 2 more }
Workers BuildsBuilds
List builds for a Worker
Get a Workers build
Cancel a Workers build
ModelsExpand Collapse
BuildGetResponse = object { build_outcome, build_trigger_metadata, build_uuid, 10 more } or object { build_outcome, build_trigger_metadata, build_uuid, 10 more }
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.
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.