Skip to main content
GET
Get test entity
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Accept
enum<string>
default:application/json
required

Specifies the expected response format. Must be set to application/json for proper API communication.

Available options:
application/json

Path Parameters

project_id
string
required

Id of the project. You can get project_id by listing your projects using the List projects API.

Example:

"pdqmxlz"

run_id
string
required

Id of the run. You can get run_id by listing runs using the List runs API.

Example:

"kftwnab"

test_entity_id
string
required

Id of the test entity (a spec or a test). You can get test_entity_id by listing test entities using the List test entities API.

Example:

"vhrscje"

Response

200 - application/json

OK - Request succeeded

title
string

Title of the test entity.

Example:

"adds an item to the cart"

describe_path
string[]

Ordered list of ancestor describe blocks leading to this test.

Example:
status
string

Aggregated status of the test entity.

Example:

"passed"

outcomes
object[]

Outcomes recorded for this entity in the run. Always empty for a spec, which takes no attempts of its own.

tests
object[]

Tests the run recorded inside this entity. Always empty for a test, which contains none.