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

# List Query Fanouts

> Get paginated list of prompts with extracted ChatGPT query fanout keywords



## OpenAPI

````yaml /v2/openapi.json get /query-fanouts
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: team@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 optimization. Create content asynchronously and
      poll for results.
  - name: Content Gap
    description: Content gap analysis and recommendations
  - 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: Visibility
    description: Brand visibility time series and competitor heatmaps
  - name: Citations
    description: Citation analytics from AI responses
  - name: Analytics
    description: Visitor analytics, AI crawler logs, sentiment, and brand visibility trends
  - name: Projects
    description: Project management (organization-level keys only)
  - name: Sitemap
    description: Sitemap crawl progress and discovered URLs
  - name: Site Health
    description: >-
      Crawled pages with SEO issues (titles, meta descriptions, H1, thin
      content)
  - name: Socials
    description: >-
      Social media citations (Reddit posts and YouTube videos) found in LLM
      responses
paths:
  /query-fanouts:
    get:
      tags:
        - Query Fanouts
      summary: List Query Fanouts
      description: >-
        Get paginated list of prompts with extracted ChatGPT query fanout
        keywords
      operationId: getQueryFanouts
      parameters:
        - schema:
            type: number
            default: 1
            minimum: 1
          in: query
          name: page
          required: false
        - schema:
            type: number
            default: 25
            minimum: 1
            maximum: 100
          in: query
          name: size
          required: false
        - schema:
            type: string
          in: query
          name: query
          required: false
          description: Text search on prompt
        - 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: Prompt type filter; repeat the parameter for multiple values
        - schema:
            anyOf:
              - type: string
                enum:
                  - BRANDED
                  - INFORMATIONAL
                  - NAVIGATIONAL
                  - COMMERCIAL
                  - TRANSACTIONAL
              - type: array
                items:
                  type: string
                  enum:
                    - BRANDED
                    - INFORMATIONAL
                    - NAVIGATIONAL
                    - COMMERCIAL
                    - TRANSACTIONAL
          in: query
          name: intentTypes
          required: false
          description: Intent type filter; repeat the parameter for multiple values
        - schema:
            type: boolean
          in: query
          name: hasChatgptFanouts
          required: false
          description: Filter to prompts with ChatGPT-extracted keywords
        - schema:
            anyOf:
              - type: string
                format: uuid
              - type: array
                items:
                  type: string
                  format: uuid
          in: query
          name: promptId
          required: false
          description: >-
            Filter by prompt ID(s). Repeat for multiple:
            promptId=id1&promptId=id2
        - schema:
            type: string
            enum:
              - createdAt
              - updatedAt
              - type
              - intent
          in: query
          name: sortBy
          required: false
          description: >-
            Sort field (combinedVolume/combinedDifficulty not supported -
            computed post-query)
        - schema:
            type: string
            enum:
              - asc
              - desc
          in: query
          name: sortOrder
          required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  items:
                    - id: 6ba7b828-9dad-11d1-80b4-00c04fd430c8
                      prompt: Affordable project management tools for agencies?
                      type: ORGANIC
                      intent: COMMERCIAL
                      combinedVolume: 14800
                      combinedDifficulty: 41
                      keywords:
                        - id: 6ba7b829-9dad-11d1-80b4-00c04fd430c8
                          text: agency project management software
                          extractedFromChatgpt: true
                          googleSearchVolume: 1900
                          bingSearchVolume: 420
                          aiSearchVolume: 210
                          googleKeywordDifficulty: 38
                    - id: 6ba7b82a-9dad-11d1-80b4-00c04fd430c8
                      prompt: Example Brand vs Contoso for invoicing
                      type: COMPETITOR_COMPARISON
                      intent: BRANDED
                      combinedVolume: 3200
                      combinedDifficulty: 55
                      keywords:
                        - id: 6ba7b82b-9dad-11d1-80b4-00c04fd430c8
                          text: example brand invoicing
                          extractedFromChatgpt: false
                          googleSearchVolume: null
                          bingSearchVolume: null
                          aiSearchVolume: null
                          googleKeywordDifficulty: null
                  total: 95
                  page: 1
                  size: 25
                  totalPages: 4
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: Prompt identifier
                        prompt:
                          type: string
                        type:
                          type: string
                          enum:
                            - ORGANIC
                            - BRAND_SPECIFIC
                            - COMPETITOR_COMPARISON
                          nullable: true
                        intent:
                          type: string
                          enum:
                            - BRANDED
                            - INFORMATIONAL
                            - NAVIGATIONAL
                            - COMMERCIAL
                            - TRANSACTIONAL
                          nullable: true
                        combinedVolume:
                          type: number
                        combinedDifficulty:
                          type: number
                        keywords:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                                format: uuid
                                description: Keyword identifier
                              text:
                                type: string
                              extractedFromChatgpt:
                                type: boolean
                              googleSearchVolume:
                                type: number
                                nullable: true
                              bingSearchVolume:
                                type: number
                                nullable: true
                              aiSearchVolume:
                                type: number
                                nullable: true
                              googleKeywordDifficulty:
                                type: number
                                nullable: true
                            required:
                              - id
                              - text
                              - extractedFromChatgpt
                            additionalProperties: false
                      required:
                        - id
                        - prompt
                        - type
                        - intent
                        - combinedVolume
                        - combinedDifficulty
                        - keywords
                      additionalProperties: false
                    description: Page of prompts
                  page:
                    type: integer
                    description: Page number (1-based)
                  size:
                    type: integer
                    description: Page size
                  total:
                    type: integer
                    description: Total items matching the request
                  totalPages:
                    type: integer
                    description: Total pages for this page size
                required:
                  - items
                  - total
                  - page
                  - size
                  - totalPages
                additionalProperties: false
        '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: PROMPT_NOT_FOUND
                  message: Prompt not found
                properties:
                  code:
                    type: string
                    description: Domain error code
                    enum:
                      - PROMPT_NOT_FOUND
                      - INTERNAL_ERROR
                  message:
                    type: string
                    description: Human-readable explanation
                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.

````