GET
/
api
/
cli
/
session
Get CLI session
curl --request GET \
  --url https://selltraces.com/api/cli/session \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Opaque machine token issued by the CLI login or onboarding flow.

Response

Authenticated CLI session returned.

ok
boolean
required
userId
string<uuid>
required

UUID string.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$