---
title: Get json.
---

[Skip to content](#_top)

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

[Browser Rendering](https://developers.cloudflare.com/api/resources/browser_rendering)

[Json](https://developers.cloudflare.com/api/resources/browser_rendering/subresources/json)

Copy Markdown

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

---

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

# Get json.

POST/accounts/{account\_id}/browser-rendering/json

Gets json from a webpage from a provided URL or HTML. Pass `prompt` or `schema` in the body. Control page loading with `gotoOptions` and `waitFor*` options.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`Browser Rendering Write`

##### P ath ParametersExpand Collapse

account\_id: string

Account ID.

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20account_id%20%3E%20(schema)>)

##### Q uery ParametersExpand Collapse

browser: optional "kitesurf"

Rendering backend. Set to `kitesurf` to use Kitesurf (beta).

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20browser%20%3E%20(schema)>)

cacheTTL: optional number

Cache TTL default is 5s. Set to 0 to disable.

maximum86400

minimum0

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20cacheTTL%20%3E%20(schema)>)

##### Body ParametersJSONExpand Collapse

<details>

<summary>

body: object {url, actionTimeout, addScriptTag, 20 more } or object {html, actionTimeout, addScriptTag, 20 more }

</summary>

One of the following:

<details>

<summary>

object {url, actionTimeout, addScriptTag, 20 more }

</summary>

url: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20url">Link to this property</a>

actionTimeout: optional number

The maximum duration allowed for the browser action to complete after the page has loaded (such as taking screenshots, extracting content, or generating PDFs). If this time limit is exceeded, the action stops and returns a timeout error.

maximum120000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20actionTimeout">Link to this property</a>

<details>

<summary>

addScriptTag: optional array of object {id, content, type, url }

Adds a script element into the page with the desired URL or content.

</summary>

id: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

content: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20content">Link to this property</a>

type: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

url: optional string

formaturi

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addScriptTag">Link to this property</a>

<details>

<summary>

addStyleTag: optional array of object {content, url }

Adds a <code>&lt;link rel="stylesheet"&gt;</code> tag into the page with the desired URL or a <code>&lt;style type="text/css"&gt;</code> tag with the content.

</summary>

content: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addStyleTag%20%3E%20(items)%20%3E%20(property)%20content">Link to this property</a>

url: optional string

formaturi

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addStyleTag%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20addStyleTag">Link to this property</a>

allowRequestPattern: optional array of string

Only allow requests that match the provided regex patterns, eg. ’/^.\*.(css)’. Reject rules are applied first.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowRequestPattern">Link to this property</a>

<details>

<summary>

allowResourceTypes: optional array of "document"or "stylesheet"or "image"or 15 more

Only allow requests that match the provided resource types, eg. ‘image’ or ‘script’. Reject rules are applied first.

</summary>

One of the following:

"document"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"stylesheet"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"image"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"media"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"font"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"script"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

"texttrack"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%206">Link to this property</a>

"xhr"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%207">Link to this property</a>

"fetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%208">Link to this property</a>

"prefetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%209">Link to this property</a>

"eventsource"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2010">Link to this property</a>

"websocket"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2011">Link to this property</a>

"manifest"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2012">Link to this property</a>

"signedexchange"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2013">Link to this property</a>

"ping"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2014">Link to this property</a>

"cspviolationreport"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2015">Link to this property</a>

"preflight"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2016">Link to this property</a>

"other"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2017">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20allowResourceTypes">Link to this property</a>

<details>

<summary>

authenticate: optional object {password, username }

Provide credentials for HTTP authentication.

</summary>

password: string

minLength1

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20authenticate%20%3E%20(property)%20password">Link to this property</a>

username: string

minLength1

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20authenticate%20%3E%20(property)%20username">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20authenticate">Link to this property</a>

bestAttempt: optional boolean

Attempt to proceed when ‘awaited’ events fail or timeout.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20bestAttempt">Link to this property</a>

<details>

<summary>

cookies: optional array of object {name, value, domain, 11 more }

Check <a href="https://pptr.dev/api/puppeteer.page.setcookie">options</a>.

</summary>

name: string

Cookie name.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

value: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

domain: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20domain">Link to this property</a>

expires: optional number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20expires">Link to this property</a>

httpOnly: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20httpOnly">Link to this property</a>

partitionKey: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20partitionKey">Link to this property</a>

path: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20path">Link to this property</a>

<details>

<summary>

priority: optional "Low"or "Medium"or "High"

</summary>

One of the following:

"Low"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority%20%3E%20(member)%200">Link to this property</a>

"Medium"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority%20%3E%20(member)%201">Link to this property</a>

"High"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority">Link to this property</a>

sameParty: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameParty">Link to this property</a>

<details>

<summary>

sameSite: optional "Strict"or "Lax"or "None"

</summary>

One of the following:

"Strict"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite%20%3E%20(member)%200">Link to this property</a>

"Lax"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite%20%3E%20(member)%201">Link to this property</a>

"None"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite">Link to this property</a>

secure: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20secure">Link to this property</a>

sourcePort: optional number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourcePort">Link to this property</a>

<details>

<summary>

sourceScheme: optional "Unset"or "NonSecure"or "Secure"

</summary>

One of the following:

"Unset"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme%20%3E%20(member)%200">Link to this property</a>

"NonSecure"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme%20%3E%20(member)%201">Link to this property</a>

"Secure"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme">Link to this property</a>

url: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20cookies">Link to this property</a>

<details>

<summary>

custom\_ai: optional array of object {model, authorization }

Optional list of custom AI models to use for the request. The models will be tried in the order provided, and in case a model returns an error, the next one will be used as fallback.

</summary>

model: string

AI model to use for the request. Must be formed as <code>&lt;provider&gt;/&lt;model_name&gt;</code>, e.g. <code>workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast</code>.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20custom_ai%20%3E%20(items)%20%3E%20(property)%20model">Link to this property</a>

authorization: optional string

Authorization token for the AI model: <code>Bearer &lt;token&gt;</code>. Not needed for workers-ai models.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20custom_ai%20%3E%20(items)%20%3E%20(property)%20authorization">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20custom_ai">Link to this property</a>

emulateMediaType: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20emulateMediaType">Link to this property</a>

<details>

<summary>

gotoOptions: optional object {referer, referrerPolicy, timeout, waitUntil }

Check <a href="https://pptr.dev/api/puppeteer.gotooptions">options</a>.

</summary>

referer: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20referer">Link to this property</a>

referrerPolicy: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20referrerPolicy">Link to this property</a>

timeout: optional number

maximum60000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20timeout">Link to this property</a>

<details>

<summary>

waitUntil: optional "load"or "domcontentloaded"or "networkidle0"or "networkidle2"or array of "load"or "domcontentloaded"or "networkidle0"or "networkidle2"

</summary>

One of the following:

<details>

<summary>

"load"or "domcontentloaded"or "networkidle0"or "networkidle2"

</summary>

One of the following:

"load"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%200">Link to this property</a>

"domcontentloaded"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%201">Link to this property</a>

"networkidle0"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%202">Link to this property</a>

"networkidle2"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

array of "load"or "domcontentloaded"or "networkidle0"or "networkidle2"

</summary>

One of the following:

"load"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"domcontentloaded"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"networkidle0"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"networkidle2"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20gotoOptions">Link to this property</a>

html: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20html">Link to this property</a>

prompt: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20prompt">Link to this property</a>

rejectRequestPattern: optional array of string

Block undesired requests that match the provided regex patterns, eg. ’/^.\*.(css)’.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectRequestPattern">Link to this property</a>

<details>

<summary>

rejectResourceTypes: optional array of "document"or "stylesheet"or "image"or 15 more

Block undesired requests that match the provided resource types, eg. ‘image’ or ‘script’.

</summary>

One of the following:

"document"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"stylesheet"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"image"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"media"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"font"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"script"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

"texttrack"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%206">Link to this property</a>

"xhr"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%207">Link to this property</a>

"fetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%208">Link to this property</a>

"prefetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%209">Link to this property</a>

"eventsource"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2010">Link to this property</a>

"websocket"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2011">Link to this property</a>

"manifest"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2012">Link to this property</a>

"signedexchange"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2013">Link to this property</a>

"ping"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2014">Link to this property</a>

"cspviolationreport"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2015">Link to this property</a>

"preflight"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2016">Link to this property</a>

"other"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2017">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20rejectResourceTypes">Link to this property</a>

<details>

<summary>

response\_format: optional object {type, json\_schema }

</summary>

type: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20response_format%20%3E%20(property)%20type">Link to this property</a>

json\_schema: optional map\[unknown]

Schema for the response format. More information here: <a href="https://developers.cloudflare.com/workers-ai/json-mode/">https://developers.cloudflare.com/workers-ai/json-mode/</a>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20response_format%20%3E%20(property)%20json_schema">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20response_format">Link to this property</a>

setExtraHTTPHeaders: optional map\[string]

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20setExtraHTTPHeaders">Link to this property</a>

setJavaScriptEnabled: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20setJavaScriptEnabled">Link to this property</a>

userAgent: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20userAgent">Link to this property</a>

<details>

<summary>

viewport: optional object {height, width, deviceScaleFactor, 3 more }

Check <a href="https://pptr.dev/api/puppeteer.page.setviewport">options</a>.

</summary>

height: number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport%20%3E%20(property)%20height">Link to this property</a>

width: number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport%20%3E%20(property)%20width">Link to this property</a>

deviceScaleFactor: optional number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport%20%3E%20(property)%20deviceScaleFactor">Link to this property</a>

hasTouch: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport%20%3E%20(property)%20hasTouch">Link to this property</a>

isLandscape: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport%20%3E%20(property)%20isLandscape">Link to this property</a>

isMobile: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport%20%3E%20(property)%20isMobile">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20viewport">Link to this property</a>

<details>

<summary>

waitForSelector: optional object {selector, hidden, timeout, visible }

Wait for the selector to appear in page. Check <a href="https://pptr.dev/api/puppeteer.page.waitforselector">options</a>.

</summary>

selector: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20selector">Link to this property</a>

hidden: optional true

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20hidden">Link to this property</a>

timeout: optional number

maximum120000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20timeout">Link to this property</a>

visible: optional true

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20visible">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20waitForSelector">Link to this property</a>

waitForTimeout: optional number

Waits for a specified timeout before continuing.

maximum120000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20waitForTimeout">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

object {html, actionTimeout, addScriptTag, 20 more }

</summary>

html: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20html">Link to this property</a>

actionTimeout: optional number

The maximum duration allowed for the browser action to complete after the page has loaded (such as taking screenshots, extracting content, or generating PDFs). If this time limit is exceeded, the action stops and returns a timeout error.

maximum120000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20actionTimeout">Link to this property</a>

<details>

<summary>

addScriptTag: optional array of object {id, content, type, url }

Adds a script element into the page with the desired URL or content.

</summary>

id: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

content: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20content">Link to this property</a>

type: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

url: optional string

formaturi

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addScriptTag%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addScriptTag">Link to this property</a>

<details>

<summary>

addStyleTag: optional array of object {content, url }

Adds a <code>&lt;link rel="stylesheet"&gt;</code> tag into the page with the desired URL or a <code>&lt;style type="text/css"&gt;</code> tag with the content.

</summary>

content: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addStyleTag%20%3E%20(items)%20%3E%20(property)%20content">Link to this property</a>

url: optional string

formaturi

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addStyleTag%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20addStyleTag">Link to this property</a>

allowRequestPattern: optional array of string

Only allow requests that match the provided regex patterns, eg. ’/^.\*.(css)’. Reject rules are applied first.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowRequestPattern">Link to this property</a>

<details>

<summary>

allowResourceTypes: optional array of "document"or "stylesheet"or "image"or 15 more

Only allow requests that match the provided resource types, eg. ‘image’ or ‘script’. Reject rules are applied first.

</summary>

One of the following:

"document"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"stylesheet"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"image"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"media"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"font"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"script"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

"texttrack"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%206">Link to this property</a>

"xhr"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%207">Link to this property</a>

"fetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%208">Link to this property</a>

"prefetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%209">Link to this property</a>

"eventsource"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2010">Link to this property</a>

"websocket"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2011">Link to this property</a>

"manifest"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2012">Link to this property</a>

"signedexchange"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2013">Link to this property</a>

"ping"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2014">Link to this property</a>

"cspviolationreport"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2015">Link to this property</a>

"preflight"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2016">Link to this property</a>

"other"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes%20%3E%20(items)%20%3E%20(member)%2017">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20allowResourceTypes">Link to this property</a>

<details>

<summary>

authenticate: optional object {password, username }

Provide credentials for HTTP authentication.

</summary>

password: string

minLength1

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20authenticate%20%3E%20(property)%20password">Link to this property</a>

username: string

minLength1

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20authenticate%20%3E%20(property)%20username">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20authenticate">Link to this property</a>

bestAttempt: optional boolean

Attempt to proceed when ‘awaited’ events fail or timeout.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20bestAttempt">Link to this property</a>

<details>

<summary>

cookies: optional array of object {name, value, domain, 11 more }

Check <a href="https://pptr.dev/api/puppeteer.page.setcookie">options</a>.

</summary>

name: string

Cookie name.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

value: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20value">Link to this property</a>

domain: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20domain">Link to this property</a>

expires: optional number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20expires">Link to this property</a>

httpOnly: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20httpOnly">Link to this property</a>

partitionKey: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20partitionKey">Link to this property</a>

path: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20path">Link to this property</a>

<details>

<summary>

priority: optional "Low"or "Medium"or "High"

</summary>

One of the following:

"Low"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority%20%3E%20(member)%200">Link to this property</a>

"Medium"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority%20%3E%20(member)%201">Link to this property</a>

"High"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20priority">Link to this property</a>

sameParty: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameParty">Link to this property</a>

<details>

<summary>

sameSite: optional "Strict"or "Lax"or "None"

</summary>

One of the following:

"Strict"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite%20%3E%20(member)%200">Link to this property</a>

"Lax"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite%20%3E%20(member)%201">Link to this property</a>

"None"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sameSite">Link to this property</a>

secure: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20secure">Link to this property</a>

sourcePort: optional number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourcePort">Link to this property</a>

<details>

<summary>

sourceScheme: optional "Unset"or "NonSecure"or "Secure"

</summary>

One of the following:

"Unset"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme%20%3E%20(member)%200">Link to this property</a>

"NonSecure"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme%20%3E%20(member)%201">Link to this property</a>

"Secure"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20sourceScheme">Link to this property</a>

url: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20cookies">Link to this property</a>

<details>

<summary>

custom\_ai: optional array of object {model, authorization }

Optional list of custom AI models to use for the request. The models will be tried in the order provided, and in case a model returns an error, the next one will be used as fallback.

</summary>

model: string

AI model to use for the request. Must be formed as <code>&lt;provider&gt;/&lt;model_name&gt;</code>, e.g. <code>workers-ai/@cf/meta/llama-3.3-70b-instruct-fp8-fast</code>.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20custom_ai%20%3E%20(items)%20%3E%20(property)%20model">Link to this property</a>

authorization: optional string

Authorization token for the AI model: <code>Bearer &lt;token&gt;</code>. Not needed for workers-ai models.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20custom_ai%20%3E%20(items)%20%3E%20(property)%20authorization">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20custom_ai">Link to this property</a>

emulateMediaType: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20emulateMediaType">Link to this property</a>

<details>

<summary>

gotoOptions: optional object {referer, referrerPolicy, timeout, waitUntil }

Check <a href="https://pptr.dev/api/puppeteer.gotooptions">options</a>.

</summary>

referer: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20referer">Link to this property</a>

referrerPolicy: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20referrerPolicy">Link to this property</a>

timeout: optional number

maximum60000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20timeout">Link to this property</a>

<details>

<summary>

waitUntil: optional "load"or "domcontentloaded"or "networkidle0"or "networkidle2"or array of "load"or "domcontentloaded"or "networkidle0"or "networkidle2"

</summary>

One of the following:

<details>

<summary>

"load"or "domcontentloaded"or "networkidle0"or "networkidle2"

</summary>

One of the following:

"load"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%200">Link to this property</a>

"domcontentloaded"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%201">Link to this property</a>

"networkidle0"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%202">Link to this property</a>

"networkidle2"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

array of "load"or "domcontentloaded"or "networkidle0"or "networkidle2"

</summary>

One of the following:

"load"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"domcontentloaded"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"networkidle0"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"networkidle2"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions%20%3E%20(property)%20waitUntil">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20gotoOptions">Link to this property</a>

prompt: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20prompt">Link to this property</a>

rejectRequestPattern: optional array of string

Block undesired requests that match the provided regex patterns, eg. ’/^.\*.(css)’.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectRequestPattern">Link to this property</a>

<details>

<summary>

rejectResourceTypes: optional array of "document"or "stylesheet"or "image"or 15 more

Block undesired requests that match the provided resource types, eg. ‘image’ or ‘script’.

</summary>

One of the following:

"document"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"stylesheet"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

"image"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%202">Link to this property</a>

"media"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%203">Link to this property</a>

"font"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%204">Link to this property</a>

"script"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%205">Link to this property</a>

"texttrack"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%206">Link to this property</a>

"xhr"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%207">Link to this property</a>

"fetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%208">Link to this property</a>

"prefetch"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%209">Link to this property</a>

"eventsource"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2010">Link to this property</a>

"websocket"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2011">Link to this property</a>

"manifest"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2012">Link to this property</a>

"signedexchange"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2013">Link to this property</a>

"ping"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2014">Link to this property</a>

"cspviolationreport"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2015">Link to this property</a>

"preflight"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2016">Link to this property</a>

"other"

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes%20%3E%20(items)%20%3E%20(member)%2017">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20rejectResourceTypes">Link to this property</a>

<details>

<summary>

response\_format: optional object {type, json\_schema }

</summary>

type: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20response_format%20%3E%20(property)%20type">Link to this property</a>

json\_schema: optional map\[unknown]

Schema for the response format. More information here: <a href="https://developers.cloudflare.com/workers-ai/json-mode/">https://developers.cloudflare.com/workers-ai/json-mode/</a>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20response_format%20%3E%20(property)%20json_schema">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20response_format">Link to this property</a>

setExtraHTTPHeaders: optional map\[string]

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20setExtraHTTPHeaders">Link to this property</a>

setJavaScriptEnabled: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20setJavaScriptEnabled">Link to this property</a>

url: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20url">Link to this property</a>

userAgent: optional string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20userAgent">Link to this property</a>

<details>

<summary>

viewport: optional object {height, width, deviceScaleFactor, 3 more }

Check <a href="https://pptr.dev/api/puppeteer.page.setviewport">options</a>.

</summary>

height: number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport%20%3E%20(property)%20height">Link to this property</a>

width: number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport%20%3E%20(property)%20width">Link to this property</a>

deviceScaleFactor: optional number

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport%20%3E%20(property)%20deviceScaleFactor">Link to this property</a>

hasTouch: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport%20%3E%20(property)%20hasTouch">Link to this property</a>

isLandscape: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport%20%3E%20(property)%20isLandscape">Link to this property</a>

isMobile: optional boolean

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport%20%3E%20(property)%20isMobile">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20viewport">Link to this property</a>

<details>

<summary>

waitForSelector: optional object {selector, hidden, timeout, visible }

Wait for the selector to appear in page. Check <a href="https://pptr.dev/api/puppeteer.page.waitforselector">options</a>.

</summary>

selector: string

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20selector">Link to this property</a>

hidden: optional true

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20hidden">Link to this property</a>

timeout: optional number

maximum120000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20timeout">Link to this property</a>

visible: optional true

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20waitForSelector%20%3E%20(property)%20visible">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20waitForSelector">Link to this property</a>

waitForTimeout: optional number

Waits for a specified timeout before continuing.

maximum120000

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20waitForTimeout">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(params)%200%20%3E%20(param)%20body%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

meta: object {finalUrl, headers, redirectChain, 2 more }

</summary>

finalUrl: optional string

URL that served the response, after any redirects the browser followed.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20finalUrl">Link to this property</a>

headers: optional map\[string]

Origin response headers, lowercased. Repeated headers are joined with a newline. Credential and transport-only headers that do not survive rendering are omitted.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20headers">Link to this property</a>

<details>

<summary>

redirectChain: optional array of object {headers, status, url }

HTTP redirects followed to reach <code>finalUrl</code>, oldest first. Omitted for direct navigation and for client-side redirects such as meta refresh. An empty array means redirects occurred but their intermediate responses could not be read.

</summary>

headers: map\[string]

Redirect response headers, including <code>location</code>.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20redirectChain%20%3E%20(items)%20%3E%20(property)%20headers">Link to this property</a>

status: number

HTTP status of the redirect.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20redirectChain%20%3E%20(items)%20%3E%20(property)%20status">Link to this property</a>

url: string

URL that returned the redirect.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20redirectChain%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20redirectChain">Link to this property</a>

status: optional number

HTTP status returned by the origin.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20status">Link to this property</a>

title: optional string

Page title.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta%20%3E%20(property)%20title">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20meta>)

result: map\[unknown]

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20result>)

success: boolean

Response status.

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20success>)

<details>

<summary>

errors: optional array of object {code, message }

</summary>

code: number

Error code.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20code">Link to this property</a>

message: string

Error message.

<a href="#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20errors%20%3E%20(items)%20%3E%20(property)%20message">Link to this property</a>

</details>

[Link to this property](<#(resource)%20browser_rendering.json%20%3E%20(method)%20create%20%3E%20(network%20schema)%20%3E%20(property)%20errors>)

### Get json.

HTTP

HTTPTypeScriptPythonGoTerraform

```
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/browser-rendering/json \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    -d '{
          "url": "url"
        }'
```

200 example

429 example

```
{
  "meta": {
    "finalUrl": "finalUrl",
    "headers": {
      "foo": "string"
    },
    "redirectChain": [
      {
        "headers": {
          "foo": "string"
        },
        "status": 0,
        "url": "url"
      }
    ],
    "status": 0,
    "title": "title"
  },
  "result": {
    "foo": {}
  },
  "success": true,
  "errors": [
    {
      "code": 0,
      "message": "message"
    }
  ]
}
```

```
{
  "errors": [
    {
      "code": 2001,
      "message": "Rate limit exceeded"
    }
  ],
  "success": false
}
```

##### Returns Examples

200 example

429 example

```
{
  "meta": {
    "finalUrl": "finalUrl",
    "headers": {
      "foo": "string"
    },
    "redirectChain": [
      {
        "headers": {
          "foo": "string"
        },
        "status": 0,
        "url": "url"
      }
    ],
    "status": 0,
    "title": "title"
  },
  "result": {
    "foo": {}
  },
  "success": true,
  "errors": [
    {
      "code": 0,
      "message": "message"
    }
  ]
}
```

```
{
  "errors": [
    {
      "code": 2001,
      "message": "Rate limit exceeded"
    }
  ],
  "success": false
}
```