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

# Refresh a Prompt

> Re-run a single tracked prompt.

Re-run a single tracked prompt (and its enabled regional variants) to pull fresh AI responses. The runs are queued and the response returns the `enqueued` count.

See [Track Prompts](https://snowseo.com/docs/api-reference/endpoints/track-prompts.md).


## OpenAPI

````yaml POST /v3/ai-tracker/prompts/{id}/refresh
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/prompts/{id}/refresh:
    post:
      tags:
        - AI Tracker
      summary: Refresh a prompt and all its region variants
      description: >-
        Re-runs one tracked prompt against the AI platforms in its enabled
        regions; a paused prompt runs once in `regions` without enabling
        tracking. CONSUMES CREDITS: every run is billed. Returns how many runs
        were queued (`enqueued`) and the billed run units (`runUnits`). 404 when
        the prompt is not in this team.
      operationId: refreshTrackedPrompt
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                teamId:
                  type: string
                regions:
                  type: array
                  minItems: 1
                  items:
                    type: object
                    nullable: true
                    required:
                      - type
                      - country
                      - iso2
                    properties:
                      type:
                        type: string
                        enum:
                          - country
                          - state
                          - city
                      city:
                        type: string
                      state:
                        type: string
                      country:
                        type: string
                      iso2:
                        type: string
                      iso3:
                        type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  enqueued:
                    type: number
                  runUnits:
                    type: number
        '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.