Service Accounts

Fetch all saved service accounts

Retrieves a list of service accounts with support for filtering, sorting, and pagination. Auth config is not included in the service accounts. Filters use field:operator:value clauses, ANDed together. Pass comma-separated clauses in a single filter value and/or repeated filter query parameters. Supported fields: role_id (eq, in), auth_type (eq, in — CLIENT_SECRET, API_KEY), status (eq, in — ACTIVE, EXPIRING, EXPIRED), expires_at (ge, lt — RFC3339 on the latest auth config). For in, join values with |. Example: filter=status:eq:ACTIVE,auth_type:in:CLIENT_SECRET|API_KEY&filter=expires_at:ge:2026-01-01T00:00:00Z

get/api/v2/service-accounts

Request

Query parameters

limitinteger

pagination - page size (maximum number of results to return)

skipinteger

pagination - page offset (number of results to skip)

search.fieldsstring[]

search field (currently only supports "name")

search.searchTermstring

search term/value (e.g., "John")

sortstring

sort configuration (allowed values: "name", "-name", "expiresAt", "-expiresAt") "-" prefix indicates descending order if search config is provided, it will override the sort field to "name" and sort order to ascending

filterstring[]

A filter to apply to the query.

**Filter structure**: `<field>:<operator>:<value>`.

**Supported fields**: role_id (eq, in), auth_type (eq, in — CLIENT_SECRET, API_KEY), status (eq, in — ACTIVE, EXPIRING, EXPIRED), expires_at (ge, lt — RFC3339 on the latest auth config).

**in values**: join with `|`.

**Example**: `GET /api/v2/service-accounts?filter=status:eq:ACTIVE,auth_type:in:CLIENT_SECRET|API_KEY&filter=expires_at:ge:2026-01-01T00:00:00Z`

Headers

x-org-idstring

Organization identifier that can be obtained from console settings.

Response

Service accounts list successfully retrieved.

totalCountinteger

Changes

No recorded changes to this operation across all 1 revision of this API.