@squidcloud/client
    Preparing search index...

    Interface UpsertAiAgentScheduleAutomationParams

    The definition of a schedule automation to create or update.

    interface UpsertAiAgentScheduleAutomationParams {
        cron: string;
        enabled?: boolean;
        id?: string;
        name: string;
        prompt: string;
        timeZone?: string;
        type: "schedule";
    }

    Hierarchy

    • UpsertAiAgentAutomationBase
      • UpsertAiAgentScheduleAutomationParams
    Index
    cron: string

    A 5-field or 6-field (with seconds) cron expression that runs at most once a minute.

    enabled?: boolean

    Whether the automation runs. Defaults to its current state, and to true for a new automation.

    id?: string

    The ID of the automation to update, or of the one to create. Generated when omitted.

    name: string

    A display name.

    prompt: string

    The prompt the agent is run with.

    timeZone?: string

    The IANA time zone the cron expression is evaluated in. Defaults to UTC.

    type: "schedule"

    The automation kind.