GET/api/orgs/{org_id}/telemetry-settings

Read the prompt and response storage switch

capture_prompt_content decides whether prompt and response bodies (and Responses continuations) are stored. The content-free metadata ledger (tokens, cost, latency, provider, outcome) is always kept. cleanup reports erasure progress after storage was turned off.

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

パスパラメータ

  • org_idstring必須

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

レスポンス

  • 200

    The current setting and cleanup progress.

    レスポンス
    • capture_prompt_contentboolean必須

      Whether prompt and response bodies and Responses continuations are stored.

    • cleanupobject必須

      Erasure progress for stored content after storage was turned off.

      cleanup
      • statusenum必須
        "none""pending""failed""completed"
      • requested_atstring | null必須
      • completed_atstring | null必須
      • deleted_promptsinteger必須
      • deleted_continuationsinteger必須
  • 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/telemetry-settings \
  -H "Authorization: Bearer YOUR_API_KEY"

レスポンス

{
  "capture_prompt_content": true,
  "cleanup": {
    "status": "none",
    "requested_at": null,
    "completed_at": null,
    "deleted_prompts": 0,
    "deleted_continuations": 0
  }
}

https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/telemetry-settings