API reference / Tests and incidents
List the places to test
The places where the QA tester checks the product: the live product and copies of it, with their test accounts. 10 at most.
/api/v1/test-environmentsOther ways to call it
troopy tests environmentstroopy_list_test_environmentsResponse
200 · application/jsondata*array<object>13 properties
id*stringA 24-character id
name*stringkind*enum<string>production: the live product. staging: a copy of it to test on
productionstaging
url*stringWhere the product starts, on https
accounts*array<object>The test accounts that the QA tester signs in with. Their passwords stay in the vault
2 properties
label*stringWhat tests call the account, like admin or customer
item*objectThe login in the vault
2 properties
id*stringA 24-character id
name*string | nullnull when the login is gone from the vault
allowActions*booleanWhether the QA tester may press buttons that change data there: staging only. It never pays
schedule*object | nullWhen the QA tester checks the place by itself. null: only when someone asks
7 properties
every*enum<string>hour: each hour at the minute. day: each day at the hour and minute. week: each week on the weekday, at the hour and minute
hourdayweek
hour*integerA daily or weekly check's hour
Default 8 · At least 0 · At most 23
minute*integerDefault 0 · At least 0 · At most 59
weekday*integerA weekly check's day: 0 is Sunday
Default 1 · At least 0 · At most 6
timezonestringThe IANA time zone of the hour, like Europe/Berlin. Left out: the workspace's, or UTC
At most 64 characters
tests*enum<string>main: the tests on the main path. all: every active test. On production, only the tests that are safe there
mainall
Default "main"
paused*booleanA paused schedule starts no check
Default false
nextRunAt*string | nullWhen its next scheduled check starts. null with no schedule, or a paused one
failing*object | nullIts scheduled checks began to fail then. A scheduled check that passes ends it, and so do a pause and the end of the schedule
2 properties
since*stringISO 8601 date and time
run*stringThe latest scheduled test run that failed
missed*object | nullThe latest scheduled check that couldn't start, and why, like the daily limit of test runs. A check that starts clears it
2 properties
at*stringISO 8601 date and time
why*stringcreatedBy*objectWho wrote it
3 properties
type*enum<string>personagentapi
id*stringname*stringcreatedAt*stringISO 8601 date and time
updatedAt*stringISO 8601 date and time