---
title: Logpush
---

[Skip to content](#_top)

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

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Logpush

#### LogpushDatasets

#### LogpushDatasetsFields

##### [List fields](https://developers.cloudflare.com/api/python/resources/logpush/subresources/datasets/subresources/fields/methods/get)

logpush.datasets.fields.get(Literal\["access\_requests", "account\_abuse\_protection\_events", "audit\_logs", 34 more]dataset\_id, FieldGetParams\*\*kwargs) -> [FieldGetResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.datasets.fields%20%3E%20(model)%20field_get_response%20%3E%20(schema)>)

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/datasets/{dataset\_id}/fields

##### ModelsExpand Collapse

Dict\[str, str]

[Link to this property](<#(resource)%20logpush.datasets.fields%20%3E%20(model)%20field_get_response%20%3E%20(schema)>)

#### LogpushDatasetsJobs

##### [List Logpush jobs for a dataset](https://developers.cloudflare.com/api/python/resources/logpush/subresources/datasets/subresources/jobs/methods/get)

logpush.datasets.jobs.get(Literal\["access\_requests", "account\_abuse\_protection\_events", "audit\_logs", 34 more]dataset\_id, JobGetParams\*\*kwargs) -> SyncSinglePage\[Optional\[LogpushJob]]

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/datasets/{dataset\_id}/jobs

#### LogpushEdge

##### [List Instant Logs jobs](https://developers.cloudflare.com/api/python/resources/logpush/subresources/edge/methods/get)

logpush.edge.get(EdgeGetParams\*\*kwargs) -> SyncSinglePage\[Optional\[InstantLogpushJob]]

GET/zones/{zone\_id}/logpush/edge/jobs

##### [Create Instant Logs job](https://developers.cloudflare.com/api/python/resources/logpush/subresources/edge/methods/create)

logpush.edge.create(EdgeCreateParams\*\*kwargs) -> [InstantLogpushJob](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)>)

POST/zones/{zone\_id}/logpush/edge/jobs

##### ModelsExpand Collapse

<details>

<summary>

class InstantLogpushJob: …

</summary>

destination\_conf: Optional\[str]

Unique WebSocket address that will receive messages from Cloudflare’s edge.

formaturi

maxLength4096

<a href="#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)%20%3E%20(property)%20destination_conf">Link to this property</a>

fields: Optional\[str]

Comma-separated list of fields.

<a href="#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)%20%3E%20(property)%20fields">Link to this property</a>

filter: Optional\[str]

Filters to drill down into specific events.

<a href="#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)%20%3E%20(property)%20filter">Link to this property</a>

sample: Optional\[int]

The sample parameter is the sample rate of the records set by the client: “sample”: 1 is 100% of records “sample”: 10 is 10% and so on.

<a href="#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)%20%3E%20(property)%20sample">Link to this property</a>

session\_id: Optional\[str]

Unique session id of the job.

<a href="#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)%20%3E%20(property)%20session_id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)>)

#### LogpushJobs

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

logpush.jobs.list(JobListParams\*\*kwargs) -> SyncSinglePage\[Optional\[LogpushJob]]

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/jobs

##### [Get Logpush job details](https://developers.cloudflare.com/api/python/resources/logpush/subresources/jobs/methods/get)

logpush.jobs.get(intjob\_id, JobGetParams\*\*kwargs) -> [LogpushJob](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)>)

GET/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/jobs/{job\_id}

##### [Create Logpush job](https://developers.cloudflare.com/api/python/resources/logpush/subresources/jobs/methods/create)

logpush.jobs.create(JobCreateParams\*\*kwargs) -> [LogpushJob](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/jobs

##### [Update Logpush job](https://developers.cloudflare.com/api/python/resources/logpush/subresources/jobs/methods/update)

logpush.jobs.update(intjob\_id, JobUpdateParams\*\*kwargs) -> [LogpushJob](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)>)

PUT/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/jobs/{job\_id}

##### [Delete Logpush job](https://developers.cloudflare.com/api/python/resources/logpush/subresources/jobs/methods/delete)

logpush.jobs.delete(intjob\_id, JobDeleteParams\*\*kwargs) -> [JobDeleteResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.jobs%20%3E%20(model)%20job_delete_response%20%3E%20(schema)>)

DELETE/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/jobs/{job\_id}

##### ModelsExpand Collapse

<details>

<summary>

class LogpushJob: …

</summary>

id: Optional\[int]

Unique id of the job.

minimum1

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

dataset: Optional\[Literal\["access\_requests", "account\_abuse\_protection\_events", "audit\_logs", 34 more]]

Name of the dataset. A list of supported datasets can be found on the <a href="https://developers.cloudflare.com/logs/reference/log-fields/">Developer Docs</a>.

</summary>

One of the following:

"access\_requests"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%200">Link to this property</a>

"account\_abuse\_protection\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%201">Link to this property</a>

"audit\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%202">Link to this property</a>

"audit\_logs\_v2"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%203">Link to this property</a>

"biso\_user\_actions"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%204">Link to this property</a>

"casb\_findings"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%205">Link to this property</a>

"device\_posture\_results"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%206">Link to this property</a>

"dex\_application\_tests"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%207">Link to this property</a>

"dex\_device\_state\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%208">Link to this property</a>

"dlp\_forensic\_copies"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%209">Link to this property</a>

"dns\_firewall\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2010">Link to this property</a>

"dns\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2011">Link to this property</a>

"email\_security\_alerts"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2012">Link to this property</a>

"email\_security\_post\_delivery\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2013">Link to this property</a>

"firewall\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2014">Link to this property</a>

"gateway\_dns"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2015">Link to this property</a>

"gateway\_http"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2016">Link to this property</a>

"gateway\_network"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2017">Link to this property</a>

"http\_requests"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2018">Link to this property</a>

"ipsec\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2019">Link to this property</a>

"magic\_bgp\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2020">Link to this property</a>

"magic\_ids\_detections"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2021">Link to this property</a>

"mcp\_portal\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2022">Link to this property</a>

"mnm\_flow\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2023">Link to this property</a>

"nel\_reports"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2024">Link to this property</a>

"network\_analytics\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2025">Link to this property</a>

"page\_shield\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2026">Link to this property</a>

"sinkhole\_http\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2027">Link to this property</a>

"spectrum\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2028">Link to this property</a>

"ssh\_logs"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2029">Link to this property</a>

"turnstile\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2030">Link to this property</a>

"warp\_config\_changes"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2031">Link to this property</a>

"warp\_toggle\_changes"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2032">Link to this property</a>

"websocket\_analytics"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2033">Link to this property</a>

"workers\_trace\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2034">Link to this property</a>

"zaraz\_events"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2035">Link to this property</a>

"zero\_trust\_network\_sessions"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset%20%3E%20(member)%2036">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20dataset">Link to this property</a>

destination\_conf: Optional\[str]

Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.

formaturi

maxLength4096

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20destination_conf">Link to this property</a>

enabled: Optional\[bool]

Flag that indicates if the job is enabled.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

error\_message: Optional\[str]

If not null, the job is currently failing. Failures are usually. repetitive (example: no permissions to write to destination bucket). Only the last failure is recorded. On successful execution of a job the error\_message and last\_error are set to null.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20error_message">Link to this property</a>

filter\_attack\_traffic: Optional\[bool]

When true, excludes DDoS attack traffic from logs. This option is supported for the <code>http_requests</code>, <code>firewall_events</code>, and <code>network_analytics_logs</code> datasets.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20filter_attack_traffic">Link to this property</a>

<details>

<summary>

Deprecatedfrequency: Optional\[Literal\["high", "low"]]

This field is deprecated. Please use <code>max_upload_*</code> parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.

</summary>

One of the following:

"high"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20frequency%20%3E%20(member)%200">Link to this property</a>

"low"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20frequency%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20frequency">Link to this property</a>

<details>

<summary>

kind: Optional\[Literal\["", "edge"]]

The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset).

</summary>

One of the following:

""

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%200">Link to this property</a>

"edge"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20kind%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20kind">Link to this property</a>

last\_complete: Optional\[datetime]

Records the last time for which logs have been successfully pushed. If the last successful push was for logs range 2018-07-23T10:00:00Z to 2018-07-23T10:01:00Z then the value of this field will be 2018-07-23T10:01:00Z. If the job has never run or has just been enabled and hasn’t run yet then the field will be empty.

formatdate-time

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20last_complete">Link to this property</a>

last\_error: Optional\[datetime]

Records the last time the job failed. If not null, the job is currently. failing. If null, the job has either never failed or has run successfully at least once since last failure. See also the error\_message field.

formatdate-time

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20last_error">Link to this property</a>

Deprecatedlogpull\_options: Optional\[str]

This field is deprecated. Use <code>output_options</code> instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.

formaturi-reference

maxLength4096

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20logpull_options">Link to this property</a>

<details>

<summary>

max\_upload\_bytes: Optional\[Union\[Literal\[0], int, null]]

The maximum uncompressed file size of a batch of logs. This setting value must be between <code>5 MB</code> and <code>1 GB</code>, or <code>0</code> to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size.

</summary>

One of the following:

Literal\[0]

The maximum uncompressed file size of a batch of logs. This setting value must be between <code>5 MB</code> and <code>1 GB</code>, or <code>0</code> to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_bytes%20%3E%20(variant)%200">Link to this property</a>

int

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_bytes%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_bytes">Link to this property</a>

<details>

<summary>

max\_upload\_interval\_seconds: Optional\[Union\[Literal\[0], int, null]]

The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or <code>0</code> to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this.

</summary>

One of the following:

Literal\[0]

The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or <code>0</code> to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_interval_seconds%20%3E%20(variant)%200">Link to this property</a>

int

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_interval_seconds%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_interval_seconds">Link to this property</a>

<details>

<summary>

max\_upload\_records: Optional\[Union\[Literal\[0], int, null]]

The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or <code>0</code> to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this.

</summary>

One of the following:

Literal\[0]

The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or <code>0</code> to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_records%20%3E%20(variant)%200">Link to this property</a>

int

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_records%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20max_upload_records">Link to this property</a>

name: Optional\[str]

Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.

maxLength512

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

output\_options: Optional\[OutputOptions]

The structured replacement for <code>logpull_options</code>. When including this field, the <code>logpull_option</code> field will be ignored.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)%20%3E%20(property)%20output_options">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.jobs%20%3E%20(model)%20logpush_job%20%3E%20(schema)>)

<details>

<summary>

class OutputOptions: …

The structured replacement for <code>logpull_options</code>. When including this field, the <code>logpull_option</code> field will be ignored.

</summary>

batch\_prefix: Optional\[str]

String to be prepended before each batch.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20batch_prefix">Link to this property</a>

batch\_suffix: Optional\[str]

String to be appended after each batch.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20batch_suffix">Link to this property</a>

cve\_2021\_44228: Optional\[bool]

If set to true, will cause all occurrences of <code>${</code> in the generated files to be replaced with <code>x{</code>.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20CVE-2021-44228">Link to this property</a>

field\_delimiter: Optional\[str]

String to join fields. This field be ignored when <code>record_template</code> is set.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20field_delimiter">Link to this property</a>

field\_names: Optional\[List\[str]]

List of field names to be included in the Logpush output. For the moment, there is no option to add all fields at once, so you must specify all the fields names you are interested in.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20field_names">Link to this property</a>

merge\_subrequests: Optional\[bool]

If set to true, subrequests will be merged into the parent request. Only supported for the <code>http_requests</code> dataset. Not supported for account-scoped jobs.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20merge_subrequests">Link to this property</a>

<details>

<summary>

output\_type: Optional\[Literal\["ndjson", "csv"]]

Specifies the output type, such as <code>ndjson</code> or <code>csv</code>. This sets default values for the rest of the settings, depending on the chosen output type. Some formatting rules, like string quoting, are different between output types.

</summary>

One of the following:

"ndjson"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20output_type%20%3E%20(member)%200">Link to this property</a>

"csv"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20output_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20output_type">Link to this property</a>

record\_delimiter: Optional\[str]

String to be inserted in-between the records as separator.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20record_delimiter">Link to this property</a>

record\_prefix: Optional\[str]

String to be prepended before each record.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20record_prefix">Link to this property</a>

record\_suffix: Optional\[str]

String to be appended after each record.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20record_suffix">Link to this property</a>

record\_template: Optional\[str]

String to use as template for each record instead of the default json key value mapping. All fields used in the template must be present in <code>field_names</code> as well, otherwise they will end up as null. Format as a Go <code>text/template</code> without any standard functions, like conditionals, loops, sub-templates, etc.

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20record_template">Link to this property</a>

sample\_rate: Optional\[float]

Specifies the sampling rate as a floating number greater than 0 and at most 1. Sampling is applied on top of filtering, and regardless of the current <code>sample_interval</code> of the data.

formatfloat

exclusiveMinimum

maximum1

minimum0

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20sample_rate">Link to this property</a>

<details>

<summary>

timestamp\_format: Optional\[Literal\["unixnano", "unix", "rfc3339", 2 more]]

String to specify the format for timestamps, such as <code>unixnano</code>, <code>unix</code>, <code>rfc3339</code>, <code>rfc3339ms</code> or <code>rfc3339ns</code>.

</summary>

One of the following:

"unixnano"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20timestamp_format%20%3E%20(member)%200">Link to this property</a>

"unix"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20timestamp_format%20%3E%20(member)%201">Link to this property</a>

"rfc3339"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20timestamp_format%20%3E%20(member)%202">Link to this property</a>

"rfc3339ms"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20timestamp_format%20%3E%20(member)%203">Link to this property</a>

"rfc3339ns"

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20timestamp_format%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)%20%3E%20(property)%20timestamp_format">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.jobs%20%3E%20(model)%20output_options%20%3E%20(schema)>)

<details>

<summary>

class JobDeleteResponse: …

</summary>

id: Optional\[int]

Unique id of the job.

minimum1

<a href="#(resource)%20logpush.jobs%20%3E%20(model)%20job_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.jobs%20%3E%20(model)%20job_delete_response%20%3E%20(schema)>)

#### LogpushOwnership

##### [Get ownership challenge](https://developers.cloudflare.com/api/python/resources/logpush/subresources/ownership/methods/create)

logpush.ownership.create(OwnershipCreateParams\*\*kwargs) -> [OwnershipCreateResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/ownership

##### [Validate ownership challenge](https://developers.cloudflare.com/api/python/resources/logpush/subresources/ownership/methods/validate)

logpush.ownership.validate(OwnershipValidateParams\*\*kwargs) -> [OwnershipValidation](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_validation%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/ownership/validate

##### ModelsExpand Collapse

<details>

<summary>

class OwnershipValidation: …

</summary>

valid: Optional\[bool]

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_validation%20%3E%20(schema)%20%3E%20(property)%20valid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_validation%20%3E%20(schema)>)

<details>

<summary>

class OwnershipCreateResponse: …

</summary>

filename: Optional\[str]

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)%20%3E%20(property)%20filename">Link to this property</a>

message: Optional\[str]

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

valid: Optional\[bool]

<a href="#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)%20%3E%20(property)%20valid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.ownership%20%3E%20(model)%20ownership_create_response%20%3E%20(schema)>)

#### LogpushTransformers

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

logpush.transformers.list(TransformerListParams\*\*kwargs) -> SyncSinglePage\[[TransformerListResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)>)]

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

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

logpush.transformers.get(inttransformer\_id, TransformerGetParams\*\*kwargs) -> [TransformerGetResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)>)

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

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

logpush.transformers.create(TransformerCreateParams\*\*kwargs) -> [TransformerCreateResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)>)

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

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

logpush.transformers.update(inttransformer\_id, TransformerUpdateParams\*\*kwargs) -> [TransformerUpdateResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)>)

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

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

logpush.transformers.delete(inttransformer\_id, TransformerDeleteParams\*\*kwargs) -> [TransformerDeleteResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_delete_response%20%3E%20(schema)>)

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

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

logpush.transformers.preview(TransformerPreviewParams\*\*kwargs) -> SyncSinglePage\[[TransformerPreviewResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_preview_response%20%3E%20(schema)>)]

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

##### ModelsExpand Collapse

<details>

<summary>

class TransformerListResponse: …

</summary>

id: Optional\[int]

The transformer ID.

minimum1

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

associated\_jobs: Optional\[List\[AssociatedJob]]

Logpush jobs that reference this transformer.

</summary>

id: Optional\[int]

The logpush job ID.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

name: Optional\[str]

The logpush job destination name.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

object\_tag: Optional\[str]

The zone or account tag.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_tag">Link to this property</a>

<details>

<summary>

object\_type: Optional\[Literal\["zone", "account"]]

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

</summary>

One of the following:

"zone"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%200">Link to this property</a>

"account"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs">Link to this property</a>

created\_at: Optional\[datetime]

When the transformer was created (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

dataset: Optional\[str]

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.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20dataset">Link to this property</a>

description: Optional\[str]

Optional customer-provided description.

maxLength4096

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

name: Optional\[str]

Customer-provided name for identification.

maxLength255

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

updated\_at: Optional\[datetime]

When the transformer was last modified (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_list_response%20%3E%20(schema)>)

<details>

<summary>

class TransformerGetResponse: …

</summary>

id: Optional\[int]

The transformer ID.

minimum1

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

associated\_jobs: Optional\[List\[AssociatedJob]]

Logpush jobs that reference this transformer.

</summary>

id: Optional\[int]

The logpush job ID.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

name: Optional\[str]

The logpush job destination name.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

object\_tag: Optional\[str]

The zone or account tag.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_tag">Link to this property</a>

<details>

<summary>

object\_type: Optional\[Literal\["zone", "account"]]

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

</summary>

One of the following:

"zone"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%200">Link to this property</a>

"account"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs">Link to this property</a>

created\_at: Optional\[datetime]

When the transformer was created (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

dataset: Optional\[str]

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.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20dataset">Link to this property</a>

description: Optional\[str]

Optional customer-provided description.

maxLength4096

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

name: Optional\[str]

Customer-provided name for identification.

maxLength255

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

updated\_at: Optional\[datetime]

When the transformer was last modified (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_get_response%20%3E%20(schema)>)

<details>

<summary>

class TransformerCreateResponse: …

</summary>

id: Optional\[int]

The transformer ID.

minimum1

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

associated\_jobs: Optional\[List\[AssociatedJob]]

Logpush jobs that reference this transformer.

</summary>

id: Optional\[int]

The logpush job ID.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

name: Optional\[str]

The logpush job destination name.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

object\_tag: Optional\[str]

The zone or account tag.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_tag">Link to this property</a>

<details>

<summary>

object\_type: Optional\[Literal\["zone", "account"]]

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

</summary>

One of the following:

"zone"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%200">Link to this property</a>

"account"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs">Link to this property</a>

created\_at: Optional\[datetime]

When the transformer was created (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

dataset: Optional\[str]

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.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20dataset">Link to this property</a>

description: Optional\[str]

Optional customer-provided description.

maxLength4096

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

name: Optional\[str]

Customer-provided name for identification.

maxLength255

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

updated\_at: Optional\[datetime]

When the transformer was last modified (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_create_response%20%3E%20(schema)>)

<details>

<summary>

class TransformerUpdateResponse: …

</summary>

id: Optional\[int]

The transformer ID.

minimum1

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

associated\_jobs: Optional\[List\[AssociatedJob]]

Logpush jobs that reference this transformer.

</summary>

id: Optional\[int]

The logpush job ID.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

name: Optional\[str]

The logpush job destination name.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

object\_tag: Optional\[str]

The zone or account tag.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_tag">Link to this property</a>

<details>

<summary>

object\_type: Optional\[Literal\["zone", "account"]]

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

</summary>

One of the following:

"zone"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%200">Link to this property</a>

"account"

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs%20%3E%20(items)%20%3E%20(property)%20object_type">Link to this property</a>

</details>

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20associated_jobs">Link to this property</a>

created\_at: Optional\[datetime]

When the transformer was created (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

dataset: Optional\[str]

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.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20dataset">Link to this property</a>

description: Optional\[str]

Optional customer-provided description.

maxLength4096

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20description">Link to this property</a>

name: Optional\[str]

Customer-provided name for identification.

maxLength255

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20name">Link to this property</a>

updated\_at: Optional\[datetime]

When the transformer was last modified (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_update_response%20%3E%20(schema)>)

<details>

<summary>

class TransformerDeleteResponse: …

</summary>

id: Optional\[int]

The deleted transformer’s ID.

<a href="#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_delete_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_delete_response%20%3E%20(schema)>)

Dict\[str, object]

[Link to this property](<#(resource)%20logpush.transformers%20%3E%20(model)%20transformer_preview_response%20%3E%20(schema)>)

#### LogpushTransformersContent

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

logpush.transformers.content.get(inttransformer\_id, ContentGetParams\*\*kwargs) -> [ContentGetResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers.content%20%3E%20(model)%20content_get_response%20%3E%20(schema)>)

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

##### ModelsExpand Collapse

<details>

<summary>

class ContentGetResponse: …

</summary>

content: Optional\[str]

The SQL query content.

<a href="#(resource)%20logpush.transformers.content%20%3E%20(model)%20content_get_response%20%3E%20(schema)%20%3E%20(property)%20content">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers.content%20%3E%20(model)%20content_get_response%20%3E%20(schema)>)

#### LogpushTransformersVersions

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

logpush.transformers.versions.list(inttransformer\_id, VersionListParams\*\*kwargs) -> SyncSinglePage\[[VersionListResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.transformers.versions%20%3E%20(model)%20version_list_response%20%3E%20(schema)>)]

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

##### ModelsExpand Collapse

<details>

<summary>

class VersionListResponse: …

</summary>

id: Optional\[int]

Unique identifier for this version.

formatint64

minimum1

<a href="#(resource)%20logpush.transformers.versions%20%3E%20(model)%20version_list_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

created\_at: Optional\[datetime]

When this version was created (RFC 3339).

formatdate-time

<a href="#(resource)%20logpush.transformers.versions%20%3E%20(model)%20version_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

version: Optional\[int]

Sequential version number.

minimum1

<a href="#(resource)%20logpush.transformers.versions%20%3E%20(model)%20version_list_response%20%3E%20(schema)%20%3E%20(property)%20version">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.transformers.versions%20%3E%20(model)%20version_list_response%20%3E%20(schema)>)

#### LogpushValidate

##### [Validate destination](https://developers.cloudflare.com/api/python/resources/logpush/subresources/validate/methods/destination)

logpush.validate.destination(ValidateDestinationParams\*\*kwargs) -> [ValidateDestinationResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_response%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/validate/destination

##### [Check destination exists](https://developers.cloudflare.com/api/python/resources/logpush/subresources/validate/methods/destination_exists)

logpush.validate.destination\_exists(ValidateDestinationExistsParams\*\*kwargs) -> [ValidateDestinationExistsResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_exists_response%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/validate/destination/exists

##### [Validate origin](https://developers.cloudflare.com/api/python/resources/logpush/subresources/validate/methods/origin)

logpush.validate.origin(ValidateOriginParams\*\*kwargs) -> [ValidateOriginResponse](<https://developers.cloudflare.com/api/python/resources/logpush#(resource)%20logpush.validate%20%3E%20(model)%20validate_origin_response%20%3E%20(schema)>)

POST/{accounts\_or\_zones}/{account\_or\_zone\_id}/logpush/validate/origin

##### ModelsExpand Collapse

<details>

<summary>

class ValidateDestinationResponse: …

</summary>

message: Optional\[str]

<a href="#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

valid: Optional\[bool]

<a href="#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_response%20%3E%20(schema)%20%3E%20(property)%20valid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_response%20%3E%20(schema)>)

<details>

<summary>

class ValidateDestinationExistsResponse: …

</summary>

exists: Optional\[bool]

<a href="#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_exists_response%20%3E%20(schema)%20%3E%20(property)%20exists">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.validate%20%3E%20(model)%20validate_destination_exists_response%20%3E%20(schema)>)

<details>

<summary>

class ValidateOriginResponse: …

</summary>

message: Optional\[str]

<a href="#(resource)%20logpush.validate%20%3E%20(model)%20validate_origin_response%20%3E%20(schema)%20%3E%20(property)%20message">Link to this property</a>

valid: Optional\[bool]

<a href="#(resource)%20logpush.validate%20%3E%20(model)%20validate_origin_response%20%3E%20(schema)%20%3E%20(property)%20valid">Link to this property</a>

</details>

[Link to this property](<#(resource)%20logpush.validate%20%3E%20(model)%20validate_origin_response%20%3E%20(schema)>)