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

# Per-prompt analytics

> Tracked prompts with per-platform state and KPI/trend metrics, one page at a time.



## OpenAPI

````yaml https://api.spreadjam.com/openapi.json get /v1/analytics/prompts
openapi: 3.0.0
info:
  title: SpreadJam API
  version: 1.0.0
servers: []
security: []
tags:
  - name: Meta
    description: Identity and metadata about the authenticated key.
  - name: Keywords
    description: Keyword and topic visibility rankings.
  - name: API keys
    description: Manage the workspace's API keys.
  - name: Analytics
    description: AI-visibility analytics for the workspace.
  - name: Brand
    description: The workspace's brand profile and competitors.
  - name: Prompts
    description: Tracked GEO prompts and their cap state.
paths:
  /v1/analytics/prompts:
    get:
      tags:
        - Analytics
      summary: Per-prompt analytics
      description: >-
        Tracked prompts with per-platform state and KPI/trend metrics, one page
        at a time.
      parameters:
        - schema:
            type: number
            default: 30
            description: 'The analytics window in days: 7, 30, or 90.'
            example: 30
          required: false
          description: 'The analytics window in days: 7, 30, or 90.'
          name: rangeDays
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
            description: Maximum number of items to return (1–100).
            example: 20
          required: false
          description: Maximum number of items to return (1–100).
          name: limit
          in: query
        - schema:
            anyOf:
              - type: string
                enum:
                  - draft
                  - active
                  - paused
                  - archived
                  - regenerating
                  - pending_baseline
                  - stale
                  - failed_all_platforms
              - type: array
                items:
                  type: string
                  enum:
                    - draft
                    - active
                    - paused
                    - archived
                    - regenerating
                    - pending_baseline
                    - stale
                    - failed_all_platforms
              - type: string
            description: Filter by prompt status.
          required: false
          description: Filter by prompt status.
          name: status
          in: query
        - schema:
            anyOf:
              - type: string
                enum:
                  - discoverer
                  - buyer
                  - evaluator
                  - custom
              - type: array
                items:
                  type: string
                  enum:
                    - discoverer
                    - buyer
                    - evaluator
                    - custom
              - type: string
            description: Filter by persona.
          required: false
          description: Filter by persona.
          name: persona
          in: query
        - schema:
            anyOf:
              - type: string
                enum:
                  - informational
                  - commercial
                  - comparison
                  - transactional
                  - support
              - type: array
                items:
                  type: string
                  enum:
                    - informational
                    - commercial
                    - comparison
                    - transactional
                    - support
              - type: string
            description: Filter by intent.
          required: false
          description: Filter by intent.
          name: intent
          in: query
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
            description: Filter by topic label(s).
          required: false
          description: Filter by topic label(s).
          name: topic
          in: query
        - schema:
            type: string
            description: Free-text search over prompt text and topic.
          required: false
          description: Free-text search over prompt text and topic.
          name: query
          in: query
      responses:
        '200':
          description: The per-prompt analytics page.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromptAnalytics'
      security:
        - bearerAuth: []
components:
  schemas:
    PromptAnalytics:
      type: object
      description: >-
        Tracked prompts with per-platform state and KPI/trend metrics, after the
        requested filters.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A workspace API key issued in Settings → Developer, sent as `Bearer
        sk_…`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.