What Foveus captures
The exact data captured depends on your SDK configuration. Foveus can capture:- execution metadata
- service name
- environment
- mode
- endpoint or operation
- request query values
- request body context
- response body context
- exception details
- logs, if logging integration is configured
- outcome and failure evidence
- searchable context fields
What Foveus does not try to be
Foveus is not a long-term raw payload archive. Foveus is designed to help you investigate executions and issues with bounded, useful telemetry. Execution Context Search uses indexed context fields. It does not scan arbitrary raw request or response bodies.Redaction
Foveus applies redaction to help protect sensitive fields and headers. Common sensitive values include:Searchable context
Foveus can index safe scalar context fields so you can search for executions by business values. For example:Searchable context safety
Before context is indexed, Foveus applies safety controls. These can include:- sensitive-key denylist
- redaction
- scalar-only indexing
- bounded key length
- bounded value length
- bounded traversal depth
- maximum indexed properties per execution
- allowed context sources
- workspace and service policy controls
accountNumber is redacted, this search should not work:
Context sources
Foveus can index context from enabled sources.
Response body context is useful when you need to understand what your service or a third-party provider returned.
Use redaction, sampling, truncation, and path exclusions to keep capture safe and bounded.
Retention
Foveus retention depends on your workspace plan. Telemetry is grouped into retention categories.Raw retention
Raw retention applies to short-lived diagnostic payloads. This can include richer request or response context used for detail views and short-term debugging. Raw data has the shortest retention window because it can contain the most detailed telemetry.Execution retention
Execution retention applies to execution-level records and searchable execution evidence. This includes:- executions
- execution metadata
- linked failure evidence
- searchable context properties
Aggregated retention
Aggregated retention applies to summarized telemetry. This can include rollups, metrics, trends, and aggregate views that do not need the full execution payload. Aggregated data can be retained longer because it is less detailed than raw execution context.Why searchable context follows execution retention
Searchable context exists to find and explain executions. It should not outlive the execution it belongs to. For example, if an execution expires after 30 days, the indexed context used to search for that execution should expire with it. This keeps context search aligned with the execution data it explains.Production capture guidance
For most production services, start with theBalanced capture profile and explicit redaction.
Path exclusions
Use path exclusions to avoid capturing noisy or sensitive routes.Sampling
UseContextSamplingRate to control how often successful context snapshots are captured.
0.01 means 1%.
Sampling helps reduce storage, CPU, and network overhead for high-volume services.
Body size limits
UseMaxBodyCaptureSizeBytes to keep captured payloads bounded.
Recommended safety checklist
Before sending live telemetry:- Use a live API key.
- Set
Modetolive. - Confirm redacted fields for your domain.
- Exclude sensitive or noisy paths.
- Confirm response body capture is intentional.
- Set sampling for high-volume services.
- Trigger a test request.
- Open the execution in Foveus.
- Confirm sensitive fields are masked.
- Confirm context search only exposes safe values.
Troubleshooting
A sensitive field appears in Foveus
Add the field toRedactedFields.
Context search finds a value that should not be searchable
Check whether the field should be added toRedactedFields or blocked by policy.
Use a safer identifier for search where possible.
Context search does not find a value
Check that:- the field was captured
- the value is scalar
- the path was not excluded
- the value was not redacted
- the value was ingested after context indexing was enabled
- the selected time range includes the execution
- the execution still exists within retention
Old executions disappeared
Retention removes data based on your workspace plan. If an execution has expired, its searchable context should expire too.What to do next
- Configure redaction: Redaction
- Review SDK options: FoveusOptions
- Learn about context search: Execution Context Search
- Review API key safety: API keys