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

# List service accounts

`GET /admin/service-accounts`

List service accounts in the caller's organization.

## Query parameters

- `limit` integer
- `paginationToken` string

## Headers

- `X-Pinecone-Api-Version` string, required

## Response `200`

A paginated list of service accounts. Role bindings are not included; use `GET /admin/role-bindings` to list them.

- ServiceAccountList — A paginated list of service accounts in the organization.
  - `data` ServiceAccount[], required — The page of service accounts.
    - `id` string, uuid, required — The unique identifier for the service account. Use this as the path parameter on `/admin/service-accounts/{service_account_id}` endpoints and as the `principal_id` when querying or creating role bindings.
    - `name` string, required — A short human-readable label, set by the caller at creation time.
    - `client_id` string, required — The OAuth client ID used by the service account to obtain access tokens. Used only for OAuth token exchange.
    - `created_at` string, date-time, required — The date and time the service account was created.
    - `updated_at` string, date-time, required — The date and time of the service account's most recent metadata update.
  - `pagination` object, nullable — Pagination metadata for list responses. When `next` is present, pass it as `paginationToken` on the following request.
    - `next` string — Opaque cursor for the next page. Do not parse or construct. Invalid or expired tokens return `400`.

## Other responses

- `400` — Bad request. The request body included invalid request parameters.
- `401` — Unauthorized. Possible causes: Invalid API key.
- `403` — Forbidden
- `500` — Internal server error.
- `4XX` — Unexpected error on request.

---

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