---
title: "Get a discovered connection"
method: GET
path: "/v1/discovery/connections/{connectionId}"
tags: ["Discovery"]
---

# Get a discovered connection

`GET /v1/discovery/connections/{connectionId}`

Use this endpoint to retrieve a single discovered Fetcher connection by its internal identifier.

## Path parameters

- `connectionId` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Connection details

- ConnectionResponse — A discovered Fetcher database connection
  - `id` string — Internal identifier for the connection
  - `configName` string — Name of the Fetcher configuration that produced this connection
  - `databaseType` string — Type of database (e.g. postgres, mysql)
  - `status` string — Current connection status
  - `schemaDiscovered` boolean — Whether the table schema has been discovered for this connection
  - `lastSeenAt` string — Timestamp when this connection was last observed in Fetcher

## Other responses

- `400` — Invalid connection ID
- `401` — The request lacks valid authentication credentials.
- `403` — You do not have permission to access this resource.
- `404` — Connection not found
- `500` — An unexpected error occurred on the server.

---

[API](https://skmtc.net/lerian/apis/identity-plugin.md) · [All operations](https://skmtc.net/lerian/apis/identity-plugin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lerian/identity-plugin/versions/25daba385532/schema)
