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

# Replay a Run Callback

> Retry delivery of a failed callback for a run to your webhook endpoint

<Info>
  **How replay works:**

  * Each replay creates a new callback (up to 3 total replays)
  * You can only replay the original callback, not callback responses
  * This helps you track each attempt and identify specific issues with your webhook URL

  **When to use replay:**

  * Your webhook URL was temporarily unavailable
  * You received a callback but want to retry processing
  * You need to debug callback delivery issues
</Info>


## OpenAPI

````yaml v1/api/actions.json post /runs/callbacks/{callback_uid}/replay
openapi: 3.1.0
info:
  title: ED Automation External API
  description: This is the External API documentation for ED Automation
  version: dev
servers:
  - url: https://api.edges.run/v1
security:
  - XApiKeyAuth: []
paths:
  /runs/callbacks/{callback_uid}/replay:
    post:
      tags:
        - public / runs
      summary: Replay a run callback
      description: Replay a run callback
      operationId: replayRunCallback
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: callback_uid
          required: true
          description: Run callback UUID
      responses:
        '200':
          description: Returns the run callback created for the replay
          content:
            application/json:
              schema:
                description: Returns the run callback created for the replay
                type: object
                properties:
                  uid:
                    type: string
                    format: uuid
                    description: Run callback UUID
                  parent_uid:
                    type: string
                    format: uuid
                    description: >-
                      Identifies the original run callback from which the
                      current callback originates. It is set when a callback is
                      created as part of a replay of a previous run callback.
                    nullable: true
                  retry_count:
                    type: integer
                    description: Retry count
                    default: 0
                  created_at:
                    type: string
                    description: Created at
                  status:
                    type: string
                    enum:
                      - PENDING
                      - RUNNING
                      - FAILED
                      - SUCCESS
                    description: Callback status
                  callback_url:
                    type: string
                    description: Callback URL
                  http_status:
                    type: integer
                    description: HTTP status code of the callback
                  http_response:
                    type: object
                    additionalProperties: true
                    description: HTTP response of the callback
                  batch_uid:
                    type: string
                    format: uuid
                    description: Batch UUID
                  run_uid:
                    type: string
                    format: uuid
                    description: Run UUID
                  scheduled_run_uid:
                    type: string
                    format: uuid
                    description: >-
                      Scheduled run UUID if the callback is associated with a
                      scheduled run
                    nullable: true
                  error:
                    type: object
                    description: Error information if the callback failed
                    nullable: true
                    required:
                      - message
                    properties:
                      error_label:
                        type: string
                        description: A short label for the error
                      message:
                        type: string
                        description: Detailed error message
                      error_scope:
                        type: string
                        description: Scope of the error
                      status_code:
                        type: integer
                        description: HTTP status code associated with the error
                      params:
                        type: object
                        description: Parameters related to the error
                        additionalProperties: true
                      error_ref:
                        type: string
                        description: Unique reference for the error
                  workspace_uid:
                    type: string
                    format: uuid
                    description: Workspace UUID
                additionalProperties: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-0'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-0'
components:
  schemas:
    def-0:
      title: APIError
      description: >-
        Represents an error returned by the API. This schema defines the
        standard structure of error messages to ensure consistent error handling
        across the application.
      type: object
      properties:
        error_label:
          type: string
          nullable: true
        error_scope:
          type: string
          enum:
            - input
            - integ
            - param
            - config
          nullable: true
        error_ref:
          type: string
          nullable: true
          example: ERR-12345
        message:
          type: string
        status_code:
          type: integer
          nullable: true
        params:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  type: string
          nullable: true
        data:
          type: object
          nullable: true
          additionalProperties: true
          description: Additional data about the error
      additionalProperties: false
  securitySchemes:
    XApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````