querystringआवश्यक
Parameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search.
https://api.sandbase.ai/v1/api/naver/ai-modeGet Naver's AI-generated answer for a query with the answer text, cited sources and follow-up token for continuing the conversation.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Get Naver's AI-generated answer for a query with the answer text, cited sources and follow-up token for continuing the conversation.
curl -X POST "https://api.sandbase.ai/v1/api/naver/ai-mode" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "서울 맛집 추천"}'
The result is returned in outputs[0].data as structured JSON.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Parameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search. |
continuable | string | No | Set parameter to true to make the conversation continuable. It defaults to false. When set to true, the API will return a subsequent_request_token in the response which can be used to continue the conversation with a follow-up quest |
subsequent_request_token | string | No | Parameter defines the token used to continue a Naver AI Mode conversation. Pass this token to send a follow-up question that includes the prior exchange as context (multi-turn). The token is returned by the API from your previous request us |
json_restrictor | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
$0.010 per successful call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/naver/ai-mode" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "서울 맛집 추천"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
querystringआवश्यकParameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search.
continuablestringSet parameter to `true` to make the conversation continuable. It defaults to `false`. When set to `true`, the API will return a `subsequent_request_token` in the response which can be used to continue the conversation with a follow-up question that includes the prior exchange as context (multi-turn).
subsequent_request_tokenstringParameter defines the token used to continue a Naver AI Mode conversation. Pass this token to send a follow-up question that includes the prior exchange as context (multi-turn). The token is returned by the API from your previous request using our Naver AI Mode API. When using this token, include a new `query` for your follow-up prompt.
json_restrictorstringParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Naver AI Modeयह API Naver | $0.01 प्रति कॉल | JSON |
Naver | $0.015 प्रति कॉल | JSON |
Naver | $0.032 प्रति कॉल से | JSON |
Naver | $0.01 प्रति कॉल | JSON |
Naver | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/naver/ai-mode पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: query (string)। वैकल्पिक: continuable (string), subsequent_request_token (string) और json_restrictor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Naver AI Mode SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Naver API access के लिए आवेदन करने की आवश्यकता नहीं है।