GoodMem
ReferenceClient SDKsJavaModels

ApiKeyResponse Model

ApiKeyResponse Model documentation for Java SDK

ApiKeyResponse

API key metadata without sensitive information.

Properties

NameTypeDescriptionNotes
apiKeyIdStringUnique identifier for the API key.
userIdStringID of the user that owns this API key.
keyPrefixStringFirst few characters of the key for display/identification purposes.
statusStatusEnumCurrent status of the API key: ACTIVE, INACTIVE, or STATUS_UNSPECIFIED.
labelsMap<String, String>User-defined labels for organization and filtering.
expiresAtLongExpiration timestamp in milliseconds since epoch. If not provided, the key does not expire.[optional]
lastUsedAtLongLast time this API key was used, in milliseconds since epoch.[optional]
createdAtLongWhen the API key was created, in milliseconds since epoch.
updatedAtLongWhen the API key was last updated, in milliseconds since epoch.
createdByIdStringID of the user that created this API key.
updatedByIdStringID of the user that last updated this API key.

Enum: StatusEnum

NameValue
STATUS_UNSPECIFIED"STATUS_UNSPECIFIED"
ACTIVE"ACTIVE"
INACTIVE"INACTIVE"