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

# Stuck work

> The tasks of the space that exhausted their attempts, ids only; an erasure among them marks its request failed.



## OpenAPI

````yaml openapi/en/cell.json GET /v1/operations/dead-tasks
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-2
        description: The region of the space, which also comes in the key.
security: []
paths:
  /v1/operations/dead-tasks:
    get:
      tags:
        - operate
      summary: Stuck work
      description: >-
        Work of this space that exhausted its attempts (an erasure among them
        marks its request failed).


        **Authentication.** Console person token with the `security` role (or
        admin), or a source key with the `admin` scope.
      operationId: dead_tasks_v1_operations_dead_tasks_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeadTasks'
          description: The stuck tasks, by id and name.
      security:
        - sourceKey: []
        - personToken: []
components:
  schemas:
    DeadTasks:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/DeadTaskOut'
          title: Items
          type: array
      required:
        - items
      title: DeadTasks
      type: object
    DeadTaskOut:
      additionalProperties: false
      description: A task that exhausted its attempts; ids only, never content (L2).
      properties:
        name:
          title: Name
          type: string
        profile_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Profile Id
        task_id:
          format: uuid
          title: Task Id
          type: string
      required:
        - task_id
        - name
      title: DeadTaskOut
      type: object
  securitySchemes:
    sourceKey:
      type: http
      scheme: bearer
      description: nia_sk_...
    personToken:
      type: http
      scheme: bearer
      bearerFormat: JWT

````