latestOpenAPI 3.1.02026-08-15143165213.3 KB
d728989c2568
Internal
Create or replace a shadow-mode prompt-capture scope (platform admin)
Upserts the (orgId, modelId) capture scope the inference gateway polls (notes/shadow-capture-design.md): while live, matching request/response payloads are mirrored to Firehose -> S3 for offline replay/dataset building. ttlMinutes is required (max 1440/24h): a capture toggle that outlives its purpose is a privacy incident, so every scope self-expires. A second PUT for the same (orgId, modelId) overwrites the first, which is how an operator extends a scope's TTL.
put/v1/admin/inference/shadow-capture
Request body
Response
Saved