Prompt Buddy logoPrompt Buddy

cloudflare · Cloudflare Workers Docs

Workers Version metadata

Accesses Worker version ID, version tag, and creation timestamp via a binding to enable version-based aggregation in observability and analytics systems.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Workers Version metadata

Accesses Worker version ID, version tag, and creation timestamp via a binding to enable version-based aggregation in observability and analytics systems.

When To Use

Use when you need to include specific Worker version identifiers or tags in telemetry events sent to analytics engines or third-party monitoring services.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/workers-runtime-apis-bindings-version-metadata-workflow-guide.mdDocumentation describing the interface and usage of the version metadata binding within the Cloudflare Workers runtime.Questions about documentation describing the interface and usage of the version metadata binding within the Cloudflare Workers runtime.
examples/workers-runtime-apis-bindings-version-metadata-cloudflare-workers-versio.textA JSON object demonstrating the structure and content of the Workers Version metadata binding.Exact payloads, commands, or snippets shown in A JSON object demonstrating the structure and content of the Workers Version metadata binding.
examples/workers-runtime-apis-bindings-version-metadata-cloudflare-workers-versio-2.textA text example demonstrating how to declare and use the CFVERSIONMETADATA binding in a Cloudflare Workers environment.Exact payloads, commands, or snippets shown in A text example demonstrating how to declare and use the CFVERSIONMETADATA binding in a Cloudflare Workers environment.
examples/workers-runtime-apis-bindings-version-metadata-cloudflare-workers-versio-3.textA JavaScript code example demonstrating how to access and use the CFVERSIONMETADATA binding within a Cloudflare Worker.Exact payloads, commands, or snippets shown in A JavaScript code example demonstrating how to access and use the CFVERSIONMETADATA binding within a Cloudflare Worker.
examples/workers-runtime-apis-bindings-version-metadata-cloudflare-workers-versio-4.textA TypeScript interface definition demonstrating how to access CFVERSIONMETADATA within a Cloudflare Workers environment object.Exact payloads, commands, or snippets shown in A TypeScript interface definition demonstrating how to access CFVERSIONMETADATA within a Cloudflare Workers environme...

What This Skill Covers

  • The version metadata binding can be used to access metadata associated with a version from inside the Workers runtime.
  • Main sections: Interface.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://developers.cloudflare.com/workers/runtime-apis/bindings/version-metadata