← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/java/models/ApiKeyListOptions.md

1.2 KB · Oct 2, 2026 · 00:24 UTC

↓ Download file

<!-- sdk-ref package=ai.pairsys:goodmem-java registry=maven version=0.2.2 -->

# ApiKeyListOptions

Typed query options for `client.apikeys.list`.

 Every field is optional; null values are omitted from the wire request.
 Construct via the fluent `Builder`:

```java
 ApiKeyListOptions opts = ApiKeyListOptions.builder()
     .subjectPrincipalId(SubjectPrincipalId.from("value"))
     .build();

```

- `subjectPrincipalId` (`SubjectPrincipalId`): Filter by exact subject-principal UUID
- `ownerPrincipalId` (`OwnerPrincipalId`): Filter by exact administrative-owner UUID
- `lifecycleState` (`ApiKeyResponseLifecycleState`): Filter by precise lifecycle state
- `view` (`ApikeysListView`): Metadata projection; omission defaults to FULL
- `maxResults` (`Integer`): Page size; FULL defaults to 10 and permits at most 20, while BASIC defaults to 50 and permits at most 1,000
- `nextToken` (`String`): Opaque continuation token returned by the preceding page

[Java](../../java.md)

Related types — open only those used by your request:

- [ApiKeyResponseLifecycleState](ApiKeyResponseLifecycleState.md)
- [ApikeysListView](ApikeysListView.md)
- [OwnerPrincipalId](OwnerPrincipalId.md)
- [SubjectPrincipalId](SubjectPrincipalId.md)

SHA-256: a6ff9ce44a5270f8cabf02e12d5739b423c76652b5d4df061b1914a640562ecc