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

# Get webhook events for a run

> Retrieves all recorded webhook delivery attempts for a session in chronological order.
This is useful for inspecting payloads, delivery outcomes, retry behavior, and timing.

<Note>
  Use this endpoint to inspect previously recorded webhook deliveries for a run, including payload envelopes, delivery status, retry attempts, and timing.
</Note>


## OpenAPI

````yaml webhooks-api/webhooks-api.yaml get /webhooks/{session_id}
openapi: 3.1.0
info:
  title: CloudCruise Webhooks API
  version: 0.1.0
  description: Endpoints for replaying webhook deliveries for a run session.
servers:
  - url: https://api.cloudcruise.com
    description: CloudCruise Platform Production API Server
security:
  - AuthScheme: []
paths:
  /webhooks/{session_id}:
    get:
      summary: Get webhook events for a run
      description: >-
        Retrieves all recorded webhook delivery attempts for a session in
        chronological order.

        This is useful for inspecting payloads, delivery outcomes, retry
        behavior, and timing.
      operationId: get_webhook_events
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            description: The ID of the session to retrieve webhook events for
      responses:
        '200':
          description: Webhook events successfully retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  webhook_events:
                    type: array
                    items:
                      type: object
                      properties:
                        created_at:
                          type: string
                          format: date-time
                        workflow_id:
                          type: string
                        session_id:
                          type: string
                        url:
                          type: string
                        delivered:
                          type: boolean
                        delivery_errors:
                          type: array
                          items:
                            type: string
                        duration:
                          type: integer
                        retries:
                          type: integer
                        message:
                          type: object
                          additionalProperties: true
                required:
                  - webhook_events
components:
  securitySchemes:
    AuthScheme:
      type: apiKey
      name: cc-key
      in: header
      description: >-
        API key-based authentication. Provide your CloudCruise API key in the
        cc-key header.

````