Langfuse JS/TS SDKs
    Preparing search index...

    Interface GetSessionsRequest

    {}
    
    interface GetSessionsRequest {
        environment?: string | string[];
        fromTimestamp?: string;
        limit?: number;
        page?: number;
        toTimestamp?: string;
    }
    Index

    Properties

    environment?: string | string[]

    Optional filter for sessions where the environment is one of the provided values.

    fromTimestamp?: string

    Optional filter to only include sessions created on or after a certain datetime (ISO 8601)

    limit?: number

    Limit of items per page. If you encounter api issues due to too large page sizes, try to reduce the limit.

    page?: number

    Page number, starts at 1

    toTimestamp?: string

    Optional filter to only include sessions created before a certain datetime (ISO 8601)