Skip to main content

pauseCopilotScheduledJob

Requires permission catalog:copilot:chat.

Pauses one of the caller's own scheduled copilot tasks, so it stops running on its schedule. 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 PauseCopilotScheduledJob($id: ID!) {
pauseCopilotScheduledJob(id: $id) {
id
name
status
createdAt
cron
lastError
}
}

Variables:

{
"id": "id"
}

Response:

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

Arguments​

pauseCopilotScheduledJob.id ● ID! non-null scalar​

The ID of the scheduled task.

Type​

CopilotScheduledJobType object​

A prompt the copilot runs on a schedule.