---
title: Beta
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[Workers](https://developers.cloudflare.com/api/go/resources/workers)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Beta

#### BetaWorkers

##### [List Workers](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/methods/list)

client.Workers.Beta.Workers.List(ctx, params) (\*V4PagePaginationArray\[[Worker](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/workers/workers

##### [Get Worker](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/methods/get)

client.Workers.Beta.Workers.Get(ctx, workerID, query) (\*[Worker](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/workers/workers/{worker\_id}

##### [Create Worker](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/methods/create)

client.Workers.Beta.Workers.New(ctx, params) (\*[Worker](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/workers/workers

##### [Update Worker](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/methods/update)

client.Workers.Beta.Workers.Update(ctx, workerID, params) (\*[Worker](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)>), error)

PUT/accounts/{account\_id}/workers/workers/{worker\_id}

##### [Edit Worker](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/methods/edit)

client.Workers.Beta.Workers.Edit(ctx, workerID, params) (\*[Worker](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)>), error)

PATCH/accounts/{account\_id}/workers/workers/{worker\_id}

##### [Delete Worker](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/methods/delete)

client.Workers.Beta.Workers.Delete(ctx, workerID, params) (\*[BetaWorkerDeleteResponse](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers%20%3E%20(model)%20BetaWorkerDeleteResponse%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/workers/workers/{worker\_id}

##### ModelsExpand Collapse

<details>

<summary>

type Worker struct{…}

</summary>

ID string

Immutable ID of the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

CreatedOn Time

When the Worker was created.

formatdate-time

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

Logpush bool

Whether logpush is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20logpush">Link to this property</a>

Name string

Name of the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

<details>

<summary>

Observability WorkerObservability

Observability settings for the Worker.

</summary>

Enabled boolOptional

Whether observability is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20enabled">Link to this property</a>

HeadSamplingRate float64Optional

The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20head_sampling_rate">Link to this property</a>

<details>

<summary>

Issues WorkerObservabilityIssuesOptional

Real-time Issues settings for the Worker.

</summary>

Enabled boolOptional

Whether real-time Issues are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20issues%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20issues">Link to this property</a>

<details>

<summary>

Logs WorkerObservabilityLogsOptional

Log settings for the Worker.

</summary>

Destinations \[]stringOptional

A list of destinations where logs will be exported to.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20destinations">Link to this property</a>

Enabled boolOptional

Whether logs are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

HeadSamplingRate float64Optional

The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20head_sampling_rate">Link to this property</a>

InvocationLogs boolOptional

Whether <a href="https://developers.cloudflare.com/workers/observability/logs/workers-logs/#invocation-logs">invocation logs</a> are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20invocation_logs">Link to this property</a>

Persist boolOptional

Whether log persistence is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20persist">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

RedactQueryString boolOptional

Whether query strings are removed from request URLs in logs and traces.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20redact_query_string">Link to this property</a>

<details>

<summary>

Traces WorkerObservabilityTracesOptional

Trace settings for the Worker.

</summary>

Destinations \[]stringOptional

A list of destinations where traces will be exported to.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20destinations">Link to this property</a>

Enabled boolOptional

Whether traces are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20enabled">Link to this property</a>

HeadSamplingRate float64Optional

The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20head_sampling_rate">Link to this property</a>

Persist boolOptional

Whether trace persistence is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20persist">Link to this property</a>

<details>

<summary>

PropagationPolicy WorkerObservabilityTracesPropagationPolicyOptional

Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. “authenticated” honors inbound trace context only when accompanied by a valid trace auth token. “accept” unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account.

</summary>

One of the following:

const WorkerObservabilityTracesPropagationPolicyAuthenticated WorkerObservabilityTracesPropagationPolicy = "authenticated"

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20propagation_policy%20%3E%20(member)%200">Link to this property</a>

const WorkerObservabilityTracesPropagationPolicyAccept WorkerObservabilityTracesPropagationPolicy = "accept"

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20propagation_policy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20propagation_policy">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability%20%3E%20(property)%20traces">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20observability">Link to this property</a>

<details>

<summary>

References WorkerReferences

Other resources that reference the Worker and depend on it existing.

</summary>

<details>

<summary>

DispatchNamespaceOutbounds \[]WorkerReferencesDispatchNamespaceOutbound

Other Workers that reference the Worker as an outbound for a dispatch namespace.

</summary>

NamespaceID string

ID of the dispatch namespace.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20dispatch_namespace_outbounds%20%3E%20(items)%20%3E%20(property)%20namespace_id">Link to this property</a>

NamespaceName string

Name of the dispatch namespace.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20dispatch_namespace_outbounds%20%3E%20(items)%20%3E%20(property)%20namespace_name">Link to this property</a>

WorkerID string

ID of the Worker using the dispatch namespace.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20dispatch_namespace_outbounds%20%3E%20(items)%20%3E%20(property)%20worker_id">Link to this property</a>

WorkerName string

Name of the Worker using the dispatch namespace.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20dispatch_namespace_outbounds%20%3E%20(items)%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20dispatch_namespace_outbounds">Link to this property</a>

<details>

<summary>

Domains \[]WorkerReferencesDomain

Custom domains connected to the Worker.

</summary>

ID string

ID of the custom domain.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

CertificateID string

ID of the TLS certificate issued for the custom domain.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20certificate_id">Link to this property</a>

Hostname string

Full hostname of the custom domain, including the zone name.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20hostname">Link to this property</a>

ZoneID string

ID of the zone.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20zone_id">Link to this property</a>

ZoneName string

Name of the zone.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20zone_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20domains">Link to this property</a>

<details>

<summary>

DurableObjects \[]WorkerReferencesDurableObject

Other Workers that reference Durable Object classes implemented by the Worker.

</summary>

NamespaceID string

ID of the Durable Object namespace being used.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20durable_objects%20%3E%20(items)%20%3E%20(property)%20namespace_id">Link to this property</a>

NamespaceName string

Name of the Durable Object namespace being used.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20durable_objects%20%3E%20(items)%20%3E%20(property)%20namespace_name">Link to this property</a>

WorkerID string

ID of the Worker using the Durable Object implementation.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20durable_objects%20%3E%20(items)%20%3E%20(property)%20worker_id">Link to this property</a>

WorkerName string

Name of the Worker using the Durable Object implementation.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20durable_objects%20%3E%20(items)%20%3E%20(property)%20worker_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20durable_objects">Link to this property</a>

<details>

<summary>

Queues \[]WorkerReferencesQueue

Queues that send messages to the Worker.

</summary>

QueueConsumerID string

ID of the queue consumer configuration.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20queues%20%3E%20(items)%20%3E%20(property)%20queue_consumer_id">Link to this property</a>

QueueID string

ID of the queue.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20queues%20%3E%20(items)%20%3E%20(property)%20queue_id">Link to this property</a>

QueueName string

Name of the queue.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20queues%20%3E%20(items)%20%3E%20(property)%20queue_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20queues">Link to this property</a>

<details>

<summary>

Workers \[]WorkerReferencesWorker

Other Workers that reference the Worker using <a href="https://developers.cloudflare.com/workers/runtime-apis/bindings/service-bindings/">service bindings</a>.

</summary>

ID string

ID of the referencing Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20workers%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

Name string

Name of the referencing Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20workers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references%20%3E%20(property)%20workers">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20references">Link to this property</a>

<details>

<summary>

Subdomain WorkerSubdomain

Subdomain settings for the Worker.

</summary>

Enabled boolOptional

Whether the \*.workers.dev subdomain is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20subdomain%20%3E%20(property)%20enabled">Link to this property</a>

PreviewURLSuffix stringOptional

Prepend a version or preview prefix to this host suffix to form the \*.workers.dev <a href="https://developers.cloudflare.com/workers/configuration/previews/">preview URL</a> the Worker would serve on once previews are enabled, e.g. <code>https://&lt;prefix&gt;-my-worker.my-subdomain.workers.dev</code>. Present whenever the account owns a workers.dev subdomain, regardless of whether <code>previews_enabled</code> is true, so presence does not imply preview URLs are currently live. Absent only when the account owns no workers.dev subdomain.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20subdomain%20%3E%20(property)%20preview_url_suffix">Link to this property</a>

PreviewsEnabled boolOptional

Whether <a href="https://developers.cloudflare.com/workers/configuration/previews/">preview URLs</a> are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20subdomain%20%3E%20(property)%20previews_enabled">Link to this property</a>

URL stringOptional

The address the Worker would serve on once its \*.workers.dev subdomain is enabled. Present whenever the account owns a workers.dev subdomain, regardless of whether <code>enabled</code> is true, so presence does not imply the Worker is currently live at this URL. Absent only when the account owns no workers.dev subdomain.

formaturi

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20subdomain%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20subdomain">Link to this property</a>

Tags \[]string

Tags associated with the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20tags">Link to this property</a>

<details>

<summary>

TailConsumers \[]WorkerTailConsumer

Other Workers that should consume logs from the Worker.

</summary>

Name string

Name of the consumer Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20tail_consumers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20tail_consumers">Link to this property</a>

UpdatedOn Time

When the Worker was most recently updated.

formatdate-time

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20updated_on">Link to this property</a>

DeployedOn TimeOptional

When the Worker’s most recent deployment was created. <code>null</code> if the Worker has never been deployed.

formatdate-time

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20deployed_on">Link to this property</a>

<details>

<summary>

PreviewsBaseConfig WorkerPreviewsBaseConfigOptional

Template configuration used when creating new Previews for this Worker.

</summary>

<details>

<summary>

CacheOptions WorkerPreviewsBaseConfigCacheOptionsOptional

Cache options used when creating new Previews.

</summary>

Enabled bool

Whether caching is enabled for this Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20cache_options%20%3E%20(property)%20enabled">Link to this property</a>

CrossVersionCache boolOptional

Whether cached responses are shared across Worker version uploads. This is independent of <code>enabled</code>. It can stay true while caching is off, so the preference survives turning caching off and back on.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20cache_options%20%3E%20(property)%20cross_version_cache">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20cache_options">Link to this property</a>

<details>

<summary>

Env map\[string, WorkerPreviewsBaseConfigEnv]Optional

Bindings used when creating new Previews, keyed by binding name.

</summary>

Type string

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20env%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20env">Link to this property</a>

<details>

<summary>

Limits WorkerPreviewsBaseConfigLimitsOptional

Resource limits enforced at runtime for newly created Previews.

</summary>

CPUMs int64Optional

The amount of CPU time this Worker can use in milliseconds.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20limits%20%3E%20(property)%20cpu_ms">Link to this property</a>

Subrequests int64Optional

The number of subrequests this Worker can make per request.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20limits%20%3E%20(property)%20subrequests">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20limits">Link to this property</a>

Logpush boolOptional

Whether logpush is enabled when creating new Previews.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20logpush">Link to this property</a>

<details>

<summary>

Observability WorkerPreviewsBaseConfigObservabilityOptional

Observability settings used when creating new Previews.

</summary>

Enabled boolOptional

Whether observability is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20enabled">Link to this property</a>

HeadSamplingRate float64Optional

The sampling rate for observability. From 0 to 1 (1 = 100%, 0.1 = 10%).

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20head_sampling_rate">Link to this property</a>

<details>

<summary>

Issues WorkerPreviewsBaseConfigObservabilityIssuesOptional

Real-time Issues settings for the Worker.

</summary>

Enabled boolOptional

Whether real-time Issues are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20issues%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20issues">Link to this property</a>

<details>

<summary>

Logs WorkerPreviewsBaseConfigObservabilityLogsOptional

Log settings for the Worker.

</summary>

Destinations \[]stringOptional

A list of destinations where logs will be exported to.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20destinations">Link to this property</a>

Enabled boolOptional

Whether logs are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20enabled">Link to this property</a>

HeadSamplingRate float64Optional

The sampling rate for logs. From 0 to 1 (1 = 100%, 0.1 = 10%).

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20head_sampling_rate">Link to this property</a>

InvocationLogs boolOptional

Whether <a href="https://developers.cloudflare.com/workers/observability/logs/workers-logs/#invocation-logs">invocation logs</a> are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20invocation_logs">Link to this property</a>

Persist boolOptional

Whether log persistence is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20logs%20%3E%20(property)%20persist">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20logs">Link to this property</a>

RedactQueryString boolOptional

Whether query strings are removed from request URLs in logs and traces.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20redact_query_string">Link to this property</a>

<details>

<summary>

Traces WorkerPreviewsBaseConfigObservabilityTracesOptional

Trace settings for the Worker.

</summary>

Destinations \[]stringOptional

A list of destinations where traces will be exported to.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20destinations">Link to this property</a>

Enabled boolOptional

Whether traces are enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20enabled">Link to this property</a>

HeadSamplingRate float64Optional

The sampling rate for traces. From 0 to 1 (1 = 100%, 0.1 = 10%).

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20head_sampling_rate">Link to this property</a>

Persist boolOptional

Whether trace persistence is enabled for the Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20persist">Link to this property</a>

<details>

<summary>

PropagationPolicy WorkerPreviewsBaseConfigObservabilityTracesPropagationPolicyOptional

Controls how inbound trace context (traceparent/tracestate) headers on incoming requests are handled. “authenticated” honors inbound trace context only when accompanied by a valid trace auth token. “accept” unconditionally accepts inbound trace context. Requires the trace propagation feature to be enabled. Returns null when the trace propagation feature is not enabled for the account.

</summary>

One of the following:

const WorkerPreviewsBaseConfigObservabilityTracesPropagationPolicyAuthenticated WorkerPreviewsBaseConfigObservabilityTracesPropagationPolicy = "authenticated"

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20propagation_policy%20%3E%20(member)%200">Link to this property</a>

const WorkerPreviewsBaseConfigObservabilityTracesPropagationPolicyAccept WorkerPreviewsBaseConfigObservabilityTracesPropagationPolicy = "accept"

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20propagation_policy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces%20%3E%20(property)%20propagation_policy">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability%20%3E%20(property)%20traces">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20observability">Link to this property</a>

<details>

<summary>

Placement WorkerPreviewsBaseConfigPlacementOptional

Placement configuration used when creating new Previews.

</summary>

One of the following:

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementMode struct{…}

</summary>

Mode WorkerPreviewsBaseConfigPlacementModeMode

Enables <a href="https://developers.cloudflare.com/workers/configuration/smart-placement">Smart Placement</a>.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%200%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementRegion struct{…}

</summary>

Region string

Cloud region for targeted placement in format ‘provider:region’.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%201%20%3E%20(property)%20region">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementHostname struct{…}

</summary>

Hostname string

HTTP hostname for targeted placement.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%202%20%3E%20(property)%20hostname">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementHost struct{…}

</summary>

Host string

TCP host and port for targeted placement.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%203%20%3E%20(property)%20host">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObject struct{…}

</summary>

Mode WorkerPreviewsBaseConfigPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%204%20%3E%20(property)%20mode">Link to this property</a>

Region string

Cloud region for targeted placement in format ‘provider:region’.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%204%20%3E%20(property)%20region">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObject struct{…}

</summary>

Hostname string

HTTP hostname for targeted placement.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%205%20%3E%20(property)%20hostname">Link to this property</a>

Mode WorkerPreviewsBaseConfigPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%205%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObject struct{…}

</summary>

Host string

TCP host and port for targeted placement.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%206%20%3E%20(property)%20host">Link to this property</a>

Mode WorkerPreviewsBaseConfigPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%206%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObject struct{…}

</summary>

Mode WorkerPreviewsBaseConfigPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20mode">Link to this property</a>

<details>

<summary>

Target \[]WorkerPreviewsBaseConfigPlacementObjectTarget

Array of placement targets (currently limited to single target).

</summary>

One of the following:

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObjectTargetRegion struct{…}

</summary>

Region string

Cloud region in format ‘provider:region’.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20region">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObjectTargetHostname struct{…}

</summary>

Hostname string

HTTP hostname for targeted placement.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20hostname">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type WorkerPreviewsBaseConfigPlacementObjectTargetHost struct{…}

</summary>

Host string

TCP host:port for targeted placement.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20host">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement%20%3E%20(variant)%207">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20placement">Link to this property</a>

<details>

<summary>

TailConsumers \[]WorkerPreviewsBaseConfigTailConsumerOptional

Other Workers that should consume logs from newly created Previews.

</summary>

Name string

Name of the consumer Worker.

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20tail_consumers%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config%20%3E%20(property)%20tail_consumers">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)%20%3E%20(property)%20previews_base_config">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workers.beta.workers%20%3E%20(model)%20worker%20%3E%20(schema)>)

#### BetaWorkersVersions

##### [List Worker Versions](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/subresources/versions/methods/list)

client.Workers.Beta.Workers.Versions.List(ctx, workerID, params) (\*V4PagePaginationArray\[[Version](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)>)], error)

GET/accounts/{account\_id}/workers/workers/{worker\_id}/versions

##### [Get Worker Version](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/subresources/versions/methods/get)

client.Workers.Beta.Workers.Versions.Get(ctx, workerID, versionID, params) (\*[Version](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)>), error)

GET/accounts/{account\_id}/workers/workers/{worker\_id}/versions/{version\_id}

##### [Create Worker Version](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/subresources/versions/methods/create)

client.Workers.Beta.Workers.Versions.New(ctx, workerID, params) (\*[Version](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)>), error)

POST/accounts/{account\_id}/workers/workers/{worker\_id}/versions

##### [Delete Worker Version](https://developers.cloudflare.com/api/go/resources/workers/subresources/beta/subresources/workers/subresources/versions/methods/delete)

client.Workers.Beta.Workers.Versions.Delete(ctx, workerID, versionID, body) (\*[BetaWorkerVersionDeleteResponse](<https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20BetaWorkerVersionDeleteResponse%20%3E%20(schema)>), error)

DELETE/accounts/{account\_id}/workers/workers/{worker\_id}/versions/{version\_id}

##### ModelsExpand Collapse

<details>

<summary>

type Version struct{…}

</summary>

ID string

Version identifier.

formatuuid

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

CreatedOn Time

When the version was created.

formatdate-time

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20created_on">Link to this property</a>

Number int64

The integer version number, starting from one.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20number">Link to this property</a>

URLs \[]string

All routable URLs that always point to this version. Does not include alias URLs, since aliases can be updated to point to a different version.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20urls">Link to this property</a>

<details>

<summary>

Annotations VersionAnnotationsOptional

Metadata about the version.

</summary>

WorkersMessage stringOptional

Human-readable message about the version. Truncated to 1000 bytes if longer.

maxLength1000

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20annotations%20%3E%20(property)%20workers%2Fmessage">Link to this property</a>

WorkersTag stringOptional

User-provided identifier for the version. Maximum 100 bytes.

maxLength100

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20annotations%20%3E%20(property)%20workers%2Ftag">Link to this property</a>

WorkersTriggeredBy stringOptional

Operation that triggered the creation of the version.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20annotations%20%3E%20(property)%20workers%2Ftriggered_by">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20annotations">Link to this property</a>

<details>

<summary>

Assets VersionAssetsOptional

Configuration for assets within a Worker.

<a href="https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers"><code>_headers</code></a> and <a href="https://developers.cloudflare.com/workers/static-assets/redirects/"><code>_redirects</code></a> files should be included as modules named <code>_headers</code> and <code>_redirects</code> with content type <code>text/plain</code>.

</summary>

<details>

<summary>

Config VersionAssetsConfigOptional

Configuration for assets within a Worker.

</summary>

BasePath stringOptional

The public URL path prefix under which assets are served. A null request value resets it to <code>/</code>; responses represent the root as <code>/</code>. All versions in a gradual deployment must use the same canonical value. To change it, first deploy the version containing the change at 100%.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20base_path">Link to this property</a>

<details>

<summary>

HTMLHandling VersionAssetsConfigHTMLHandlingOptional

Determines the redirects and rewrites of requests for HTML content.

</summary>

One of the following:

const VersionAssetsConfigHTMLHandlingAutoTrailingSlash VersionAssetsConfigHTMLHandling = "auto-trailing-slash"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20html_handling%20%3E%20(member)%200">Link to this property</a>

const VersionAssetsConfigHTMLHandlingForceTrailingSlash VersionAssetsConfigHTMLHandling = "force-trailing-slash"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20html_handling%20%3E%20(member)%201">Link to this property</a>

const VersionAssetsConfigHTMLHandlingDropTrailingSlash VersionAssetsConfigHTMLHandling = "drop-trailing-slash"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20html_handling%20%3E%20(member)%202">Link to this property</a>

const VersionAssetsConfigHTMLHandlingNone VersionAssetsConfigHTMLHandling = "none"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20html_handling%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20html_handling">Link to this property</a>

<details>

<summary>

NotFoundHandling VersionAssetsConfigNotFoundHandlingOptional

Determines the response when a request does not match a static asset, and there is no Worker script.

</summary>

One of the following:

const VersionAssetsConfigNotFoundHandlingNone VersionAssetsConfigNotFoundHandling = "none"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20not_found_handling%20%3E%20(member)%200">Link to this property</a>

const VersionAssetsConfigNotFoundHandling404Page VersionAssetsConfigNotFoundHandling = "404-page"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20not_found_handling%20%3E%20(member)%201">Link to this property</a>

const VersionAssetsConfigNotFoundHandlingSinglePageApplication VersionAssetsConfigNotFoundHandling = "single-page-application"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20not_found_handling%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20not_found_handling">Link to this property</a>

<details>

<summary>

RunWorkerFirst VersionAssetsConfigRunWorkerFirstUnionOptional

Contains a list path rules to control routing to either the Worker or assets. Glob (\*) and negative (!) rules are supported. Rules must start with either ’/’ or ’!/’. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.

</summary>

One of the following:

type VersionAssetsConfigRunWorkerFirstArray \[]string

Contains a list path rules to control routing to either the Worker or assets. Glob (\*) and negative (!) rules are supported. Rules must start with either ’/’ or ’!/’. At least one non-negative rule must be provided, and negative rules have higher precedence than non-negative rules.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20run_worker_first%20%3E%20(variant)%200">Link to this property</a>

UnionBool

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20run_worker_first%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config%20%3E%20(property)%20run_worker_first">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20config">Link to this property</a>

JWT stringOptional

Token provided upon successful upload of all files from a registered manifest.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets%20%3E%20(property)%20jwt">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20assets">Link to this property</a>

AuthorEmail stringOptional

Email of the user who created the version.

formatemail

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20author_email">Link to this property</a>

AuthorID stringOptional

Identifier of the user who created the version.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20author_id">Link to this property</a>

<details>

<summary>

Bindings \[]VersionBindingOptional

List of bindings attached to a Worker. You can find more about bindings on our docs: <a href="https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings">https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings</a>.

</summary>

One of the following:

<details>

<summary>

type VersionBindingsWorkersBindingKindAI struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindAIType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindAISearch struct{…}

</summary>

InstanceName string

The user-chosen instance name. Must exist at deploy time. The worker can search, chat, update, and manage items/jobs on this instance.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20instance_name">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindAISearchType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

Namespace stringOptional

The namespace the instance belongs to. Defaults to “default” if omitted. Customers who don’t use namespaces can simply omit this field.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20namespace">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindAISearchNamespace struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20name">Link to this property</a>

Namespace string

The user-chosen namespace name. Must exist before deploy — Wrangler handles auto-creation on deploy failure (R2 bucket pattern). The “default” namespace is auto-created by config-api for new accounts. Grants full access (CRUD + search + chat) to all instances within the namespace.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20namespace">Link to this property</a>

Type VersionBindingsWorkersBindingKindAISearchNamespaceType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindMessaging struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20name">Link to this property</a>

Namespace string

The Messaging namespace to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20namespace">Link to this property</a>

Type VersionBindingsWorkersBindingKindMessagingType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindAnalyticsEngine struct{…}

</summary>

Dataset string

The name of the dataset to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(property)%20dataset">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindAnalyticsEngineType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindArtifacts struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20name">Link to this property</a>

Namespace string

The Artifacts namespace exposed to the Worker in the Worker’s account. Must be 2-63 characters, start with an ASCII alphanumeric character, contain only ASCII alphanumeric characters, dots, underscores, and hyphens, and must not end with a hyphen. The namespace does not need to be created before binding it.

maxLength63

minLength2

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20namespace">Link to this property</a>

Type VersionBindingsWorkersBindingKindArtifactsType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindAssets struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindAssetsType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%206%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindBrowser struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindBrowserType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%207%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%207">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindD1 struct{…}

</summary>

DatabaseID string

Identifier of the D1 database to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(property)%20database_id">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindD1Type

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(property)%20type">Link to this property</a>

DeprecatedID stringOptional

This property has been renamed to <code>database_id</code>.

Identifier of the D1 database to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%208%20%3E%20(property)%20id">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%208">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindDataBlob struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(property)%20name">Link to this property</a>

Part string

The name of the file containing the data content. Only accepted for <code>service worker syntax</code> Workers.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(property)%20part">Link to this property</a>

DeprecatedType VersionBindingsWorkersBindingKindDataBlobType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%209%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%209">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindDispatchNamespace struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20name">Link to this property</a>

Namespace string

The name of the dispatch namespace.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20namespace">Link to this property</a>

Type VersionBindingsWorkersBindingKindDispatchNamespaceType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

Outbound VersionBindingsWorkersBindingKindDispatchNamespaceOutboundOptional

Outbound worker.

</summary>

<details>

<summary>

Params \[]VersionBindingsWorkersBindingKindDispatchNamespaceOutboundParamOptional

Pass information from the Dispatch Worker to the Outbound Worker through the parameters.

</summary>

Name string

Name of the parameter.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound%20%3E%20(property)%20params%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound%20%3E%20(property)%20params">Link to this property</a>

<details>

<summary>

Worker VersionBindingsWorkersBindingKindDispatchNamespaceOutboundWorkerOptional

Outbound worker.

</summary>

Entrypoint stringOptional

Entrypoint to invoke on the outbound worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound%20%3E%20(property)%20worker%20%3E%20(property)%20entrypoint">Link to this property</a>

Environment stringOptional

Environment of the outbound worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound%20%3E%20(property)%20worker%20%3E%20(property)%20environment">Link to this property</a>

Service stringOptional

Name of the outbound worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound%20%3E%20(property)%20worker%20%3E%20(property)%20service">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound%20%3E%20(property)%20worker">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010%20%3E%20(property)%20outbound">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2010">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindDurableObjectNamespace struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindDurableObjectNamespaceType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20type">Link to this property</a>

ClassName stringOptional

The exported class name of the Durable Object.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20class_name">Link to this property</a>

DispatchNamespace stringOptional

The dispatch namespace the Durable Object script belongs to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20dispatch_namespace">Link to this property</a>

Environment stringOptional

The environment of the script\_name to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20environment">Link to this property</a>

NamespaceID stringOptional

Namespace identifier tag.

maxLength32

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20namespace_id">Link to this property</a>

ScriptName stringOptional

The script where the Durable Object is defined, if it is external to this Worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011%20%3E%20(property)%20script_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2011">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindHyperdrive struct{…}

</summary>

ID string

Identifier of the Hyperdrive connection to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(property)%20id">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindHyperdriveType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2012%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2012">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindInherit struct{…}

</summary>

Name string

The name of the inherited binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindInheritType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(property)%20type">Link to this property</a>

OldName stringOptional

The old name of the inherited binding. If set, the binding will be renamed from <code>old_name</code> to <code>name</code> in the new version. If not set, the binding will keep the same name between versions.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(property)%20old_name">Link to this property</a>

VersionID stringOptional

Identifier for the version to inherit the binding from, which can be the version ID or the literal “latest” to inherit from the latest version. Defaults to inheriting the binding from the latest version.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2013%20%3E%20(property)%20version_id">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2013">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindImages struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindImagesType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2014%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2014">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindJson struct{…}

</summary>

Json unknown

JSON data to use.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20json">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindJsonType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2015%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2015">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindKVNamespace struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(property)%20name">Link to this property</a>

NamespaceID string

Namespace identifier tag.

maxLength32

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(property)%20namespace_id">Link to this property</a>

Type VersionBindingsWorkersBindingKindKVNamespaceType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2016%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2016">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindMedia struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindMediaType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2017%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2017">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindMTLSCertificate struct{…}

</summary>

CertificateID string

Identifier of the certificate to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(property)%20certificate_id">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindMTLSCertificateType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2018%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2018">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindPlainText struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(property)%20name">Link to this property</a>

Text string

The text value to use.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(property)%20text">Link to this property</a>

Type VersionBindingsWorkersBindingKindPlainTextType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2019%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2019">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindPipelines struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20name">Link to this property</a>

Pipeline string

Name of the Pipeline to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20pipeline">Link to this property</a>

Type VersionBindingsWorkersBindingKindPipelinesType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2020%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2020">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindK2 struct{…}

A K2 stream binding. Available only to accounts enabled for K2.

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2021%20%3E%20(property)%20name">Link to this property</a>

Stream string

ID of a K2 stream owned by the account deploying the Worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2021%20%3E%20(property)%20stream">Link to this property</a>

Type VersionBindingsWorkersBindingKindK2Type

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2021%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2021">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindQueue struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2022%20%3E%20(property)%20name">Link to this property</a>

QueueName string

Name of the Queue to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2022%20%3E%20(property)%20queue_name">Link to this property</a>

Type VersionBindingsWorkersBindingKindQueueType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2022%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2022">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindRatelimit struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20name">Link to this property</a>

NamespaceID string

Identifier of the rate limit namespace to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20namespace_id">Link to this property</a>

<details>

<summary>

Simple VersionBindingsWorkersBindingKindRatelimitSimple

The rate limit configuration.

</summary>

Limit float64

The limit (requests per period).

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20simple%20%3E%20(property)%20limit">Link to this property</a>

Period int64

The period in seconds.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20simple%20%3E%20(property)%20period">Link to this property</a>

MitigationTimeout int64Optional

Duration in seconds to apply the mitigation action after the rate limit is exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400. Must be greater than or equal to the period when non-zero.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20simple%20%3E%20(property)%20mitigation_timeout">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20simple">Link to this property</a>

Type VersionBindingsWorkersBindingKindRatelimitType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2023">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindR2Bucket struct{…}

</summary>

BucketName string

R2 bucket to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20bucket_name">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindR2BucketType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

Jurisdiction VersionBindingsWorkersBindingKindR2BucketJurisdictionOptional

The <a href="https://developers.cloudflare.com/r2/reference/data-location/#jurisdictional-restrictions">jurisdiction</a> of the R2 bucket.

</summary>

One of the following:

const VersionBindingsWorkersBindingKindR2BucketJurisdictionEu VersionBindingsWorkersBindingKindR2BucketJurisdiction = "eu"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20jurisdiction%20%3E%20(member)%200">Link to this property</a>

const VersionBindingsWorkersBindingKindR2BucketJurisdictionFedramp VersionBindingsWorkersBindingKindR2BucketJurisdiction = "fedramp"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20jurisdiction%20%3E%20(member)%201">Link to this property</a>

const VersionBindingsWorkersBindingKindR2BucketJurisdictionFedrampHigh VersionBindingsWorkersBindingKindR2BucketJurisdiction = "fedramp-high"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20jurisdiction%20%3E%20(member)%202">Link to this property</a>

const VersionBindingsWorkersBindingKindR2BucketJurisdictionUs VersionBindingsWorkersBindingKindR2BucketJurisdiction = "us"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20jurisdiction%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024%20%3E%20(property)%20jurisdiction">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2024">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindSecretText struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2025%20%3E%20(property)%20name">Link to this property</a>

Text string

The secret value to use.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2025%20%3E%20(property)%20text">Link to this property</a>

Type VersionBindingsWorkersBindingKindSecretTextType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2025%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2025">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindSendEmail struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2026%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindSendEmailType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2026%20%3E%20(property)%20type">Link to this property</a>

AllowedDestinationAddresses \[]stringOptional

List of allowed destination addresses.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2026%20%3E%20(property)%20allowed_destination_addresses">Link to this property</a>

AllowedSenderAddresses \[]stringOptional

List of allowed sender addresses.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2026%20%3E%20(property)%20allowed_sender_addresses">Link to this property</a>

DestinationAddress stringOptional

Destination address for the email.

formatemail

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2026%20%3E%20(property)%20destination_address">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2026">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindService struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2027%20%3E%20(property)%20name">Link to this property</a>

Service string

Name of Worker to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2027%20%3E%20(property)%20service">Link to this property</a>

Type VersionBindingsWorkersBindingKindServiceType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2027%20%3E%20(property)%20type">Link to this property</a>

Entrypoint stringOptional

Entrypoint to invoke on the target Worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2027%20%3E%20(property)%20entrypoint">Link to this property</a>

Environment stringOptional

Optional environment if the Worker utilizes one.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2027%20%3E%20(property)%20environment">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2027">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindTextBlob struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2028%20%3E%20(property)%20name">Link to this property</a>

Part string

The name of the file containing the text content. Only accepted for <code>service worker syntax</code> Workers.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2028%20%3E%20(property)%20part">Link to this property</a>

DeprecatedType VersionBindingsWorkersBindingKindTextBlobType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2028%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2028">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindVectorize struct{…}

</summary>

IndexName string

Name of the Vectorize index to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2029%20%3E%20(property)%20index_name">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2029%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindVectorizeType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2029%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2029">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindVersionMetadata struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2030%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindVersionMetadataType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2030%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2030">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindSecretsStoreSecret struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2031%20%3E%20(property)%20name">Link to this property</a>

SecretName string

Name of the secret in the store.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2031%20%3E%20(property)%20secret_name">Link to this property</a>

StoreID string

ID of the store containing the secret.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2031%20%3E%20(property)%20store_id">Link to this property</a>

Type VersionBindingsWorkersBindingKindSecretsStoreSecretType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2031%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2031">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindFlagship struct{…}

</summary>

AppID string

ID of the Flagship app to bind to for feature flag evaluation.

maxLength128

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2032%20%3E%20(property)%20app_id">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2032%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindFlagshipType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2032%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2032">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindSecretKey struct{…}

</summary>

Algorithm unknown

Algorithm-specific key parameters. <a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey#algorithm">Learn more</a>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20algorithm">Link to this property</a>

<details>

<summary>

Format VersionBindingsWorkersBindingKindSecretKeyFormat

Data format of the key. <a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey#format">Learn more</a>.

</summary>

One of the following:

const VersionBindingsWorkersBindingKindSecretKeyFormatRaw VersionBindingsWorkersBindingKindSecretKeyFormat = "raw"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20format%20%3E%20(member)%200">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyFormatPkcs8 VersionBindingsWorkersBindingKindSecretKeyFormat = "pkcs8"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20format%20%3E%20(member)%201">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyFormatSpki VersionBindingsWorkersBindingKindSecretKeyFormat = "spki"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20format%20%3E%20(member)%202">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyFormatJwk VersionBindingsWorkersBindingKindSecretKeyFormat = "jwk"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20format%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20format">Link to this property</a>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindSecretKeyType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

Usages \[]VersionBindingsWorkersBindingKindSecretKeyUsage

Allowed operations with the key. <a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey#keyUsages">Learn more</a>.

</summary>

One of the following:

const VersionBindingsWorkersBindingKindSecretKeyUsageEncrypt VersionBindingsWorkersBindingKindSecretKeyUsage = "encrypt"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageDecrypt VersionBindingsWorkersBindingKindSecretKeyUsage = "decrypt"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageSign VersionBindingsWorkersBindingKindSecretKeyUsage = "sign"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageVerify VersionBindingsWorkersBindingKindSecretKeyUsage = "verify"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageDeriveKey VersionBindingsWorkersBindingKindSecretKeyUsage = "deriveKey"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageDeriveBits VersionBindingsWorkersBindingKindSecretKeyUsage = "deriveBits"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageWrapKey VersionBindingsWorkersBindingKindSecretKeyUsage = "wrapKey"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%206">Link to this property</a>

const VersionBindingsWorkersBindingKindSecretKeyUsageUnwrapKey VersionBindingsWorkersBindingKindSecretKeyUsage = "unwrapKey"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages%20%3E%20(items)%20%3E%20(member)%207">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20usages">Link to this property</a>

KeyBase64 stringOptional

Base64-encoded key data. Required if <code>format</code> is “raw”, “pkcs8”, or “spki”.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20key_base64">Link to this property</a>

KeyJwk unknownOptional

Key data in <a href="https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/importKey#json_web_key">JSON Web Key</a> format. Required if <code>format</code> is “jwk”.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033%20%3E%20(property)%20key_jwk">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2033">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindWorkflow struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2034%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindWorkflowType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2034%20%3E%20(property)%20type">Link to this property</a>

WorkflowName string

Name of the Workflow to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2034%20%3E%20(property)%20workflow_name">Link to this property</a>

ClassName stringOptional

Class name of the Workflow. Should only be provided if the Workflow belongs to this script.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2034%20%3E%20(property)%20class_name">Link to this property</a>

ScriptName stringOptional

Script name that contains the Workflow. If not provided, defaults to this script name.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2034%20%3E%20(property)%20script_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2034">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindWasmModule struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2035%20%3E%20(property)%20name">Link to this property</a>

Part string

The name of the file containing the WebAssembly module content. Only accepted for <code>service worker syntax</code> Workers.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2035%20%3E%20(property)%20part">Link to this property</a>

DeprecatedType VersionBindingsWorkersBindingKindWasmModuleType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2035%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2035">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindVPCService struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2036%20%3E%20(property)%20name">Link to this property</a>

ServiceID string

Identifier of the VPC service to bind to.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2036%20%3E%20(property)%20service_id">Link to this property</a>

Type VersionBindingsWorkersBindingKindVPCServiceType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2036%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2036">Link to this property</a>

<details>

<summary>

type VersionBindingsWorkersBindingKindVPCNetwork struct{…}

</summary>

Name string

A JavaScript variable name for the binding.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2037%20%3E%20(property)%20name">Link to this property</a>

Type VersionBindingsWorkersBindingKindVPCNetworkType

The kind of resource that the binding provides.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2037%20%3E%20(property)%20type">Link to this property</a>

Identity VersionBindingsWorkersBindingKindVPCNetworkIdentityOptional

Enables Gateway identity for the binding. Requires network\_id to be “cf1:network” and cannot be combined with tunnel\_id.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2037%20%3E%20(property)%20identity">Link to this property</a>

NetworkID stringOptional

Identifier of the network to bind to. Only “cf1:network” is currently supported. Mutually exclusive with tunnel\_id.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2037%20%3E%20(property)%20network_id">Link to this property</a>

TunnelID stringOptional

UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network\_id.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2037%20%3E%20(property)%20tunnel_id">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings%20%3E%20(items)%20%3E%20(variant)%2037">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20bindings">Link to this property</a>

<details>

<summary>

CacheOptions VersionCacheOptionsOptional

Global CacheW configuration for the Worker. When caching is on, the platform provisions a <code>cloudflare.app</code> zone for the Worker. A <code>type: worker</code> entry in the <code>exports</code> map can override this value for a single entrypoint.

</summary>

Enabled bool

Whether caching is enabled for this Worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20cache_options%20%3E%20(property)%20enabled">Link to this property</a>

CrossVersionCache boolOptional

Whether cached responses are shared across Worker version uploads. This is independent of <code>enabled</code>. It can stay true while caching is off, so the preference survives turning caching off and back on.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20cache_options%20%3E%20(property)%20cross_version_cache">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20cache_options">Link to this property</a>

CompatibilityDate stringOptional

Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20compatibility_date">Link to this property</a>

CompatibilityFlags \[]stringOptional

Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a <code>compatibility_date</code>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20compatibility_flags">Link to this property</a>

<details>

<summary>

Containers \[]VersionContainerOptional

List of containers attached to a Worker. Containers can only be attached to Durable Object classes of this Worker script.

</summary>

ClassName string

Select which Durable Object class should get this container attached.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20containers%20%3E%20(items)%20%3E%20(property)%20class_name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20containers">Link to this property</a>

<details>

<summary>

Exports map\[string, VersionExport]Optional

Declarative exports for the version, including Durable Object classes (with their <code>storage</code> backend) and named Worker entrypoints. On reads, tombstoned lifecycle entries are omitted, so only live exports (<code>created</code> and <code>expecting-transfer</code>) are returned. <code>exports</code> and <code>migrations</code> are mutually exclusive on upload.

</summary>

One of the following:

<details>

<summary>

type VersionExportsWorkersWorkerExport struct{…}

A named Worker entrypoint export (<code>type: worker</code>). Worker entrypoints are always live (<code>state: created</code>) and carry no storage or lifecycle fields. The optional <code>cache</code> block overrides the Worker’s global <code>cache_options.enabled</code> for this entrypoint.

</summary>

Type VersionExportsWorkersWorkerExportType

Marks this entry as a Worker entrypoint export.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20type">Link to this property</a>

<details>

<summary>

Cache VersionExportsWorkersWorkerExportCacheOptional

Cache override for this entrypoint. Overrides the Worker’s global <code>cache_options.enabled</code> for this entrypoint only.

</summary>

Enabled bool

Whether caching is enabled for this entrypoint.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cache%20%3E%20(property)%20enabled">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20cache">Link to this property</a>

State VersionExportsWorkersWorkerExportStateOptional

Live export. May be omitted; defaults to <code>created</code>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20state">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type VersionExportsWorkersDurableObjectExport struct{…}

A live Durable Object export (<code>state: created</code>, the default). The platform auto-provisions the namespace on first deploy, matches it on subsequent deploys, and never mutates or deletes it as a side effect of a code-only change. <code>storage</code> is required; <code>renamed_to</code>, <code>transferred_to</code> and <code>transfer_from</code> are not allowed on a live entry.

</summary>

<details>

<summary>

Storage VersionExportsWorkersDurableObjectExportStorage

Durable Object storage backend. <code>sqlite</code> is the recommended (and only) backend for new namespaces. <code>legacy-kv</code> is accepted only for a class whose namespace already exists as KV-backed; the <code>exports</code> flow never provisions a new <code>legacy-kv</code> namespace.

</summary>

One of the following:

const VersionExportsWorkersDurableObjectExportStorageSqlite VersionExportsWorkersDurableObjectExportStorage = "sqlite"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20storage%20%3E%20(member)%200">Link to this property</a>

const VersionExportsWorkersDurableObjectExportStorageLegacyKV VersionExportsWorkersDurableObjectExportStorage = "legacy-kv"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20storage%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20storage">Link to this property</a>

Type VersionExportsWorkersDurableObjectExportType

Marks this entry as a Durable Object export.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20type">Link to this property</a>

Container stringOptional

Name of the container (declared in the upload’s <code>metadata.containers</code>) that backs this Durable Object. When set, the namespace is container-enabled. Valid only on live entries.

maxLength128

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20container">Link to this property</a>

State VersionExportsWorkersDurableObjectExportStateOptional

Live export. May be omitted; defaults to <code>created</code>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20state">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type VersionExportsWorkersDurableObjectDeletedExport struct{…}

A <code>deleted</code> tombstone: retires the provisioned namespace for this class and all of its data. The class must be absent from the uploaded code and no other Worker in the account may bind to the namespace, otherwise the deploy is rejected. No other fields are allowed. Deletion is irreversible.

</summary>

State VersionExportsWorkersDurableObjectDeletedExportState

Tombstone that deletes the namespace.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20state">Link to this property</a>

Type VersionExportsWorkersDurableObjectDeletedExportType

Marks this entry as a Durable Object export.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

type VersionExportsWorkersDurableObjectRenamedExport struct{…}

A <code>renamed</code> tombstone: rewrites the provisioned namespace’s class name from this map key to <code>renamed_to</code>. The source class may stay in code during the rollout window (an info notice is emitted). <code>storage</code>, <code>transferred_to</code> and <code>transfer_from</code> are not allowed.

</summary>

RenamedTo string

The destination class name. Must differ from the source class (the map key) and must be declared as a live (<code>created</code>) entry in the same <code>exports</code> map. Write-only: never present in GET responses.

maxLength128

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20renamed_to">Link to this property</a>

State VersionExportsWorkersDurableObjectRenamedExportState

Tombstone that renames the namespace’s class.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20state">Link to this property</a>

Type VersionExportsWorkersDurableObjectRenamedExportType

Marks this entry as a Durable Object export.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%203%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

type VersionExportsWorkersDurableObjectTransferredExport struct{…}

A <code>transferred</code> tombstone (source side of a two-phase transfer): hands ownership of the provisioned namespace to another script in the same account, named by <code>transferred_to</code>. The target must have already deployed a matching <code>expecting-transfer</code> entry. The source class may stay in code during the rollout window (an info notice is emitted). <code>storage</code>, <code>renamed_to</code> and <code>transfer_from</code> are not allowed.

</summary>

State VersionExportsWorkersDurableObjectTransferredExportState

Tombstone that transfers the namespace to another script.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(property)%20state">Link to this property</a>

TransferredTo string

The destination script name. Must be in the same account and the same dispatch-namespace context (or both non-dispatch). Cross-dispatch-namespace transfers are rejected. Write-only: never present in GET responses.

maxLength128

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(property)%20transferred_to">Link to this property</a>

Type VersionExportsWorkersDurableObjectTransferredExportType

Marks this entry as a Durable Object export.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%204%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

type VersionExportsWorkersDurableObjectExpectingTransferExport struct{…}

The target side of a two-phase transfer (<code>state: expecting-transfer</code>). Declares that this script expects to receive a namespace for this class from the <code>transfer_from</code> script. This is a live entry, not a tombstone: bindings resolve through the source’s namespace until the source commits with a <code>transferred</code> tombstone. <code>storage</code> and <code>transfer_from</code> are required; <code>renamed_to</code> and <code>transferred_to</code> are not allowed.

</summary>

State VersionExportsWorkersDurableObjectExpectingTransferExportState

Target side of a two-phase transfer.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20state">Link to this property</a>

<details>

<summary>

Storage VersionExportsWorkersDurableObjectExpectingTransferExportStorage

Durable Object storage backend. <code>sqlite</code> is the recommended (and only) backend for new namespaces. <code>legacy-kv</code> is accepted only for a class whose namespace already exists as KV-backed; the <code>exports</code> flow never provisions a new <code>legacy-kv</code> namespace.

</summary>

One of the following:

const VersionExportsWorkersDurableObjectExpectingTransferExportStorageSqlite VersionExportsWorkersDurableObjectExpectingTransferExportStorage = "sqlite"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20storage%20%3E%20(member)%200">Link to this property</a>

const VersionExportsWorkersDurableObjectExpectingTransferExportStorageLegacyKV VersionExportsWorkersDurableObjectExpectingTransferExportStorage = "legacy-kv"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20storage%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20storage">Link to this property</a>

TransferFrom string

The source script name to receive the namespace from. Must be in the same account and dispatch-namespace context. Present on reads for <code>expecting-transfer</code> entries.

maxLength128

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20transfer_from">Link to this property</a>

Type VersionExportsWorkersDurableObjectExpectingTransferExportType

Marks this entry as a Durable Object export.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20type">Link to this property</a>

Container stringOptional

Name of the container (declared in the upload’s <code>metadata.containers</code>) that backs this Durable Object once the transfer settles. Valid only on live entries.

maxLength128

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205%20%3E%20(property)%20container">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports%20%3E%20(items)%20%3E%20(variant)%205">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports">Link to this property</a>

<details>

<summary>

ExportsReconciliation VersionExportsReconciliationOptional

Summary of the declarative exports reconciliation that ran on this upload. Populated only when the uploaded metadata included an <code>exports</code> block. Durable Object entries drive reconciliation; <code>type: worker</code> entries do not contribute to this summary.

</summary>

Created \[]string

Class names for which a new namespace was provisioned.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20created">Link to this property</a>

Deleted \[]string

Class names whose namespace was deleted by a <code>deleted</code> tombstone.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20deleted">Link to this property</a>

<details>

<summary>

Info \[]VersionExportsReconciliationInfo

Non-blocking info entries (stale tombstones, tombstone applied with class still in code). See <code>exports_reconciliation_info</code>.

</summary>

Class string

The class name the info entry is about.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20class">Link to this property</a>

Message string

Human-readable explanation.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

<details>

<summary>

Scenario VersionExportsReconciliationInfoScenario

Stable, machine-readable tag identifying which reconciliation scenario produced an error, warning, or info entry. Clients may branch on this value instead of parsing <code>message</code>.

</summary>

One of the following:

const VersionExportsReconciliationInfoScenarioCodeClassNotInExports VersionExportsReconciliationInfoScenario = "code\_class\_not\_in\_exports"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%200">Link to this property</a>

const VersionExportsReconciliationInfoScenarioProvisionedClassMissingFromConfig VersionExportsReconciliationInfoScenario = "provisioned\_class\_missing\_from\_config"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%201">Link to this property</a>

const VersionExportsReconciliationInfoScenarioConfigExportNotInCode VersionExportsReconciliationInfoScenario = "config\_export\_not\_in\_code"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%202">Link to this property</a>

const VersionExportsReconciliationInfoScenarioConfigReferencesNonexistentClass VersionExportsReconciliationInfoScenario = "config\_references\_nonexistent\_class"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%203">Link to this property</a>

const VersionExportsReconciliationInfoScenarioOrphanedProvisionedNamespace VersionExportsReconciliationInfoScenario = "orphaned\_provisioned\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%204">Link to this property</a>

const VersionExportsReconciliationInfoScenarioStorageTypeMismatch VersionExportsReconciliationInfoScenario = "storage\_type\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%205">Link to this property</a>

const VersionExportsReconciliationInfoScenarioFreeTierRequiresSqlite VersionExportsReconciliationInfoScenario = "free\_tier\_requires\_sqlite"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%206">Link to this property</a>

const VersionExportsReconciliationInfoScenarioInvalidExport VersionExportsReconciliationInfoScenario = "invalid\_export"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%207">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTombstoneDeleteClassStillInCode VersionExportsReconciliationInfoScenario = "tombstone\_delete\_class\_still\_in\_code"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%208">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTombstoneDeleteBlockedByExternalBindings VersionExportsReconciliationInfoScenario = "tombstone\_delete\_blocked\_by\_external\_bindings"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%209">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTombstoneRenamedToOccupied VersionExportsReconciliationInfoScenario = "tombstone\_renamed\_to\_occupied"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2010">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferredPendingNotFound VersionExportsReconciliationInfoScenario = "transferred\_pending\_not\_found"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2011">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferredTargetMissing VersionExportsReconciliationInfoScenario = "transferred\_target\_missing"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2012">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferredTargetMismatch VersionExportsReconciliationInfoScenario = "transferred\_target\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2013">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferSourceMissing VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_source\_missing"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2014">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferSourceNamespaceMissing VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_source\_namespace\_missing"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2015">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferTargetClassProvisioned VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_target\_class\_provisioned"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2016">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferAfterCommitMismatch VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_after\_commit\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2017">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferDuplicate VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_duplicate"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2018">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferTargetInDispatchNamespace VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_target\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2019">Link to this property</a>

const VersionExportsReconciliationInfoScenarioPhaseOneTransferSourceInDispatchNamespace VersionExportsReconciliationInfoScenario = "phase\_one\_transfer\_source\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2020">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferredSourceInDispatchNamespace VersionExportsReconciliationInfoScenario = "transferred\_source\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2021">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferredTargetInDispatchNamespace VersionExportsReconciliationInfoScenario = "transferred\_target\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2022">Link to this property</a>

const VersionExportsReconciliationInfoScenarioContainerUndeclaredReference VersionExportsReconciliationInfoScenario = "container\_undeclared\_reference"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2023">Link to this property</a>

const VersionExportsReconciliationInfoScenarioContainerClassNotDurableObject VersionExportsReconciliationInfoScenario = "container\_class\_not\_durable\_object"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2024">Link to this property</a>

const VersionExportsReconciliationInfoScenarioContainerWiringInconsistent VersionExportsReconciliationInfoScenario = "container\_wiring\_inconsistent"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2025">Link to this property</a>

const VersionExportsReconciliationInfoScenarioContainerMultipleDurableObjects VersionExportsReconciliationInfoScenario = "container\_multiple\_durable\_objects"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2026">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferContainerParityMismatch VersionExportsReconciliationInfoScenario = "transfer\_container\_parity\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2027">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferContainerParityMismatchOnCommit VersionExportsReconciliationInfoScenario = "transfer\_container\_parity\_mismatch\_on\_commit"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2028">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTombstoneClassStillInCode VersionExportsReconciliationInfoScenario = "tombstone\_class\_still\_in\_code"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2029">Link to this property</a>

const VersionExportsReconciliationInfoScenarioStaleTombstone VersionExportsReconciliationInfoScenario = "stale\_tombstone"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2030">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferReceiveAlreadyApplied VersionExportsReconciliationInfoScenario = "transfer\_receive\_already\_applied"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2031">Link to this property</a>

const VersionExportsReconciliationInfoScenarioTransferReceiveCleanupComplete VersionExportsReconciliationInfoScenario = "transfer\_receive\_cleanup\_complete"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2032">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20scenario">Link to this property</a>

NamespaceID stringOptional

The provisioned namespace the entry relates to, when applicable.

formatuuid

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20namespace_id">Link to this property</a>

ReferencingScripts \[]stringOptional

Other Workers in the account that still bind to the affected class. Advisory: while non-empty the tombstone is not yet safe to remove — redeploy these Workers with bindings re-pointed first.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info%20%3E%20(items)%20%3E%20(property)%20referencing_scripts">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20info">Link to this property</a>

RemovableEntries \[]string

Source class names whose tombstone entry is now stale and safe to delete from <code>exports</code> (no remaining referencing scripts).

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20removable_entries">Link to this property</a>

<details>

<summary>

Renamed \[]VersionExportsReconciliationRenamed

Applied <code>renamed</code> tombstones.

</summary>

From string

The original (source) class name.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20renamed%20%3E%20(items)%20%3E%20(property)%20from">Link to this property</a>

To string

The new class name (<code>renamed_to</code>).

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20renamed%20%3E%20(items)%20%3E%20(property)%20to">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20renamed">Link to this property</a>

<details>

<summary>

TransferPending \[]VersionExportsReconciliationTransferPending

Phase-1 transfer hints recorded on the target side.

</summary>

Class string

The target-side class name awaiting transfer.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transfer_pending%20%3E%20(items)%20%3E%20(property)%20class">Link to this property</a>

From string

The source script the namespace will be transferred from.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transfer_pending%20%3E%20(items)%20%3E%20(property)%20from">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transfer_pending">Link to this property</a>

<details>

<summary>

Transferred \[]VersionExportsReconciliationTransferred

Committed <code>transferred</code> tombstones (phase-2).

</summary>

Class string

The source class name that was transferred.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transferred%20%3E%20(items)%20%3E%20(property)%20class">Link to this property</a>

Phase VersionExportsReconciliationTransferredPhase

The transfer phase. Currently always <code>committed</code>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transferred%20%3E%20(items)%20%3E%20(property)%20phase">Link to this property</a>

To string

The destination script that now owns the namespace.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transferred%20%3E%20(items)%20%3E%20(property)%20to">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20transferred">Link to this property</a>

Updated \[]string

Class names whose provisioned namespace was mutated in place.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20updated">Link to this property</a>

<details>

<summary>

Warnings \[]VersionExportsReconciliationWarning

Non-blocking warnings. See <code>exports_reconciliation_warning</code>.

</summary>

Class string

The class name the warning is about.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20class">Link to this property</a>

Message string

Human-readable explanation of the warning.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

<details>

<summary>

Scenario VersionExportsReconciliationWarningsScenario

Stable, machine-readable tag identifying which reconciliation scenario produced an error, warning, or info entry. Clients may branch on this value instead of parsing <code>message</code>.

</summary>

One of the following:

const VersionExportsReconciliationWarningsScenarioCodeClassNotInExports VersionExportsReconciliationWarningsScenario = "code\_class\_not\_in\_exports"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%200">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioProvisionedClassMissingFromConfig VersionExportsReconciliationWarningsScenario = "provisioned\_class\_missing\_from\_config"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%201">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioConfigExportNotInCode VersionExportsReconciliationWarningsScenario = "config\_export\_not\_in\_code"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%202">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioConfigReferencesNonexistentClass VersionExportsReconciliationWarningsScenario = "config\_references\_nonexistent\_class"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%203">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioOrphanedProvisionedNamespace VersionExportsReconciliationWarningsScenario = "orphaned\_provisioned\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%204">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioStorageTypeMismatch VersionExportsReconciliationWarningsScenario = "storage\_type\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%205">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioFreeTierRequiresSqlite VersionExportsReconciliationWarningsScenario = "free\_tier\_requires\_sqlite"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%206">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioInvalidExport VersionExportsReconciliationWarningsScenario = "invalid\_export"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%207">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTombstoneDeleteClassStillInCode VersionExportsReconciliationWarningsScenario = "tombstone\_delete\_class\_still\_in\_code"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%208">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTombstoneDeleteBlockedByExternalBindings VersionExportsReconciliationWarningsScenario = "tombstone\_delete\_blocked\_by\_external\_bindings"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%209">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTombstoneRenamedToOccupied VersionExportsReconciliationWarningsScenario = "tombstone\_renamed\_to\_occupied"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2010">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferredPendingNotFound VersionExportsReconciliationWarningsScenario = "transferred\_pending\_not\_found"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2011">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferredTargetMissing VersionExportsReconciliationWarningsScenario = "transferred\_target\_missing"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2012">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferredTargetMismatch VersionExportsReconciliationWarningsScenario = "transferred\_target\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2013">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferSourceMissing VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_source\_missing"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2014">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferSourceNamespaceMissing VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_source\_namespace\_missing"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2015">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferTargetClassProvisioned VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_target\_class\_provisioned"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2016">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferAfterCommitMismatch VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_after\_commit\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2017">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferDuplicate VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_duplicate"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2018">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferTargetInDispatchNamespace VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_target\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2019">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioPhaseOneTransferSourceInDispatchNamespace VersionExportsReconciliationWarningsScenario = "phase\_one\_transfer\_source\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2020">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferredSourceInDispatchNamespace VersionExportsReconciliationWarningsScenario = "transferred\_source\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2021">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferredTargetInDispatchNamespace VersionExportsReconciliationWarningsScenario = "transferred\_target\_in\_dispatch\_namespace"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2022">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioContainerUndeclaredReference VersionExportsReconciliationWarningsScenario = "container\_undeclared\_reference"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2023">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioContainerClassNotDurableObject VersionExportsReconciliationWarningsScenario = "container\_class\_not\_durable\_object"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2024">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioContainerWiringInconsistent VersionExportsReconciliationWarningsScenario = "container\_wiring\_inconsistent"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2025">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioContainerMultipleDurableObjects VersionExportsReconciliationWarningsScenario = "container\_multiple\_durable\_objects"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2026">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferContainerParityMismatch VersionExportsReconciliationWarningsScenario = "transfer\_container\_parity\_mismatch"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2027">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferContainerParityMismatchOnCommit VersionExportsReconciliationWarningsScenario = "transfer\_container\_parity\_mismatch\_on\_commit"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2028">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTombstoneClassStillInCode VersionExportsReconciliationWarningsScenario = "tombstone\_class\_still\_in\_code"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2029">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioStaleTombstone VersionExportsReconciliationWarningsScenario = "stale\_tombstone"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2030">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferReceiveAlreadyApplied VersionExportsReconciliationWarningsScenario = "transfer\_receive\_already\_applied"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2031">Link to this property</a>

const VersionExportsReconciliationWarningsScenarioTransferReceiveCleanupComplete VersionExportsReconciliationWarningsScenario = "transfer\_receive\_cleanup\_complete"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario%20%3E%20(member)%2032">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20scenario">Link to this property</a>

NamespaceID stringOptional

The provisioned namespace the warning relates to, when applicable.

formatuuid

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings%20%3E%20(items)%20%3E%20(property)%20namespace_id">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation%20%3E%20(property)%20warnings">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20exports_reconciliation">Link to this property</a>

<details>

<summary>

Limits VersionLimitsOptional

Resource limits enforced at runtime.

</summary>

CPUMs int64Optional

CPU time limit in milliseconds.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20limits%20%3E%20(property)%20cpu_ms">Link to this property</a>

Subrequests int64Optional

Subrequest limit per request.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20limits%20%3E%20(property)%20subrequests">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20limits">Link to this property</a>

MainModule stringOptional

The name of the main module in the <code>modules</code> array (e.g. the name of the module that exports a <code>fetch</code> handler).

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20main_module">Link to this property</a>

MigrationTag stringOptional

Durable Object migration tag. Set when the version is deployed. Omitted if the version has not been deployed or the Worker does not use Durable Objects.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20migration_tag">Link to this property</a>

<details>

<summary>

Migrations VersionMigrationsOptional

Migrations for Durable Objects associated with the version. Migrations are applied when the version is deployed.

</summary>

One of the following:

<details>

<summary>

type SingleStepMigration struct{…}

A single set of migrations to apply.

</summary>

DeletedClasses \[]stringOptional

A list of classes to delete Durable Object namespaces from.

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20deleted_classes">Link to this property</a>

NewClasses \[]stringOptional

A list of classes to create Durable Object namespaces from.

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20new_classes">Link to this property</a>

NewSqliteClasses \[]stringOptional

A list of classes to create Durable Object namespaces with SQLite from.

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20new_sqlite_classes">Link to this property</a>

NewTag stringOptional

Tag to set as the latest migration tag.

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20new_tag">Link to this property</a>

OldTag stringOptional

Tag used to verify against the latest migration tag for this Worker. If they don’t match, the upload is rejected.

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20old_tag">Link to this property</a>

<details>

<summary>

RenamedClasses \[]SingleStepMigrationRenamedClassOptional

A list of classes with Durable Object namespaces that were renamed.

</summary>

From stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20renamed_classes%20%3E%20(items)%20%3E%20(property)%20from">Link to this property</a>

To stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20renamed_classes%20%3E%20(items)%20%3E%20(property)%20to">Link to this property</a>

</details>

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20renamed_classes">Link to this property</a>

<details>

<summary>

TransferredClasses \[]SingleStepMigrationTransferredClassOptional

A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.

</summary>

From stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20transferred_classes%20%3E%20(items)%20%3E%20(property)%20from">Link to this property</a>

FromScript stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20transferred_classes%20%3E%20(items)%20%3E%20(property)%20from_script">Link to this property</a>

To stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20transferred_classes%20%3E%20(items)%20%3E%20(property)%20to">Link to this property</a>

</details>

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)%20%3E%20(property)%20transferred_classes">Link to this property</a>

</details>

<a href="#(resource)%20workers%20%3E%20(model)%20single_step_migration%20%3E%20(schema)">Link to this property</a>

<details>

<summary>

type VersionMigrationsWorkersMultipleStepMigrations struct{…}

</summary>

NewTag stringOptional

Tag to set as the latest migration tag.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20migrations%20%3E%20(variant)%201%20%3E%20(property)%20new_tag">Link to this property</a>

OldTag stringOptional

Tag used to verify against the latest migration tag for this Worker. If they don’t match, the upload is rejected.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20migrations%20%3E%20(variant)%201%20%3E%20(property)%20old_tag">Link to this property</a>

<details>

<summary>

Steps \[]<a href="https://developers.cloudflare.com/api/go/resources/workers#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)">MigrationStep</a>Optional

Migrations to apply in order.

</summary>

DeletedClasses \[]stringOptional

A list of classes to delete Durable Object namespaces from.

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20deleted_classes">Link to this property</a>

NewClasses \[]stringOptional

A list of classes to create Durable Object namespaces from.

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20new_classes">Link to this property</a>

NewSqliteClasses \[]stringOptional

A list of classes to create Durable Object namespaces with SQLite from.

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20new_sqlite_classes">Link to this property</a>

<details>

<summary>

RenamedClasses \[]MigrationStepRenamedClassOptional

A list of classes with Durable Object namespaces that were renamed.

</summary>

From stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20renamed_classes%20%3E%20(items)%20%3E%20(property)%20from">Link to this property</a>

To stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20renamed_classes%20%3E%20(items)%20%3E%20(property)%20to">Link to this property</a>

</details>

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20renamed_classes">Link to this property</a>

<details>

<summary>

TransferredClasses \[]MigrationStepTransferredClassOptional

A list of transfers for Durable Object namespaces from a different Worker and class to a class defined in this Worker.

</summary>

From stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20transferred_classes%20%3E%20(items)%20%3E%20(property)%20from">Link to this property</a>

FromScript stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20transferred_classes%20%3E%20(items)%20%3E%20(property)%20from_script">Link to this property</a>

To stringOptional

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20transferred_classes%20%3E%20(items)%20%3E%20(property)%20to">Link to this property</a>

</details>

<a href="#(resource)%20workers%20%3E%20(model)%20migration_step%20%3E%20(schema)%20%3E%20(property)%20transferred_classes">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20migrations%20%3E%20(variant)%201%20%3E%20(property)%20steps">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20migrations%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20migrations">Link to this property</a>

<details>

<summary>

Modules \[]VersionModuleOptional

Code, sourcemaps, and other content used at runtime.

This includes <a href="https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers"><code>_headers</code></a> and <a href="https://developers.cloudflare.com/workers/static-assets/redirects/"><code>_redirects</code></a> files used to configure <a href="https://developers.cloudflare.com/workers/static-assets/">Static Assets</a>. <code>_headers</code> and <code>_redirects</code> files should be included as modules named <code>_headers</code> and <code>_redirects</code> with content type <code>text/plain</code>.

</summary>

ContentBase64 string

The base64-encoded module content.

formatbyte

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20modules%20%3E%20(items)%20%3E%20(property)%20content_base64">Link to this property</a>

ContentType string

The content type of the module.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20modules%20%3E%20(items)%20%3E%20(property)%20content_type">Link to this property</a>

Name string

The name of the module.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20modules%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20modules">Link to this property</a>

<details>

<summary>

PackageDependencies \[]VersionPackageDependencyOptional

The list of npm packages that were installed and used when this Worker version was built.

</summary>

InstalledVersion string

The exact version that was resolved and installed by the package manager.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20package_dependencies%20%3E%20(items)%20%3E%20(property)%20installedVersion">Link to this property</a>

Name string

The npm package name.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20package_dependencies%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

PackageJsonVersion string

The version constraint as written in package.json.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20package_dependencies%20%3E%20(items)%20%3E%20(property)%20packageJsonVersion">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20package_dependencies">Link to this property</a>

<details>

<summary>

Placement VersionPlacementOptional

Configuration for <a href="https://developers.cloudflare.com/workers/configuration/smart-placement">Smart Placement</a>. Specify mode=‘smart’ for Smart Placement, or one of region/hostname/host.

</summary>

One of the following:

<details>

<summary>

type VersionPlacementMode struct{…}

</summary>

Mode VersionPlacementModeMode

Enables <a href="https://developers.cloudflare.com/workers/configuration/smart-placement">Smart Placement</a>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%200%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type VersionPlacementRegion struct{…}

</summary>

Region string

Cloud region for targeted placement in format ‘provider:region’.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%201%20%3E%20(property)%20region">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type VersionPlacementHostname struct{…}

</summary>

Hostname string

HTTP hostname for targeted placement.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%202%20%3E%20(property)%20hostname">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%202">Link to this property</a>

<details>

<summary>

type VersionPlacementHost struct{…}

</summary>

Host string

TCP host and port for targeted placement.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%203%20%3E%20(property)%20host">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%203">Link to this property</a>

<details>

<summary>

type VersionPlacementObject struct{…}

</summary>

Mode VersionPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%204%20%3E%20(property)%20mode">Link to this property</a>

Region string

Cloud region for targeted placement in format ‘provider:region’.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%204%20%3E%20(property)%20region">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%204">Link to this property</a>

<details>

<summary>

type VersionPlacementObject struct{…}

</summary>

Hostname string

HTTP hostname for targeted placement.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%205%20%3E%20(property)%20hostname">Link to this property</a>

Mode VersionPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%205%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%205">Link to this property</a>

<details>

<summary>

type VersionPlacementObject struct{…}

</summary>

Host string

TCP host and port for targeted placement.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%206%20%3E%20(property)%20host">Link to this property</a>

Mode VersionPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%206%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%206">Link to this property</a>

<details>

<summary>

type VersionPlacementObject struct{…}

</summary>

Mode VersionPlacementObjectMode

Targeted placement mode.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20mode">Link to this property</a>

<details>

<summary>

Target \[]VersionPlacementObjectTarget

Array of placement targets (currently limited to single target).

</summary>

One of the following:

<details>

<summary>

type VersionPlacementObjectTargetRegion struct{…}

</summary>

Region string

Cloud region in format ‘provider:region’.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20region">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type VersionPlacementObjectTargetHostname struct{…}

</summary>

Hostname string

HTTP hostname for targeted placement.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20hostname">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

<details>

<summary>

type VersionPlacementObjectTargetHost struct{…}

</summary>

Host string

TCP host:port for targeted placement.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%202%20%3E%20(property)%20host">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target%20%3E%20(items)%20%3E%20(variant)%202">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207%20%3E%20(property)%20target">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement%20%3E%20(variant)%207">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20placement">Link to this property</a>

Source stringOptional

The client used to create the version.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20source">Link to this property</a>

StartupTimeMs int64Optional

Time in milliseconds spent on <a href="https://developers.cloudflare.com/workers/platform/limits/#worker-startup-time">Worker startup</a>.

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20startup_time_ms">Link to this property</a>

<details>

<summary>

DeprecatedUsageModel VersionUsageModelOptional

Usage model for the version.

</summary>

One of the following:

const VersionUsageModelStandard VersionUsageModel = "standard"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20usage_model%20%3E%20(member)%200">Link to this property</a>

const VersionUsageModelBundled VersionUsageModel = "bundled"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20usage_model%20%3E%20(member)%201">Link to this property</a>

const VersionUsageModelUnbound VersionUsageModel = "unbound"

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20usage_model%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)%20%3E%20(property)%20usage_model">Link to this property</a>

</details>

[Link to this property](<#(resource)%20workers.beta.workers.versions%20%3E%20(model)%20version%20%3E%20(schema)>)