Read a saved connection's details
One connection’s name, service, site and use. Never its token.
GET
/
connections
/
{connection_id}
curl --request GET "$MITHUNAI_URL/mithunai/api/v1/connections/$CONNECTION_ID" \
--header "Authorization: Bearer $MITHUNAI_API_KEY"
{
"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
}
{ "code": "not_found", "message": "The connection was not found." }
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).
string
required
The connection’s ID (UUID), as returned in
id.Response
string
required
The connection’s ID (UUID).
string
required
Your label for it.
string
required
github, atlassian, notion, zendesk, grafana, hubspot, wordpress, slack, stripe,
okta, google_workspace or microsoft_entra.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.integer
required
How many knowledge sources use it. It cannot be deleted while this is above zero.
string
required
When it was saved, ISO 8601 in UTC.
string
required
When it last changed, ISO 8601 in UTC.
string | null
required
When its token was last replaced, or
null.string | null
required
When a sync last used it, or
null.curl --request GET "$MITHUNAI_URL/mithunai/api/v1/connections/$CONNECTION_ID" \
--header "Authorization: Bearer $MITHUNAI_API_KEY"
{
"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
}
{ "code": "not_found", "message": "The connection was not found." }
Last modified on November 7, 2026
curl --request GET "$MITHUNAI_URL/mithunai/api/v1/connections/$CONNECTION_ID" \
--header "Authorization: Bearer $MITHUNAI_API_KEY"
{
"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
}
{ "code": "not_found", "message": "The connection was not found." }