# Workers

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#MigrationStepParam">MigrationStepParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SingleStepMigrationParam">SingleStepMigrationParam</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#WorkerMetadataParam">WorkerMetadataParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#MigrationStep">MigrationStep</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SingleStepMigration">SingleStepMigration</a>

## Beta

### Workers

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#WorkerParam">WorkerParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Worker">Worker</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerDeleteResponse">BetaWorkerDeleteResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/workers">client.Workers.Beta.Workers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerNewParams">BetaWorkerNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Worker">Worker</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/workers/workers/{worker_id}">client.Workers.Beta.Workers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerUpdateParams">BetaWorkerUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Worker">Worker</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/workers">client.Workers.Beta.Workers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerListParams">BetaWorkerListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Worker">Worker</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/workers/{worker_id}">client.Workers.Beta.Workers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerDeleteParams">BetaWorkerDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerDeleteResponse">BetaWorkerDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/workers/workers/{worker_id}">client.Workers.Beta.Workers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerEditParams">BetaWorkerEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Worker">Worker</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/workers/{worker_id}">client.Workers.Beta.Workers.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerGetParams">BetaWorkerGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Worker">Worker</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

#### Versions

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#VersionParam">VersionParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Version">Version</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionDeleteResponse">BetaWorkerVersionDeleteResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/workers/{worker_id}/versions">client.Workers.Beta.Workers.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionNewParams">BetaWorkerVersionNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Version">Version</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/workers/{worker_id}/versions">client.Workers.Beta.Workers.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionListParams">BetaWorkerVersionListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Version">Version</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}">client.Workers.Beta.Workers.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, versionID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionDeleteParams">BetaWorkerVersionDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionDeleteResponse">BetaWorkerVersionDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}">client.Workers.Beta.Workers.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, workerID <a href="https://pkg.go.dev/builtin#string">string</a>, versionID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#BetaWorkerVersionGetParams">BetaWorkerVersionGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Version">Version</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Routes

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteNewResponse">RouteNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteUpdateResponse">RouteUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteListResponse">RouteListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteDeleteResponse">RouteDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteGetResponse">RouteGetResponse</a>

Methods:

- <code title="post /zones/{zone_id}/workers/routes">client.Workers.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteNewParams">RouteNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteNewResponse">RouteNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /zones/{zone_id}/workers/routes/{route_id}">client.Workers.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, routeID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteUpdateParams">RouteUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteUpdateResponse">RouteUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/workers/routes">client.Workers.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteListParams">RouteListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteListResponse">RouteListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/workers/routes/{route_id}">client.Workers.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, routeID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteDeleteParams">RouteDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteDeleteResponse">RouteDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/workers/routes/{route_id}">client.Workers.Routes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, routeID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteGetParams">RouteGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#RouteGetResponse">RouteGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Assets

### Upload

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AssetUploadNewResponse">AssetUploadNewResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/assets/upload">client.Workers.Assets.Upload.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AssetUploadService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AssetUploadNewParams">AssetUploadNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AssetUploadNewResponse">AssetUploadNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Scripts

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSettingParam">ScriptSettingParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Script">Script</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSetting">ScriptSetting</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptUpdateResponse">ScriptUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptListResponse">ScriptListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeleteResponse">ScriptDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSearchResponse">ScriptSearchResponse</a>

Methods:

- <code title="put /accounts/{account_id}/workers/scripts/{script_name}">client.Workers.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptUpdateParams">ScriptUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptUpdateResponse">ScriptUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts">client.Workers.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptListParams">ScriptListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptListResponse">ScriptListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}">client.Workers.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeleteParams">ScriptDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeleteResponse">ScriptDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}">client.Workers.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptGetParams">ScriptGetParams</a>) (\*<a href="https://pkg.go.dev/builtin#string">string</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts-search">client.Workers.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptService.Search">Search</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSearchParams">ScriptSearchParams</a>) (\*[]<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSearchResponse">ScriptSearchResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Assets

#### Upload

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptAssetUploadNewResponse">ScriptAssetUploadNewResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/assets-upload-session">client.Workers.Scripts.Assets.Upload.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptAssetUploadService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptAssetUploadNewParams">ScriptAssetUploadNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptAssetUploadNewResponse">ScriptAssetUploadNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Subdomain

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainNewResponse">ScriptSubdomainNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainDeleteResponse">ScriptSubdomainDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainGetResponse">ScriptSubdomainGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/subdomain">client.Workers.Scripts.Subdomain.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainNewParams">ScriptSubdomainNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainNewResponse">ScriptSubdomainNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}/subdomain">client.Workers.Scripts.Subdomain.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainDeleteParams">ScriptSubdomainDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainDeleteResponse">ScriptSubdomainDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/subdomain">client.Workers.Scripts.Subdomain.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainGetParams">ScriptSubdomainGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSubdomainGetResponse">ScriptSubdomainGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Schedules

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleUpdateResponse">ScriptScheduleUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleGetResponse">ScriptScheduleGetResponse</a>

Methods:

- <code title="put /accounts/{account_id}/workers/scripts/{script_name}/schedules">client.Workers.Scripts.Schedules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleUpdateParams">ScriptScheduleUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleUpdateResponse">ScriptScheduleUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/schedules">client.Workers.Scripts.Schedules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleGetParams">ScriptScheduleGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScheduleGetResponse">ScriptScheduleGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Tail

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ConsumerScriptParam">ConsumerScriptParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ConsumerScript">ConsumerScript</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailNewResponse">ScriptTailNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailDeleteResponse">ScriptTailDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailGetResponse">ScriptTailGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/tails">client.Workers.Scripts.Tail.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailNewParams">ScriptTailNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailNewResponse">ScriptTailNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}/tails/{id}">client.Workers.Scripts.Tail.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailDeleteParams">ScriptTailDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailDeleteResponse">ScriptTailDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/tails">client.Workers.Scripts.Tail.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailGetParams">ScriptTailGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptTailGetResponse">ScriptTailGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Content

Methods:

- <code title="put /accounts/{account_id}/workers/scripts/{script_name}/content">client.Workers.Scripts.Content.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptContentService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptContentUpdateParams">ScriptContentUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Script">Script</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/content/v2">client.Workers.Scripts.Content.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptContentService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptContentGetParams">ScriptContentGetParams</a>) (\*http.Response, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Settings

Methods:

- <code title="patch /accounts/{account_id}/workers/scripts/{script_name}/script-settings">client.Workers.Scripts.Settings.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSettingService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSettingEditParams">ScriptSettingEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSetting">ScriptSetting</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/script-settings">client.Workers.Scripts.Settings.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSettingService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSettingGetParams">ScriptSettingGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSetting">ScriptSetting</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Deployments

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DeploymentParam">DeploymentParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Deployment">Deployment</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentListResponse">ScriptDeploymentListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentDeleteResponse">ScriptDeploymentDeleteResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.Workers.Scripts.Deployments.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentNewParams">ScriptDeploymentNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Deployment">Deployment</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments">client.Workers.Scripts.Deployments.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentListParams">ScriptDeploymentListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentListResponse">ScriptDeploymentListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.Workers.Scripts.Deployments.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, deploymentID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentDeleteParams">ScriptDeploymentDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentDeleteResponse">ScriptDeploymentDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}">client.Workers.Scripts.Deployments.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, deploymentID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptDeploymentGetParams">ScriptDeploymentGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Deployment">Deployment</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Versions

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionNewResponse">ScriptVersionNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionListResponse">ScriptVersionListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionGetResponse">ScriptVersionGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/scripts/{script_name}/versions">client.Workers.Scripts.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionNewParams">ScriptVersionNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionNewResponse">ScriptVersionNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/versions">client.Workers.Scripts.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionListParams">ScriptVersionListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePagination">V4PagePagination</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionListResponse">ScriptVersionListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/versions/{version_id}">client.Workers.Scripts.Versions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, versionID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionGetParams">ScriptVersionGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptVersionGetResponse">ScriptVersionGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Secrets

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretUpdateResponse">ScriptSecretUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretListResponse">ScriptSecretListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretDeleteResponse">ScriptSecretDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretGetResponse">ScriptSecretGetResponse</a>

Methods:

- <code title="put /accounts/{account_id}/workers/scripts/{script_name}/secrets">client.Workers.Scripts.Secrets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretUpdateParams">ScriptSecretUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretUpdateResponse">ScriptSecretUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/secrets">client.Workers.Scripts.Secrets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretListParams">ScriptSecretListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretListResponse">ScriptSecretListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}/secrets/{secret_name}">client.Workers.Scripts.Secrets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, secretName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretDeleteParams">ScriptSecretDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretDeleteResponse">ScriptSecretDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/secrets/{secret_name}">client.Workers.Scripts.Secrets.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, secretName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretGetParams">ScriptSecretGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptSecretGetResponse">ScriptSecretGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### ScriptAndVersionSettings

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingEditResponse">ScriptScriptAndVersionSettingEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingGetResponse">ScriptScriptAndVersionSettingGetResponse</a>

Methods:

- <code title="patch /accounts/{account_id}/workers/scripts/{script_name}/settings">client.Workers.Scripts.ScriptAndVersionSettings.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingEditParams">ScriptScriptAndVersionSettingEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingEditResponse">ScriptScriptAndVersionSettingEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}/settings">client.Workers.Scripts.ScriptAndVersionSettings.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingGetParams">ScriptScriptAndVersionSettingGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ScriptScriptAndVersionSettingGetResponse">ScriptScriptAndVersionSettingGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## AccountSettings

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingUpdateResponse">AccountSettingUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingGetResponse">AccountSettingGetResponse</a>

Methods:

- <code title="put /accounts/{account_id}/workers/account-settings">client.Workers.AccountSettings.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingUpdateParams">AccountSettingUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingUpdateResponse">AccountSettingUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/account-settings">client.Workers.AccountSettings.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingGetParams">AccountSettingGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#AccountSettingGetResponse">AccountSettingGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Domains

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Domain">Domain</a>

Methods:

- <code title="put /accounts/{account_id}/workers/domains">client.Workers.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainUpdateParams">DomainUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Domain">Domain</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/workers/domains">client.Workers.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainListParams">DomainListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Domain">Domain</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/domains/{domain_id}">client.Workers.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainDeleteParams">DomainDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/workers/domains/{domain_id}">client.Workers.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#DomainGetParams">DomainGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#Domain">Domain</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Subdomains

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainUpdateResponse">SubdomainUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainGetResponse">SubdomainGetResponse</a>

Methods:

- <code title="put /accounts/{account_id}/workers/subdomain">client.Workers.Subdomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainUpdateParams">SubdomainUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainUpdateResponse">SubdomainUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/workers/subdomain">client.Workers.Subdomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainDeleteParams">SubdomainDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /accounts/{account_id}/workers/subdomain">client.Workers.Subdomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainGetParams">SubdomainGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#SubdomainGetResponse">SubdomainGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Observability

### Telemetry

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryKeysResponse">ObservabilityTelemetryKeysResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryQueryResponse">ObservabilityTelemetryQueryResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryValuesResponse">ObservabilityTelemetryValuesResponse</a>

Methods:

- <code title="post /accounts/{account_id}/workers/observability/telemetry/keys">client.Workers.Observability.Telemetry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryService.Keys">Keys</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryKeysParams">ObservabilityTelemetryKeysParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryKeysResponse">ObservabilityTelemetryKeysResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/workers/observability/telemetry/query">client.Workers.Observability.Telemetry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryService.Query">Query</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryQueryParams">ObservabilityTelemetryQueryParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryQueryResponse">ObservabilityTelemetryQueryResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/workers/observability/telemetry/values">client.Workers.Observability.Telemetry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryService.Values">Values</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryValuesParams">ObservabilityTelemetryValuesParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers">workers</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/workers#ObservabilityTelemetryValuesResponse">ObservabilityTelemetryValuesResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
