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

# Entities deleted on this branch (its tombstones), newest first

> Pass "master" for Base. Deletions inherited from a parent branch are listed on the branch that made them. Restore a row with the entity restore endpoints.



## OpenAPI

````yaml /openapi/customer-api.json get /project/{projectId}/branch/{id}/deleted-entities
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Flow customer API reference. Start with the [quickstart](/api/quickstart)
    and [authentication guide](/api/authentication).
  title: Customer API
  version: 1.0.0
servers:
  - description: Flow API
    url: '{baseUrl}'
    variables:
      baseUrl:
        default: https://backend.branch.flowengineering.com
security: []
tags:
  - name: Automations
  - name: Branches
  - name: Comments
  - name: Convert
  - name: Data Model
  - name: Diagrams
  - name: Entities
  - name: Files
  - name: Import
  - name: Notifications
  - name: Projects
  - name: ReqIF
  - name: ReqIF Import
  - name: Shared Access Grants
  - name: User Groups
  - name: Users
paths:
  /project/{projectId}/branch/{id}/deleted-entities:
    get:
      tags:
        - Branches
      summary: Entities deleted on this branch (its tombstones), newest first
      description: >-
        Pass "master" for Base. Deletions inherited from a parent branch are
        listed on the branch that made them. Restore a row with the entity
        restore endpoints.
      operationId: BranchController_getDeletedEntities
      parameters:
        - in: path
          name: projectId
          required: true
          schema:
            description: >-
              Project UUID, not a slug. Resolve a slug with GET
              /project/slug/{slug} using the same workspace and credentials,
              then pass the returned id.
            type: string
        - in: path
          name: id
          required: true
          schema:
            type: string
        - in: query
          name: limit
          required: false
          schema:
            type: number
        - description: >-
            The `cursor` of the last row already shown; returns the page after
            it. Omit for the first page.
          in: query
          name: before
          required: false
          schema:
            type: string
        - description: Workspace identifier
          in: header
          name: customer
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedEntitiesPageDto'
          description: ''
      security:
        - api-key: []
        - bearer: []
components:
  schemas:
    DeletedEntitiesPageDto:
      properties:
        items:
          items:
            $ref: '#/components/schemas/DeletedEntityDto'
          type: array
        next_cursor:
          nullable: true
          type: string
      required:
        - items
        - next_cursor
      type: object
    DeletedEntityDto:
      properties:
        ai_agent_id:
          type: string
        category:
          type: string
        cursor:
          type: string
        deleted_at:
          type: string
        description:
          type: string
        id:
          type: string
        name:
          type: string
        owner_id:
          type: string
        unique_entity_number:
          type: number
        user_id:
          type: string
      required:
        - id
        - name
        - deleted_at
        - cursor
      type: object
  securitySchemes:
    api-key:
      in: header
      name: X-API-Key
      type: apiKey
    bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.