querystringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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": "서울 맛집 추천"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
querystringobligatoireParameter 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.
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Naver AI ModeCette API Naver | $0.01 par appel | JSON |
Naver | $0.015 par appel | JSON |
Naver | À partir de $0.032 par appel | JSON |
Naver | $0.01 par appel | JSON |
Naver | $0.01 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/naver/ai-mode avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : query (string). Facultatif : continuable (string), subsequent_request_token (string) et json_restrictor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone).
Non. Naver AI Mode fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Naver séparément.