---
title: Edge
---

[Skip to content](#_top)

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

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

Copy Markdown

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

---

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

# Edge

##### [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)>)