observability

GET /observability/v1/agent-improvement-sessions/{id}/

Changed on

Create + poll "Improve Agent" sessions from Insights or evaluators.

create resolves the target agent from Insight call logs, simulation runs, or selected evaluator scenarios. It validates a VAPI / ElevenLabs provider key and opens Claude Agent SDK runs in product chat. Call-log sessions generate evaluators in one sandbox and self-improve in another; run and scenario sessions reuse existing evaluators directly.

retrieve / list are read-only poll surfaces. Runtime checkpoints advance the workflow and persist the status returned to the frontend.

Request

  • Base URL
    https://api.cekura.ai
  • URL
    https://api.cekura.ai/observability/v1/agent-improvement-sessions/{id}/
  • 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 agent improvement session.

Response

idinteger
projectinteger nullable
agentinteger nullable
agent_namestring
providerstring
source'call_log' | 'scenario' | 'run'
  • call_log - Call Log
  • scenario - Scenario
  • run - Run
current_phasestring
insightsunknown
call_log_idsunknown
run_idsunknown
scenario_idsunknown
status'pending' | 'running' | 'succeeded' | 'failed' | 'no_improvement' | 'cancelled'
  • pending - Pending
  • running - Running
  • succeeded - Succeeded
  • failed - Failed
  • no_improvement - No Improvement
  • cancelled - Cancelled
stage'setup' | 'scenario_generation' | 'reproduce' | 'force' | 'baseline_run' | 'propose' | 'apply' | 'verify_run' | 'finalize' | 'null' nullable
  • setup - Setup
  • scenario_generation - Scenario Generation
  • reproduce - Reproduce
  • force - Force
  • baseline_run - Baseline Run
  • propose - Propose
  • apply - Apply
  • verify_run - Verify Run
  • finalize - Finalize
stage_status'running' | 'waiting' | 'waiting_input' | 'done' | 'failed' | 'null' nullable
  • running - Running
  • waiting - Waiting
  • waiting_input - Waiting Input
  • done - Done
  • failed - Failed
stage_started_atstring date-time nullable
stage_historyunknown
baseline_resultinteger nullable
baseline_source_resultinteger nullable
verify_resultinteger nullable
metric_deltaunknown
proposal_summaryobject nullable
iterationinteger
iteration_historyunknown
failing_scenario_idsunknown
rounds_since_improvementinteger
best_iterationinteger nullable
best_scorenumber double nullable
pending_questionunknown
reproductionobject

Reproduction evidence, through the pipeline's own whitelist.

Counts, rates and customer-facing field labels only — no configuration values, and no raw provider dot-paths.

labs_metricsobject[]
question_answersunknown
scenario_edit_proposalsunknown
user_guidanceobject[]
parent_sessioninteger nullable
conversation_idstring uuid nullable
message_idstring uuid nullable
error_messagestring
failure_kindstring
summary_jsonunknown
slack_notification_status'not_attempted' | 'sending' | 'sent' | 'skipped_no_channel' | 'failed' | 'held'
  • not_attempted - Not Attempted
  • sending - Sending
  • sent - Sent
  • skipped_no_channel - Skipped No Channel
  • failed - Failed
  • held - Held
routed_tostring
slack_channel_idstring
slack_message_tsstring
slack_message_textstring
slack_errorstring
promoted_atstring date-time nullable
promoted_byinteger nullable
promoted_by_emailstring nullable
promotion_summaryobject nullable
clone_stateobject
created_atstring date-time
updated_atstring date-time

Changes