File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/content/docs/browser-rendering/rest-api Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ curl --request POST 'https://api.cloudflare.com/client/v4/accounts/CF_ACCOUNT_ID
3434 "prompt": "Get me the list of AI products",
3535 "response_format": {
3636 "type": "json_schema",
37- "json_schema ": {
37+ "schema ": {
3838 "type": "object",
3939 "properties": {
4040 "products": {
@@ -130,7 +130,7 @@ curl --request POST 'https://api.cloudflare.com/client/v4/accounts/CF_ACCOUNT_ID
130130 --header ' content-type: application/json' \
131131 --data ' "response_format": {
132132 "type": "json_schema",
133- "json_schema ": {
133+ "schema ": {
134134 "type": "object",
135135 "properties": {
136136 "products": {
@@ -293,7 +293,7 @@ curl --request POST \
293293 "prompt": "Get the heading from the page in the form of an object like h1, h2. If there are many headings of the same kind then grab the first one.",
294294 "response_format": {
295295 "type": "json_schema",
296- "json_schema ": {
296+ "schema ": {
297297 "type": "object",
298298 "properties": {
299299 "h1": {
You can’t perform that action at this time.
0 commit comments