Bindings
Get Script Bindings
GET/accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/bindings
ModelsExpand Collapse
BindingGetResponse = object { name, type } or object { instance_name, name, type, namespace } or object { name, namespace, type } or 32 moreA binding to allow the Worker to communicate with resources.
BindingGetResponse = object { name, type } or object { instance_name, name, type, namespace } or object { name, namespace, type } or 32 more
A binding to allow the Worker to communicate with resources.
One of the following:
AISearch object { instance_name, name, type, namespace }
AISearch object { instance_name, name, type, namespace }
AISearchNamespace object { name, namespace, type }
AISearchNamespace object { name, namespace, type }
DispatchNamespace object { name, namespace, type, outbound }
DispatchNamespace object { name, namespace, type, outbound }
Inherit object { name, type, old_name, version_id }
Inherit object { name, type, old_name, version_id }
Ratelimit object { name, namespace_id, simple, type }
Ratelimit object { name, namespace_id, simple, type }
R2Bucket object { bucket_name, name, type, jurisdiction }
R2Bucket object { bucket_name, name, type, jurisdiction }
jurisdiction: optional "eu" or "fedramp" or "fedramp-high"The jurisdiction of the R2 bucket.
jurisdiction: optional "eu" or "fedramp" or "fedramp-high"
The jurisdiction of the R2 bucket.
SecretKey object { algorithm, format, name, 4 more }
SecretKey object { algorithm, format, name, 4 more }
algorithm: unknown
Algorithm-specific key parameters. Learn more.
format: "raw" or "pkcs8" or "spki" or "jwk"Data format of the key. Learn more.
format: "raw" or "pkcs8" or "spki" or "jwk"
Data format of the key. Learn more.
usages: array of "encrypt" or "decrypt" or "sign" or 5 moreAllowed operations with the key. Learn more.
usages: array of "encrypt" or "decrypt" or "sign" or 5 more
Allowed operations with the key. Learn more.
key_base64: optional string
Base64-encoded key data. Required if format is “raw”, “pkcs8”, or “spki”.
key_jwk: optional unknown
Key data in JSON Web Key format. Required if format is “jwk”.
Workflow object { name, type, workflow_name, 2 more }
Workflow object { name, type, workflow_name, 2 more }