← Files GoodMemARCHIVED FILE

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

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

↓ Download file

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

# CreateServiceIdentityRequest

Creates a service identity owned by the authenticated human. It does not create credentials, roles, or grants.

Prefer `builder()` to the canonical record constructor.
 Builder-based call sites remain source-compatible when optional fields are added in later SDK versions.

- `serviceIdentityId` (`ServiceIdentityId`): Optional client-provided UUID; generated by the server when omitted. Typed wrapper `ServiceIdentityId`; build from a raw string with `ServiceIdentityId.from(String)`.
- `displayName` (`String`): Globally unique, nonblank operator-facing name.
- `description` (`String`): Optional operator description.
- `labels` (`java.util.Map<String, String>`): Optional labels for organization and filtering. At most 20 entries; keys and values contain at most 255 characters; keys use [a-z0-9._-].

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

Related types — open only those used by your request:

- [ServiceIdentityId](ServiceIdentityId.md)

SHA-256: ea0a23b8716b6cd441c361f8fe15d52777f073175e70f549d5ac745ab48ebe2c