querystringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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": "서울 맛집 추천"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
querystringrequeridoParameter 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.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Naver AI ModeEsta API Naver | $0.01 por llamada | JSON |
Naver | $0.015 por llamada | JSON |
Naver | Desde $0.032 por llamada | JSON |
Naver | $0.01 por llamada | JSON |
Naver | $0.01 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/naver/ai-mode con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.01 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: query (string). Opcionales: continuable (string), subsequent_request_token (string) y json_restrictor (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).
No. Naver AI Mode funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Naver por separado.