---
title: "Retrieve status history for journey runs in a workspace"
method: GET
path: "/workspaces/{workspace_id}/reports/runStatusHistory"
tags: ["Report"]
---

# Retrieve status history for journey runs in a workspace

`GET /workspaces/{workspace_id}/reports/runStatusHistory`

Used to retrieve status history for journey runs in a workspace

## Path parameters

- `workspace_id` string, required

## Query parameters

- `history_days` integer
- `environment_id` string
- `application_id` string

## Response `200`

Array of daily status of journey runs

- RunStatusSummaryQueryResult
  - `runStatusHistory` RunStatusPeriodSummary[] — A time series of run status summaries per day
    - `time_interval_start` integer — Start of the time interval (in epoch milliseconds)
    - `time_interval_end` integer — End of the time interval (in epoch milliseconds)
    - `status_by_application` object
    - `status_totals` RunStatusSummary — Test run status summmary for a single grouping/aggregation
      - `passed_journey_run_count` integer — Total number of journey runs with status completed
      - `failed_journey_run_count` integer — Total number of journey runs with status failed
      - `terminated_journey_run_count` integer — Total number of journey runs with status terminated

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unexpected 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)
