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

# List card access events

> Retrieve access events (credential access grants) for a card.



## OpenAPI

````yaml openapi.json get /cards/{cardId}/access-events
openapi: 3.0.3
info:
  title: Proxy API
  description: >-
    Card issuance and transaction management API for AI agents and automation.
    Proxy enables customers to issue virtual cards with policy-based spending
    controls.
  version: 1.0.0
  contact:
    name: Proxy Support
    url: https://useproxy.ai
servers:
  - url: https://api.useproxy.ai/v1
    description: Production API
security:
  - BearerAuth: []
tags:
  - name: KYC
    description: Know Your Customer application management
  - name: Customers
    description: Manage customers who own agents and cards
  - name: Agents
    description: Manage autonomous agents that can spend on behalf of customers
  - name: Cards
    description: Manage virtual spending cards with policy controls
  - name: Intents
    description: Pre-transaction declarations for spend approval workflows
  - name: Spend
    description: Spend policy evaluation
  - name: Access Events
    description: Card credential access grants with attestation windows
  - name: Transactions
    description: View and manage transaction records
  - name: Balances
    description: View customer balances and funding instructions
  - name: Webhooks
    description: Configure outbound webhook subscriptions
paths:
  /cards/{cardId}/access-events:
    get:
      tags:
        - Access Events
      summary: List card access events
      description: Retrieve access events (credential access grants) for a card.
      operationId: listCardAccessEvents
      parameters:
        - $ref: '#/components/parameters/CardId'
        - $ref: '#/components/parameters/Limit'
      responses:
        '200':
          description: List of access events
          content:
            application/json:
              schema:
                type: object
                properties:
                  cardId:
                    type: string
                  accessEvents:
                    type: array
                    items:
                      $ref: '#/components/schemas/AccessEvent'
                required:
                  - cardId
                  - accessEvents
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    CardId:
      name: cardId
      in: path
      required: true
      description: Card ID (e.g., card_...)
      schema:
        type: string
    Limit:
      name: limit
      in: query
      description: 'Maximum number of results to return (default: 50)'
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
  schemas:
    AccessEvent:
      type: object
      properties:
        id:
          type: string
        cardId:
          type: string
        intentId:
          type: string
          nullable: true
        purpose:
          type: string
          nullable: true
        expectedAmount:
          type: number
          nullable: true
        expectedCurrency:
          type: string
          nullable: true
        merchantText:
          type: string
          nullable: true
        reason:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - granted
            - denied
            - consumed
            - expired
        grantedAt:
          type: string
          format: date-time
          nullable: true
        expiresAt:
          type: string
          format: date-time
          nullable: true
        consumedAt:
          type: string
          format: date-time
          nullable: true
        createdAt:
          type: string
          format: date-time
          nullable: true
        updatedAt:
          type: string
          format: date-time
          nullable: true
      required:
        - id
        - cardId
        - status
    Error:
      type: object
      properties:
        error:
          oneOf:
            - type: string
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
                details:
                  type: object
                  nullable: true
              required:
                - code
                - message
      required:
        - error
  responses:
    Unauthorized:
      description: Unauthorized - missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: unauthorized
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: not_found
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Include your API key in the Authorization header
        as `Bearer <api_key>`.

````