Background jobs (GraphQL)

Related queries and mutations in Monitors. Each has its own section.

Queries

activeSsoMigrationJob (query)

activeSsoMigrationJob is a query in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

The in-flight single sign-on user-migration job for the requesting account, or null when none is running. Lets the SSO settings UI recover migration progress when an enable/disable request returns before the asynchronous migration finishes, e.g. a slow response that never delivered the job handle.

Returns

QueuedJob

Example

query ActiveSsoMigrationJob {
  activeSsoMigrationJob {
    uuid
    jobType
    status
    progressTotal
    progressCompleted
    error
    result
    queuedAt
    startedAt
    finishedAt
    lastHeartbeatAt
  }
}

Related types

QueuedJob

queuedJob (query)

queuedJob is a query in the Monte Carlo GraphQL API, in Monitors. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Status: Experimental

Fetch the status of an asynchronous job by UUID.

Arguments

ArgumentTypeDescription
uuidUUID!

Returns

QueuedJob

Example

query QueuedJob($uuid: UUID!) {
  queuedJob(uuid: $uuid) {
    uuid
    jobType
    status
    progressTotal
    progressCompleted
    error
    result
    queuedAt
    startedAt
    finishedAt
    lastHeartbeatAt
  }
}

Related types

QueuedJob, UUID

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.