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

プロンプトとレスポンスの保存スイッチを読み取る

capture_prompt_contentは、プロンプトとレスポンスのボディ(およびResponsesの継続)を保存するかどうかを決定します。コンテンツを含まないメタデータの台帳(トークン、コスト、レイテンシー、プロバイダー、結果)は常に保持されます。cleanupは、保存をオフにした後の削除の進捗を報告します。

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

パスパラメーター

  • org_idstring必須

    お客様の組織ID(uuid)。GET /api/whoamiで取得できます。

レスポンス

  • 200

    現在の設定とクリーンアップの進捗。

    レスポンス
    • capture_prompt_contentboolean必須

      プロンプトとレスポンスのボディ、およびResponsesの継続を保存するかどうか。

    • cleanupobject必須

      保存を無効にした後の、保存済みコンテンツの消去の進捗。

      cleanup
      • statusenum必須
        "none""pending""failed""completed"
      • requested_atstring | null必須
      • completed_atstring | null必須
      • deleted_promptsinteger必須
      • deleted_continuationsinteger必須
  • 401

    APIキーがない、不明、または失効しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

  • 404

    リソースが存在しないか、他の組織に属しています。

    レスポンス
    • errorstring必須

      人が読めるメッセージ。

    • codestring

      エンドポイントが定義している場合の、安定した機械可読の理由(例:pro_required)。

    • actionstring

      エンドポイントが定義している場合の、安定した対処アクション。

    • detailsobject

      呼び出し元が対処するために必要な、顧客に提示して安全な文字列情報(推奨される識別子など)。

リクエスト

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