Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Naver AI Mode

Docs API
https://api.sandbase.ai/v1/api/naver/ai-mode

Get Naver's AI-generated answer for a query with the answer text, cited sources and follow-up token for continuing the conversation.

Prix
$0.01USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 3 facultatifs

Bac à sable

Entrée
Parameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search.
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 question that includes the prior exchange as context (multi-turn).
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 using our Naver AI Mode API. When using this token, include a new `query` for your follow-up prompt.
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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

Naver AI Mode

Get Naver's AI-generated answer for a query with the answer text, cited sources and follow-up token for continuing the conversation.

Request

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.

Parameters

NameTypeRequiredDescription
querystringYesParameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search.
continuablestringNoSet 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_tokenstringNoParameter 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_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Naver AI ModeCette API
Naver
$0.01 par appelJSON
Naver$0.015 par appelJSON
NaverÀ partir de $0.032 par appelJSON
Naver$0.01 par appelJSON
Naver$0.01 par appelJSON

Questions

FAQ

Comment utiliser l’API Naver AI Mode ?

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.

Combien coûte l’API Naver AI Mode ?

$0.01 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Naver AI Mode accepte-t-elle ?

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.

Que renvoie l’API Naver AI Mode ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API Naver ?

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.