latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Analysis

Save agent-generated analysis result

Saves structured analysis output (title, summary, evidence, failure category) to the target entity (test run, plan run, or deployment). Used by the auto-analysis agent system.

put/analysis/{workspace_id}/agentAnalysis/save

Path parameters

workspace_idstring required

The workspace associated with this entity

Request body

entity_idstring required

ID of the entity to save analysis on (test run, plan run, or deployment event)

entity_type'test_run' | 'plan_run' | 'deployment' required

The type of entity

titlestring required

Agent-generated analysis title

summarystring required

Agent-generated analysis summary (root cause + next steps)

failure_categorystring

Agent-suggested failure category ID

evidence_detailsstring

Agent-generated evidence details

content_blocks_jsonstring

Pre-computed structured content blocks for evidence_details, serialized as a JSON array string. Stored as-is on the FailureAnalysis entity and deserialized by consumers.

agent_session_idstring

ID of the agent session that generated this analysis

reused_from_run_idstring

When the failure analysis was reused from a prior run, the ID of the original run that produced the analysis.

Response

Analysis result saved successfully