GoodMem
ReferenceClient SDKsJavaScriptModels

ApiKeyResponse Model

ApiKeyResponse Model documentation for JavaScript SDK

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.
statusStringCurrent status of the API key: ACTIVE, INACTIVE, or STATUS_UNSPECIFIED.
labels{String: String}User-defined labels for organization and filtering.
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.
updatedAtNumberWhen 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

  • STATUS_UNSPECIFIED (value: "STATUS_UNSPECIFIED")

  • ACTIVE (value: "ACTIVE")

  • INACTIVE (value: "INACTIVE")