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

# List activity

> Returns customer-facing wallet activity across the authenticated organization. Pass one or more `walletId` query parameters to filter to specific wallets.

Deposit activity with `status: "processing"` means Ground has detected the
incoming transfer but has not yet credited it to the wallet balance. See
[Deposit lifecycle](https://docs.groundtech.co/v3/docs/portfolio-wallets/deposits.md#deposit-lifecycle).


## OpenAPI

````yaml swagger/v3.yaml GET /v3/activity
openapi: 3.0.0
info:
  title: Ground API
  description: API for Portfolio Wallets, gtokens, MicroVaults, and webhooks.
  version: 3.0.0
servers:
  - url: https://sandbox.groundtech.co
  - url: https://production.groundtech.co
security:
  - bearerAuth: []
tags:
  - name: System
    description: System health and utility endpoints.
  - name: Sandbox Faucets
    description: Sandbox-only test token faucets.
  - name: Portfolio Wallets
    description: >-
      Portfolio wallets with strategy allocation, deposits, withdrawals, and
      yield positions.
  - name: gVaults
    description: >-
      Direct access to gtokens with deposit access controls and optional fee
      wrappers.
  - name: MicroVaults
    description: >-
      Customer-owned onchain vaults with externally held ERC-20 shares. Private
      preview.
  - name: Webhook Endpoints
    description: Webhook endpoint management for portfolio wallet notifications.
paths:
  /v3/activity:
    get:
      tags:
        - Portfolio Wallets
      summary: List activity
      description: >-
        Returns customer-facing wallet activity across the authenticated
        organization. Pass one or more `walletId` query parameters to filter to
        specific wallets.
      operationId: listActivityV3
      parameters:
        - name: walletId
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
              format: uuid
          style: form
          explode: true
          description: Optional repeatable wallet ID filter.
        - name: cursor
          in: query
          required: false
          schema:
            type: string
          description: Opaque cursor from a prior response.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 20
            minimum: 1
            maximum: 100
          description: >-
            Maximum number of activity items to return. Runtime clamps invalid,
            missing, and oversized values into the supported 1-100 range.
        - name: scope
          in: query
          required: false
          schema:
            type: string
            enum:
              - all
          description: >-
            Use `all` to include organization-wide activity. Omit for the
            default wallet-scoped view, optionally filtered by walletId.
        - name: type
          in: query
          required: false
          schema:
            type: string
            enum:
              - deposit
              - withdrawal
              - rebalance
          description: Filter activity by type.
        - name: status
          in: query
          required: false
          schema:
            type: string
            example: created,processing
          description: Comma-separated public activity statuses to include, or `all`.
        - name: startAt
          in: query
          required: false
          schema:
            type: string
            format: date-time
          description: Inclusive ISO-8601 UTC lower bound for activity timestamps.
        - name: endAt
          in: query
          required: false
          schema:
            type: string
            format: date-time
          description: Exclusive ISO-8601 UTC upper bound for activity timestamps.
      responses:
        '200':
          description: Activity feed
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ActivityItem'
                  nextCursor:
                    type: string
                    nullable: true
              example:
                data:
                  - id: a1b2c3d4-0000-4000-8000-000000000001
                    type: deposit
                    status: completed
                    amountUsd: '5000.000000'
                    timestamp: '2025-09-05T10:00:00Z'
                    deposit:
                      id: a1b2c3d4-0000-4000-8000-000000000001
                      amount: '5000.000000'
                      token: usdc
                      chain: ethereum
                      fromAddress: '0xfeed00000000000000000000000000000000beef'
                      txHash: >-
                        0xb4ec6ad9f2f2d75fb8df30c6e49b1f319138f0172d7bff7c402e7dcb7f017e8a
                      status: completed
                      createdAt: '2025-09-05T10:00:00Z'
                      completedAt: '2025-09-05T10:01:15Z'
                      walletId: 9d1a1c83-3a1c-4c14-9c5a-0c9a57a4a7db
                      assetId: 4ab063cf-303d-4f62-80a6-5a142c1d2fdb
                    walletId: 9d1a1c83-3a1c-4c14-9c5a-0c9a57a4a7db
                  - id: a1b2c3d4-0000-4000-8000-000000000002
                    type: withdrawal
                    status: processing
                    amountUsd: '65000.000000'
                    timestamp: '2025-09-05T11:00:00Z'
                    withdrawal:
                      id: a1b2c3d4-0000-4000-8000-000000000002
                      amountRequestedUsd: '65000.000000'
                      amountPaidUsd: null
                      amountPaidToPartnerUsd: null
                      feeUsd: '0.000000'
                      destinationChain: ethereum
                      destinationAddress: '0x76F8fc6667E239f83a547d4e16225d6a34f6FA22'
                      destinationToken: usdc
                      status: processing
                      failureReason: null
                      createdAt: '2025-09-05T11:00:00Z'
                      completedAt: null
                      legsCompleted: 0
                      legsTotal: 1
                      payoutLegs:
                        - status: pending_customer_approval
                          amountUsd: '65000.000000'
                          from:
                            assetId: 03389041-80ad-4dcf-8fe2-3536bcfe92db
                            kind: yield_source
                            label: Syrup USDC
                          to:
                            kind: external_payout
                            id: external_payout:ethereum:usdc
                            label: External payout (Ethereum)
                          startedAt: '2025-09-05T11:00:00Z'
                          completedAt: null
                          stepsCompleted: 1
                          stepsTotal: 2
                          steps:
                            - name: Redeeming from Syrup USDC
                              stepKind: yield_source_redeem
                              sequenceRole: yield_redeem
                              protocolType: syrup
                              stepOrdinal: 0
                              chain: ethereum
                              txKind: yield_source_redeem
                              txHash: >-
                                0xa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1
                              state: completed
                              startedAt: '2025-09-05T11:00:00Z'
                              completedAt: '2025-09-05T11:01:00Z'
                              cancelledAt: null
                            - name: Sending payout
                              stepKind: external_payout_transfer
                              sequenceRole: external_payout_transfer
                              protocolType: external_payout
                              stepOrdinal: 1
                              chain: ethereum
                              txKind: external_payout_transfer
                              txHash: null
                              state: pending_customer_approval
                              startedAt: '2025-09-05T11:01:00Z'
                              completedAt: null
                              cancelledAt: null
                    walletId: 9d1a1c83-3a1c-4c14-9c5a-0c9a57a4a7db
                nextCursor: null
        '400':
          description: Invalid query parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: type must be "deposit", "withdrawal", or "rebalance"
                code: validation_error
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    ActivityItem:
      type: object
      description: >-
        One customer-facing activity feed item. Exactly one of `deposit`,
        `withdrawal`, or `rebalance` is present, matching `type`.
      required:
        - id
        - type
        - status
        - amountUsd
        - timestamp
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          enum:
            - deposit
            - withdrawal
            - rebalance
        status:
          type: string
          nullable: true
          description: Public status of the underlying deposit, withdrawal, or rebalance.
        amountUsd:
          type: string
          nullable: true
          description: USD amount for the activity item as a fixed-precision string.
        timestamp:
          type: string
          format: date-time
          nullable: true
        walletId:
          type: string
          format: uuid
          description: Present when the activity item is attributable to a single wallet.
        walletLabel:
          type: string
          description: Present when the wallet has a label.
        label:
          type: string
          description: Human-readable activity label, when available.
        deposit:
          $ref: '#/components/schemas/Deposit'
        withdrawal:
          $ref: '#/components/schemas/Withdrawal'
        rebalance:
          $ref: '#/components/schemas/WalletRebalanceWorkflowActivity'
    ErrorResponse:
      type: object
      required:
        - error
        - code
      properties:
        error:
          type: string
          description: >-
            Human-readable error message. May change without notice; do not
            parse programmatically.
        code:
          type: string
          description: >-
            Machine-readable error code. Use it for programmatic handling rather
            than parsing the error message.
          enum:
            - validation_error
            - unknown_parameters
            - payload_too_large
            - unsupported_media_type
            - submission_id_conflict
            - feedback_unavailable
            - unsupported_chain
            - unsupported_token
            - invalid_destination_address
            - stellar_destination_account_not_active
            - stellar_destination_usdc_not_enabled
            - precision_overflow
            - invalid_cursor
            - unauthenticated
            - forbidden
            - wallet_not_found
            - wallet_limit_reached
            - withdrawal_not_found
            - deposit_not_found
            - yield_source_not_found
            - wallet_projection_unavailable
            - insufficient_funds
            - duplicate_request_id
            - request_id_conflict
            - invalid_position_weight
            - invalid_withdrawal_plan
            - payout_not_found
            - webhook_not_found
            - webhook_duplicate_url
            - withdrawal_not_cancellable
            - withdrawal_already_cancelled
            - withdrawal_payout_in_progress
            - withdrawal_policy_required
            - workflow_conflict
            - stale_rebalance_plan
            - stale_wallet_strategy
            - payout_already_terminal
            - payout_in_progress
            - payout_not_retryable
            - address_book_entry_not_found
            - address_book_duplicate_entry
            - address_book_whitelist_violation
            - rate_limited
            - rate_limit_exceeded
            - internal_error
            - wallet_creation_failed
            - service_temporarily_unavailable
            - operation_not_supported
            - wallet_withdrawal_active
            - stellar_customer_approval_unavailable
            - withdrawal_signing_required
            - wallet_performance_unavailable
            - tempo_beta_transfer_limit_exceeded
            - product_not_enabled
            - gvault_not_found
            - allowlist_update_pending
            - fee_wrapper_not_found
            - fee_wrapper_fee_update_pending
            - statement_too_large
            - no_reportable_wallets
            - report_timeout
            - read_only_api_key
    Deposit:
      type: object
      required:
        - id
        - walletId
        - amount
        - token
        - chain
        - fromAddress
        - txHash
        - status
        - assetId
        - createdAt
        - completedAt
      properties:
        id:
          type: string
          format: uuid
        walletId:
          type: string
          format: uuid
          description: Portfolio wallet credited by this deposit.
        amount:
          type: string
          description: >-
            Deposit amount as a fixed six-decimal USD string (e.g.
            "100.500000").
          nullable: true
        token:
          type: string
          description: Deposited stablecoin.
          enum:
            - usdc
            - usdt
            - ousd
          nullable: true
        chain:
          type: string
          description: Chain where the deposit was detected.
          enum:
            - arbitrum
            - base
            - ethereum
            - ethereum_sepolia
            - polygon
            - solana
            - solana_devnet
            - stellar
            - stellar_testnet
            - tempo
            - tempo_moderato
            - tron
            - tron_shasta
        fromAddress:
          type: string
          nullable: true
        txHash:
          type: string
          nullable: true
          description: On-chain transaction hash.
        status:
          type: string
          nullable: true
          enum:
            - processing
            - completed
            - failed
          description: >-
            Deposit status. `processing` can mean the deposit was detected
            before finality for a workflow-idle wallet and is not yet credited
            to balances.
        createdAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
          nullable: true
          description: >-
            Populated after the deposit finalizes and posts; null while
            processing.
        assetId:
          $ref: '#/components/schemas/AssetId'
    Withdrawal:
      type: object
      required:
        - id
        - amountRequestedUsd
        - amountPaidUsd
        - amountPaidToPartnerUsd
        - feeUsd
        - destinationChain
        - destinationAddress
        - destinationToken
        - status
        - legsCompleted
        - legsTotal
        - payoutLegs
        - failureReason
        - createdAt
        - completedAt
      properties:
        id:
          type: string
          format: uuid
        amountRequestedUsd:
          type: string
          nullable: true
          description: Requested withdrawal amount in USD as a formatted string.
        amountPaidUsd:
          type: string
          nullable: true
          description: >-
            Completed payout amount in USD as a formatted string. Null until at
            least one payout completes.
        amountPaidToPartnerUsd:
          type: string
          nullable: true
          description: >-
            Confirmed amount paid to the partner in USD as a formatted string.
            Null until at least one partner payout completes.
        feeUsd:
          type: string
          nullable: true
          description: >-
            Execution and protocol fees charged for the withdrawal, as a
            formatted string.
        destinationChain:
          type: string
          description: Destination chain for the withdrawal.
          enum:
            - arbitrum
            - base
            - ethereum
            - ethereum_sepolia
            - polygon
            - solana
            - solana_devnet
            - stellar
            - stellar_testnet
            - tempo
            - tempo_moderato
            - tron
            - tron_shasta
        destinationAddress:
          type: string
        destinationToken:
          type: string
          enum:
            - usdc
            - usdt
            - ousd
          nullable: true
        memo:
          $ref: '#/components/schemas/StellarMemo'
        status:
          type: string
          enum:
            - processing
            - completed
            - partially_completed
            - failed
            - cancelled
          description: >-
            Simplified withdrawal status. `partially_completed` means at least
            one payout leg delivered value and at least one leg failed or was
            cancelled.
        failureReason:
          type: string
          nullable: true
          description: >-
            Human-readable reason for failure (only present when status is
            `failed` or `partially_completed`).
            `insufficient_proceeds_after_partner_fee` means realized proceeds
            could not cover the committed partner fee while leaving a positive
            customer payout, so no payout or partner fee was sent.
        createdAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
          nullable: true
        legsCompleted:
          type: integer
        legsTotal:
          type: integer
        payoutLegs:
          type: array
          items:
            $ref: '#/components/schemas/WithdrawalWorkflowLeg'
          description: Source-to-destination payout workflow legs.
    WalletRebalanceWorkflowActivity:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - created
            - processing
            - completed
            - failed
            - cancelled
        reason:
          type: string
          nullable: true
        amountUsd:
          type: string
          nullable: true
        failureReason:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
          nullable: true
        startedAt:
          type: string
          format: date-time
          nullable: true
        completedAt:
          type: string
          format: date-time
          nullable: true
        legsCompleted:
          type: integer
        legsTotal:
          type: integer
        rebalanceLegs:
          type: array
          items:
            $ref: '#/components/schemas/WalletWorkflowLeg'
    AuthErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Authentication or authorization error message.
        message:
          type: string
          nullable: true
          description: Additional auth middleware detail, when present.
        code:
          type: string
          nullable: true
          description: >-
            Some auth and scope failures include a stable code; middleware
            errors may omit it.
    AssetId:
      type: string
      format: uuid
      description: >-
        Immutable catalog asset UUID, shared by every wallet in this
        environment. Cash, funds, and stocks use the same identity. Read IDs
        from GET /v3/assets; do not derive them from names, symbols, or wallet
        account IDs.
    StellarMemo:
      type: object
      additionalProperties: false
      required:
        - type
        - value
      description: >-
        Optional recipient memo for Stellar withdrawals. Text is 1–28 UTF-8
        bytes without null characters. ID is an unsigned 64-bit integer string
        (0–18446744073709551615); leading zeros are normalized. Omit for no
        memo.
      properties:
        type:
          type: string
          enum:
            - id
            - text
        value:
          type: string
          minLength: 1
          maxLength: 28
      example:
        type: id
        value: '123456'
    WithdrawalWorkflowLeg:
      allOf:
        - $ref: '#/components/schemas/WalletWorkflowLeg'
        - type: object
          properties:
            processingEstimate:
              $ref: '#/components/schemas/WithdrawalProcessingTimeRange'
    WalletWorkflowLeg:
      type: object
      properties:
        assetTrades:
          type: array
          description: >-
            Completed stock conversions on this leg, derived from finalized
            ledger postings. No signed quote or purchaser credential is exposed.
          items:
            type: object
            required:
              - side
              - kind
              - assetId
              - assetSymbol
              - stockNativeUnits
              - cashNativeUnits
              - chain
              - token
              - txHash
            properties:
              side:
                type: string
                enum:
                  - buy
                  - sell
              kind:
                type: string
                enum:
                  - stock
              assetId:
                $ref: '#/components/schemas/PortfolioWalletYieldSourceId'
              assetSymbol:
                type: string
              stockNativeUnits:
                type: string
                pattern: ^[1-9]\d*$
              cashNativeUnits:
                type: string
                pattern: ^[1-9]\d*$
              chain:
                type: string
                enum:
                  - ethereum
                  - ethereum_sepolia
              token:
                type: string
                enum:
                  - usdc
              txHash:
                type: string
        status:
          type: string
          enum:
            - created
            - processing
            - pending_customer_approval
            - completed
            - failed
            - cancelled
        from:
          $ref: '#/components/schemas/WalletAccount'
        to:
          $ref: '#/components/schemas/WalletAccount'
        amountUsd:
          type: string
          nullable: true
          description: >-
            USD amount for this workflow leg. Null when no USD value is
            available.
        startedAt:
          type: string
          format: date-time
          nullable: true
        completedAt:
          type: string
          format: date-time
          nullable: true
        stepsCompleted:
          type: integer
        stepsTotal:
          type: integer
        steps:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowStep'
        processingEstimate:
          $ref: '#/components/schemas/ProcessingTimeRange'
    WithdrawalProcessingTimeRange:
      type: object
      nullable: true
      additionalProperties: false
      description: >-
        Estimated elapsed seconds for the selected withdrawal route after
        applying provider calendars, holidays, and cutoffs. Bounds preserve
        day-level uncertainty when only settlement dates are known. A preview is
        anchored at the preview time; a workflow range is measured from request
        acceptance, not a countdown. Null means no reliable estimate is
        available. The upper bound is typical, not a guaranteed deadline.
      required:
        - min
        - max
        - unit
      properties:
        min:
          type: integer
          minimum: 0
          description: Lower end of the typical elapsed processing range in seconds.
        max:
          type: integer
          minimum: 0
          description: Upper end of the typical elapsed range in seconds, at least min.
        unit:
          type: string
          enum:
            - seconds
    PortfolioWalletYieldSourceId:
      $ref: '#/components/schemas/AssetId'
    WalletAccount:
      oneOf:
        - type: object
          properties:
            assetId:
              $ref: '#/components/schemas/AssetId'
            kind:
              type: string
              enum:
                - yield_source
            label:
              type: string
          required:
            - kind
            - label
            - assetId
        - type: object
          properties:
            assetId:
              $ref: '#/components/schemas/AssetId'
            kind:
              type: string
              enum:
                - cash
            label:
              type: string
          required:
            - kind
            - label
            - assetId
        - type: object
          properties:
            kind:
              type: string
              enum:
                - external_payout
            id:
              type: string
            label:
              type: string
        - type: object
          properties:
            kind:
              type: string
              enum:
                - bridge
            id:
              type: string
            label:
              type: string
        - type: object
          properties:
            kind:
              type: string
              enum:
                - unknown
            id:
              type: string
            label:
              type: string
        - type: object
          properties:
            assetId:
              $ref: '#/components/schemas/AssetId'
            kind:
              type: string
              enum:
                - stock
            label:
              type: string
          required:
            - kind
            - label
            - assetId
    WorkflowStep:
      type: object
      properties:
        name:
          type: string
        stepKind:
          type: string
          nullable: true
        sequenceRole:
          type: string
          nullable: true
        protocolType:
          type: string
          nullable: true
        stepOrdinal:
          type: integer
        chain:
          type: string
          nullable: true
        txKind:
          type: string
          nullable: true
        txHash:
          type: string
          nullable: true
          description: Transaction hash when available; null before a hash is known.
        state:
          type: string
          enum:
            - created
            - processing
            - pending_customer_approval
            - completed
            - failed
            - cancelled
        startedAt:
          type: string
          format: date-time
          nullable: true
        completedAt:
          type: string
          format: date-time
          nullable: true
        cancelledAt:
          type: string
          format: date-time
          nullable: true
    ProcessingTimeRange:
      type: object
      nullable: true
      additionalProperties: false
      description: >-
        Estimated processing range, not a guaranteed deadline. min and max are
        nonnegative integers, max is at least min, and unit is seconds or
        banking_days. Null means no reliable range is available.
      required:
        - min
        - max
        - unit
      properties:
        min:
          type: integer
          minimum: 0
          description: Lower end of the typical processing range.
        max:
          type: integer
          minimum: 0
          description: >-
            Upper end of the typical range, at least min; not a guaranteed
            maximum.
        unit:
          type: string
          enum:
            - seconds
            - banking_days
          description: >-
            Unit for both bounds. Banking days use the applicable provider
            calendar and cutoff.
      title: Processing time range
  responses:
    Unauthorized:
      description: >-
        The request is missing a valid bearer token, or the token is invalid or
        expired.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AuthErrorResponse'
          example:
            error: Unauthenticated request
            message: Missing or invalid bearer token
    TooManyRequests:
      description: >-
        Rate limit exceeded. Limits are enforced by API key/customer identity
        and by endpoint class. Wait for the number of seconds in Retry-After,
        add a small random delay, then retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Rate limit exceeded
            code: rate_limited
    InternalServerError:
      description: >-
        An unexpected error occurred. Reconcile the original operation before
        retrying a write; preserve its required idempotency key and payload.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Internal server error
            code: internal_error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.