Skip to main content

resumeCopilotScheduledJob

Requires permission catalog:copilot:chat.

Resumes one of the caller's own paused scheduled copilot tasks and clears its last error. Limited to 20 requests a minute. Needs the catalog copilot feature on the plan and permission to chat with the copilot.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation ResumeCopilotScheduledJob($id: ID!) {
resumeCopilotScheduledJob(id: $id) {
id
name
status
createdAt
cron
lastError
}
}

Variables:

{
"id": "id"
}

Response:

{
"data": {
"resumeCopilotScheduledJob": {
"id": "id",
"name": "string",
"status": "ACTIVE",
"createdAt": 0,
"cron": "string",
"lastError": "string"
}
}
}
resumeCopilotScheduledJob(
id: ID!
): CopilotScheduledJobType!

Arguments​

resumeCopilotScheduledJob.id ● ID! non-null scalar​

The ID of the scheduled task.

Type​

CopilotScheduledJobType object​

A prompt the copilot runs on a schedule.