---
title: "Read Sql Credentials"
method: GET
path: "/api/databricks/sql-credentials"
tags: ["databricks"]
---

# Read Sql Credentials

`GET /api/databricks/sql-credentials`

Issue a short-lived SQL warehouse credential to the caller's kernel.

A running kernel cannot receive an updated environment, so a token injected
at kernel start would be pinned to a value that expires within the hour.
The kernel calls this per connection instead; nothing durable is written
into its environment.

## Response `200`

Successful Response

- SqlCredentialsResponse — Everything a kernel needs to open one Databricks SQL connection.
  - `workspace_host` string, required
  - `http_path` string, required
  - `access_token` string, required
  - `expires_at` string, required
  - `user_agent` string, required
  - `catalog` string, nullable
  - `schema_name` string, nullable

---

[API](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.net/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quadrillion/quadrillion-cloud-api/revisions/399077308c86/schema)
