---
title: Edge
---

[Skip to content](#_top)

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

[Logpush](https://developers.cloudflare.com/api/typescript/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/typescript/resources/logpush/subresources/edge/methods/get)

client.logpush.edge.get(EdgeGetParams {zone\_id } params, RequestOptionsoptions?): SinglePage< [InstantLogpushJob](<https://developers.cloudflare.com/api/typescript/resources/logpush#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)>) {destination\_conf, fields, filter, 2 more } | null>

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

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

client.logpush.edge.create(EdgeCreateParams {zone\_id, fields, filter, sample } params, RequestOptionsoptions?): [InstantLogpushJob](<https://developers.cloudflare.com/api/typescript/resources/logpush#(resource)%20logpush.edge%20%3E%20(model)%20instant_logpush_job%20%3E%20(schema)>) {destination\_conf, fields, filter, 2 more } | null

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

##### ModelsExpand Collapse

<details>

<summary>

InstantLogpushJob {destination\_conf, fields, filter, 2 more }

</summary>

destination\_conf?: string

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?: string

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?: string

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?: number

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?: string

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