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

# Persona Insights

> Get each persona's visibility, sentiment or position for the project's own brand, overall and per topic, model or competitor, next to the general audience (answers without a persona). Mirrors the persona insights page.



## OpenAPI

````yaml /v2/openapi.json get /personas/insights
openapi: 3.0.0
info:
  title: Promptwatch API v2
  description: >-
    API v2 for customer integrations with Promptwatch monitoring platform. This
    version provides improved structure, additional endpoints, and enhanced
    functionality.
  version: 2.0.0
  contact:
    name: Promptwatch Support
    email: support@promptwatch.com
    url: https://promptwatch.com
  license:
    name: Commercial
    url: https://promptwatch.com/terms-and-conditions
servers:
  - url: https://server.promptwatch.com/api/v2
    description: Promptwatch API v2
security: []
tags:
  - name: Authentication
    description: API key validation and authentication
  - name: Content
    description: >-
      AI content generation and content refresh. Create content asynchronously
      and poll for results.
  - name: Content Agent
    description: >-
      Content Agent (automated content) lifecycle: project settings, scheduled
      slots, review (accept/decline), and publish.
  - name: Content Gap
    description: Content gap analysis and recommendations
  - name: Publishing
    description: >-
      Publish content to a connected CMS, or record a live URL, and track the
      published page
  - name: IndexNow
    description: Submit pages to search engines through IndexNow and track each submission
  - name: Models
    description: Available LLM models
  - name: Monitors
    description: Monitor management and CRUD operations
  - name: Page Tracker
    description: Track URLs and inspect citation stats, responses, and prompts
  - name: Prompts
    description: Prompt management and operations
  - name: Query Fanouts
    description: ChatGPT query fanout keywords
  - name: Responses
    description: LLM response data and analytics
  - name: Tags
    description: Tag management for prompts
  - name: Topics
    description: Topic management for prompts
  - name: Actions
    description: Action items (GEO suggestions and tasks)
  - name: Personas
    description: Persona configuration for monitors
  - name: Brands
    description: Brand management for competitive analysis
  - name: Brand Book
    description: Brand name, website, aliases, and the copy used to describe the brand
  - name: Visibility
    description: >-
      Brand visibility time series, competitor heatmaps, and performance
      heatmaps
  - name: Events
    description: >-
      Dated project events such as prompts added and actions completed, for
      annotating time series
  - name: Citations
    description: Citation analytics from AI responses
  - name: Analytics
    description: Visitor analytics, AI crawler logs, sentiment, and brand visibility trends
  - name: Search Insights
    description: >-
      Google Search Console and Bing Webmaster performance for the project
      website
  - name: Projects
    description: Project management (organization-level keys only)
  - name: Usage
    description: Plan usage and limits (organization-level keys only)
  - name: Sitemap
    description: Sitemap feeds, crawler settings, crawl progress, and discovered URLs
  - name: Site Health
    description: Deprecated. Legacy SEO issue pages. Use Site Audit for the current checks.
  - name: Site Audit
    description: >-
      Site audit runs, issue lists, link and content insights, and per-URL
      history
  - name: Socials
    description: >-
      Social media citations (Reddit posts, YouTube videos, LinkedIn posts, and
      Instagram posts) found in LLM responses
  - name: Ads Radar
    description: Sponsored ads captured in AI answers
  - name: Shopping
    description: Product appearances in AI shopping answers and tracked products
paths:
  /personas/insights:
    get:
      tags:
        - Personas
      summary: Persona Insights
      description: >-
        Get each persona's visibility, sentiment or position for the project's
        own brand, overall and per topic, model or competitor, next to the
        general audience (answers without a persona). Mirrors the persona
        insights page.
      operationId: getPersonaInsights
      parameters:
        - schema:
            type: string
            format: date
          in: query
          name: startDate
          required: false
          description: Start date (YYYY-MM-DD). Max range 92 days. Defaults to today.
        - schema:
            type: string
            format: date
          in: query
          name: endDate
          required: false
          description: End date (YYYY-MM-DD). Max range 92 days. Defaults to today.
        - schema:
            type: string
            enum:
              - visibility
              - sentiment
              - position
            default: visibility
          in: query
          name: metric
          required: false
          description: >-
            visibility is 0-100. sentiment is an average score. position is an
            average rank where 1 is best. Defaults to visibility.
        - schema:
            type: string
            enum:
              - topics
              - models
              - competitors
            default: competitors
          in: query
          name: spokes
          required: false
          description: >-
            What each persona is broken down by: the top topics, every model, or
            the project's own brand next to its competitors. Defaults to
            competitors.
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: projectBrandIds
          required: false
          description: >-
            Competitors spokes only: project brand IDs to compare against, in
            this order. Omit for the most visible competitors. Repeat for
            multiple.
        - schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
          in: query
          name: models
          required: false
          description: >-
            Filter by model ids from GET /models. Repeat for multiple:
            models=x&models=y
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: llmMonitorIds
          required: false
          description: Filter by LLM monitor IDs. Repeat for multiple.
        - schema:
            anyOf:
              - type: string
                enum:
                  - ORGANIC
                  - BRAND_SPECIFIC
                  - COMPETITOR_COMPARISON
              - type: array
                items:
                  type: string
                  enum:
                    - ORGANIC
                    - BRAND_SPECIFIC
                    - COMPETITOR_COMPARISON
          in: query
          name: promptTypes
          required: false
          description: Filter by prompt type. Repeat for multiple.
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: tagIds
          required: false
          description: Filter by prompt tag IDs. Repeat for multiple.
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: topicIds
          required: false
          description: Filter by prompt topic IDs. Repeat for multiple.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  brand:
                    type: object
                    nullable: true
                    description: >-
                      The project's own brand behind every overall value. Null
                      when the project has no own brand, and then there is no
                      data.
                    properties:
                      id:
                        type: string
                        format: uuid
                      name:
                        type: string
                      domain:
                        type: string
                        nullable: true
                    required:
                      - id
                      - name
                      - domain
                    additionalProperties: false
                  baseline:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          Persona ID, or general-audience for answers that ran
                          without a persona
                      label:
                        type: string
                        description: Persona name. Deleted personas end in (deleted).
                      description:
                        type: string
                        nullable: true
                        description: Persona description
                      avatarUrl:
                        type: string
                        nullable: true
                        description: Persona avatar image URL
                      profile:
                        type: object
                        nullable: true
                        description: Persona profile fields. Null for the general audience.
                        properties:
                          name:
                            type: string
                          ageRange:
                            type: string
                            nullable: true
                          educationLevel:
                            type: string
                            nullable: true
                          gender:
                            type: string
                            nullable: true
                          stackablePrompt:
                            type: string
                            nullable: true
                          deletedAt:
                            type: string
                            format: date-time
                            nullable: true
                            description: Set when the persona was deleted
                        required:
                          - name
                          - ageRange
                          - educationLevel
                          - gender
                          - stackablePrompt
                          - deletedAt
                        additionalProperties: false
                      overall:
                        type: number
                        nullable: true
                        description: >-
                          The project's own brand on the metric across every
                          matching answer. Null when nothing was scored.
                      previousOverall:
                        type: number
                        nullable: true
                        description: >-
                          The same number for the same number of days just
                          before the range
                      promptCount:
                        type: integer
                        description: Prompts with answers for this audience
                      responseCount:
                        type: integer
                        description: Answers for this audience
                      values:
                        type: object
                        additionalProperties:
                          type: number
                          nullable: true
                        description: >-
                          Metric per spoke, keyed by spoke id. A spoke without
                          answers for this audience is missing.
                    required:
                      - id
                      - label
                      - description
                      - avatarUrl
                      - profile
                      - overall
                      - previousOverall
                      - promptCount
                      - responseCount
                      - values
                    additionalProperties: false
                    nullable: true
                    description: >-
                      The general audience: answers that ran without a persona.
                      Null when there are none.
                  personas:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: >-
                            Persona ID, or general-audience for answers that ran
                            without a persona
                        label:
                          type: string
                          description: Persona name. Deleted personas end in (deleted).
                        description:
                          type: string
                          nullable: true
                          description: Persona description
                        avatarUrl:
                          type: string
                          nullable: true
                          description: Persona avatar image URL
                        profile:
                          type: object
                          nullable: true
                          description: >-
                            Persona profile fields. Null for the general
                            audience.
                          properties:
                            name:
                              type: string
                            ageRange:
                              type: string
                              nullable: true
                            educationLevel:
                              type: string
                              nullable: true
                            gender:
                              type: string
                              nullable: true
                            stackablePrompt:
                              type: string
                              nullable: true
                            deletedAt:
                              type: string
                              format: date-time
                              nullable: true
                              description: Set when the persona was deleted
                          required:
                            - name
                            - ageRange
                            - educationLevel
                            - gender
                            - stackablePrompt
                            - deletedAt
                          additionalProperties: false
                        overall:
                          type: number
                          nullable: true
                          description: >-
                            The project's own brand on the metric across every
                            matching answer. Null when nothing was scored.
                        previousOverall:
                          type: number
                          nullable: true
                          description: >-
                            The same number for the same number of days just
                            before the range
                        promptCount:
                          type: integer
                          description: Prompts with answers for this audience
                        responseCount:
                          type: integer
                          description: Answers for this audience
                        values:
                          type: object
                          additionalProperties:
                            type: number
                            nullable: true
                          description: >-
                            Metric per spoke, keyed by spoke id. A spoke without
                            answers for this audience is missing.
                      required:
                        - id
                        - label
                        - description
                        - avatarUrl
                        - profile
                        - overall
                        - previousOverall
                        - promptCount
                        - responseCount
                        - values
                      additionalProperties: false
                    description: >-
                      Personas with answers in the range, best first on the
                      metric
                  spokes:
                    type: array
                    description: Topics, models, or brands each persona is broken down by
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Topic id, model id, or brand id
                        label:
                          type: string
                          description: Display name. Model ids are used as their labels.
                        domain:
                          type: string
                          nullable: true
                          description: Brand domain, when the spoke is a brand
                        relation:
                          type: string
                          nullable: true
                          enum:
                            - DIRECT_COMPETITOR
                            - SELF
                            - OTHER
                            - IGNORED
                          description: Brand relation, when the spoke is a brand
                      required:
                        - id
                        - label
                        - domain
                        - relation
                      additionalProperties: false
                  gap:
                    type: object
                    nullable: true
                    description: >-
                      The persona that trails the general audience the most.
                      Always null for competitors spokes.
                    properties:
                      personaId:
                        type: string
                      difference:
                        type: number
                        description: >-
                          How far behind the general audience: points, or ranks
                          for position
                      weakestSpokeId:
                        type: string
                        nullable: true
                        description: >-
                          The persona's worst spoke. Null when no spoke is
                          scored.
                      weakestSpokePromptCount:
                        type: integer
                        description: Prompts the persona has on that spoke
                      monitorIds:
                        type: array
                        items:
                          type: string
                        description: Monitors this persona's answers came from
                    required:
                      - personaId
                      - difference
                      - weakestSpokeId
                      - weakestSpokePromptCount
                      - monitorIds
                    additionalProperties: false
                required:
                  - brand
                  - baseline
                  - personas
                  - spokes
                  - gap
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  error: Bad Request
                  code: DATE_RANGE_TOO_LARGE
                  message: Date range cannot exceed 92 days
                properties:
                  error:
                    type: string
                    description: Error label
                  code:
                    type: string
                    description: Optional machine-readable code (e.g. DATE_RANGE_TOO_LARGE)
                  message:
                    type: string
                    description: Reason the request was rejected
                required:
                  - error
                  - message
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  error: Unauthorized
                  message: Missing or invalid X-API-Key header.
                properties:
                  error:
                    type: string
                    description: Error category (often aligned with HTTP semantics)
                  code:
                    type: string
                    description: Optional machine-readable code
                  message:
                    type: string
                    description: Human-readable explanation
                  details:
                    type: object
                    description: Optional structured detail (e.g. validation)
                    additionalProperties: true
                required:
                  - error
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  code: PERSONA_NOT_FOUND
                  message: Persona not found
                properties:
                  code:
                    type: string
                    description: Error code indicating the type of error
                    enum:
                      - PERSONA_NOT_FOUND
                      - PERSONA_FORBIDDEN
                      - PERSONA_ALREADY_EXISTS
                      - PERSONA_LAST_IN_PROJECT
                      - PERSONA_IN_USE
                      - INTERNAL_ERROR
                    example: PERSONA_NOT_FOUND
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - code
                  - message
                additionalProperties: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get yours from the Promptwatch dashboard
        under Settings > API Keys.

````

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