---
title: "Get a list of service accounts."
method: GET
path: "/v1/serviceAccounts"
tags: ["serviceAccountManagement"]
---

# Get a list of service accounts.

`GET /v1/serviceAccounts`

Get a list of all service accounts in the organization.

## Response `200`

A list of service accounts in the organization.

- ListServiceAccountModelsResponse
  - `data` ServiceAccountModel[], required — List of service accounts.
    - `name` string, required — Name of the service account.
    - `email` string, email, required — Email address of the service account.
    - `roleIds` string[], required — List of roleIds associated with the service account.
    - `createdAt` string, date-time, required — Creation timestamp in UTC in [RFC3339](https://tools.ietf.org/html/rfc3339) format.
    - `createdBy` string, required — Identifier of the user who created the resource.
    - `modifiedAt` string, date-time, required — Last modification timestamp in UTC.
    - `modifiedBy` string, required — Identifier of the user who last modified the resource.
    - `id` string, required — Unique identifier for the service account.
    - `isActive` boolean — True if the service account is active.

## Other responses

- `default` — Operation failed with an error.

---

[API](https://skmtc.net/sumologic/apis/sumo-logic-api.md) · [All operations](https://skmtc.net/sumologic/apis/sumo-logic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumologic/sumo-logic-api/revisions/18a824df1e78/schema)
