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

# Get Response Deletion Status

> Poll a deletion receipt until the response is deleted or the request fails

Use the `deletionId` returned by [Delete Response](/api-v2/delete-response). Status is `queued`, `running`, `completed`, or `failed`. The receipt includes `requestedAt`; `completedAt` is `null` until completion.

If status is `failed`, our team reviews the request and works to resolve it. You can also contact [support](mailto:support@listenlabs.ai).


## OpenAPI

````yaml api-v2/openapi.yaml GET /api/public/v1/response-deletions/{deletionId}
openapi: 3.0.3
info:
  title: Listen Labs Public API v2
  version: 2.0.0
  description: >-
    Create and launch studies, and retrieve response data programmatically.
    Authenticated with an `x-api-key` header; the key is scoped to a single
    organization.


    This spec is generated from the zod schemas in app/api/public/v1/_schema.ts
    (the ground truth for the contract) via `pnpm run generate-openapi`.
    Cross-field rules that JSON Schema cannot express (screening placement,
    min/maxSelect coupling, unique externalIds, reference resolution,
    exclusiveOption placement) are described on the relevant schemas and
    enforced by the server (returned as 400 responses).


    All error responses share one JSON envelope: `error` (human-readable
    message, may change) and `code` (stable machine-readable identifier; branch
    on this). 400 responses may also carry `issues` with per-field schema
    violations. The possible codes for each response are listed in its
    description.
servers:
  - url: https://listenlabs.ai
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/public/v1/response-deletions/{deletionId}:
    get:
      summary: Get response deletion status
      description: >-
        Returns the durable deletion receipt. completedAt is null until
        completion.
      operationId: getResponseDeletionStatus
      parameters:
        - name: deletionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Deletion status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseDeletionStatusResponse'
              example:
                deletionId: de57d161-71a5-4e65-96e3-64b960a18ed2
                responseId: 877e4c64-6804-4bcb-a3d8-99805068f643
                status: completed
                requestedAt: '2026-09-24T11:59:00.000Z'
                completedAt: '2026-09-24T12:00:00.000Z'
        '400':
          description: 'Invalid deletion ID. Codes: `bad_request`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                invalidId:
                  value:
                    error: deletionId must be a UUID
                    code: bad_request
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: >-
            Deletion not found in the API key's organization. Codes:
            `not_found`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                notFound:
                  value:
                    error: Deletion not found
                    code: not_found
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    ResponseDeletionStatusResponse:
      type: object
      properties:
        deletionId: 325215dd-c5e4-4310-8421-1094e43d971b
        responseId: 961884a7-e999-4a04-b2bc-e6c2d80e9b6a
        status: e95795a4-a439-4085-b11f-c7bd71d51d9f
        requestedAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
          nullable: true
      required:
        - deletionId
        - responseId
        - status
        - requestedAt
        - completedAt
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable description of the failure.
        code:
          type: string
          enum:
            - invalid_json
            - invalid_request_body
            - invalid_study_guide
            - wallet_required
            - insufficient_credits
            - bad_request
            - missing_api_key
            - invalid_api_key
            - unauthorized
            - launch_permission_denied
            - wallet_access_denied
            - forbidden
            - study_not_found
            - response_not_found
            - not_found
            - study_busy
            - concurrent_modification
            - conflict
            - internal_error
          description: >-
            Stable machine-readable error code. Branch on this, not on the
            `error` text, which may change.
      required:
        - error
        - code
      additionalProperties: false
  responses:
    Unauthorized:
      description: 'Missing or invalid API key. Codes: `missing_api_key`, `invalid_api_key`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missingApiKey:
              value:
                error: Missing x-api-key header
                code: missing_api_key
            invalidApiKey:
              value:
                error: Invalid API key
                code: invalid_api_key
    Forbidden:
      description: 'Key''s user not permitted for this resource. Codes: `forbidden`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            forbidden:
              value:
                error: API key user is not a member of the key's organization
                code: forbidden
    ServerError:
      description: >-
        Internal error (details are logged server-side, not returned). Codes:
        `internal_error`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            internalError:
              value:
                error: Internal server error
                code: internal_error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````