---
title: "Test Execution Status"
method: GET
path: "/v1/projects/{projectId}/test-executions/{testExecutionId}"
tags: ["Test Execution"]
---

# Test Execution Status

`GET /v1/projects/{projectId}/test-executions/{testExecutionId}`

Status of an executed test

## Path parameters

- `projectId` string, required
- `testExecutionId` string, uuid, required

## Response `200`

Test execution status has been retrieved

- TestExecutionStatusResponse
  - `result` TestExecution
    - `environmentName` string — Name of the environment the test execution ran in
    - `finishedAt` string, date-time — The time the test execution finished
    - `message` string — Human-readable message describing the test execution outcome
    - `projectId` string — Identifier of the project the test execution belongs to
    - `scheduleId` string — Identifier of the schedule that triggered the test execution, if applicable
    - `startedAt` string, date-time — The time the test execution started
    - `status` string — Current status of the test execution
    - `testExecutionId` string — Unique identifier for the test execution
    - `testName` string — Name of the executed test
    - `trigger` 'DESIGNER' | 'API' | 'SCHEDULE' | 'SCHEDULE_RUN_NOW' | 'UNKNOWN' — What triggered the test execution
    - `user` string — The user who triggered the test execution, if applicable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Test execution not found
- `500` — Unexpected error occurred
- `504` — Gateway timeout

---

[API](https://skmtc.net/maia/apis/maia-public-rest-api.md) · [All operations](https://skmtc.net/maia/apis/maia-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia/maia-public-rest-api/versions/6239825f68eb/schema)
