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

# List erasures

> The erasure requests of the space, with the status of each.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/forget
openapi: 3.1.0
info:
  title: Niadra data API
  version: '1'
  description: >-
    Writing, context, history, objects, identity, privacy and governance of one
    space. Every space has a stable address, with the space and the region in
    its name.
servers:
  - url: https://{space}.{region}.api.niadra.com
    variables:
      space:
        default: acme-prod
        description: The space, which comes in the source key.
      region:
        default: us-east-1
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/forget:
    get:
      tags:
        - governance
      summary: List erasures
      description: >-
        Lists the erasure requests of the space, newest first, filtered by
        `status`. Your privacy team uses it to show every data subject request
        and its evidence: what was erased, the receipt hash and the export runs
        your data lake must purge.


        **Authentication.** Console person token with the `security` role (or
        admin), or a source key with the `admin` scope.
      operationId: list_erasures_v1_forget_get
      parameters:
        - in: query
          name: status
          required: false
          schema:
            anyOf:
              - $ref: '#/components/schemas/ErasureStatus'
              - type: 'null'
            title: Status
          description: >-
            Only requests in this state: `pending`, `running`, `completed` or
            `failed`.
        - in: query
          name: cursor
          required: false
          schema:
            anyOf:
              - maxLength: 200
                type: string
              - type: 'null'
            title: Cursor
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_ErasureOut_'
              example:
                items:
                  - request_id: 0192f7b0-4c11-7e2a-9d30-1a2b3c4d5e6f
                    target_kind: handle
                    target_id: 0192f7a0-9f01-7a22-8b33-4c5d6e7f8091
                    status: completed
                    requested_at: '2026-09-22T18:00:00Z'
                    completed_at: '2026-09-22T18:04:12Z'
                    erased:
                      events: 42
                      facts: 9
                      episodes: 6
                      open_items: 2
                      traits: 1
                    export_run_ids:
                      - 0192f6e0-2b10-7c4d-8e5f-6a7b8c9d0e1f
                    receipt_hash: sha256:a91c07e3f4
                next_cursor: null
          description: One page of erasure requests.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    ErasureStatus:
      enum:
        - pending
        - running
        - completed
        - failed
      title: ErasureStatus
      type: string
    Page_ErasureOut_:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/ErasureOut'
          title: Items
          type: array
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
      required:
        - items
      title: Page[ErasureOut]
      type: object
    Problem:
      additionalProperties: false
      description: RFC 9457 problem details; `code` comes from the versioned error catalog.
      properties:
        code:
          title: Code
          type: string
        detail:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Detail
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Request Id
        status:
          title: Status
          type: integer
        title:
          title: Title
          type: string
        type:
          default: about:blank
          title: Type
          type: string
      required:
        - title
        - status
        - code
      title: Problem
      type: object
    ErasureOut:
      additionalProperties: false
      properties:
        completed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Completed At
        erased:
          additionalProperties:
            type: integer
          description: Rows erased per table.
          title: Erased
          type: object
        export_run_ids:
          description: Continuous export runs that already carried erased rows.
          items:
            type: string
          title: Export Run Ids
          type: array
        receipt_hash:
          anyOf:
            - type: string
            - type: 'null'
          description: Hex SHA-256 of the erasure receipt.
          title: Receipt Hash
        request_id:
          title: Request Id
          type: string
        requested_at:
          format: date-time
          title: Requested At
          type: string
        status:
          enum:
            - pending
            - running
            - completed
            - failed
          title: Status
          type: string
        target_id:
          description: Profile id, handle id or conversation id; never the handle value.
          title: Target Id
          type: string
        target_kind:
          enum:
            - profile
            - handle
            - conversation
          title: Target Kind
          type: string
      required:
        - request_id
        - status
        - target_kind
        - target_id
        - requested_at
      title: ErasureOut
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````