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

# List deliveries

> List delivery history for a webhook subscription



## OpenAPI

````yaml api-docs/draft/webhooks.json get /v1/regions/global/webhooks/subscriptions/{id}/deliveries
openapi: 3.1.1
info:
  title: Webhooks API
  version: 1.0.0
  description: >-
    Webhooks API for the k0rdent Enterprise platform. Provides webhook
    management, subscription configuration, and delivery history tracking.
  contact:
    name: k0rdent Enterprise API Support
    email: api-support@example.com
    url: https://support.example.com
  license:
    name: Proprietary
    url: https://k0rdent.example.com/license
servers:
  - url: ''
    description: For documentation only
  - url: https://api.example.com
    description: Arc API Base URL
  - url: https://api.internal.example.com
    description: Atlas API Base URL
  - url: http://localhost:{port}
    description: Local Development
    variables:
      port:
        default: '4080'
        description: Webhooks service port
security: []
paths:
  /v1/regions/global/webhooks/subscriptions/{id}/deliveries:
    get:
      tags:
        - Webhook Deliveries
      summary: List deliveries
      description: List delivery history for a webhook subscription
      operationId: listDeliveries
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Subscription identifier
        - name: status
          in: query
          schema:
            type: string
            enum:
              - pending
              - success
              - failed
              - retrying
          description: Filter by delivery status
        - name: limit
          in: query
          schema:
            type: number
            default: 50
          description: Maximum number of results
        - name: offset
          in: query
          schema:
            type: number
            default: 0
          description: Number of results to skip
      responses:
        '200':
          description: List of deliveries
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Delivery'
                  meta:
                    type: object
                    properties:
                      total:
                        type: number
                      limit:
                        type: number
                      offset:
                        type: number
        '404':
          description: Subscription not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    Delivery:
      type: object
      description: Webhook delivery attempt record
      properties:
        id:
          type: string
          description: Delivery identifier
        subscriptionId:
          type: string
          description: Parent subscription identifier
        eventType:
          type: string
          description: Event type that triggered delivery
        payload:
          type: object
          description: Delivered payload
        status:
          type: string
          enum:
            - pending
            - success
            - failed
            - retrying
          description: Delivery status
        httpStatus:
          type: number
          nullable: true
          description: HTTP response status code from target
        attempts:
          type: number
          description: Number of delivery attempts
        lastAttemptAt:
          type: string
          format: date-time
          nullable: true
          description: Timestamp of last delivery attempt
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - subscriptionId
        - eventType
        - status
    ErrorResponse:
      type: object
      description: Standard error response following RFC 7807
      properties:
        success:
          type: boolean
          enum:
            - false
          description: Success indicator
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code
              examples:
                - VALIDATION_ERROR
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - CONFLICT
                - RATE_LIMITED
                - INTERNAL_ERROR
                - SERVICE_UNAVAILABLE
            message:
              type: string
              description: Human-readable error message
            details:
              type: object
              nullable: true
              description: Additional error details
          required:
            - code
            - message
        meta:
          type: object
          description: Response metadata
          properties:
            requestId:
              type: string
              description: Unique request identifier
            timestamp:
              type: string
              format: date-time
              description: Response timestamp
      required:
        - success
        - error

````