# Cockroach Labs Sessions API

**Canonical:** https://apis.io/apis/cockroach-labs/cockroach-labs-sessions-api/  
**Provider:** Cockroach Labs — https://apis.io/providers/cockroach-labs/  
**Base URL:** https://cockroachlabs.cloud  
**Documentation:** https://www.cockroachlabs.com/docs/cockroachcloud/cloud-api

Cockroach Labs Sessions API is one of 26 APIs that [Cockroach Labs](https://apis.io/providers/cockroach-labs/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Sessions. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

List active SQL sessions across all nodes of the cluster, with optional filtering by username.

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cockroach-labs/refs/heads/main/openapi/cockroach-labs-sessions-api-openapi.yml
- **Documentation** — https://www.cockroachlabs.com/docs/cockroachcloud/cloud-api
- **APIReference** — https://www.cockroachlabs.com/docs/api/cloud/v1
- **Documentation** — https://www.cockroachlabs.com/docs/stable/cluster-api
- **APIReference** — https://www.cockroachlabs.com/docs/api/cluster/v2

## Other Cockroach Labs APIs (12)

- [Cockroach Labs APIKeys API](https://apis.io/apis/cockroach-labs/cockroach-labs-apikeys-api/)
- [Cockroach Labs AuditLogs API](https://apis.io/apis/cockroach-labs/cockroach-labs-auditlogs-api/)
- [Cockroach Labs Auth API](https://apis.io/apis/cockroach-labs/cockroach-labs-auth-api/)
- [Cockroach Labs BackupRestore API](https://apis.io/apis/cockroach-labs/cockroach-labs-backuprestore-api/)
- [Cockroach Labs Billing API](https://apis.io/apis/cockroach-labs/cockroach-labs-billing-api/)
- [Cockroach Labs Clusters API](https://apis.io/apis/cockroach-labs/cockroach-labs-clusters-api/)
- [Cockroach Labs CMEK API](https://apis.io/apis/cockroach-labs/cockroach-labs-cmek-api/)
- [Cockroach Labs Databases API](https://apis.io/apis/cockroach-labs/cockroach-labs-databases-api/)
- [Cockroach Labs EgressRules API](https://apis.io/apis/cockroach-labs/cockroach-labs-egressrules-api/)
- [Cockroach Labs Folders API](https://apis.io/apis/cockroach-labs/cockroach-labs-folders-api/)
- [Cockroach Labs Health API](https://apis.io/apis/cockroach-labs/cockroach-labs-health-api/)
- [Cockroach Labs IPAllowlists API](https://apis.io/apis/cockroach-labs/cockroach-labs-ipallowlists-api/)

## Tags

Sessions

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cockroach-labs/cockroach-labs-sessions-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cockroach-labs/.
