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

# Get wallet automation

> Get a wallet automation by ID.



## OpenAPI

````yaml get /v1/wallet_automations/{automation_id}
openapi: 3.1.0
info:
  version: 0.0.1
  title: Privy API
  description: >-
    REST API for Privy's wallet infrastructure — provision and manage wallets
    across EVM, Solana, and Bitcoin, authenticate users, sign transactions, and
    configure programmable policies and authorization intents.
  contact:
    name: Privy
    url: https://www.privy.io/
    email: support@privy.io
servers:
  - url: https://api.privy.io
security: []
tags:
  - name: Accounts
    description: Operations related to asset accounts
  - name: Actions
    description: Operations related to looking up wallet actions across an app
  - name: Aggregations
    description: Operations related to aggregations for tracking and measuring metrics
  - name: Apps
    description: Operations related to app settings and allowlist management
  - name: Cards
    description: Operations related to stablecoin-backed card issuing
  - name: Client Auth
    description: OAuth token exchange and device authorization operations
  - name: Condition Sets
    description: Operations related to condition sets
  - name: Embedded wallets
    description: Operations related to embedded wallet creation and authentication
  - name: Fiat
    description: Operations related to fiat onramping and offramping
  - name: Intents
    description: Operations related to authorization intents for wallet actions
  - name: Key quorums
    description: Operations related to key quorums
  - name: Kraken Embed
    description: >-
      Operations for Kraken Embed integration, including quotes, trades, user
      management, and portfolio operations
  - name: OAuth
    description: >-
      OAuth 2.0 endpoints including Device Authorization Grant (RFC 8628) for
      CLI and limited-input device login flows
  - name: Organizations
    description: Operations related to organizations
  - name: Policies
    description: Operations related to policies
  - name: Shared
    description: Common schemas shared across resources
  - name: Swaps
    description: Operations for swapping tokens within wallets
  - name: Teams
    description: Operations related to dashboard team management
  - name: Transactions
    description: Operations related to transactions
  - name: User signers
    description: Operations related to user signers
  - name: Users
    description: Operations related to users
  - name: Wallet Actions
    description: Operations related to wallet actions
  - name: Wallet Automations
    description: Operations related to wallet automations
  - name: Wallets
    description: Operations related to wallets
  - name: Webhooks
    description: >-
      Webhook events that Privy sends to your configured endpoint when specific
      actions occur in your app
  - name: Yield
    description: >-
      Operations for depositing and withdrawing funds from ERC-4626 yield vaults
      (Morpho, Aave)
paths:
  /v1/wallet_automations/{automation_id}:
    get:
      tags:
        - Wallet Automations
      summary: Get wallet automation
      description: Get a wallet automation by ID.
      operationId: getWalletAutomation
      parameters:
        - schema:
            type: string
            description: ID of the wallet automation.
          required: true
          name: automation_id
          in: path
        - schema:
            type: string
            description: ID of your Privy app.
          required: true
          name: privy-app-id
          in: header
      responses:
        '200':
          description: The wallet automation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletAutomationResponse'
      security:
        - appSecretAuth: []
components:
  schemas:
    WalletAutomationResponse:
      type: object
      properties:
        id:
          type: string
        app_id:
          type: string
        name:
          type:
            - string
            - 'null'
        status:
          $ref: '#/components/schemas/WalletAutomationStatus'
        owner_id:
          type:
            - string
            - 'null'
        config:
          $ref: '#/components/schemas/AutomationConfig'
        created_at:
          type: string
        updated_at:
          type: string
      required:
        - id
        - app_id
        - name
        - status
        - owner_id
        - config
        - created_at
        - updated_at
      additionalProperties: false
      description: A wallet automation.
      title: WalletAutomationResponse
      x-stainless-model: wallet_automations.wallet_automation_response
    WalletAutomationStatus:
      type: string
      enum:
        - enabled
        - disabled
      description: >-
        Automation lifecycle state: 'enabled' = running, 'disabled' = not
        running.
      title: WalletAutomationStatus
      x-stainless-model: wallet_automations.wallet_automation_status
    AutomationConfig:
      type: object
      properties:
        trigger:
          $ref: '#/components/schemas/AutomationTriggerConfig'
        action:
          $ref: '#/components/schemas/AutomationActionConfig'
      required:
        - trigger
        - action
      additionalProperties: false
      description: Full configuration for a wallet automation (trigger + action).
      title: AutomationConfig
      x-stainless-model: wallet_automations.automation_config
    AutomationTriggerConfig:
      oneOf:
        - $ref: '#/components/schemas/AutomationDepositTriggerConfig'
      discriminator:
        propertyName: type
        mapping:
          deposit:
            $ref: '#/components/schemas/AutomationDepositTriggerConfig'
      description: Configuration for an automation trigger.
      title: AutomationTriggerConfig
      x-stainless-model: wallet_automations.automation_trigger_config
    AutomationActionConfig:
      oneOf:
        - $ref: '#/components/schemas/AutomationSwapActionConfig'
        - $ref: '#/components/schemas/AutomationEarnDepositActionConfig'
      discriminator:
        propertyName: type
        mapping:
          swap:
            $ref: '#/components/schemas/AutomationSwapActionConfig'
          earn_deposit:
            $ref: '#/components/schemas/AutomationEarnDepositActionConfig'
      description: Configuration for an automation action.
      title: AutomationActionConfig
      x-stainless-model: wallet_automations.automation_action_config
    AutomationDepositTriggerConfig:
      type: object
      properties:
        type:
          type: string
          enum:
            - deposit
        assets:
          $ref: '#/components/schemas/AutomationAssetFilter'
      required:
        - type
        - assets
      additionalProperties: false
      description: Trigger configuration for deposit events.
      title: AutomationDepositTriggerConfig
      x-stainless-model: wallet_automations.automation_deposit_trigger_config
    AutomationSwapActionConfig:
      type: object
      properties:
        type:
          type: string
          enum:
            - swap
        destination_chain_asset:
          $ref: '#/components/schemas/AutomationDestinationAsset'
      required:
        - type
        - destination_chain_asset
      additionalProperties: false
      description: Action configuration for swap operations.
      title: AutomationSwapActionConfig
      x-stainless-model: wallet_automations.automation_swap_action_config
    AutomationEarnDepositActionConfig:
      type: object
      properties:
        type:
          type: string
          enum:
            - earn_deposit
        vault_id:
          type: string
          minLength: 1
          maxLength: 64
      required:
        - type
        - vault_id
      additionalProperties: false
      description: Action configuration for depositing into an Earn vault.
      title: AutomationEarnDepositActionConfig
      x-stainless-model: wallet_automations.automation_earn_deposit_action_config
    AutomationAssetFilter:
      oneOf:
        - $ref: '#/components/schemas/AutomationAssetFilterAll'
        - $ref: '#/components/schemas/AutomationAssetFilterInclude'
        - $ref: '#/components/schemas/AutomationAssetFilterExclude'
      discriminator:
        propertyName: mode
        mapping:
          all:
            $ref: '#/components/schemas/AutomationAssetFilterAll'
          include:
            $ref: '#/components/schemas/AutomationAssetFilterInclude'
          exclude:
            $ref: '#/components/schemas/AutomationAssetFilterExclude'
      description: Which assets to include/exclude for an automation trigger.
      title: AutomationAssetFilter
      x-stainless-model: wallet_automations.automation_asset_filter
    AutomationDestinationAsset:
      type: object
      properties:
        asset_address:
          type: string
          minLength: 1
          maxLength: 128
        caip2:
          type: string
          minLength: 1
          maxLength: 64
      required:
        - asset_address
        - caip2
      additionalProperties: false
      description: >-
        Destination asset identified by contract address on a specific chain
        (CAIP-2).
      title: AutomationDestinationAsset
      x-stainless-model: wallet_automations.automation_destination_asset
    AutomationAssetFilterAll:
      type: object
      properties:
        mode:
          type: string
          enum:
            - all
      required:
        - mode
      description: Match all assets.
      title: AutomationAssetFilterAll
      x-stainless-model: wallet_automations.automation_asset_filter_all
    AutomationAssetFilterInclude:
      type: object
      properties:
        mode:
          type: string
          enum:
            - include
        values:
          type: array
          items:
            $ref: '#/components/schemas/AutomationAssetSpec'
          minItems: 1
          maxItems: 500
      required:
        - mode
        - values
      additionalProperties: false
      description: Match only the specified assets.
      title: AutomationAssetFilterInclude
      x-stainless-model: wallet_automations.automation_asset_filter_include
    AutomationAssetFilterExclude:
      type: object
      properties:
        mode:
          type: string
          enum:
            - exclude
        values:
          type: array
          items:
            $ref: '#/components/schemas/AutomationAssetSpec'
          minItems: 1
          maxItems: 500
      required:
        - mode
        - values
      additionalProperties: false
      description: Match all assets except the specified ones.
      title: AutomationAssetFilterExclude
      x-stainless-model: wallet_automations.automation_asset_filter_exclude
    AutomationAssetSpec:
      type: object
      properties:
        asset_address:
          type: string
          minLength: 1
          maxLength: 128
        caip2:
          type: string
          minLength: 1
          maxLength: 64
      required:
        - asset_address
        - caip2
      additionalProperties: false
      description: >-
        An asset identified by contract address on a specific chain (CAIP-2).
        Either field may be "*": asset_address: "*" matches any asset on the
        chain; caip2: "*" matches the asset on any chain (in this case
        asset_address holds the asset symbol id, e.g. "usdc" or "eth", not a
        contract address).
      title: AutomationAssetSpec
      x-stainless-model: wallet_automations.automation_asset_spec
  securitySchemes:
    appSecretAuth:
      type: http
      scheme: basic
      description: >-
        Basic Auth header with your app ID as the username and your app secret
        as the password.

````