Interface Cron

interface Cron {
    assistant_id: string;
    created_at: string;
    cron_id: string;
    end_time: Optional<string>;
    metadata: Record<string, unknown>;
    next_run_date: Optional<string>;
    payload: Record<string, unknown>;
    schedule: string;
    thread_id: Optional<string>;
    updated_at: string;
    user_id: Optional<string>;
}

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

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

payload: Record<string, unknown>

The run payload to use for creating new run.

schedule: string

The schedule to run, cron format.

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