Skip to main content

CopilotScheduledJobType

A prompt the copilot runs on a schedule.

type CopilotScheduledJobType {
createdAt: Float!
cron: String!
id: ID!
lastError: String
lastRunAt: Float
lastSessionId: ID
name: String!
prompt: String!
skillId: String!
status: CopilotScheduledJobStatus!
timezone: String!
toolNames: [String!]!
updatedAt: Float!
}

Fields​

CopilotScheduledJobType.createdAt ● Float! non-null scalar​

When the job was created, in epoch milliseconds.

CopilotScheduledJobType.cron ● String! non-null scalar​

The schedule, as a cron expression.

CopilotScheduledJobType.id ● ID! non-null scalar​

The unique ID of this record.

CopilotScheduledJobType.lastError ● String scalar​

The error from the last run, if it failed.

CopilotScheduledJobType.lastRunAt ● Float scalar​

When the job last ran, in epoch milliseconds.

CopilotScheduledJobType.lastSessionId ● ID scalar​

The conversation the last run produced.

CopilotScheduledJobType.name ● String! non-null scalar​

The name of the job.

CopilotScheduledJobType.prompt ● String! non-null scalar​

The prompt that is run.

CopilotScheduledJobType.skillId ● String! non-null scalar​

The ID of the skill the job uses.

CopilotScheduledJobType.status ● CopilotScheduledJobStatus! non-null enum​

Whether the job is active or paused.

CopilotScheduledJobType.timezone ● String! non-null scalar​

The time zone the schedule runs in.

CopilotScheduledJobType.toolNames ● [String!]! non-null scalar​

The tools the job may use.

CopilotScheduledJobType.updatedAt ● Float! non-null scalar​

When the job last changed, in epoch milliseconds.

Returned By​

copilotScheduledJobs query ● pauseCopilotScheduledJob mutation ● resumeCopilotScheduledJob mutation ● runCopilotScheduledJobNow mutation