GET/api/v1/get-vault

Get a vault

Returns one vault in full: its address and script type, its approval threshold and signer set, and its spending limit with current usage.

AccessRequires a permission in the workspaceVIEW_BALANCES

The response is a Vault, documented under Shared objects. It is the single-vault counterpart of GET /api/v1/list-wallets, and the place to read a vault's address after creating it. As on the list call, limit_error appears in place of detailed_vault_limits when the spending policy could not be read.

The vault must belong to the workspace you pass in workspace_id, and you must hold VIEW_BALANCES in that workspace. A vault in any other workspace is not returned: data and permissions never cross workspace boundaries.

Query parameters
vault_idstringrequired
The vault to show, as returned by create_wallet or list-wallets.
workspace_idnumberrequired
The workspace the vault belongs to. You must hold VIEW_BALANCES in it.