> ## Documentation Index
> Fetch the complete documentation index at: https://docs.querying.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta AI API: 답변, 인용 페이지, 검색어

> Meta AI에 질문하고 답변을 텍스트와 Markdown으로, 인용 페이지와 실행한 검색과 함께 받습니다.

`META_AI`는 meta.ai의 Meta AI 채팅에 묻습니다.

| | |
| - | - |
| taskType | `META_AI` |
| 읽는 필드 | `prompt` (없으면 `query`) |
| 크레딧 | 1 |
| 국가 | 선택, 기본값 `US`. |

## 요청

Meta AI는 "best"에 상품을 붙인 프롬프트 대부분을 거부하므로, 쇼핑 질문은 의문문 형태로 쓰세요.

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "META_AI", "payload": { "prompt": "Which running shoes work best for flat feet?", "country": "US" } }'
```

## 응답

| 필드 | 타입 | 설명 |
| - | - | - |
| `text` | string | 답변. 수식은 작성된 그대로 LaTeX로 나옵니다. 상품 카드는 가격이 붙은 목록 줄로, 비교표는 Markdown 표로 Meta AI가 보여 준 자리에 나옵니다. |
| `markdown` | string | 인용한 페이지로 가는 번호 링크가 붙은 답변. 수식은 `$` 기호 사이에, 또는 한 줄을 차지하는 `$$` 사이에 놓입니다. 상품 이름은 상품 페이지로 링크됩니다. 플래그 없이 반환됩니다. |
| `sources` | array | 인용한 페이지: `position`, `url`, `label`, `publisher`. Meta 카탈로그 상품은 `label`이 상품 이름, `publisher`가 브랜드입니다. |
| `searchQueries` | string\[] | Meta AI가 실행한 웹 검색. |
| `shoppingCards` | array | Meta AI가 보여 준 상품 카드: `title`, `position`, `price`(`value`, `currency`, `raw`), `oldPrice`(할인 전 가격), `brand`, `thumbnail`, `productLink`, `productId`. |
| `inlineProducts` | array | 답변이 언급한 상품을 순서대로: `title`, `position`, `price`, `oldPrice`, `thumbnail`, `productLink`, `productId`. `productId`가 같은 카드는 같은 상품입니다. |
| `notice` | object | Meta AI가 프롬프트를 거부했을 때 있습니다. 아래를 참고하세요. |
| `rawResponse` | array | Meta의 tool call과 마지막 구조화 응답. `include.rawResponse`일 때만. |

예시:

```json theme={"theme":"css-variables"}
{
  "text": "For flat feet, stability shoes with firm arch support work best ...",
  "markdown": "For flat feet, stability shoes with firm arch support work best [1](https://www.example.com/flat-feet-shoes).",
  "sources": [{ "position": 1, "url": "https://www.example.com/flat-feet-shoes", "label": "Shoes for flat feet", "publisher": "Example Running" }],
  "searchQueries": ["running shoes flat feet"]
}
```

## include 플래그

| 플래그 | 효과 |
| - | - |
| `rawResponse` | `rawResponse`를 추가합니다. |

`markdown`은 플래그가 필요 없습니다. `searchQueries`, `ads`, `shopping`은 효과가 없습니다. `shoppingCards`와 `inlineProducts`는 상품을 보여 준 답변마다 함께 옵니다. `analysis`는 `422 VALIDATION_ERROR`로, `citationAnalysis`는 `400 VALIDATION_ERROR`로 거절됩니다. `html`은 Meta AI가 보여 준 화면을 추가합니다. 페이지가 저장되면 0.25크레딧. [HTML 페이지](/ko/engines/html-pages.md)를 참고하세요. [Markdown과 원본 응답](/ko/engines/response-options.md)을 참고하세요.

## 거부

Meta AI는 "best running shoes 2026"처럼 "best"에 상품을 붙인 쇼핑 프롬프트 상당수를 거부합니다. 이때 태스크는 빈 `text`와 Meta의 안내문을 그대로 담은 `notice`로 **완료**됩니다.

```json theme={"theme":"css-variables"}
{
  "text": "",
  "markdown": "",
  "sources": [],
  "notice": { "type": "policy_declined", "scope": "text", "message": "Your request was blocked by our security system." }
}
```

같은 프롬프트는 다시 보내도 같은 거부를 받습니다. "Which running shoes work best for flat feet?"처럼 의문문으로 바꿔 보내세요.

## 관련 문서

* [Meta AI 제품 페이지](https://querying.ai/ko/engines/meta-ai)
* [엔진 개요](/ko/engines/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.