{ "opencollection": "1.0.0", "info": { "name": "CockroachDB Cloud APIKeys Sessions API", "version": "2024-09-16" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Sessions", "type": "folder" }, "items": [ { "info": { "name": "List sessions", "type": "http" }, "http": { "method": "GET", "url": "https://cockroachlabs.cloud/api/v2/sessions/", "params": [ { "name": "username", "value": "", "type": "query", "description": "Filter sessions by SQL username." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return in a single response." }, { "name": "start", "value": "", "type": "query", "description": "Pagination cursor for the starting position in the result set." } ] }, "docs": "Returns a list of all active SQL sessions across all nodes of the cluster. Optionally filter by username to return only sessions for a specific SQL user. Supports pagination via limit and start parameters. Requires admin authentication." } ] } ], "bundled": true }