> ## 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 Pillars

> Lists a website's Knowledge Base pillars (excluding archived ones) with approved-fact counts, whether a synthesized document exists, and when each pillar was last researched. Also available as the MCP tool `get_pillars`.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/knowledge-base/pillars
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/pillars:
    get:
      tags:
        - Knowledge Base
      summary: Get Pillars
      description: >-
        Lists a website's Knowledge Base pillars (excluding archived ones) with
        approved-fact counts, whether a synthesized document exists, and when
        each pillar was last researched. Also available as the MCP tool
        `get_pillars`.
      operationId: getPillars
      parameters:
        - name: website_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
          description: The website whose Knowledge Base to read.
      responses:
        '200':
          description: Successful response with the website's pillars, sorted by name
          content:
            application/json:
              schema:
                type: object
                properties:
                  pillars:
                    type: array
                    items:
                      $ref: '#/components/schemas/KnowledgeBasePillar'
                required:
                  - pillars
        '400':
          description: Bad request - Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_website_id:
                  value:
                    error: website_id is required
        '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:
    KnowledgeBasePillar:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type:
            - string
            - 'null'
        status:
          type: string
          enum:
            - researching
            - published
            - draft
          description: Pillar lifecycle status. Archived pillars are not returned.
        fact_count:
          type: integer
          description: Number of approved facts filed under the pillar.
        has_document:
          type: boolean
          description: Whether a synthesized markdown document exists for the pillar.
        last_researched_at:
          type:
            - string
            - 'null'
          description: ISO 8601 timestamp of the last research/synthesis pass, or null.
      required:
        - id
        - name
        - description
        - status
        - fact_count
        - has_document
        - last_researched_at
    Error:
      type: object
      description: Error response object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message describing what went wrong
          example: Unauthorized
  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).

````