---
title: "List project service accounts"
method: GET
path: "/organization/projects/{project_id}/service_accounts"
tags: ["Projects"]
---

# List project service accounts

`GET /organization/projects/{project_id}/service_accounts`

Returns a list of service accounts in the project.

## Path parameters

- `project_id` string, required

## Query parameters

- `limit` integer
- `after` string

## Response `200`

Project service accounts listed successfully.

- ProjectServiceAccountListResponse
  - `object` 'list', required
  - `data` ProjectServiceAccount[], required
    - `object` 'organization.project.service_account', required — The object type, which is always `organization.project.service_account`
    - `id` string, required — The identifier, which can be referenced in API endpoints
    - `name` string, required — The name of the service account
    - `role` 'owner' | 'member' | 'none', required — `owner`, `member`, or `none`
    - `created_at` integer, required — The Unix timestamp (in seconds) of when the service account was created
  - `first_id` string, nullable
  - `last_id` string, nullable
  - `has_more` boolean, required

## Other responses

- `400` — Error response when project is archived.

## Changes

- **2026-07-17** `241fb501b372` — 1 warning
  - added the new `none` enum value to the `data/items/role` response property for the response status `200`
- **2026-05-01** `918e83711c91` — 4 breaking
  - the response property `first_id` became optional for the status `200`
  - the response property `last_id` became optional for the status `200`
  - response property `first_id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `last_id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2026-04-28** `fa32d6e7d961` — 1 info
  - the endpoint scheme security `AdminApiKeyAuth` was added to the API

[Change history](https://skmtc.dev/openai/apis/openai-api/changes/organization/projects/:project_id/service_accounts/get.md)

---

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