---
title: "Fetch a connection (no secrets)"
method: GET
path: "/v1/connections/{id}"
---

# Fetch a connection (no secrets)

`GET /v1/connections/{id}`

## Request

- Base URL: `https://api.klanexai.com`
- URL: `https://api.klanexai.com/v1/connections/{id}`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required

## Response `200`

Connection.

- Connection: Secret-free view of a vault connection.
  - `connection_id` string
  - `provider` string
  - `grant_type` 'static_bearer' | 'oauth2_client_credentials' | 'oauth2_authorization_code'
  - `status` 'pending' | 'connected' | 'error'
  - `inject_header` string
  - `scopes` string[]
  - `expires_at` string, date-time
  - `authorize_url` string: Present on create for authorization-code connections.
  - `last_error` string
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Missing or invalid X-API-Key.
- `404`: No such execution for this tenant.
- `429`: Per-tenant rate limit exceeded; retry after Retry-After seconds.

---

[API](https://skmtc.dev/klanexai/apis/klanex-api.md) · [All operations](https://skmtc.dev/klanexai/apis/klanex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/klanexai/apis/klanex-api/revisions/daf36597612f?raw)
