---
title: "Set Connection Targets"
method: PUT
path: "/api/databricks/connection/targets"
tags: ["databricks"]
---

# Set Connection Targets

`PUT /api/databricks/connection/targets`

Select the warehouse and Genie Agent the organization will use.

## Request body

- TargetsRequest — Org-admin selection of the warehouse and Genie Agent to use.
  - `warehouse_id` string, nullable
  - `genie_agent_id` string, nullable
  - `default_catalog` string, nullable
  - `default_schema` string, nullable

## Response `200`

Successful Response

- ConnectionResponse — Non-secret view of a Databricks connection.
  - `configured` boolean, required
  - `workspace_host` string, nullable
  - `workspace_id` string, nullable
  - `cloud` string, nullable
  - `oauth_client_id` string, nullable
  - `oauth_redirect_uri` string, nullable
  - `has_client_secret` boolean
  - `enabled_auth_modes` string[]
  - `warehouse_id` string, nullable
  - `genie_agent_id` string, nullable
  - `default_catalog` string, nullable
  - `default_schema` string, nullable
  - `disabled` boolean

## Other responses

- `422` — Validation Error

---

[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)
