querystringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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": "서울 맛집 추천"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
querystringwajibParameter 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.
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Naver AI ModeAPI ini Naver | $0.01 per panggilan | JSON |
Naver | $0.015 per panggilan | JSON |
Naver | Dari $0.032 per panggilan | JSON |
Naver | $0.01 per panggilan | JSON |
Naver | $0.01 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/naver/ai-mode dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.01 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: query (string). Opsional: continuable (string), subsequent_request_token (string) dan json_restrictor (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).
Tidak. Naver AI Mode berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Naver secara terpisah.