api.md

Created about 12 hours ago

attributes
source_pathreferences/bindings/api.md
source_sha2566d82acf4c32c1fa989fe055ced384595aa1ff39c49eeea941fdb6a2cbf3497b9
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/bindings/api.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

Bindings API Reference

Fetch the relevant documentation before choosing method signatures, binding types, or type-generation settings.

Task Current documentation
Access bindings in handlers, entrypoint classes, or imported env Bindings and environment access
Generate environment and runtime types; configure TypeScript or migrate from @cloudflare/workers-types Workers TypeScript
Use framework-specific environment access Hono on Workers (follow the framework's linked documentation)
Read, write, delete, and list KV keys KV Workers API
Read, write, delete, and list R2 objects R2 Workers API
Prepare and bind SQL statements or execute batches D1 Workers Binding API
Address Durable Objects and call their methods Durable Objects API
Send queue messages Queues JavaScript APIs
Run model inference Workers AI bindings
Call another Worker using HTTP or typed RPC Service bindings and RPC TypeScript
Find other product binding APIs, including Browser, mTLS, rate limiting, and Workflows Current binding catalog

Regenerate types after configuration changes and use the selected environment's configuration. Follow the current TypeScript setup for the project's toolchain instead of hardcoding a generated declaration path or maintaining a handwritten binding interface. Types describe the expected bindings; they do not provision resources or prove the deployed environment is configured correctly.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.