langchain.js
    Preparing search index...
    interface Cron {
        assistant_id: string;
        created_at: string;
        cron_id: string;
        enabled: boolean;
        end_time: Optional<string>;
        metadata: Record<string, unknown>;
        next_run_date: Optional<string>;
        on_run_completed?: "delete" | "keep";
        payload: Record<string, unknown>;
        schedule: string;
        thread_id: Optional<string>;
        updated_at: string;
        user_id: Optional<string>;
    }
    Index

    Properties

    assistant_id: string

    The ID of the assistant

    created_at: string

    The time the cron was created.

    cron_id: string

    The ID of the cron

    enabled: boolean

    Whether the cron is enabled

    end_time: Optional<string>

    The end date to stop running the cron.

    metadata: Record<string, unknown>

    The metadata of the cron

    next_run_date: Optional<string>

    The next run date of the cron

    on_run_completed?: "delete" | "keep"

    What to do with the thread after the run completes. Only applicable for stateless crons.

    payload: Record<string, unknown>

    The run payload to use for creating new run.

    schedule: string

    The schedule to run, cron format. Schedules are interpreted in UTC.

    thread_id: Optional<string>

    The ID of the thread

    updated_at: string

    The last time the cron was updated.

    user_id: Optional<string>

    The user ID of the cron