연결 조회
GET /v1/connections/{connection_id} · 권한 connections:read
연결 하나를 반환합니다. ETag 응답 헤더에는 PATCH 및 DELETE에서 If-Match로 보낼 버전이 담겨 있습니다.
엔터프라이즈 연결의 경우 응답에 pending_revision_id도 포함됩니다. 이 값은 연결의 대기 중인 초안 리비전(connrev_…) ID이며, 대기 중인 리비전이 없으면 null입니다. 이 필드는 이 엔드포인트에만 나타나며, 그 시점에 엔터프라이즈 설정 서비스를 읽을 수 없으면 제외됩니다.
요청
| 필드 | 타입 | 필수 | 설명 |
|---|---|---|---|
connection_id |
string | 예 | 연결 식별자(conn_…)입니다. |
응답
200 OK와 함께 연결 정보가 반환됩니다.
{
"id": "conn_0k3v8m1q2x9dz4h7s5t6w0y1ab",
"key": "google",
"type": "social",
"strategy": "google",
"name": "Google",
"display_name": "Sign in with Google",
"status": "inactive",
"org_id": null,
"allowed_email_domains": [],
"allow_external_domains": false,
"jit_mode": null,
"email_trust": null,
"default_role_ids": [],
"trust_idp_mfa": null,
"allow_idp_initiated": null,
"idp_initiated_default_application_id": null,
"idp_initiated_allowed_application_ids": [],
"settings": {},
"created_at": "2026-10-05T09:30:00.123456Z",
"updated_at": "2026-10-05T09:30:00.123456Z"
}
오류
| HTTP | code | 발생 조건 |
|---|---|---|
| 404 | not_found |
연결이 존재하지 않거나 다른 환경에 속해 있습니다. |
| 401 | unauthenticated |
인증 정보가 없거나 잘못되었거나 취소되었습니다. |
| 403 | insufficient_permissions |
인증 정보에 필요한 권한이 없습니다. |
| 429 | rate_limited |
요청 한도를 초과했습니다. Retry-After 기간 이후에 다시 시도하십시오. |
| 503 | service_unavailable |
종속 서비스를 일시적으로 사용할 수 없습니다. Retry-After 기간 이후에 다시 시도하십시오. |
예제
curl https://api.eu.keenauth.com/v1/connections/conn_0k3v8m1q2x9dz4h7s5t6w0y1ab \
-H "Authorization: Bearer $KEENAUTH_SECRET_KEY"