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必須requested_atstring | null必須completed_atstring | null必須deleted_promptsinteger必須deleted_continuationsinteger必須
401APIキーがない、不明、または失効しています。
レスポンス
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