Skip to content
Sign in Create account

Commit a privacy tier preview

POST /api/v1/privacy/commit

Applies the pending tier selection and clears the preview.

Authenticate with a portal session token.

Responses

200 State after commit.

application/json PrivacyPrivacyState

  • active_tier string required
    One of: "max", "balanced"
  • active_tier_source string required
    One of: "preset", "custom"
  • classifier_mode string required
    One of: "off", "standard", "power", "light"
  • classifier_model_id string required
  • committed object required
    • source string required
      One of: "preset", "custom"
    • tier string required
      One of: "max", "balanced"
  • hardware_backed object required
    • authenticator_attachment string or null
      One of: "platform", "cross-platform", null
    • available boolean
    • credential_id string or null
      Length: at most 1024 characters
    • detected_platform string or null
      Length: at most 120 characters
    • device_name string or null
      Length: at most 120 characters
    • enabled boolean
    • enrolled_at string (date-time) or null
  • preview any required

    One of

  • recovery_vault object required
    • enrolled boolean
    • enrolled_at string (date-time)
    • provider string
    • threshold string
      One of: "3-of-3", "2-of-3"
  • rotation object required
    • per_chat boolean
    • schedule string
      One of: "never", "per_chat", "daily", "weekly", "monthly", "quarterly", "manual"
  • tier string
  • transparency_log object required
    • enrolled boolean or null required
    • mutable boolean required
    • mutable_reason string required
    • publish_seed_hmac boolean or null required
    • source string required
      One of: "unknown", "transparency_log_entries", "unavailable"
    • stored_preference boolean required
  • updated_at string (date-time)

Generated sample

{
  "active_tier": "max",
  "active_tier_source": "preset",
  "classifier_mode": "off",
  "classifier_model_id": "string",
  "committed": {
    "source": "preset",
    "tier": "max"
  },
  "hardware_backed": {
    "authenticator_attachment": "platform",
    "available": true,
    "credential_id": "string",
    "detected_platform": "string",
    "device_name": "string",
    "enabled": true,
    "enrolled_at": "2026-01-01T00:00:00Z"
  },
  "preview": {
    "previewed_at": "2026-01-01T00:00:00Z",
    "source": "preset",
    "tier": "max"
  },
  "recovery_vault": {
    "enrolled": true,
    "enrolled_at": "2026-01-01T00:00:00Z",
    "provider": "string",
    "threshold": "3-of-3"
  },
  "rotation": {
    "per_chat": true,
    "schedule": "never"
  },
  "tier": "string",
  "transparency_log": {
    "enrolled": true,
    "mutable": true,
    "mutable_reason": "string",
    "publish_seed_hmac": true,
    "source": "unknown",
    "stored_preference": true
  },
  "updated_at": "2026-01-01T00:00:00Z"
}
401 Authentication is required.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
403 The authenticated principal lacks the required permission.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
409 No preview is pending.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string
429 The request rate limit was exceeded.

application/json PrivacyError

  • error object required
    • code string
    • kid string
    • message string
    • ref string
    • type string
  • errors object

    Other keys: array of string

  • message string

text/html string