---
title: "List Organization Service Accounts"
method: GET
path: "/organization/service-accounts"
tags: ["service_accounts"]
---

# List Organization Service Accounts

`GET /organization/service-accounts`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/organization/service-accounts`
- Auth: API key in cookie `fastapiusersauth`

## Query parameters

- `limit` integer
- `cursor` string, nullable
- `reverse` boolean

## Response `200`

Successful Response

- CursorPaginatedResponseServiceAccountRead
  - `items` ServiceAccountRead[], required
    - `id` string, uuid, required
    - `organization_id` string, uuid, required
    - `workspace_id` string, uuid, nullable
    - `owner_user_id` string, uuid, nullable
    - `owner_user` UserReadMinimal
      - `id` string, uuid, required
      - `email` string, email, required
      - `role` 'basic' | 'admin', required
      - `first_name` string, nullable
      - `last_name` string, nullable
    - `name` string, required
    - `description` string, nullable
    - `disabled_at` string, date-time, nullable
    - `last_used_at` string, date-time, nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
    - `scopes` ServiceAccountScopeRead[]
      - `id` string, uuid, required
      - `name` string, required
      - `resource` string, required
      - `action` string, required
      - `description` string, nullable
    - `active_api_key` ServiceAccountApiKeyRead
      - `id` string, uuid, required
      - `name` string, required
      - `key_id` string, required
      - `preview` string, required
      - `created_by` string, uuid, nullable
      - `created_by_user` UserReadMinimal
        - `id` string, uuid, required
        - `email` string, email, required
        - `role` 'basic' | 'admin', required
        - `first_name` string, nullable
        - `last_name` string, nullable
      - `revoked_by` string, uuid, nullable
      - `revoked_by_user` UserReadMinimal
        - `id` string, uuid, required
        - `email` string, email, required
        - `role` 'basic' | 'admin', required
        - `first_name` string, nullable
        - `last_name` string, nullable
      - `last_used_at` string, date-time, nullable
      - `revoked_at` string, date-time, nullable
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `api_key_counts` ServiceAccountApiKeyCounts
      - `total` integer
      - `active` integer
      - `revoked` integer
  - `next_cursor` string, nullable: Cursor for next page
  - `prev_cursor` string, nullable: Cursor for previous page
  - `has_more` boolean: Whether more items exist
  - `has_previous` boolean: Whether previous items exist
  - `total_estimate` integer, nullable: Estimated total count from table statistics

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tracecat/apis/tracecat-api.md) - [All operations](https://skmtc.dev/tracecat/apis/tracecat-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tracecat/apis/tracecat-api/revisions/2efdda25045f?raw)
