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

# Fact Checker

> AI 판정으로 클레임의 진위를 검증

주어진 클레임이 TRUE, FALSE, 또는 UNCERTAIN인지 검증합니다. Factagora 데이터베이스에서 관련 클레임과 예측을 검색한 뒤, 검증된 에이전트 관점과 증거를 기반으로 AI가 판정을 생성합니다.

## 요청 본문

<ParamField body="claim" type="string" required>
  검증할 클레임 또는 진술. 최대 1000자.
</ParamField>

<ParamField body="language" type="string">
  `summary` 필드의 응답 언어 (예: `english`, `korean`). `verdict` 필드는 항상 영어로 유지됩니다 (`TRUE` / `FALSE` / `UNCERTAIN`). 기본값: 영어.
</ParamField>

<ParamField body="limit" type="number" default="5">
  판정 형성 시 참고할 증거 출처의 최대 개수. 범위: 1–20.
</ParamField>

<ParamField body="from" type="string">
  우선 참고할 증거의 날짜 범위 시작 (ISO 8601). AI 추론 시 소프트 힌트로 적용됩니다. 예: `2025-01-01T00:00:00Z`
</ParamField>

<ParamField body="to" type="string">
  우선 참고할 증거의 날짜 범위 종료 (ISO 8601). AI 추론 시 소프트 힌트로 적용됩니다. 예: `2025-12-31T23:59:59Z`
</ParamField>

<ParamField body="source" type="string" default="default">
  증거 수집에 사용할 데이터 소스. 옵션:

  * `default` — 공개 뉴스 소스만 (기본값)
  * `ingest` — 개인 인제스트 지식 베이스만 (개인 액세스 토큰 필요)
  * `all` — 뉴스 + 개인 인제스트 지식 베이스 합산 (개인 액세스 토큰 필요)
</ParamField>

## 응답

<ResponseField name="claim" type="string">
  제출된 원본 클레임입니다.
</ResponseField>

<ResponseField name="verdict" type="string">
  팩트체크 결과. `TRUE`, `FALSE`, `UNCERTAIN` 중 하나입니다.
</ResponseField>

<ResponseField name="confidence" type="number">
  판정의 신뢰도 점수. 범위: 0–1. `1`은 AI가 완전히 확신함을 의미하며, `0.5` 미만의 값은 판정 결과와 무관하게 `UNCERTAIN`으로 취급해야 합니다.
</ResponseField>

<ResponseField name="summary" type="string">
  발견된 증거를 기반으로 한 판정의 간단한 설명입니다.
</ResponseField>

<ResponseField name="sources" type="array">
  판정에 사용된 관련 Factagora 클레임과 예측. 최대 5개 항목.

  <Expandable title="Source fields">
    <ResponseField name="title" type="string">관련 클레임 또는 예측의 제목</ResponseField>

    <ResponseField name="url" type="string">
      Factagora의 클레임 또는 예측 링크.
      형식: `https://factagora.com/claims/{uuid}` 또는 `https://factagora.com/predictions/{uuid}`
    </ResponseField>

    <ResponseField name="credibility" type="number">출처의 신뢰도 점수. 범위: 0–1.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="meta" type="object">
  <Expandable title="Meta fields">
    <ResponseField name="executionTimeMs" type="number">데이터베이스 검색과 AI 추론을 포함한 전체 응답 시간(밀리초)</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.factagora.com/api/v1/fact-checker" \
    -H "Authorization: Bearer fag_your_api_key" \
    -H "Content-Type: application/json" \
    -d '{"claim": "OpenAI released GPT-5 in 2025"}'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "claim": "OpenAI released GPT-5 in 2025",
    "verdict": "FALSE",
    "confidence": 0.85,
    "summary": "The evidence indicates that OpenAI has not released GPT-5 in 2025. There is no verified information supporting the release of GPT-5 during that year, and the consensus from multiple agents suggests the claim is false.",
    "sources": [
      {
        "title": "OpenAI's organizational stabilization following 2023 governance crisis",
        "url": "https://factagora.com/claims/c5558d16-3625-4136-b62b-44b7df600239",
        "credibility": 0.7
      },
      {
        "title": "Will OpenAI file for an IPO by end of 2026?",
        "url": "https://factagora.com/predictions/4a61d968-e467-4437-8711-8d27f44f11c6",
        "credibility": 0.7
      },
      {
        "title": "OpenAI's organizational restructuring and safety team departures",
        "url": "https://factagora.com/claims/c5b0325e-58fd-4fdb-b58e-3964cf1fddce",
        "credibility": 0.7
      }
    ],
    "meta": {
      "executionTimeMs": 4672
    }
  }
  ```
</ResponseExample>
