# CockroachDB Auth API

**Canonical:** https://apis.io/apis/cockroachdb/cockroachdb-auth-api/  
**Provider:** CockroachDB — https://apis.io/providers/cockroachdb/  
**Base URL:** https://cockroachlabs.cloud  
**Documentation:** https://www.cockroachlabs.com/docs/cockroachcloud/cloud-api

CockroachDB Auth API is one of 26 APIs that [CockroachDB](https://apis.io/providers/cockroachdb/) 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/cockroachdb/refs/heads/main/openapi/cockroachdb-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 CockroachDB APIs (12)

- [CockroachDB APIKeys API](https://apis.io/apis/cockroachdb/cockroachdb-apikeys-api/)
- [CockroachDB AuditLogs API](https://apis.io/apis/cockroachdb/cockroachdb-auditlogs-api/)
- [CockroachDB BackupRestore API](https://apis.io/apis/cockroachdb/cockroachdb-backuprestore-api/)
- [CockroachDB Billing API](https://apis.io/apis/cockroachdb/cockroachdb-billing-api/)
- [CockroachDB Clusters API](https://apis.io/apis/cockroachdb/cockroachdb-clusters-api/)
- [CockroachDB CMEK API](https://apis.io/apis/cockroachdb/cockroachdb-cmek-api/)
- [CockroachDB Databases API](https://apis.io/apis/cockroachdb/cockroachdb-databases-api/)
- [CockroachDB EgressRules API](https://apis.io/apis/cockroachdb/cockroachdb-egressrules-api/)
- [CockroachDB Folders API](https://apis.io/apis/cockroachdb/cockroachdb-folders-api/)
- [CockroachDB Health API](https://apis.io/apis/cockroachdb/cockroachdb-health-api/)
- [CockroachDB IPAllowlists API](https://apis.io/apis/cockroachdb/cockroachdb-ipallowlists-api/)
- [CockroachDB JWTIssuers API](https://apis.io/apis/cockroachdb/cockroachdb-jwtissuers-api/)

## Tags

Authentication

---

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