List service identities
GET /v1/service-identities: Requires LIST_SERVICE_IDENTITY on the GoodMem instance and READ_SERVICE_IDENTITY on each returned row.
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).
ApiKeyAuthx-api-key<token>ownerPrincipalId?stringExact current administrative-owner principal UUID
includeDeleted?booleanInclude readable permanent tombstones
falsemaxResults?integerPage size; defaults to 50 and must be between 1 and 1000
int3250nextToken?stringOpaque continuation token
label?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).
{ "environment": "production", "team": "nlp"}GoodMem-Timeout-Ms?integerOptional waiting budget in milliseconds, measured from REST servlet ingress and shared across all internal gRPC calls. Supply one decimal integer from 1 to 86400000. Omission adds no deadline. Existing shorter deadlines still apply. Expiry returns HTTP 504 before streaming starts; after streaming starts, no successful completion event is sent. Use SSE or opt into GoodMem-Stream-Terminal for an explicit terminal outcome. Retrieval work is cooperatively cancelled. An accepted mutation may still commit after timeout or disconnect; a failed response does not imply rollback.
int641 <= value <= 86400000Service-identity page returned
application/json- response
One authorization-filtered page of service identities.
serviceIdentities*array<>OUTPUT_ONLY; service identities in stable keyset order.
nextToken?|OUTPUT_ONLY; opaque continuation token, omitted after the final page.
curl -X GET 'https://your-goodmem-server.example.com/v1/service-identities?ownerPrincipalId=550e8400-e29b-41d4-a716-446655440000' \ -H 'GoodMem-Timeout-Ms: 30000'{ "serviceIdentities": [ { "serviceIdentityId": "550e8400-e29b-41d4-a716-446655440000", "displayName": "production-search", "deletedAt": 1620200000000, "createdAt": 1620000000000, "updatedAt": 1620100000000 } ], "nextToken": "string"}