Created
December 12, 2025 13:02
-
-
Save selcukcihan/946f781f12b01f5a15329c4c0fad553d to your computer and use it in GitHub Desktop.
cloudflare-browser-rendering-json-endpoint.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| `POST https://api.cloudflare.com/client/v4/accounts/a6003e408a448be5fcc801b316519998/browser-rendering/json` | |
| request body | |
| ```json | |
| { | |
| "url": "https://jobs.elastic.co/jobs/department/engineering?size=n_20_n", | |
| "prompt": "Give me a list of job postings on this page, include the title and url of each job. I only care about senior roles in engineering positions.", | |
| "gotoOptions": { | |
| "waitUntil": "networkidle0" | |
| }, | |
| "response_format": { | |
| "type": "json_schema", | |
| "schema": { | |
| "properties": { | |
| "jobs": { | |
| "items": { | |
| "properties": { | |
| "url": { | |
| "type": "string" | |
| }, | |
| "title": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "url", | |
| "title" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| } | |
| } | |
| } | |
| ``` | |
| response | |
| ```json | |
| { | |
| "success": false, | |
| "errors": [ | |
| { | |
| "message": "5025: This model doesn't suuport JSON Schema." | |
| } | |
| ] | |
| } | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment