OptionalassetsConfiguration for assets within a Worker.
OptionalbindingsList of bindings attached to a Worker. You can find more about bindings on our docs: https://developers.cloudflare.com/workers/configuration/multipart-upload-metadata/#bindings.
OptionalbodyName of the uploaded file that contains the script (e.g. the file adding a listener to the fetch event). Indicates a service worker syntax Worker.
OptionalcompatibilityDate indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.
OptionalcompatibilityFlags 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 compatibilityDate.
OptionalcontentModule or Service Worker contents of the Worker. Conflicts with contentFile.
OptionalcontentPath to a file containing the Module or Service Worker contents of the Worker. Conflicts with content. Must be paired with contentSha256.
OptionalcontentSHA-256 hash of the Worker contents. Used to trigger updates when source code changes. Must be provided when contentFile is specified.
OptionalcontentContent-Type of the Worker. Required if uploading a non-JavaScript Worker (e.g. "text/x-python").
OptionalkeepRetain assets which exist for a previously uploaded Worker version; used in lieu of providing a completion token.
OptionalkeepList of binding types to keep from previous_upload.
OptionallimitsLimits to apply for this Worker.
OptionallogpushWhether Logpush is turned on for the Worker.
OptionalmainName of the uploaded file that contains the main module (e.g. the file exporting a fetch handler). Indicates a module syntax Worker.
OptionalmigrationsMigrations to apply for Durable Objects associated with this Worker.
OptionalobservabilityObservability settings for the Worker.
OptionalplacementConfiguration for Smart Placement. Specify mode='smart' for Smart Placement, or one of region/hostname/host.
OptionalroutesName of the script, used in URLs and route configuration.
OptionaltailList of Workers that will consume logs from the attached Worker.
OptionalusageUsage model for the Worker invocations. Available values: "standard", "bundled", "unbound".
Identifier.