Answer
Copilot에 질문하고 답변을 받습니다. 인용과 출처가 함께 옵니다.
POST /v1/copilot/answer입력은 JSON 본문으로 보냅니다. 답변에는 몇 초가 걸리므로 최대 120초까지 기다리세요.
요청
curl -X POST "https://gateway.apinoa.com/v1/copilot/answer" \
-H "x-api-key: $APINOA_API_KEY" \
-H "content-type: application/json" \
-d '{"prompt": "What are the best running shoes for beginners?", "country": "US"}'파라미터
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
prompt | string | 예 | The question, as a person would type it. |
country | string | The market the answer is asked from, as an ISO 3166 country code. Each engine's page lists its countries. | |
include | enum list | page: also return the answer as a self-contained HTML page, in page. |
같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.
응답
data에 Answer를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.
{
"success": true,
"data": {
"engine": "copilot",
"outcome": "answered",
"prompt": "What are the best running shoes for beginners?",
"askedAt": "2026-11-08T00:11:17.564Z",
"country": "US",
"language": "en-US",
"title": "Best Running Shoes for Beginners in 2026",
"blocks": [
{
"type": "paragraph",
"markdown": "The **ASICS Novablast 6** is the strongest all‑around beginner pick th…"
},
{
"type": "heading",
"level": 3,
"markdown": "✅ Top Overall Pick"
},
{
"type": "paragraph",
"markdown": "**ASICS Novablast 6** — Best beginner shoe overall"
},
{
"type": "list",
"ordered": false,
"items": [
{
"markdown": "**Why it works:** Outstanding cushioning that protects your legs as yo…",
"depth": 0
}
]
}
],
"text": "The ASICS Novablast 6 is the strongest all‑around beginner pick thanks…",
"markdown": "The **ASICS Novablast 6** is the strongest all‑around beginner pick th…",
"citations": [
{
"start": 197,
"end": 243,
"sources": [
1
]
}
],
"sources": [
{
"url": "https://runrepeat.com/guides/best-for-beginners-running-shoes",
"title": "7 Best Running Shoes For Beginners in 2026 - RunRepeat",
"site": "RunRepeat",
"favicon": "https://th.bing.com/th/id/ODF.ekmCiAFMQY-67T3t-jB_1w?w=16&h=16&c=10&pid=genserp&rm=2",
"snippet": "The 7 best running shoes for beginners based on extensive wear and lab…",
"cited": true,
"ext": {
"displayUrl": "https://runrepeat.com › guides › best-for-beginners-running-shoes"
}
},
{
"url": "https://www.rtings.com/running-shoes/reviews/best/beginners",
"title": "The 5 Best Running Shoes For Beginners of 2026 - RTINGS.com",
"site": "RTINGS.com",
"favicon": "https://th.bing.com/th/id/ODF.JG-7jC49BJkulfbWgwcl8g?w=16&h=16&c=10&pid=genserp&rm=2",
"snippet": "We've tested over 310 running shoes, and these are our picks for the b…",
"cited": true,
"ext": {
"displayUrl": "https://www.rtings.com › running-shoes › reviews › best › beginners"
}
}
],
"mentions": [],
"cards": [],
"suggestions": [],
"ext": {
"model": "Gpt5Mini"
}
}
}에러
| 상태 | 코드 | 의미 |
|---|---|---|
| 400 | INVALID_PARAMS | 파라미터가 없거나, 알 수 없거나, 범위를 벗어났거나, 이 엔진이 받지 않는 값입니다. 메시지에 이름이 나옵니다. |
| 401 | UNAUTHORIZED | x-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다. |
| 402 | INSUFFICIENT_BALANCE | 잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요. |
| 429 | MARKETPLACE_SATURATED | 동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요. |
| 502 | UPSTREAM_ERROR | 엔진이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요. |
| 502 | UPSTREAM_TIMEOUT | 엔진이 제때 답하지 않았습니다. 다시 시도하세요. |
| 503 | SERVICE_UNAVAILABLE | 일시적인 장애입니다. 간격을 두고 다시 시도하세요. |
모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.
가격
가격 호출당 $0.0012. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.
참고
- Copilot은 한 번에 질문 하나에 답합니다. 질문마다 전부 적어 보내세요.
conversation과photos는 받지 않습니다. - Copilot은 질문의 언어로 답합니다.
ext.model에는 Copilot이 밝힌, 답변한 모델 이름이 들어 있습니다.