Skip to main content
GET
List API keys

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

An array of API key objects.

id
string
required

The unique identifier for the API key.

Example:

"uuid-1234"

name
string
required

A human-readable label for the key.

Example:

"CI bot"

prefix
string
required

The first 8 characters of the key's random portion — the part that follows the lilt_ prefix. Safe to display.

Example:

"aaaaaaaa"

createdAt
string<date-time>
required

ISO-8601 timestamp when the key was created.

Example:

"2026-04-29T00:00:00Z"

expiresAt
string<date-time> | null

ISO-8601 timestamp when the key expires, or null if it does not expire.

Example:

"2027-01-01T00:00:00Z"

lastUsedAt
string<date-time> | null

ISO-8601 timestamp of the last successful authentication, or null.

Example:

"2026-05-01T12:00:00Z"

revokedAt
string<date-time> | null

ISO-8601 timestamp when the key was revoked, or null if still active.

Example:

null

ownerEmail
string | null

Email address of the user who owns the key. Returned by the list endpoint; omitted by GET /v2/api-keys/{id}.

Example:

"developer@lilt.com"

ownerUserId
integer | null

Numeric identifier of the user who owns the key. Returned by the list endpoint; omitted by GET /v2/api-keys/{id}.

Example:

42