cli
List CLI sessions
Changed onLists CLI sessions in the caller's workspace. A member sees their own sessions. An admin sees every session. Requires a dashboard session or a CLI access token. Root keys are rejected. This endpoint takes no request body.
post/v2/cli.listSessions
Request
- Base URLhttps://api.unkey.com
- URLhttps://api.unkey.com/v2/cli.listSessions
- AuthHTTP bearer
Response
Sessions the caller can see.
Example response
{
"meta": {
"requestId": "req_123"
}
}Changes
- breaking
removed the request body
- breaking
- info
endpoint added
- info