Tests API
List tests
List all tests in the current project with optional search and type filters.
GET
bearerAuthheader
AuthorizationBearer <token>Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.
page?integerPage number for pagination
Range
1 <= valueDefault
1limit?integerItems per page
Range
1 <= value <= 1000Default
200includeScript?booleanInclude decoded script content in each listed test. Defaults to false.
search?stringSearch by title
type?stringFilter by test type. Aliases: playwright → browser, k6 → performance
Value in
"browser""api""performance""database""custom"priority?stringFilter by priority. Any other value returns 400.
Value in
"low""medium""high"Paginated list of tests
application/json- response
pagination?data?array<>curl -X GET 'https://demo.supercheck.dev/api/tests'Example Response
{ "pagination": { "total": 0, "page": 0, "limit": 0, "totalPages": 0, "hasNextPage": true, "hasPrevPage": true }, "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "title": "string", "description": "string", "priority": "low", "type": "browser", "script": "string", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "color": "string" } ], "createdByName": "string", "createdByImage": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}