/api/orgs/{org_id}/telemetry-settingsTurn prompt and response storage on or off
Turning storage off needs Pro or a grandfathered organization (403 needs_subscription); turning it on is open to every plan but is refused with 409 capture_cleanup_pending while a previous erasure is unfinished. A same-value write is a no-op. Needs an org admin or the organization's own API key.
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメータ
org_idstring必須Your organization id (uuid).
GET /api/whoamireturns it.
リクエストボディ
capture_prompt_contentboolean必須False needs Pro or a grandfathered organization.
レスポンス
200The setting after the write.
レスポンス
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必須requested_atstring | null必須completed_atstring | null必須deleted_promptsinteger必須deleted_continuationsinteger必須
401Missing, unknown or revoked API key.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
403Turning storage off needs Pro (or a grandfathered organization), or the caller is a member below admin.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
404The resource does not exist or belongs to another organization.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
409Stored content from an earlier opt-out is still being erased.
レスポンス
errorstring必須Human-readable message.
codestringStable machine reason, when the route defines one (for example
pro_required).actionstringStable remediation action, when the route defines one.
detailsobjectCustomer-safe string facts the caller needs to act (for example a suggested identifier).
422The body or query failed validation.
レスポンス
detailarray<object>必須detail
typestringlocarray<string | integer>msgstring
リクエスト
curl -X PUT https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/telemetry-settings \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"capture_prompt_content": false
}'レスポンス
{
"capture_prompt_content": false,
"cleanup": {
"status": "pending",
"requested_at": "2026-11-19T11:04:12.550Z",
"completed_at": null,
"deleted_prompts": 0,
"deleted_continuations": 0
}
}https://api.experientiallabs.ai/api/orgs/3f6c2a1e-8b7d-4c2a-9e51-6a0d4b2f7c10/telemetry-settings