---
title: "Get test status history"
method: GET
path: "/api/v1/test/test-status-history"
tags: ["Tests"]
---

# Get test status history

`GET /api/v1/test/test-status-history`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/test/test-status-history`
- Auth: one of:
  - API key in cookie `user_session`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/dream-horizon-org/apis/checkmate-test-management-api/docs/api/v1/test/test-status-history/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the status change history for a test

## Query parameters

- `testId` integer, required

## Response `200`

Test status history

- object
  - `data` object[]
    - `status` 'Passed' | 'Failed' | 'Blocked' | 'Untested' | 'Retest' | 'Archived' | 'Skipped' | 'InProgress': Test execution status
    - `changedBy` string
    - `changedOn` string, date-time
    - `comment` string
  - `status` integer

---

[API](https://skmtc.dev/dream-horizon-org/apis/checkmate-test-management-api.md) - [All operations](https://skmtc.dev/dream-horizon-org/apis/checkmate-test-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dream-horizon-org/apis/checkmate-test-management-api/revisions/f818f4b6fb31?raw)
