Cereal docs
TypeScript SDKTypeScript signatures

client.traces

TypeScript client.traces signature, generated from CerealClient.

This is the TypeScript interface. See client setup and behavior.

interface ClientSurface {
readonly traces: {
    forSession(input: {
        readonly id: string;
        readonly includeDescendants?: boolean;
    }): Promise<SessionTrace>;
};
}

For the wire contract, use HTTP reference. Composite helpers are explained in the API/SDK map.