Rafiki Worker API Reference
    Preparing search index...

    Variable StreamingQueryRequestSchemaConst

    StreamingQueryRequestSchema: ZodObject<
        {
            agent_type: ZodOptional<ZodString>;
            fork_session: ZodOptional<ZodBoolean>;
            job_id: ZodOptional<ZodNullable<ZodString>>;
            question: ZodString;
            trace_id: ZodOptional<ZodNullable<ZodString>>;
            warm_id: ZodOptional<ZodNullable<ZodString>>;
        },
        "strict",
        ZodTypeAny,
        {
            agent_type?: string;
            fork_session?: boolean;
            job_id?: string
            | null;
            question: string;
            trace_id?: string | null;
            warm_id?: string | null;
        },
        {
            agent_type?: string;
            fork_session?: boolean;
            job_id?: string
            | null;
            question: string;
            trace_id?: string | null;
            warm_id?: string | null;
        },
    > = ...

    Runtime schema for authenticated WebSocket query messages.

    Actor scope for streaming queries is derived from the authenticated connection context, so message payloads must not carry identity fields.