Items for the current page.
namestring | null
A human-readable name for the API key. Use this to identify the purpose
of each key, such as "Frontend Search Key" or "Admin Key for CI/CD".
This is optional and can be `null`.
descriptionstring | null
A longer description explaining the purpose or usage of this API key.
Useful for documenting why the key was created and how it should be
used. This is optional and can be `null`.
keystringrequired
The actual API key string to use in the `Authorization: Bearer <key>`
header when making requests to Meilisearch. Keep this value secret and
never expose it in client-side code.
uidstring (uuid)required
The unique identifier (UUID) for this API key. Use this to update or
delete the key. The UID remains constant even if the key's name or
description changes.
actionsarray<string>required
The list of actions (permissions) this key is allowed to perform.
Examples include `documents.add`, `search`, `indexes.create`,
`settings.update`, etc. Use `*` to grant all permissions.
indexesarray<string>required
The list of index UIDs this key can access. Use `*` to grant access to
all indexes, including future ones. Patterns are also supported, e.g.,
`movies_*` matches any index starting with "movies_".
expiresAtstring | null
The expiration date and time of the key in RFC 3339 format. After this
time, the key will no longer be valid for authentication. Set to `null`
for keys that never expire.
createdAtstring (date-time)required
The date and time when this API key was created, formatted as an
RFC 3339 date-time string. This is automatically set by Meilisearch
and cannot be modified.
updatedAtstring (date-time)required
The date and time when this API key was last modified, formatted as an
RFC 3339 date-time string. This is automatically updated by Meilisearch
when the key's name or description changes.
offsetinteger
Number of items skipped.
limitinteger
Maximum number of items returned.
totalinteger
Total number of items matching the query.