---
title: "Get a specific test"
method: GET
path: "/v1/tests/{id}"
tags: ["Tests"]
---

# Get a specific test

`GET /v1/tests/{id}`

Returns the full detail record for a single test session: status, environment (browser/OS or device/platform), assets (video, logs, screenshots), groups, build, and duration. Accepts either the numeric test ID or the WebDriver session_id.

## Path parameters

- `id` string, required

## Query parameters

- `skip_fields` string

## Response `200`

Get a specific test

- TestingbotEntitiesTestCase — Testingbot_Entities_TestCase model
  - `id` integer, required — Unique numeric test ID.
  - `session_id` string, required — Selenium / WebDriver session ID (UUID).
  - `name` string, required — Human-readable test name set via capabilities or `update_test`.
  - `state` string, required — Lifecycle state (RUNNING, COMPLETE, TIMEOUT, …).
  - `success` boolean, required — Whether the test passed.
  - `status_id` integer, required — Numeric status code (0=fail, 1=pass, 2=unknown).
  - `unknown` boolean, required — Convenience flag, true when `status_id` is 2 (the test finished without reporting a pass/fail).
  - `status_message` string, required — Failure reason or arbitrary status set via `test[status_message]`.
  - `created_at` string, date-time, required — When the test session started.
  - `completed_at` string, date-time, required — When the session ended; null while running.
  - `duration` integer, required — Total run time in seconds.
  - `browser` string, required — Browser identifier (e.g. "iexplore", "firefox").
  - `browser_version` integer, required — Browser major version.
  - `os` string, required — OS (e.g. "WINDOWS", "MAC").
  - `device_name` string, required — Mobile device name when the session ran on a physical device; null otherwise.
  - `platform_name` string, required — Mobile OS name; null on desktop.
  - `build` string, required — Build identifier (free-form string set via capabilities).
  - `groups` string[], required — Tag/group names attached to the test.
  - `video` string, required — Signed S3 URL to the recorded video, or false if video was disabled.
  - `thumbs` string[], required — Signed S3 URLs to screenshot thumbnails.
  - `logs` object, required — Map of log names → signed S3 URLs (selenium, browser, …).
  - `assets_available` boolean, required — Whether assets (video, logs, screenshots) have finished processing.
  - `extra` string, required — Arbitrary metadata string set via `test[extra]`.
  - `type` string, required — Driver type (WEBDRIVER, APPIUM).
  - `steps` string, required — Rendered HTML of the recorded step list. Omit with `skip_fields=steps`.
  - `running` integer, required — Completion percentage. Only present while a Codeless test is still running.

## Other responses

- `401` — Authentication required
- `404` — Test not found

---

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