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

# Erasure status

> Where an erasure stands and what it has already covered.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/forget/{request_id}
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/{request_id}:
    get:
      tags:
        - governance
      summary: Erasure status
      description: >-
        Reads one erasure request. `erased` counts the rows removed per kind of
        data, `receipt_hash` is the hash of the erasure receipt in the audit
        chain, and `export_run_ids` lists the continuous export runs that
        already contained the data, so you can purge your own copy.


        **Authentication.** Console person token with the `security` role (or
        admin), or a source key with the `admin` scope.
      operationId: erasure_status_v1_forget__request_id__get
      parameters:
        - in: path
          name: request_id
          required: true
          schema:
            format: uuid
            title: Request Id
            type: string
          example: 0192f7b0-4c11-7e2a-9d30-1a2b3c4d5e6f
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErasureOut'
              example:
                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
          description: The erasure request and how far it went.
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: The request does not match the contract.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    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
    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
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````