> ## Documentation Index
> Fetch the complete documentation index at: https://cobo.com/products/agentic-wallet/manual/llms.txt
> Use this file to discover all available pages before exploring further.

# List pact events

> Retrieve the full lifecycle event history for the specified pact. Events are returned in chronological order. Use `after` or `before` cursor parameters for cursor-based pagination, or the deprecated `offset` parameter for offset-based pagination.



## OpenAPI

````yaml get /api/v1/pacts/{pact_id}/events
openapi: 3.1.0
info:
  title: Cobo Agentic Wallet Service
  description: Unified wallet engine for human and agent principals
  version: 1.3.0
servers: []
security: []
paths:
  /api/v1/pacts/{pact_id}/events:
    get:
      tags:
        - Pacts
      summary: List pact events
      description: >-
        Retrieve the full lifecycle event history for the specified pact. Events
        are returned in chronological order. Use `after` or `before` cursor
        parameters for cursor-based pagination, or the deprecated `offset`
        parameter for offset-based pagination.
      operationId: list_pact_events
      parameters:
        - name: pact_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: >-
              The UUID of the pact whose event history to retrieve, as returned
              by the submit or list endpoints.
            title: Pact Id
          description: >-
            The UUID of the pact whose event history to retrieve, as returned by
            the submit or list endpoints.
        - name: after
          in: query
          required: false
          schema:
            description: >-
              A cursor for forward pagination. Pass the `after` value from a
              previous response to retrieve the next page.
            title: After
            type: string
            nullable: true
          description: >-
            A cursor for forward pagination. Pass the `after` value from a
            previous response to retrieve the next page.
        - name: before
          in: query
          required: false
          schema:
            description: >-
              A cursor for backward pagination. Pass the `before` value from a
              previous response to retrieve the preceding page.
            title: Before
            type: string
            nullable: true
          description: >-
            A cursor for backward pagination. Pass the `before` value from a
            previous response to retrieve the preceding page.
        - name: offset
          in: query
          required: false
          schema:
            description: Deprecated. Use `after`/`before` cursors instead.
            deprecated: true
            title: Offset
            type: integer
            maximum: 9223372036854776000
            minimum: 0
            nullable: true
          description: Deprecated. Use `after`/`before` cursors instead.
          deprecated: true
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: 'The maximum number of items to return. Range: [1, 200].'
            default: 50
            title: Limit
          description: 'The maximum number of items to return. Range: [1, 200].'
        - name: X-API-Key
          in: header
          required: false
          schema:
            title: X-Api-Key
            type: string
            nullable: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardResponse_PactEventListResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WrappedValidationError'
components:
  schemas:
    StandardResponse_PactEventListResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        result:
          $ref: '#/components/schemas/PactEventListResponse'
        suggestion:
          type: string
          title: Suggestion
          default: ''
        message:
          type: string
          title: Message
          default: ''
        meta:
          $ref: '#/components/schemas/PaginationMeta'
          nullable: true
      type: object
      required:
        - result
      title: StandardResponse[PactEventListResponse]
    WrappedValidationError:
      title: WrappedValidationError
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          const: false
          default: false
          title: Success
        error:
          type: object
          title: Error
          required:
            - detail
          properties:
            detail:
              type: array
              title: Detail
              items:
                $ref: '#/components/schemas/ValidationError'
    PactEventListResponse:
      properties:
        events:
          items:
            $ref: '#/components/schemas/PactEventRead'
          type: array
          title: Events
      type: object
      required:
        - events
      title: PactEventListResponse
    PaginationMeta:
      properties:
        total:
          title: Total
          type: integer
          nullable: true
        offset:
          title: Offset
          type: integer
          nullable: true
        limit:
          title: Limit
          type: integer
          nullable: true
        has_more:
          title: Has More
          type: boolean
          nullable: true
        after:
          title: After
          type: string
          nullable: true
        before:
          title: Before
          type: string
          nullable: true
      type: object
      title: PaginationMeta
      description: |-
        Pagination metadata for list responses.

        Supports both legacy offset-based and cursor-based pagination.
        Cursor fields (``has_more``, ``after``, ``before``) are populated for
        cursor-paginated endpoints.  Legacy fields (``offset``, ``limit``) are
        populated when the caller uses the deprecated ``offset`` parameter.
    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
    PactEventRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Event ID.
        pact_id:
          type: string
          format: uuid
          title: Pact Id
          description: Pact this event belongs to.
        event_type:
          $ref: '#/components/schemas/PactEventType'
          description: Event type.
        metadata:
          title: Metadata
          description: >-
            Arbitrary key-value pairs providing additional context for the
            event. Structure varies by event_type; null if no metadata was
            recorded.
          additionalProperties: true
          type: object
          nullable: true
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the event occurred.
      type: object
      required:
        - id
        - pact_id
        - event_type
        - created_at
      title: PactEventRead
      description: A single pact event.
    PactEventType:
      type: string
      enum:
        - submitted
        - activated
        - rejected
        - completed
        - expired
        - revoked
        - withdrawn
        - completion_conditions_updated
        - pact_policies_updated
      title: PactEventType
      description: Types of events recorded for a Pact.

````