---
title: "Get Test Execution debug analysis"
method: GET
path: "/simulate/test-executions/{test_execution_id}/debug-analysis/"
tags: ["simulate"]
---

# Get Test Execution debug analysis

`GET /simulate/test-executions/{test_execution_id}/debug-analysis/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/simulate/test-executions/{test_execution_id}/debug-analysis/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Response `200`

OK

- TestExecutionDebugAnalysisResponse
  - `test_execution_id` string, uuid, required
  - `status` 'not_requested' | 'pending' | 'running' | 'completed' | 'failed', required
  - `generation` integer, nullable, required
  - `job_id` string, uuid, nullable, required
  - `error_message` string, nullable, required
  - `report` DebugAnalysisReport, nullable, required
    - `id` string, uuid, required
    - `execution_status` string, required
    - `outcome` string, required
    - `coverage` DebugAnalysisCoverage, required
      - `scope` string, required
      - `observed_call_count` integer, required
      - `read_complete` boolean, required
    - `error_message` string, nullable, required
    - `grouping_status` string, required
    - `recorded_at` string, date-time, required
  - `findings` DebugAnalysisFinding[], required
    - `id` string, uuid, required
    - `kind` string, nullable, required
    - `statement` string, required
    - `recovery` string, nullable, required
    - `category` string, nullable, required
    - `group_label` string, nullable, required
    - `fix_layer` string, nullable, required
    - `confidence` string, nullable, required
    - `goal` string, nullable, required
    - `cluster` DebugAnalysisCluster, nullable, required
      - `id` string, uuid, required
      - `cluster_id` string, required
      - `title` string, nullable, required
      - `error_type` string, required
    - `evidence` DebugAnalysisEvidence[], required
      - `evidence_id` string, required
      - `call_execution_id` string, uuid, nullable, required
      - `excerpt` string, required
  - `summary` DebugAnalysisSummary, nullable, required
    - `measured_call_count` integer, required
    - `broken_goal_count` integer, required
    - `broken_call_count` integer, required
    - `one_off_count` integer, required
    - `excluded_call_ids` string[], required
    - `unanalyzed_call_ids` string[], required
  - `goals` DebugAnalysisGoal[], required
    - `goal` string, required
    - `label` string, required
    - `criteria` string, nullable, required
    - `broken_call_ids` string[], required
    - `tested_call_count` integer, required
    - `ways` DebugAnalysisWay[], required
      - `id` string, required
      - `title` string, required
      - `phrase` string, required
      - `call_ids` string[], required
    - `unexplained_call_ids` string[], required
  - `one_offs` DebugAnalysisWay[], required
    - `id` string, required
    - `title` string, required
    - `phrase` string, required
    - `call_ids` string[], required

## Other responses

- `404`: Not Found
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
