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

# List agent transactions

> Returns a paginated list of the agent's transactions, newest first.



## OpenAPI

````yaml /openapi.json get /agents/{agentId}/transactions
openapi: 3.0.0
info:
  title: Backed Registry API
  version: 1.0.0
  description: >-
    The Backed Registry API: the x402 agent registry. Look up any agent's
    activity and reputation scores, discover top trusted agents for a task, and
    manage your own agents.


    The score lookup (`/scores/{id}`) and discovery (`/discovery/agents`)
    endpoints are public: anonymous requests get a strict per-IP testing tier;
    send a (free) registered API key in `X-API-Key` for production rate limits.
    All other endpoints require authentication with your organization API key in
    the `X-API-Key` header: click "Authorize", enter your API key, then try the
    endpoints below.


    Requests are rate limited per API key. Every response includes
    `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset`
    headers; exceeding the limit returns `429 Too Many Requests` with a
    `Retry-After` header.
servers:
  - url: https://api.usebacked.ai
    description: Backed Registry API
security:
  - ApiKeyAuth: []
tags: []
paths:
  /agents/{agentId}/transactions:
    get:
      tags:
        - Agents
      summary: List agent transactions
      description: Returns a paginated list of the agent's transactions, newest first.
      parameters:
        - in: path
          name: agentId
          required: true
          schema:
            type: string
            format: uuid
          description: The agent id.
        - in: query
          name: page
          required: false
          schema:
            type: integer
            default: 1
            minimum: 1
          description: Page number.
        - in: query
          name: pageSize
          required: false
          schema:
            type: integer
            default: 25
            minimum: 1
            maximum: 100
          description: Number of transactions per page.
      responses:
        '200':
          description: Transactions retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  transactions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        direction:
                          type: string
                          enum:
                            - INBOUND
                            - OUTBOUND
                        rail:
                          type: string
                          enum:
                            - X402
                            - AP2
                            - A2A
                            - CLEARING
                            - CARD
                        network:
                          type: string
                        txHash:
                          type: string
                          nullable: true
                        reference:
                          type: string
                          nullable: true
                        counterpartyDid:
                          type: string
                          nullable: true
                        counterpartyName:
                          type: string
                          nullable: true
                        amount:
                          type: number
                        currency:
                          type: string
                        status:
                          type: string
                          enum:
                            - PENDING
                            - SUCCEEDED
                            - FAILED
                            - DISPUTED
                            - REFUNDED
                        failureReason:
                          type: string
                          nullable: true
                        resource:
                          type: string
                          nullable: true
                        metadata:
                          type: object
                          nullable: true
                        occurredAt:
                          type: string
                          format: date-time
                        settledAt:
                          type: string
                          format: date-time
                          nullable: true
                  totalCount:
                    type: integer
                  page:
                    type: integer
                  pageSize:
                    type: integer
        '401':
          description: Unauthorized. API key is missing or invalid.
        '404':
          description: Agent not found.
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Organization API key.

````