observability
Generate a test scenario from an insight failure mode
Changed onTurn one failure mode of a metric failure-mode insight into a test scenario that reproduces the issue against a target agent. Choose the failure mode with failure_mode_index and the agent with agent. Set redact_transcripts to strip personal identifiers from the source call transcripts before they are used to draft the scenario. Pass folder_path to file the generated scenario under an existing scenario folder; it lands in the project's default folder otherwise. Runs in the background and returns a progress_id; poll scenario generation progress to retrieve the generated scenario id.
post/observability/v1/metric-failure-mode-insights/{id}/generate-scenario/
Request
- Base URLhttps://api.cekura.ai
- URLhttps://api.cekura.ai/observability/v1/metric-failure-mode-insights/{id}/generate-scenario/
- Auth
- API key in header X-CEKURA-API-KEY
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
idinteger required
A unique integer value identifying this metric failure mode insight.
Request body
Response
Changes
- info
endpoint added
- info