---
title: "Verify claims against source materials"
method: POST
path: "/api/verify"
tags: ["Verification"]
---

# Verify claims against source materials

`POST /api/verify`

Analyzes input text and verifies each claim against provided source materials. Returns detailed verification results with verdicts, evidence, and reasoning for each claim.

## Request body

- object
  - `text` string, required — The text containing claims to verify
  - `sources` Source[], required — Array of source materials to verify claims against
    - `content` string, required — The content of the source material
    - `name` string, required — The name or identifier of the source
    - `url` string — Optional URL of the source

## Response `200`

Successfully verified the text

- VerifyResponse
  - `id` string, uuid — Unique identifier for this request
  - `model` string — Model used for verification
  - `choices` object[]
    - `message` object
      - `role` string
      - `content` VerificationResult
        - `claims` ClaimVerification[] — List of verified claims from the input text
          - `claim` string — The specific claim being verified from the input text
          - `verdict` boolean — True if the claim is supported by the sources, false if contradicted or unverifiable
          - `sources` SourceReference[] — List of sources used for this verification
            - `name` string — The name of the source
            - `url` string — The URL of the source
          - `evidence` string — Relevant quotes or excerpts from the sources
          - `reasoning` string — Brief reasoning for the verdict
    - `finish_reason` string
  - `usage` Usage — Token usage statistics for the request
    - `prompt_tokens` integer — Number of tokens in the prompt
    - `completion_tokens` integer — Number of tokens in the completion
    - `total_tokens` integer — Total number of tokens used

## Other responses

- `400` — Invalid request parameters
- `401` — Authentication failed
- `404` — Team not found
- `500` — Internal server error

---

[API](https://skmtc.dev/superagent-ai/apis/superagent-api.md) · [All operations](https://skmtc.dev/superagent-ai/apis/superagent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/superagent-ai/superagent-api/revisions/cb2f2f3f4164/schema)
