# Cockroach Labs Auth API

**Canonical:** https://apis.io/apis/cockroach-labs/cockroach-labs-auth-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 Auth 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 Authentication. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

Authenticate to the Cluster API by creating and terminating API sessions. Session tokens are passed via the X-Cockroach-API-Session header on subsequent requests.

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cockroach-labs/refs/heads/main/openapi/cockroach-labs-auth-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 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/)
- [Cockroach Labs JWTIssuers API](https://apis.io/apis/cockroach-labs/cockroach-labs-jwtissuers-api/)

## Tags

Authentication

---

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