Cereal docs
TypeScript SDKTypeScript signatures

CerealSessionContext

Public TypeScript declaration from @trycereal/sdk/verify.

Import from @trycereal/sdk/verify. Generated from the repository SDK declarations (package version 0.0.0); not from HTTP request schemas.

export interface CerealSessionContext {
    readonly experiment?: import("./types.js").ExperimentAssignment;
    readonly evaluationOf?: string;
    readonly id: string;
    readonly agentId?: string;
    readonly agentVersion?: number;
    readonly metadata?: Readonly<Record<string, unknown>>;
    readonly identity?: Identity;
}

See SDK setup, authoring, client behavior, and the API/SDK map for usage. Domain types are described in schema reference.