Langfuse JS/TS SDKs
    Preparing search index...

    Interface CreateApiKeyRequest

    {
    * name: undefined,
    * note: undefined,
    * expiresAt: undefined,
    * publicKey: undefined,
    * secretKey: undefined
    * }
    interface CreateApiKeyRequest {
        expiresAt?: null | string;
        name?: string;
        note?: string;
        publicKey?: string;
        secretKey?: string;
    }
    Index

    Properties

    expiresAt?: null | string

    Optional expiration timestamp in ISO 8601 format. Must be in the future. Omit or set to null for a key that does not expire.

    name?: string

    Optional name for the API key. Cannot be provided together with note, even if either value is an empty string.

    note?: string

    Deprecated alias for name. Cannot be provided together with name, even if either value is an empty string.

    Use name instead.

    publicKey?: string

    Optional predefined public key. Must start with 'pk-lf-'. If provided, secretKey must also be provided.

    secretKey?: string

    Optional predefined secret key. Must start with 'sk-lf-'. If provided, publicKey must also be provided.