GoodMem
ReferenceClient SDKsJavaScript SDKModels

ApiKeyResponse Model

ApiKeyResponse Model documentation for JavaScript SDK

Properties

NameTypeDescriptionNotes
apiKeyIdStringUnique identifier for the API key.[optional]
userIdStringID of the user that owns this API key.[optional]
keyPrefixStringFirst few characters of the key for display/identification purposes.[optional]
statusStringCurrent status of the API key: ACTIVE, INACTIVE, or STATUS_UNSPECIFIED.[optional]
labels{String: String}User-defined labels for organization and filtering.[optional]
expiresAtNumberExpiration timestamp in milliseconds since epoch. If not provided, the key does not expire.[optional]
lastUsedAtNumberLast time this API key was used, in milliseconds since epoch.[optional]
createdAtNumberWhen the API key was created, in milliseconds since epoch.[optional]
updatedAtNumberWhen the API key was last updated, in milliseconds since epoch.[optional]
createdByIdStringID of the user that created this API key.[optional]
updatedByIdStringID of the user that last updated this API key.[optional]

On this page