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

# Get Brand Facts

> Lists a website's brand facts, newest first, with offset paging. Filter by pillar, review status (defaults to approved), source type, or `unfiled=true` for facts not under any published pillar. `unfiled` and `pillar_id` are mutually exclusive. Also available as the MCP tool `get_brand_facts`.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/knowledge-base/facts
openapi: 3.1.0
info:
  title: AthenaHQ API
  description: >-
    AthenaHQ API provides programmatic access to manage your websites and
    prompts for AI-powered content optimization.
  version: 1.0.0
  contact:
    email: support@athenahq.ai
servers:
  - url: https://api.athenahq.ai
    description: Production server
security:
  - apiKey: []
tags:
  - name: Basics
    description: Core API operations for managing websites and prompts
  - name: Metrics
    description: Metrics and analytics endpoints for tracking AI visibility
  - name: Billing
    description: Billing and credits endpoints for managing usage
  - name: Team Management
    description: Endpoints for managing team members and invitations
  - name: Groups
    description: Endpoints for managing groups of websites
  - name: Content
    description: >-
      Endpoints for accessing Content Hub data — tabs, tracked URLs, and per-URL
      prompt breakdowns.
  - name: Pitch Workspace
    description: >-
      Endpoints for accessing pitch workspace reports — org-scoped pitch runs
      with competitors, prompts, attributes, and aggregate metrics.
  - name: Knowledge Base
    description: >-
      Endpoints for reading the brand Knowledge Base — approved brand facts and
      the pillars that organize them.
paths:
  /api/v1/knowledge-base/facts:
    get:
      tags:
        - Knowledge Base
      summary: Get Brand Facts
      description: >-
        Lists a website's brand facts, newest first, with offset paging. Filter
        by pillar, review status (defaults to approved), source type, or
        `unfiled=true` for facts not under any published pillar. `unfiled` and
        `pillar_id` are mutually exclusive. Also available as the MCP tool
        `get_brand_facts`.
      operationId: getBrandFacts
      parameters:
        - name: website_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
          description: The website whose Knowledge Base to read.
        - name: pillar_id
          in: query
          required: false
          schema:
            type: string
            format: uuid
          description: Only facts filed under this pillar.
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - approved
              - pending
              - rejected
            default: approved
          description: Review-status bucket to list.
        - name: source_type
          in: query
          required: false
          schema:
            type: string
            enum:
              - research
              - response
              - upload
              - content_hub
          description: Only facts that entered through this source.
        - name: unfiled
          in: query
          required: false
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
          description: >-
            When "true", only facts not filed under any published pillar.
            Mutually exclusive with pillar_id.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          description: Page size.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Rows to skip.
      responses:
        '200':
          description: Successful response with one page of facts and the uncapped total
          content:
            application/json:
              schema:
                type: object
                properties:
                  facts:
                    type: array
                    items:
                      $ref: '#/components/schemas/BrandFact'
                  total:
                    type: integer
                    description: Total facts matching the filters, ignoring paging.
                required:
                  - facts
                  - total
        '400':
          description: Bad request - Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_website_id:
                  value:
                    error: website_id is required
                exclusive_filters:
                  value:
                    error: unfiled and pillar_id are mutually exclusive
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: >-
            Forbidden - No access to this website, or the Knowledge Base is not
            enabled for the organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                unauthorized_website:
                  value:
                    error: Unauthorized access to this website
                kb_not_enabled:
                  value:
                    error: Knowledge Base is not enabled for this organization
      security:
        - apiKey: []
components:
  schemas:
    BrandFact:
      type: object
      properties:
        id:
          type: string
          format: uuid
        text:
          type: string
          description: The fact statement.
        status:
          type: string
          enum:
            - approved
            - pending
            - rejected
          description: Review status of the fact.
        confidence:
          type:
            - string
            - 'null'
          enum:
            - high
            - medium
            - low
            - null
          description: Confidence level assigned during ingestion, or null when unrated.
        source_url:
          type:
            - string
            - 'null'
          description: URL the fact was extracted from, stored without protocol.
        source_quote:
          type:
            - string
            - 'null'
          description: Verbatim quote from the source backing the fact.
        source_type:
          type: string
          enum:
            - research
            - response
            - upload
            - content_hub
          description: How the fact entered the Knowledge Base.
        pillar:
          $ref: '#/components/schemas/BrandFactPillar'
        created_at:
          type: string
          description: ISO 8601 timestamp of when the fact was added.
      required:
        - id
        - text
        - status
        - confidence
        - source_url
        - source_quote
        - source_type
        - pillar
        - created_at
    Error:
      type: object
      description: Error response object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message describing what went wrong
          example: Unauthorized
    BrandFactPillar:
      type:
        - object
        - 'null'
      description: >-
        The published pillar the fact is filed under, or null when the fact is
        unfiled.
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
      required:
        - id
        - name
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. You can create one
        [here](https://app.athenahq.ai/organization?tab=api).

````