Supercheck LogoSupercheck
Tests API

Get test details

GET
/api/tests/{id}

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.

Authorization

bearerAuth
headerAuthorizationBearer <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.

Path Parameters

id*string

Test ID

Formatuuid

Query Parameters

includeScript?boolean

Include decoded script content in the response. Defaults to true unless explicitly set to false.

Response Body

Test details

application/json
  1. response

A single test. List rows also carry tags and creator fields.

id?string
Formatuuid
title?string
description?string|null
priority?string
type?string
script?string
createdAt?string
Formatdate-time
updatedAt?string
Formatdate-time
Example Request
curl -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"}