조직 서비스 계정 나열

얻다 /api/v1/조직/{id}/서비스 계정

조직 단위의 고객 서비스 계정을 목록합니다. ORG_ADMIN 또는 ORG_MEMBER(읽기 전용)이 필요합니다.

경로 매개변수

  • id 문자열 필수 사항

    조직 ID

쿼리 매개변수

  • limit integer

    페이지 크기 (기본값 50, 최대값 200)

  • cursor 문자열

    이전 응답의 next_cursor에서 가져오는 키섻 커서

응답

  • 지원되지 않거나 잘못된 형식의 API 버전, 선택한 게시된 계약에서 사용할 수 없는 작업 또는 허용되지 않는 표현(지원되지 않는 미디어 유형 매개 변수 또는 제외된 SSE 포함). 기존의 인증, 권한 부여 및 요금 제한 실패가 우선합니다.

    응답 속성 숨기기 응답 속성 표시 객체
    • badRequestDetail 객체

      표준 오류 스키마에 의해 정의되는 선택 사항인 유효성 검사 세부 정보입니다. API 협상 오류는 이 필드를 발생시키지 않습니다.

      badRequestDetail 속성 숨기기 badRequestDetail 속성 표시 객체
      • 필드 배열[객체]

        유효성 검사 실패 필드.

        필드 속성 숨기기 필드 속성 표시 객체

        필드 및 유효성 검사 실패.

        • description 문자열 필수 사항

          사람이 읽을 수 있는 유효성 검사 실패.

        • 필드 문자열 필수 사항

          유효하지 않은 요청 필드의 이름 또는 경로.

    • 세부 정보 문자열 필수 사항

      사람이 읽을 수 있는 오류 세부 정보.

    • 오류 integer 필수 사항

      HTTP status code.

    • 오류 코드 문자열 필수 사항

      기계 가독 오류 코드.

    • 매개변수 array[string]

      오류와 관련된 요청 매개 변수 이름. 관련된 매개 변수가 없을 경우 생략됩니다.

    • 이유 문자열 필수 사항

      HTTP 상태 이유 구문.

    응답 속성 숨기기 응답 속성 표시 객체
    • badRequestDetail 객체

      표준 오류 스키마에 의해 정의되는 선택 사항인 유효성 검사 세부 정보입니다. API 협상 오류는 이 필드를 발생시키지 않습니다.

      badRequestDetail 속성 숨기기 badRequestDetail 속성 표시 객체
      • 필드 배열[객체]

        유효성 검사 실패 필드.

        필드 속성 숨기기 필드 속성 표시 객체

        필드 및 유효성 검사 실패.

        • description 문자열 필수 사항

          사람이 읽을 수 있는 유효성 검사 실패.

        • 필드 문자열 필수 사항

          유효하지 않은 요청 필드의 이름 또는 경로.

    • 세부 정보 문자열 필수 사항

      사람이 읽을 수 있는 오류 세부 정보.

    • 오류 integer 필수 사항

      HTTP status code.

    • 오류 코드 문자열 필수 사항

      기계 가독 오류 코드.

    • 매개변수 array[string]

      오류와 관련된 요청 매개 변수 이름. 관련된 매개 변수가 없을 경우 생략됩니다.

    • 이유 문자열 필수 사항

      HTTP 상태 이유 구문.

  • 200

    확인

    응답 속성 숨기기 응답 속성 표시 객체
    • caller_ip 문자열

      CallerIP는 게이트웨이가 보는 관리자의 IP입니다(Gin ClientIP / 신뢰할 수 있는 프록시). 알 수 없는 경우 생략됩니다. IP 액세스 목록 UI가 캐시된 목록 응답에서 이를 읽을 수 있도록 이 응답에 포함되어 전송됩니다(아틀라스 스타일; 전용 에코 API 없음).

    • next_cursor 문자열

      NextCursor는 다음 페이지에 대한 키세트 커서입니다. 이 페이지가 마지막이면 비어 있습니다. 총계는 커서를 무시하고 항상 전체 범위를 계산합니다.

    • 서비스_계정 배열[객체]
      service_accounts 속성 숨기기 service_accounts 속성 표시 객체
      • active_secret 객체
        active_secret 속성 숨기기 active_secret 속성 표시 객체
        • created_at 문자열
        • expires_at 문자열
        • 최종 사용 일시 문자열
        • masked_value 문자열
      • client_id 문자열
      • created_at 문자열
      • description 문자열
      • id 문자열
      • ip_access_list array[string]
      • 활성 여부 부울
      • is_system_managed 부울
      • 이름 문자열
      • org_id 문자열
      • 소유자 문자열
      • PROJECT_ID 문자열
      • role_assignments 배열[객체]
        role_assignments 속성 숨기기 role_assignments 속성 표시 객체
        • org_id 문자열
        • PROJECT_ID 문자열
        • 역할 문자열
      • 유형 문자열
      • updated_at 문자열
    • 합계 integer
    응답 속성 숨기기 응답 속성 표시 객체
    • caller_ip 문자열

      CallerIP는 게이트웨이가 보는 관리자의 IP입니다(Gin ClientIP / 신뢰할 수 있는 프록시). 알 수 없는 경우 생략됩니다. IP 액세스 목록 UI가 캐시된 목록 응답에서 이를 읽을 수 있도록 이 응답에 포함되어 전송됩니다(아틀라스 스타일; 전용 에코 API 없음).

    • next_cursor 문자열

      NextCursor는 다음 페이지에 대한 키세트 커서입니다. 이 페이지가 마지막이면 비어 있습니다. 총계는 커서를 무시하고 항상 전체 범위를 계산합니다.

    • 서비스_계정 배열[객체]
      service_accounts 속성 숨기기 service_accounts 속성 표시 객체
      • active_secret 객체
        active_secret 속성 숨기기 active_secret 속성 표시 객체
        • created_at 문자열
        • expires_at 문자열
        • 최종 사용 일시 문자열
        • masked_value 문자열
      • client_id 문자열
      • created_at 문자열
      • description 문자열
      • id 문자열
      • ip_access_list array[string]
      • 활성 여부 부울
      • is_system_managed 부울
      • 이름 문자열
      • org_id 문자열
      • 소유자 문자열
      • PROJECT_ID 문자열
      • role_assignments 배열[객체]
        role_assignments 속성 숨기기 role_assignments 속성 표시 객체
        • org_id 문자열
        • PROJECT_ID 문자열
        • 역할 문자열
      • 유형 문자열
      • updated_at 문자열
    • 합계 integer
  • 잘못된 요청

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
  • Forbidden

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
  • 찾을 수 없습니다.

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
  • 내부 서버 오류

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
GET /API/v1/조직/{ID}/서비스 계정
curl \
 --request GET 'https://agentengine.mongodb.com/api/v1/organizations/{id}/service-accounts' \
 --header "Authorization: $API_KEY"
응답 예시(406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
  "error": 406,
  "errorCode": "UNACCEPTABLE_MEDIA_TYPE",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
  "error": 406,
  "errorCode": "UNSUPPORTED_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
응답 예시(406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
응답 예시(200)
{
  "caller_ip": "string",
  "next_cursor": "string",
  "service_accounts": [
    {
      "active_secret": {
        "created_at": "string",
        "expires_at": "string",
        "last_used_at": "string",
        "masked_value": "string"
      },
      "client_id": "string",
      "created_at": "string",
      "description": "string",
      "id": "string",
      "ip_access_list": [
        "string"
      ],
      "is_active": true,
      "is_system_managed": true,
      "name": "string",
      "org_id": "string",
      "owner": "string",
      "project_id": "string",
      "role_assignments": [
        {
          "org_id": "string",
          "project_id": "string",
          "role": "string"
        }
      ],
      "type": "string",
      "updated_at": "string"
    }
  ],
  "total": 42
}
응답 예시(200)
{
  "caller_ip": "string",
  "next_cursor": "string",
  "service_accounts": [
    {
      "active_secret": {
        "created_at": "string",
        "expires_at": "string",
        "last_used_at": "string",
        "masked_value": "string"
      },
      "client_id": "string",
      "created_at": "string",
      "description": "string",
      "id": "string",
      "ip_access_list": [
        "string"
      ],
      "is_active": true,
      "is_system_managed": true,
      "name": "string",
      "org_id": "string",
      "owner": "string",
      "project_id": "string",
      "role_assignments": [
        {
          "org_id": "string",
          "project_id": "string",
          "role": "string"
        }
      ],
      "type": "string",
      "updated_at": "string"
    }
  ],
  "total": 42
}
응답 예시(400)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(400)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(403)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(403)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(404)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(404)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(500)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(500)
{
  "code": "string",
  "error": "string",
  "success": true
}