Tests

Find a test by scope and name

Looks up a single test by its scope and name (the UUID is derived from these), returning 404 when no match exists. Uses POST because scope and name can be long.

post/organizations/{org}/suites/{suite_slug}/tests/find

Request

  • Base URL: https://api.buildkite.com/v2/analytics
  • URL: https://api.buildkite.com/v2/analytics/organizations/{org}/suites/{suite_slug}/tests/find
  • Auth: HTTP bearer

Path parameters

orgstring required

Organization slug

suite_slugstring required

Suite slug.

Request body

namestring required
scopestring required

Response

The matching test.

idstring uuid
urlstring uri
web_urlstring uri
scopestring
namestring
locationstring
file_namestring
state'enabled' | 'muted' | 'skipped'

Test state.

state_changed_atstring date-time nullable

When the test entered its current state. Null for enabled tests, which are the default and carry no state record.

labelsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.