> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mithunai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read a saved connection's details

> One connection's name, service, site and use. Never its token.

Returns one connection. It never contains the token. A connection that does not exist, one in another organisation and a malformed ID all return the same `404`. You need the owner or admin role (`credential.read`).

**connection\_id** `string` *required*

The connection's ID (UUID), as returned in `id`.

## Response

**id** `string` *required*

The connection's ID (UUID).

**name** `string` *required*

Your label for it.

**kind** `string` *required*

`github`, `atlassian`, `notion`, `zendesk`, `grafana`, `hubspot`, `wordpress`, `slack`, `stripe`,
`okta`, `google_workspace` or `microsoft_entra`.

**host** `string` *required*

For `atlassian`, `zendesk`, `grafana`, `wordpress` and `okta`, the one site the secret is sent to,
such as `your-company.atlassian.net` or `your-company.zendesk.com`. Empty for the others.

**source\_count** `integer` *required*

How many knowledge sources use it. It cannot be deleted while this is above zero.

**created\_at** `string` *required*

When it was saved, ISO 8601 in UTC.

**updated\_at** `string` *required*

When it last changed, ISO 8601 in UTC.

**rotated\_at** `string | null` *required*

When its token was last replaced, or `null`.

**last\_used\_at** `string | null` *required*

When a sync last used it, or `null`.

```bash cURL theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl --request GET "$MITHUNAI_URL/mithunai/api/v1/connections/$CONNECTION_ID" \
  --header "Authorization: Bearer $MITHUNAI_API_KEY"
```

```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "6f1c2b9a-4d3e-4a8b-9c7d-2e1f0a9b8c7d",
  "name": "Docs team Notion",
  "kind": "notion",
  "host": "",
  "source_count": 1,
  "created_at": "2026-10-13T09:00:00+00:00",
  "updated_at": "2026-10-13T09:00:00+00:00",
  "rotated_at": null,
  "last_used_at": null
}
```

```json 404 theme={"theme":{"light":"github-light","dark":"github-dark"}}
{ "code": "not_found", "message": "The connection was not found." }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.