{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-beta-managed-agents-vault-schema.json",
  "title": "BetaManagedAgentsVault",
  "description": "A vault that stores credentials for use by agents during sessions.",
  "x-generated": "2026-09-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anthropic-vaults-api-openapi.yml#/components/schemas/BetaManagedAgentsVault",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "id",
    "display_name",
    "metadata",
    "created_at",
    "updated_at",
    "archived_at"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "vault"
      ]
    },
    "id": {
      "description": "Unique identifier for the vault.",
      "type": "string"
    },
    "display_name": {
      "description": "Human-readable name for the vault.",
      "type": "string"
    },
    "metadata": {
      "description": "Arbitrary key-value metadata attached to the vault.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "created_at": {
      "$ref": "#/$defs/BetaTimestamp"
    },
    "updated_at": {
      "$ref": "#/$defs/BetaTimestamp"
    },
    "archived_at": {
      "description": "When the vault was archived. Null if not archived.",
      "anyOf": [
        {
          "$ref": "#/$defs/BetaTimestamp"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "$defs": {
    "BetaTimestamp": {
      "description": "A timestamp in RFC 3339 format",
      "type": "string",
      "format": "date-time"
    }
  }
}