Rivaire · Schema

AccountKeys

Your encryption keys, wrapped. Your 12-word phrase unlocks the money key, which unlocks the workspace keys and your private key.

FinancePersonal FinanceBudgetingPrivacyEncryptionCompany

Properties

Name Type Description
moneyKdfSalt string
wrappedMoneyKey object
moneyEncryptionCheck object
moneyKeyVersion integer
mainWorkspaceId string
publicKey object
encryptedPrivateKey object
workspaceKeys array
pendingWorkspaceKeys array
View JSON Schema on GitHub

JSON Schema

rivaire-pro-account-keys-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rivaire-pro/json-schema/rivaire-pro-account-keys-schema.json",
  "title": "AccountKeys",
  "description": "Your encryption keys, wrapped. Your 12-word phrase unlocks the money key, which unlocks the workspace keys and your private key.",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rivaire-pro-openapi.json#/components/schemas/AccountKeys",
  "type": "object",
  "properties": {
    "moneyKdfSalt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128
    },
    "wrappedMoneyKey": {
      "type": "object",
      "properties": {
        "ciphertext": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        "iv": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "algorithm": {
          "type": "string",
          "const": "AES-GCM"
        },
        "keyVersion": {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        "keyId": {
          "type": "string",
          "format": "uuid"
        }
      },
      "required": [
        "ciphertext",
        "iv",
        "algorithm",
        "keyVersion"
      ]
    },
    "moneyEncryptionCheck": {
      "type": "object",
      "properties": {
        "ciphertext": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        "iv": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "algorithm": {
          "type": "string",
          "const": "AES-GCM"
        },
        "keyVersion": {
          "type": "integer",
          "exclusiveMinimum": 0
        },
        "keyId": {
          "type": "string",
          "format": "uuid"
        }
      },
      "required": [
        "ciphertext",
        "iv",
        "algorithm",
        "keyVersion"
      ]
    },
    "moneyKeyVersion": {
      "type": "integer",
      "exclusiveMinimum": 0
    },
    "mainWorkspaceId": {
      "type": "string",
      "format": "uuid"
    },
    "publicKey": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ]
    },
    "encryptedPrivateKey": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "ciphertext": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            },
            "iv": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "algorithm": {
              "type": "string",
              "const": "AES-GCM"
            },
            "keyVersion": {
              "type": "integer",
              "exclusiveMinimum": 0
            },
            "keyId": {
              "type": "string",
              "format": "uuid"
            }
          },
          "required": [
            "ciphertext",
            "iv",
            "algorithm",
            "keyVersion"
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "workspaceKeys": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "workspaceId": {
            "type": "string",
            "format": "uuid"
          },
          "generation": {
            "type": "integer",
            "exclusiveMinimum": 0
          },
          "wrappedKey": {
            "type": "object",
            "properties": {
              "ciphertext": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              },
              "iv": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "algorithm": {
                "type": "string",
                "const": "AES-GCM"
              },
              "keyVersion": {
                "type": "integer",
                "exclusiveMinimum": 0
              },
              "keyId": {
                "type": "string",
                "format": "uuid"
              }
            },
            "required": [
              "ciphertext",
              "iv",
              "algorithm",
              "keyVersion"
            ]
          }
        },
        "required": [
          "id",
          "workspaceId",
          "generation",
          "wrappedKey"
        ]
      }
    },
    "pendingWorkspaceKeys": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "workspaceId": {
            "type": "string",
            "format": "uuid"
          },
          "generation": {
            "type": "integer",
            "exclusiveMinimum": 0
          },
          "sealedKey": {
            "type": "object",
            "properties": {
              "algorithm": {
                "type": "string",
                "const": "ECDH-P256+HKDF-SHA256+AES-GCM"
              },
              "ephemeralPublicKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "iv": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "ciphertext": {
                "type": "string",
                "minLength": 1,
                "maxLength": 1024
              }
            },
            "required": [
              "algorithm",
              "ephemeralPublicKey",
              "iv",
              "ciphertext"
            ]
          }
        },
        "required": [
          "id",
          "workspaceId",
          "generation",
          "sealedKey"
        ]
      }
    }
  },
  "required": [
    "moneyKdfSalt",
    "wrappedMoneyKey",
    "moneyEncryptionCheck",
    "moneyKeyVersion",
    "mainWorkspaceId",
    "publicKey",
    "encryptedPrivateKey",
    "workspaceKeys",
    "pendingWorkspaceKeys"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rivaire-pro-account-keys"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.