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

# Delete Prompt Responses

> Delete stored responses from a tracked prompt.

Delete selected stored responses from a tracked prompt.

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


## OpenAPI

````yaml DELETE /v3/ai-tracker/prompts/{id}/responses
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}/responses:
    delete:
      tags:
        - AI Tracker
      summary: Delete selected responses across a prompt's regions
      description: >-
        Permanently deletes stored AI answers of one prompt, across its regions:
        either the listed `responseIds`, or every response matching `selection`
        (filters such as platform, date, region, mention). Cannot be undone. 404
        when the prompt is not in this team.
      operationId: deletePromptResponses
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              oneOf:
                - required:
                    - responseIds
                - required:
                    - selection
              properties:
                teamId:
                  type: string
                responseIds:
                  type: array
                  items:
                    type: string
                selection:
                  oneOf:
                    - type: object
                      required:
                        - mode
                        - ids
                      additionalProperties: false
                      properties:
                        mode:
                          type: string
                          enum:
                            - ids
                        ids:
                          type: array
                          items:
                            type: string
                    - type: object
                      required:
                        - mode
                        - filters
                        - excludedIds
                      additionalProperties: false
                      properties:
                        mode:
                          type: string
                          enum:
                            - all
                        filters:
                          type: object
                          additionalProperties: false
                          properties:
                            search:
                              type: string
                            startDate:
                              type: string
                            endDate:
                              type: string
                            provider:
                              type: array
                              items:
                                type: string
                            competitor:
                              type: array
                              items:
                                type: string
                            date:
                              type: array
                              items:
                                type: string
                            region:
                              type: array
                              items:
                                type: string
                            mention:
                              type: array
                              items:
                                type: string
                        excludedIds:
                          type: array
                          items:
                            type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  deleted:
                    type: integer
        '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.