cURL
curl --request GET \ --url https://dash.empirical.run/api/test-cases/v2/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "test_case": { "id": "<string>", "name": "<string>", "file_path": "<string>", "suites": [ "<string>" ], "playwright_project": "<string>", "tags": [ "<string>" ], "created_at": "<string>", "updated_at": "<string>", "first_seen_commit_sha": "<string>", "last_seen_commit_sha": "<string>" } } }
Returns a single test case by its Playwright test ID.
API key from the Empirical dashboard.
Playwright test ID (pw_test_id).
Test case details.
Show child attributes
Was this page helpful?