Langfuse JS/TS SDKs
    Preparing search index...

    Interface GetObservationsRequest

    {}
    
    interface GetObservationsRequest {
        environment?: string | string[];
        fromStartTime?: string;
        level?: ObservationLevel;
        limit?: number;
        name?: string;
        page?: number;
        parentObservationId?: string;
        toStartTime?: string;
        traceId?: string;
        type?: string;
        userId?: string;
        version?: string;
    }
    Index

    Properties

    environment?: string | string[]

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

    fromStartTime?: string

    Retrieve only observations with a start_time on or after this datetime (ISO 8601).

    Optional filter for observations with a specific level (e.g. "DEBUG", "DEFAULT", "WARNING", "ERROR").

    limit?: number

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

    name?: string
    page?: number

    Page number, starts at 1.

    parentObservationId?: string
    toStartTime?: string

    Retrieve only observations with a start_time before this datetime (ISO 8601).

    traceId?: string
    type?: string
    userId?: string
    version?: string

    Optional filter to only include observations with a certain version.