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

# GEO dashboard overview

> Aggregate AI visibility statistics with 30-day trend.



## OpenAPI

````yaml https://api.surnex.io/openapi.json get /v1/projects/{project_id}/geo
openapi: 3.1.0
info:
  title: Surnex API
  description: |-
    Surnex SEO Platform API — api.surnex.io

    Provides the complete backend for the Surnex SEO dashboard including:
    - Multi-tenant organization management
    - Project tracking (domains)
    - Keyword rank tracking (Phase 1+)
    - Backlink analysis (Phase 3+)
    - Site auditing (Phase 4+)
    - Stripe billing integration
    - MCP endpoint for AI agents at /mcp
  version: 0.1.0
servers: []
security: []
paths:
  /v1/projects/{project_id}/geo:
    get:
      tags:
        - GEO / AI Visibility
      summary: GEO dashboard overview
      description: Aggregate AI visibility statistics with 30-day trend.
      operationId: get_dashboard_v1_projects__project_id__geo_get
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIResponse_GeoDashboardResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    APIResponse_GeoDashboardResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        data:
          anyOf:
            - $ref: '#/components/schemas/GeoDashboardResponse'
            - type: 'null'
      type: object
      title: APIResponse[GeoDashboardResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GeoDashboardResponse:
      properties:
        total_topics:
          type: integer
          title: Total Topics
          description: Total number of active GEO topics tracked for this project.
        avg_mention_count:
          type: number
          title: Avg Mention Count
          description: Average domain mention count per topic over the last 30 days.
        avg_citation_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Avg Citation Rate
          description: >-
            Average citation rate across all topics over the last 30 days. NULL
            if no snapshot data is available.
        trend:
          items:
            $ref: '#/components/schemas/GeoTrendPoint'
          type: array
          title: Trend
          description: Daily aggregated mention counts and citation rates (last 30 days).
      type: object
      required:
        - total_topics
        - avg_mention_count
      title: GeoDashboardResponse
      description: Aggregate AI visibility dashboard statistics for a project.
    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
    GeoTrendPoint:
      properties:
        date:
          type: string
          title: Date
          description: ISO 8601 date string for this data point.
        mention_count:
          type: integer
          title: Mention Count
          description: Total domain mentions recorded on this date.
        citation_rate:
          anyOf:
            - type: number
            - type: 'null'
          title: Citation Rate
          description: Citation rate for this date (0.0–1.0), or NULL if unavailable.
      type: object
      required:
        - date
        - mention_count
      title: GeoTrendPoint
      description: A single data point in a GEO / AI Visibility trend chart.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````