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

# Prompt Detail

> One prompt's metrics, history and top brands.

Returns one prompt's metrics over the window: visibility, position, share of voice and sentiment with their daily history, the top brands the AI answers named, the types of domains and pages they cited, and per-region answer counts.

The answers themselves are paginated on [Prompt Responses](https://snowseo.com/docs/api-reference/endpoints/ai-visibility-prompt-responses.md).

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/{id}
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/{id}:
    get:
      tags:
        - AI Tracker
      summary: One tracked prompt in detail
      description: >-
        One tracked prompt's metrics over the window: visibility, position,
        share of voice and sentiment with their daily history, the top brands
        the AI answers named, the types of domains and pages they cited, and
        per-region answer counts. The answers themselves are in
        ai_visibility_prompt_responses. Get prompt ids from
        ai_visibility_prompts.
      operationId: getAiVisibilityPromptDetail
      parameters:
        - schema:
            type: string
          in: query
          name: teamId
          required: false
        - schema:
            type: string
          in: query
          name: startDate
          required: false
          description: YYYY-MM-DD. Omit for all responses up to endDate.
        - schema:
            type: string
          in: query
          name: endDate
          required: false
          description: YYYY-MM-DD
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                properties:
                  id:
                    type: string
                  prompt:
                    type: string
                  status:
                    type: string
                  region:
                    type: object
                    additionalProperties: true
                    nullable: true
                  isEnabled:
                    type: boolean
                  isBranded:
                    type: boolean
                  isPinned:
                    type: boolean
                  intent:
                    type: string
                  isOverdue:
                    type: boolean
                  refreshedAt:
                    type: string
                    nullable: true
                  regionVariants:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                  responseCount:
                    type: number
                  createdAt:
                    type: string
                  updatedAt:
                    type: string
                  aiVisibilityScoreHistory:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                  userBrandMentionsHistory:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                  allBrandMentionsHistory:
                    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.