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

# Prompts

> Tracked prompts with per-prompt visibility metrics.

Your tracked prompts with per-prompt visibility, position, share of voice, sentiment, run status, and next scheduled run. Paginated via `page` / `pageSize`, with `sort`, `dir`, and `search`. Pass `fields=minimal` for just `{ id, prompt }`.

Unlike the other endpoints this defaults to your full history, not the last 30 days.

Scope filters are described on [AI Visibility](https://snowseo.com/docs/api-reference/endpoints/ai-visibility.md).


## OpenAPI

````yaml GET /v3/ai-tracker/visibility/prompts
openapi: 3.0.0
info:
  title: SnowSEO API
  description: API documentation for SnowSEO
  version: 1.0.0
servers:
  - url: https://api.snowseo.com
    description: Production server
security:
  - bearerAuth: []
  - apiKey: []
externalDocs:
  url: https://snowseo.com/docs
  description: Find more info here
paths:
  /v3/ai-tracker/visibility/prompts:
    get:
      tags:
        - AI Tracker
      summary: Tracked prompts with per-prompt visibility metrics
      description: >-
        The team's tracked prompts, each with its own visibility, position,
        share of voice, sentiment, run status and next scheduled run. Paginated:
        pass page/pageSize and narrow with search or intent rather than pulling
        every row. Pass fields=minimal for just {id, prompt} when you only need
        to know what is tracked. Unlike the other ai_visibility_* tools this
        defaults to the full history, not the last 30 days.
      operationId: getAiVisibilityPrompts
      parameters:
        - schema:
            type: string
          in: query
          name: teamId
          required: false
        - schema:
            type: string
          in: query
          name: platform
          required: false
          description: Comma-separated AI platform names, or 'All Platforms' for no filter.
        - schema:
            type: string
          in: query
          name: competitor
          required: false
          description: >-
            Comma-separated competitor names, or 'All Competitors' for no
            filter. Keeps prompts where ANY listed competitor appears.
        - schema:
            type: string
          in: query
          name: country
          required: false
          description: >-
            Comma-separated ISO2 country codes, or 'All Countries' for no
            filter.
        - schema:
            type: string
          in: query
          name: startDate
          required: false
          description: >-
            YYYY-MM-DD. Omit with endDate set for All Time (from the first
            answer, no previous-period comparison).
        - schema:
            type: string
          in: query
          name: endDate
          required: false
          description: YYYY-MM-DD
        - schema:
            type: integer
            minimum: 1
            default: 3650
          in: query
          name: days
          required: false
          description: >-
            Days back from today on the team's calendar, converted to
            startDate/endDate. Ignored when startDate or endDate is set.
            Defaults to 3650.
        - schema:
            type: string
          in: query
          name: promptBrand
          required: false
          description: '''branded'', ''unbranded'', or ''all''.'
        - schema:
            type: string
          in: query
          name: tracking
          required: false
          description: '''tracked'', ''untracked'', or empty for both.'
        - schema:
            type: string
          in: query
          name: intent
          required: false
          description: Comma-separated prompt intents, or empty for all.
        - schema:
            type: string
          in: query
          name: fields
          required: false
          description: >-
            'full' (default) for metrics per prompt, or 'minimal' for {id,
            prompt} only. Minimal ignores all scope filters and pagination.
        - schema:
            type: integer
          in: query
          name: page
          required: false
          description: 1-based page. Default 1.
        - schema:
            type: string
          in: query
          name: pageSize
          required: false
          description: >-
            Rows per page, or 'all'. Defaults to 25. The response reports
            totalRows and totalPages.
        - schema:
            type: string
          in: query
          name: sort
          required: false
          description: >-
            prompt | mentions | visibility | position | sov | sentiment |
            updatedAt. Omit for the dashboard default (pinned, then processing,
            then most recently updated).
        - schema:
            type: string
          in: query
          name: dir
          required: false
          description: asc | desc. Default desc.
        - schema:
            type: string
          in: query
          name: pinnedFirst
          required: false
          description: >-
            Keep pinned, then processing, then tracked rows ahead of the sort
            (the management table's order). Defaults to false.
        - schema:
            type: string
          in: query
          name: search
          required: false
          description: Case-insensitive substring match on prompt text.
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  meta:
                    type: object
                    additionalProperties: true
                    properties:
                      teamInfo:
                        type: object
                        additionalProperties: true
                      appliedFilters:
                        type: object
                        additionalProperties: true
                      totalPrompts:
                        type: number
                      activePrompts:
                        type: number
                      activeRegionRuns:
                        type: number
                      totalResponses:
                        type: number
                      promptStatus:
                        type: object
                        additionalProperties: true
                  table:
                    type: object
                    additionalProperties: true
                  prompts:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  reference:
                    type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  reference:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  success:
                    type: boolean
                  error:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
                  reference:
                    type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your SnowSEO API key (sk_...).
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````

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