How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

APIs.io Engineering Platform Worker Environment API

The Worker Environment API from APIs.io Engineering Platform — 2 operation(s) for worker environment.

This API exposes 4 operations across 2 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 4.0.0.

Requests are made against the base URL https://api.cloudflare.com/client/v4.

4 operations 2 paths 19 schemas 2 GET1 PATCH1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
4.0.0
Base URL
https://api.cloudflare.com/client/v4
Authentication
API Key, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

APIs.io Engineering Platform Worker Environment API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Email (api_email). An API key is passed in the header as X-Auth-Key (api_key). It accepts HTTP bearer tokens (api_token). An API key is passed in the header as X-Auth-User-Service-Key (user_service_key).

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 2 GET, 1 PATCH, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Worker Environment 4
GET
/accounts/{account_id}/workers/services/{service_name}/environments/{environment_name}/content
APIs.io Engineering Platform Get script content
worker-environment-get-script-content 3 params → 4XX200
PUT
/accounts/{account_id}/workers/services/{service_name}/environments/{environment_name}/content
APIs.io Engineering Platform Put script content
worker-environment-put-script-content 5 params body → 4XX200
GET
/accounts/{account_id}/workers/services/{service_name}/environments/{environment_name}/settings
APIs.io Engineering Platform Get Script Settings
worker-script-environment-get-settings 3 params → 4XX200
PATCH
/accounts/{account_id}/workers/services/{service_name}/environments/{environment_name}/settings
APIs.io Engineering Platform Patch Script Settings
worker-script-environment-patch-settings 3 params body → 4XX200

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are workers_script-response (8 properties), workers_api-response-common-failure (4 properties), workers_api-response-common (3 properties), workers_tail_consumers_script (3 properties). Each schema is shown below with its type and property counts.

workers_api-response-common
object
3 properties 3 required
workers_modified_on
string
When the script was last modified.
workers_environment
string
Optional environment if the Worker utilizes one.
workers_tail_consumers
array
List of Workers that will consume logs from the attached Worker.
workers_created_on
string
When the script was created.
workers_tail_consumers_script
object
A reference to a script that will consume logs from the attached Worker.
3 properties 1 required
workers_usage_model
string
Specifies the usage model for the Worker (e.g. 'bundled' or 'unbound').
workers_script-settings-item
object
2 properties
workers_script-settings-response
workers_messages
array
workers_script-response-single
workers_script-response
object
8 properties
workers_api-response-single
object
workers_placement_mode
string
Specifies the placement mode for the Worker (e.g. 'smart').
workers_identifier
string
Identifier
workers_api-response-common-failure
object
4 properties 4 required
workers_service
string
Name of Worker to bind to
workers_logpush
boolean
Whether Logpush is turned on for the Worker.
workers_etag
string
Hashed script content, can be used in a If-None-Match header when updating.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

engineering-platform-worker-environment-api-openapi.yml Raw ↑
Where this information came from

This is an independent, third-party profile of APIs.io Engineering Platform Worker Environment API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.