Skip to main content
GET
List API Keys

Authorizations

next-auth.session-token
string
cookie
required

Signed-in OpenLIT browser session.

Response

API keys for the database configuration.

id
string
name
string
apiKeyPreview
string
Example:

"openlit-3kJ9…x7Qp2A"

createdAt
string<date-time>
createdByUser
object
scopes
enum<string>[] | null

null for full access, otherwise the features the key may use.

A feature an API key can use: ingest (OTLP telemetry ingestion), telemetry (/api/telemetry/*, /api/metrics/*), prompts (/api/prompt/*), vault (/api/vault/*), rule_engine (/api/rule-engine/*), evaluation (/api/evaluation/*), chat (/api/chat/*), controller (/api/controller/*), db_config (/api/db-config*).

Available options:
ingest,
telemetry,
prompts,
vault,
rule_engine,
evaluation,
chat,
controller,
db_config