Supercheck LogoSupercheck
Requirements API

List tests linked to a requirement

List the tests linked to a requirement. Requires requirement:view.

GET
/api/requirements/{id}/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

Requirement ID

Formatuuid

Response Body

Linked tests

application/json
  1. response
tests?array<>
Example Request
curl -X GET 'https://demo.supercheck.dev/api/requirements/497f6eca-6276-4993-bfeb-53cbbbba6f08/tests'
Example Response
{  "tests": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "title": "string",      "type": "string"    }  ]}