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

# Retry Dead Letter Event

> Retry a single failed event.

Requeues the event for processing and removes it from the failed events list.
The event will be processed automatically.

Returns:
    Event queued for processing.

Raises:
    HTTPException: 404 if event not found.



## OpenAPI

````yaml https://api.pragmatiks.io/openapi.json post /ops/dead-letter/{event_id}/retry
openapi: 3.1.0
info:
  title: Pragma API
  version: 0.1.0
servers: []
security: []
paths:
  /ops/dead-letter/{event_id}/retry:
    post:
      tags:
        - ops
      summary: Retry Dead Letter Event
      description: >-
        Retry a single failed event.


        Requeues the event for processing and removes it from the failed events
        list.

        The event will be processed automatically.


        Returns:
            Event queued for processing.

        Raises:
            HTTPException: 404 if event not found.
      operationId: ops-retry_dead_letter_event
      parameters:
        - name: event_id
          in: path
          required: true
          schema:
            type: string
            title: Event Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OutboxEventResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    OutboxEventResponse:
      properties:
        event_id:
          type: string
          title: Event Id
        provider:
          type: string
          title: Provider
        resource_type:
          type: string
          title: Resource Type
        resource_name:
          type: string
          title: Resource Name
        event_type:
          $ref: '#/components/schemas/EventType'
        payload:
          additionalProperties: true
          type: object
          title: Payload
        previous_config:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Previous Config
        correlation_id:
          type: string
          title: Correlation Id
        status:
          $ref: '#/components/schemas/OutboxStatus'
          default: pending
        created_at:
          type: string
          format: date-time
          title: Created At
        published_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Published At
      type: object
      required:
        - event_id
        - provider
        - resource_type
        - resource_name
        - event_type
        - payload
        - correlation_id
        - created_at
      title: OutboxEventResponse
      description: |-
        Event response.

        Attributes:
            event_id: Unique identifier for this event.
            provider: Provider name (e.g., "postgres").
            resource_type: Resource type (e.g., "database").
            resource_name: Resource name from manifest.
            event_type: Type of lifecycle event (CREATE, UPDATE, DELETE).
            payload: Resource configuration as JSON object.
            previous_config: Previous configuration for UPDATE events.
            correlation_id: Correlation ID for tracing.
            status: Processing status (pending, published).
            created_at: When event was created.
            published_at: When event was processed.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    EventType:
      type: string
      enum:
        - CREATE
        - UPDATE
        - DELETE
        - COPY
        - PATCH
        - MIGRATE_UP
        - MIGRATE_DOWN
      title: EventType
      description: Resource lifecycle event type.
    OutboxStatus:
      type: string
      enum:
        - pending
        - published
      title: OutboxStatus
      description: |-
        Status of an event.

        Attributes:
            PENDING: Event created but not yet processed.
            PUBLISHED: Event successfully processed.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````