---
title: Transformers
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api)

[Logpush](https://developers.cloudflare.com/api/resources/logpush)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Transformers

##### [List transformers](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/methods/list)

GET/accounts/{account\_id}/logpush/transformers

##### [Get transformer](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/methods/get)

GET/accounts/{account\_id}/logpush/transformers/{transformer\_id}

##### [Create transformer](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/methods/create)

POST/accounts/{account\_id}/logpush/transformers

##### [Update transformer](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/methods/update)

PUT/accounts/{account\_id}/logpush/transformers/{transformer\_id}

##### [Delete transformer](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/methods/delete)

DELETE/accounts/{account\_id}/logpush/transformers/{transformer\_id}

##### [Preview transformer](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/methods/preview)

POST/accounts/{account\_id}/logpush/transformers/preview

##### ModelsExpand Collapse 

TransformerListResponse object { id, associated\_jobs, created\_at, 4 more } 

id: optional number

The transformer ID.

minimum1

associated\_jobs: optional array of object { id, name, object\_tag, object\_type } 

Logpush jobs that reference this transformer.

id: optional number

The logpush job ID.

name: optional string

The logpush job destination name.

object\_tag: optional string

The zone or account tag.

object\_type: optional "zone" or "account"

Whether the job is zone-scoped or account-scoped.

One of the following:

"zone"

"account"

created\_at: optional string

When the transformer was created (RFC 3339).

formatdate-time

dataset: optional string

The dataset this transformer operates on, derived from the SQL query’s FROM clause. Informational only. May be absent if the dataset cannot be determined from the query.

description: optional string

Optional customer-provided description.

maxLength4096

name: optional string

Customer-provided name for identification.

maxLength255

updated\_at: optional string

When the transformer was last modified (RFC 3339).

formatdate-time

TransformerGetResponse object { id, associated\_jobs, created\_at, 4 more } 

id: optional number

The transformer ID.

minimum1

associated\_jobs: optional array of object { id, name, object\_tag, object\_type } 

Logpush jobs that reference this transformer.

id: optional number

The logpush job ID.

name: optional string

The logpush job destination name.

object\_tag: optional string

The zone or account tag.

object\_type: optional "zone" or "account"

Whether the job is zone-scoped or account-scoped.

One of the following:

"zone"

"account"

created\_at: optional string

When the transformer was created (RFC 3339).

formatdate-time

dataset: optional string

The dataset this transformer operates on, derived from the SQL query’s FROM clause. Informational only. May be absent if the dataset cannot be determined from the query.

description: optional string

Optional customer-provided description.

maxLength4096

name: optional string

Customer-provided name for identification.

maxLength255

updated\_at: optional string

When the transformer was last modified (RFC 3339).

formatdate-time

TransformerCreateResponse object { id, associated\_jobs, created\_at, 4 more } 

id: optional number

The transformer ID.

minimum1

associated\_jobs: optional array of object { id, name, object\_tag, object\_type } 

Logpush jobs that reference this transformer.

id: optional number

The logpush job ID.

name: optional string

The logpush job destination name.

object\_tag: optional string

The zone or account tag.

object\_type: optional "zone" or "account"

Whether the job is zone-scoped or account-scoped.

One of the following:

"zone"

"account"

created\_at: optional string

When the transformer was created (RFC 3339).

formatdate-time

dataset: optional string

The dataset this transformer operates on, derived from the SQL query’s FROM clause. Informational only. May be absent if the dataset cannot be determined from the query.

description: optional string

Optional customer-provided description.

maxLength4096

name: optional string

Customer-provided name for identification.

maxLength255

updated\_at: optional string

When the transformer was last modified (RFC 3339).

formatdate-time

TransformerUpdateResponse object { id, associated\_jobs, created\_at, 4 more } 

id: optional number

The transformer ID.

minimum1

associated\_jobs: optional array of object { id, name, object\_tag, object\_type } 

Logpush jobs that reference this transformer.

id: optional number

The logpush job ID.

name: optional string

The logpush job destination name.

object\_tag: optional string

The zone or account tag.

object\_type: optional "zone" or "account"

Whether the job is zone-scoped or account-scoped.

One of the following:

"zone"

"account"

created\_at: optional string

When the transformer was created (RFC 3339).

formatdate-time

dataset: optional string

The dataset this transformer operates on, derived from the SQL query’s FROM clause. Informational only. May be absent if the dataset cannot be determined from the query.

description: optional string

Optional customer-provided description.

maxLength4096

name: optional string

Customer-provided name for identification.

maxLength255

updated\_at: optional string

When the transformer was last modified (RFC 3339).

formatdate-time

TransformerDeleteResponse object { id } 

id: optional number

The deleted transformer’s ID.

TransformerPreviewResponse \= map\[unknown\]

#### TransformersContent

##### [Get transformer content](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/subresources/content/methods/get)

GET/accounts/{account\_id}/logpush/transformers/{transformer\_id}/content

##### ModelsExpand Collapse 

ContentGetResponse object { content } 

content: optional string

The SQL query content.

#### TransformersVersions

##### [List transformer versions](https://developers.cloudflare.com/api/resources/logpush/subresources/transformers/subresources/versions/methods/list)

GET/accounts/{account\_id}/logpush/transformers/{transformer\_id}/versions

##### ModelsExpand Collapse 

VersionListResponse object { id, created\_at, version } 

id: optional number

Unique identifier for this version.

formatint64

minimum1

created\_at: optional string

When this version was created (RFC 3339).

formatdate-time

version: optional number

Sequential version number.

minimum1