# List org service accounts **GET /api/v1/organizations/{id}/service-accounts** Lists org-scoped customer service accounts. Requires ORG_ADMIN or ORG_MEMBER (read-only). ## Servers - https://agentengine.mongodb.com: https://agentengine.mongodb.com () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **id** (string) Organization ID ### Query parameters - **limit** (integer) Page size (default 50, max 200) - **cursor** (string) Keyset cursor from a previous response's next_cursor ## Responses ### 406 Unsupported or malformed API version, an operation unavailable in the selected published contract, or an unacceptable representation (including unsupported media-type parameters or excluded SSE). Existing authentication, authorization, and rate-limit failures take precedence. #### Body: application/json (object) - **badRequestDetail** (object) Optional validation details defined by the standard error schema; API negotiation errors do not emit this field. - **detail** (string) Human-readable error details. - **error** (integer) HTTP status code. - **errorCode** (string) Machine-readable error code. - **parameters** (array[string]) Request parameter names associated with the error; omitted when none apply. - **reason** (string) HTTP status reason phrase. ### 200 OK #### Body: application/json (object) - **caller_ip** (string) CallerIP is the admin's IP as the gateway sees it (Gin ClientIP / trusted proxy). Omitted when unknown. Piggybacked here so the IP Access List UI can read it from the cached list response (Atlas-style; no dedicated echo API). - **next_cursor** (string) NextCursor is the keyset cursor for the following page; empty when this page is the last. total always counts the whole scope, ignoring cursor. - **service_accounts** (array[object]) - **total** (integer) ### 400 Bad Request #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 403 Forbidden #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 404 Not Found #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) ### 500 Internal Server Error #### Body: application/json (object) - **code** (string) - **error** (string) - **success** (boolean) [Powered by Bump.sh](https://bump.sh)