---
title: "Get a deployment result summary"
method: GET
path: "/execution/result/event/{event_id}"
tags: ["Event"]
---

# Get a deployment result summary

`GET /execution/result/event/{event_id}`

Retrieve information about the plan runs executed using the deployment events API.

## Path parameters

- `event_id` string, required

## Response `200`

Execution result

- ExecutionResult — Summary of plan/test execution results
  - `event_status` EventStatus
    - `succeeded` boolean — True if succeeded_first_attempt is true or succeeded_with_retries is true
    - `succeeded_first_attempt` boolean — True if all associated plan runs passed on the first attempt
    - `succeeded_with_retries` boolean — True if all associated plan runs passed taking retries into account
    - `succeeded_by_plan` object — Map of plan ID to boolean indicating whether the plan passed
  - `plan_execution_metrics` ExecutionMetrics
    - `total` integer — The total number of executions
    - `passed` integer — The number of executions that passed
    - `failed` integer — The number of executions that failed
    - `running` integer — The number of executions that are still running
    - `skipped` integer — The number of executions that were skipped
    - `terminated` integer — The total number of executions that were terminated before completion
  - `journey_execution_metrics` ExecutionMetrics
    - `total` integer — The total number of executions
    - `passed` integer — The number of executions that passed
    - `failed` integer — The number of executions that failed
    - `running` integer — The number of executions that are still running
    - `skipped` integer — The number of executions that were skipped
    - `terminated` integer — The total number of executions that were terminated before completion
  - `failure_analysis` FailureRootCauseAnalysis
    - `headline` string — The short summary of the run analysis; typically limited to one sentence
    - `summary` string — The summary of the analysis for the run failure
    - `failure_category_id` string — The suggested failure category if applicable
    - `evidence_details` string — Agent-generated detailed evidence supporting the analysis, if available
  - `executions` ExecutionSummary[] — Complete list of all plan runs
    - `status` 'queued' | 'pre_execution' | 'scheduling' | 'scheduled' | 'succeeded' | 'failed' | 'cancelled' | 'post_execution' | 'completed' | 'terminated' — Current status of the plan run
    - `status_cause` string — Cause for setting given status, such as failure cause
    - `success` boolean — true if the plan completed successfully
    - `plan` PlanSummary
      - `id` string, required — plan id
      - `name` string — plan name
      - `href` string, required — URL for retrieving the plan
      - `app_href` string, required — URL for viewing the plan in the mabl app
      - `tags` Tag[] — tags associated with the plan
        - `name` string, required — tag name
        - `values` string[]
    - `plan_execution` PlanExecutionResult — Provides information about the result of a plan execution
      - `id` string, required — The plan run ID
      - `status` 'queued' | 'pre_execution' | 'scheduling' | 'scheduled' | 'succeeded' | 'failed' | 'cancelled' | 'post_execution' | 'completed' | 'terminated' — Current status of the plan run
      - `status_cause` string — Cause for setting given status, such as failure cause
      - `href` string, required — URL for retrieving the plan run
      - `is_retry` boolean — true if this plan run is a retry of a previously failed execution
      - `retry_of_id` string — if is_retry is true, this is the ID of the plan run that this retry is associated with
    - `journeys` TestSummary[] — The tests in this plan
      - `id` string, required — Test id
      - `name` string — test name
      - `href` string, required — URL for retrieving the test
      - `app_href` string, required — URL for viewing the test in the mabl app
      - `tags` Tag[] — tags associated with this test
        - `name` string, required — tag name
        - `values` string[]
    - `journey_executions` TestRunResult[] — The test runs in this plan
      - `id` string — Test run id
      - `test_ref_id` string — reference to this test in another system
      - `workspace_id` string — workspace Id
      - `started_time` integer — Time test run was started, in epoch milliseconds
      - `completed_time` integer — Time test run was completed, in epoch milliseconds
      - `tags` Tag[] — Free text tags associated with this entity
        - `name` string, required — tag name
        - `values` string[]
      - `journey_id` string, required — (deprecated, use test_id) Test id
      - `test_id` string — Test id
      - `test_labels` string[] — Test labels
      - `test_name` string — Test name
      - `test_type` 'api' | 'browser' | 'performance' | 'mobile' — Type of test
      - `failure_summary` TestRunFailureSummary — Information useful for diagnosing test run failures
        - `flow_id` string — ID of the flow in which the failure occurred
        - `flow_name` string — Name of the flow in which the failure occurred, if any
        - `step_number` integer — Step number within the flow where the failure occurred
        - `step_id` string — ID of the step (with respect to the flow) where the failure occurred
        - `step_id_in_test` string — ID of the step (with respect to the test) where the failure occurred
        - `step_display_number` string — Display number of the failing step in nested dotted notation (e.g. "2.7" or "2.7.3"). Null when unavailable; only populated for runs executed after this field shipped (not present on backfilled historical runs).
        - `error` string — Unexpected error or formatted assertion failure that was recorded
        - `image_uri` string — URL of an image showing the error
        - `image_href` string — URL of an image showing the error
        - `image_artifact_url` string — API url of the image that will redirect to a newly signed image url
        - `assert_failure` AssertFailure — Details about assert failure
          - `reason` string — Assert failure description without expected/found values to eliminate the need for parsing downstream
          - `expected` string — Expected value where applicable
          - `found` string — Value actually found during test execution
      - `failure_categorization` FailureCategorization — Information describing the cause of a test run failure
        - `failure_category_id` string — A failure category id
        - `failure_synopsis` string — DEPRECATED -- Now persisted as FailureAnalysis -- A synopsis of the failure summary
        - `failure_summary_text` string — A summary describing the test run failure and potential root cause
        - `is_failure_category_generated` boolean — Indicates if the failure category was generated by AI
        - `is_failure_summary_generated` boolean — Indicates if the failure summary was generated by AI
        - `suggested_failure_category_id` string — Failure category ID suggested by automated analysis
        - `last_updated_by_id` string — The ID of the user who updated the categorization of this failure
        - `last_updated_time` integer — time the failure categorization was last updated
        - `failure_reason_assignment_source` 'manual' | 'auto' — How the failure reason was assigned to this test run. Server-managed; client-supplied values are ignored on write.
        - `failure_reason_assigned_by_id` string — The ID of the user or system that assigned the failure reason. Server-managed; client-supplied values are ignored on write.
        - `failure_reason_assigned_time` integer — Timestamp in epoch milliseconds when the failure reason was assigned. Server-managed; client-supplied values are ignored on write.
      - `test_cases` ExternalTestCase[] — User provided external test cases
        - `id` string — Id associated with this test case
      - `timing_summary` TimingSummary — Sumamry of various timing measures for this run
        - `find_time_ms` integer — Total time spent in finds for this run
        - `find_extra_wait_time_ms` integer — Extra wait time added by intelligent waiting in finds
      - `execution_source` 'mabl_cloud' | 'external' | 'mabl_local' | 'mabl_agent' — Where the test lives
      - `status` 'awaiting_precondition' | 'skipped' | 'rate_limited' | 'queued' | 'running' | 'completed' | 'failed' | 'terminating' | 'terminated' — The current status of this test run
      - `status_cause` string — Cause for setting given status, such as failure cause. Updated in pairs with Status.
      - `outcome` 'passed' | 'failed' | 'stopped'
      - `customer_log_uri` string — Customer facing output log (formerly output_log_uri)
      - `journey_execution_id` string, required — (deprecated, use id instead) The test run ID
      - `application_id` string — the id of the application associated with this run
      - `environment_id` string — the id of the environment associated with this run
      - `initial_url` string — the URL where the test started
      - `run_multiplier_index` integer — Zero-indexed run multiplier index for this run
      - `browser_type` string — the type of browser associated with this run
      - `scenario_name` string — the scenario name associated with this run, if any
      - `success` boolean — true if the test run completed successfully
      - `href` string, required — URL for retrieving the test run
      - `app_href` string, required — URL for viewing the test run results in the mabl app
      - `start_time` integer — (deprecated, use started_time) The time this test run started
      - `stop_time` integer — (deprecated, use completed_time) The time this test run stopped
      - `termination_reason` string — Termination reason when status is terminated (mirrors TestRun.termination_reason values, e.g. usage_quota_exceeded)
    - `start_time` integer — Plan run start time
    - `stop_time` integer — Plan run end time

## Other responses

- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
