CLI Tokens
List CLI tokens
List all CLI tokens for the current project. Also used by supercheck whoami to verify the current token.
Authorization
bearerAuth AuthorizationBearer <token>
CLI token (sck_live_*) for full API access, or trigger key (sck_trigger_* / legacy job_*) for job trigger endpoint only.
In: header
Response Body
application/json
application/json
curl -X GET "https://demo.supercheck.dev/api/cli-tokens"{
"success": true,
"tokens": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"start": "string",
"enabled": true,
"expiresAt": "2019-08-24T14:15:22Z",
"lastRequest": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"error": "Unauthorized"
}