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

# List Service Accounts

`GET /service-accounts`

## Response `200`

OK

- ServiceAccount[]
  - `name` string — Name
  - `token` string — Secret token used to access the API
  - `roles` string[]

## Changes

- **2023-10-09** `e0632c7e52ea` — 1 breaking, 3 info
  - the `items/` response's property type changed from no type to `object` for status `200`
  - added the optional property `items/name` to the response with the `200` status
  - added the optional property `items/roles` to the response with the `200` status
  - added the optional property `items/token` to the response with the `200` status
- **2023-02-21** `74fb43ee9642` — 1 info
  - endpoint added
- **2023-01-26** `4b9547159dde` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openai/apis/orchard/changes/service-accounts/get.md)

---

[API](https://skmtc.dev/openai/apis/orchard.md) · [All operations](https://skmtc.dev/openai/apis/orchard/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openai/orchard/revisions/8c00d644b0ad/schema)
