Tests API
Get test details
GET
Retrieve full details for a test including its script content. The response carries id, title, description, script, priority, type, createdAt and updatedAt; name, tags, projectId, organizationId and the creator fields come only from GET /api/tests.
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.
id*stringTest ID
Format
uuidincludeScript?booleanInclude decoded script content in the response. Defaults to true unless explicitly set to false.
Test details
application/json- response
A single test. List rows also carry tags and creator fields.
id?stringFormat
uuidtitle?stringdescription?string|nullpriority?stringtype?stringscript?stringcreatedAt?stringFormat
date-timeupdatedAt?stringFormat
date-timecurl -X GET 'https://app.supercheck.io/api/tests/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "title": "string", "description": "string", "priority": "string", "type": "string", "script": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}