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

# FactCheck

Accuracy scores for your category's fact-checked claims — the numbers behind
the platform's FactCheck (Accuracy) tab. `group_by` picks the slice; `accuracy`
is a ratio `0`–`1` (`accurate / (accurate + inaccurate)`). Per-category, so there
is no `asset` or `scope`.

* **Metrics (every row):** `accuracy` (`0`–`1`), `accurate`, `inaccurate`.
* **`group_by`:** 0–2 of `date`, `model`, `region`, `persona`, `prompt`, `topic`, `tag`, `theme` — **or one `citation`** (citation can't be combined with another dimension). Empty → one headline score; `["date"]` → the daily accuracy series; two dims (e.g. `["model", "date"]`) → one row per combination, in a single query.
* **Row shape follows `group_by`:** a value dimension → `{ <dim>: { id, name }, … }`; `["citation"]` → `{ citation: { url, citation_category }, … }` (a citation is a URL, not an id/name); `["date"]` → `{ date, … }`.
* **`filter`:** scopes which responses are counted — a top-level `and` of single-field leaves over `model`, `topic`, `region`, `persona`, `prompt`, `tag`. One leaf per field (use `in` for OR within a field); only `topic` may be negated. This is a **narrower** grammar than the other v2 reports (no `or`/`not` nesting).

<Note>
  New to the v2 reports? See [Filtering & concepts](/rest-api/reports/reports-v2-overview) for the shared `{ info, data }` shape, grouping, and pagination. FactCheck uses that envelope but has no `scope`/`assets`/`metrics` params and a constrained `filter` (above). For the inaccurate claims themselves, see [FactCheck Claims](/rest-api/reports/query-factcheck-claims-v2).
</Note>

<Accordion title="Streaming (SSE) variant (same body, /stream)">
  `POST /v2/reports/factcheck/stream` takes the **same request body** and
  returns [Server-Sent Events](https://developer.mozilla.org/docs/Web/API/Server-sent_events):
  one `summary` event (the `info` block), then one `result` event per row.
  `limit`/`cursor` are ignored; it returns everything by default. Pass
  `max_results` to cap.

  ```text Response (text/event-stream) theme={null}
  event: summary
  data: { ...the info block... }

  event: result    ← one per row, same shape as data[] above
  data: {"model": {"id": "a1c9…", "name": "ChatGPT"}, "accuracy": 0.986, "accurate": 1980, "inaccurate": 28}
  ```
</Accordion>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST https://api.tryprofound.com/v2/reports/factcheck \
    -H "X-API-Key: <your-api-key>" \
    -H "Content-Type: application/json" \
    -d '{
      "category_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
      "start_date": "2026-06-09",
      "end_date": "2026-06-15",
      "group_by": ["model"]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "info": {
      "total_results": 9,
      "count": 9,
      "next_cursor": null,
      "models": ["ChatGPT", "Google Gemini", "Perplexity", "Claude", "..."],
      "group_by": ["model"],
      "start_date": "2026-06-09",
      "end_date": "2026-06-15",
      "filter": null
    },
    "data": [
      { "model": { "id": "a1c9…", "name": "ChatGPT" }, "accuracy": 0.986, "accurate": 1980, "inaccurate": 28 },
      { "model": { "id": "b7f2…", "name": "Microsoft Copilot" }, "accuracy": 0.831, "accurate": 1360, "inaccurate": 276 }
    ]
  }
  ```
</ResponseExample>


## OpenAPI

````yaml POST /v2/reports/factcheck
openapi: 3.1.0
info:
  title: External API
  version: 47f2d601551a89dba69bb4759a8bbe6800ee930c
servers:
  - url: https://api.tryprofound.com
    description: Production Server
security: []
paths:
  /v2/reports/factcheck:
    post:
      tags:
        - Reports
        - Reports
      summary: Query Scores
      operationId: query_scores_v2_reports_factcheck_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FactcheckScoresQuery'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Query Scores V2 Reports Factcheck Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
        - BearerAuth: []
components:
  schemas:
    FactcheckScoresQuery:
      properties:
        category_id:
          type: string
          title: Category Id
        start_date:
          type: string
          title: Start Date
          description: YYYY-MM-DD, ET, inclusive
        end_date:
          type: string
          title: End Date
          description: YYYY-MM-DD, ET, inclusive
        group_by:
          items:
            type: string
            enum:
              - date
              - model
              - region
              - persona
              - prompt
              - topic
              - tag
              - citation
              - theme
          type: array
          maxItems: 2
          title: Group By
          description: >-
            1-2 of date/model/region/persona/prompt/topic/tag/theme (or one
            `citation`). Empty → headline.
        filter:
          anyOf:
            - $ref: '#/components/schemas/FilterNode'
            - type: 'null'
          description: Scope which responses count (see Filtering).
        limit:
          anyOf:
            - type: integer
              maximum: 100
              exclusiveMinimum: 0
            - type: 'null'
          title: Limit
          description: Rows per page; default 100.
        max_results:
          anyOf:
            - type: integer
              exclusiveMinimum: 0
            - type: 'null'
          title: Max Results
          description: 'Stream only: cap rows returned.'
        cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Cursor
      additionalProperties: false
      type: object
      required:
        - category_id
        - start_date
        - end_date
      title: FactcheckScoresQuery
      description: >-
        Accuracy scores. `group_by` picks the slice (one or two dimensions);
        empty → the headline score.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FilterNode:
      properties:
        and:
          anyOf:
            - items:
                $ref: '#/components/schemas/FilterNode'
              type: array
            - type: 'null'
          title: And
        or:
          anyOf:
            - items:
                $ref: '#/components/schemas/FilterNode'
              type: array
            - type: 'null'
          title: Or
        not:
          anyOf:
            - $ref: '#/components/schemas/FilterNode'
            - type: 'null'
        field:
          anyOf:
            - type: string
            - type: 'null'
          title: Field
        op:
          anyOf:
            - type: string
            - type: 'null'
          title: Op
        value:
          title: Value
      additionalProperties: false
      type: object
      title: FilterNode
      description: A leaf (`field`/`op`/`value`) or an `and`/`or`/`not` group.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````