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

# List deliveries

<Snippet file="api/Triggers/list-trigger-deliveries.mdx" />


## OpenAPI

````yaml GET /v1/triggers/{trigger_id}/deliveries
openapi: 3.1.0
info:
  title: Adapter API
  description: Connect and sync data from any SaaS tool.
  version: 0.1.0
servers:
  - url: https://api.adapter.com
security:
  - ApiKeyAuth: []
tags:
  - name: connections
    description: Manage OAuth connections to data sources.
paths:
  /v1/triggers/{trigger_id}/deliveries:
    get:
      tags:
        - Triggers
      summary: List deliveries
      operationId: list_trigger_deliveries
      parameters:
        - name: trigger_id
          in: path
          required: true
          schema:
            type: string
            title: Trigger Id
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Deliveries per page.
            default: 50
            title: Limit
          description: Deliveries per page.
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Opaque page cursor from a previous response.
            title: Cursor
          description: Opaque page cursor from a previous response.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerDeliveryListResponse'
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationErrorModel'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionDeniedErrorModel'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundErrorModel'
          description: Not Found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorModel'
          description: Internal Server Error
components:
  schemas:
    TriggerDeliveryListResponse:
      properties:
        deliveries:
          items:
            $ref: '#/components/schemas/TriggerDeliveryOut'
          type: array
          title: Deliveries
          description: Most recent deliveries first.
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: >-
            Pass back as `cursor` to fetch the next page. Null when there are no
            more.
      type: object
      required:
        - deliveries
      title: TriggerDeliveryListResponse
    AuthenticationErrorModel:
      properties:
        error_code:
          type: string
          const: authentication_error
          title: Error Code
          default: authentication_error
        message:
          type: string
          title: Message
          default: Invalid or missing credentials.
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      title: AuthenticationErrorModel
    PermissionDeniedErrorModel:
      properties:
        error_code:
          type: string
          const: permission_denied
          title: Error Code
          default: permission_denied
        message:
          type: string
          title: Message
          default: You do not have permission to perform this action.
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      title: PermissionDeniedErrorModel
    NotFoundErrorModel:
      properties:
        error_code:
          type: string
          const: not_found
          title: Error Code
          default: not_found
        message:
          type: string
          title: Message
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      required:
        - message
      title: NotFoundErrorModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    InternalServerErrorModel:
      properties:
        error_code:
          type: string
          const: internal_server_error
          title: Error Code
          default: internal_server_error
        message:
          type: string
          title: Message
          default: An unexpected error occurred.
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      title: InternalServerErrorModel
    TriggerDeliveryOut:
      properties:
        id:
          type: string
          title: Id
          description: >-
            Delivery id — matches the `id` on the event envelope your endpoint
            received.
          examples:
            - evt_5f4c1e2a9b8d4c6f
        trigger_id:
          type: string
          title: Trigger Id
        delivered_at:
          type: string
          format: date-time
          title: Delivered At
          description: When the delivery attempt chain completed.
        status:
          type: string
          enum:
            - delivered
            - failed
          title: Status
          description: Final outcome after all retries.
        channel:
          type: string
          title: Channel
          description: Delivery channel the event was sent over.
          examples:
            - webhook
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Status Code
          description: >-
            Response code from the last attempt (HTTP status for webhook
            deliveries).
        attempts:
          type: integer
          title: Attempts
          description: >-
            Send attempts made. 0 means the delivery was rejected before any
            attempt.
        duration_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Duration Ms
          description: Wall-clock duration of the attempt chain, including retry backoff.
        kind:
          type: string
          title: Kind
          description: Trigger kind id of the delivered event.
        action:
          type: string
          title: Action
          description: Mutation type of the delivered event.
        key:
          anyOf:
            - type: string
            - type: 'null'
          title: Key
          description: Provider-side identifier of the underlying resource.
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
          description: Truncated failure reason for failed deliveries.
      type: object
      required:
        - id
        - trigger_id
        - delivered_at
        - status
        - channel
        - attempts
        - kind
        - action
      title: TriggerDeliveryOut
    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
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: Pass your `pk_live_...` API key as a Bearer token.

````