GET/api/orgs/{org_id}/zero-data-retention

Read the account-wide zero-data-retention switch

enabled is true only when all three facts hold: storage off, require_zdr, and require_no_training (with no exemption waiving either). partial means the switch was turned on but a granular change has since drifted one fact. models_with_zdr_route counts public models that stay callable under the switch.

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメータ

  • org_idstring必須

    Your organization id (uuid). GET /api/whoami returns it.

レスポンス

  • 200

    The switch and its facts.

    レスポンス
    • org_idstring必須
    • enabledboolean必須

      Storage off and both routing requirements on, with no exemption waiving them.

    • exemptionsarray<string>
    • partialboolean必須

      The switch was turned on but a granular change has drifted a fact.

    • enforced_atstring | null必須

      When the switch last turned zero data retention on; null when off.

    • factsobject必須
      facts
      • capture_prompt_contentboolean必須
      • require_zdrboolean必須
      • require_no_trainingboolean必須
      • zdr_continuation_storageboolean

        Read-only here; set through PUT /api/orgs/{org_id}/provider-policy.

        デフォルト: false
    • allowed_providersarray | null必須

      The provider allowlist, untouched by the switch.

    • models_with_zdr_routeinteger必須

      Public models with at least one zero-retention, no-training rung this organization's policy permits.

    • zdr_entitledboolean必須

      Whether this organization may turn the switch on (Pro or grandfathered).

  • 401

    Missing, unknown or revoked API key.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

  • 404

    The resource does not exist or belongs to another organization.

    レスポンス
    • errorstring必須

      Human-readable message.

    • codestring

      Stable machine reason, when the route defines one (for example pro_required).

    • actionstring

      Stable remediation action, when the route defines one.

    • detailsobject

      Customer-safe string facts the caller needs to act (for example a suggested identifier).

リクエスト

curl https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/zero-data-retention \
  -H "Authorization: Bearer YOUR_API_KEY"

レスポンス

{
  "org_id": "3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10",
  "enabled": true,
  "exemptions": [],
  "partial": false,
  "enforced_at": "2026-11-19T11:06:40.221Z",
  "facts": {
    "capture_prompt_content": false,
    "require_zdr": true,
    "require_no_training": true,
    "zdr_continuation_storage": false
  },
  "allowed_providers": null,
  "models_with_zdr_route": 214,
  "zdr_entitled": true
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/zero-data-retention