Skip to content

Commit 580dd26

Browse files
authored
Update 2026-03-23-ai-search-new-rest-api.mdx
1 parent 045c1da commit 580dd26

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/content/changelog/ai-search/2026-03-23-ai-search-new-rest-api.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai-search/instan
2222
-d '{
2323
"messages": [
2424
{
25-
"content": "How do I get started?",
26-
"role": "user"
25+
"role": "system",
26+
"content": "You are a helpful documentation assistant."
27+
},
28+
{
29+
"role": "user",
30+
"content": "How do I get started?"
2731
}
2832
]
2933
}'

0 commit comments

Comments
 (0)