GoodMemGoodMem
ReferenceAPIREST APIService Identities

List service identities

Requires LIST_SERVICE_IDENTITY on the GoodMem instance and READ_SERVICE_IDENTITY on each returned row. Owner and label filters, lifecycle filtering, authorization, and keyset pagination execute in PostgreSQL.

LABEL FILTERS: Label filters accept either label.<key>=<value> or label[key]=value (for example, label.environment=production or label[environment]=production).

GET
/v1/service-identities
x-api-key<token>

In: header

Query Parameters

ownerPrincipalId?string

Exact current administrative-owner principal UUID

includeDeleted?boolean

Include readable permanent tombstones

Defaultfalse
maxResults?integer

Page size; defaults to 50 and must be between 1 and 1000

Default50
Formatint32
nextToken?string

Opaque continuation token

label?object

Filter by label key-value pairs. Label filters accept either label.<key>=<value> or label[key]=value (for example, label.environment=production or label[environment]=production).

Example{"environment":"production","team":"nlp"}

Empty Object

Response Body

curl -X GET "https://loading/v1/service-identities?ownerPrincipalId=550e8400-e29b-41d4-a716-446655440000&includeDeleted=false&maxResults=50&nextToken=string&label%5Benvironment%5D=production&label%5Bteam%5D=nlp"
{
  "serviceIdentities": [
    {
      "serviceIdentityId": "550e8400-e29b-41d4-a716-446655440000",
      "displayName": "production-search",
      "deletedAt": 1620200000000,
      "createdAt": 1620000000000,
      "updatedAt": 1620100000000
    }
  ],
  "nextToken": "string"
}
Empty
Empty
Empty
Empty
Empty