Related queries and mutations in Integrations and connections. Each has its own section.
Queries
etlJobRerunAvailability (query)
etlJobRerunAvailability is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Whether the caller may re-run the job now, after the same checks as rerunEtlJob and the cooldown on a Power BI dataflow. A refusal comes back as a reason, not an error, so a re-run button can show why it is disabled.
Arguments
| Argument | Type | Description |
|---|---|---|
jobMcon | String! | MCON of the ETL job to re-run. |
Returns
EtlJobRerunAvailability!
Example
query EtlJobRerunAvailability($jobMcon: String!) {
etlJobRerunAvailability(jobMcon: $jobMcon) {
available
reason
integration
action
}
}Types used only by etlJobRerunAvailability
etlJobRerunAvailabilityEtlJobRerunAvailability
EtlJobRerunAvailabilityObject type. Whether the caller may re-run the job now, and why not when they may not.
| Field | Type | Description |
|---|---|---|
available | Boolean! | |
reason | String | Why the job cannot be re-run, in words for the person. Null when it can. |
integration | String | The integration the job belongs to, when a rerun of it is supported. |
action | EtlRerunAction | What a rerun would do. |
Related types
etlJobRerunTarget (query)
etlJobRerunTarget is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
What re-running the job would act on, after the same checks as rerunEtlJob. For confirming a rerun with the user before it runs.
Arguments
| Argument | Type | Description |
|---|---|---|
jobMcon | String! | MCON of the ETL job to re-run. |
runGlobalId | String | The run's globalId, the run reads already return. Omitted, the whole job re-runs. |
Returns
EtlJobRerunTarget!
Example
query EtlJobRerunTarget($jobMcon: String!) {
etlJobRerunTarget(jobMcon: $jobMcon) {
jobName
integration
action
runStartedAt
}
}Types used only by etlJobRerunTarget
etlJobRerunTargetEtlJobRerunTarget
EtlJobRerunTargetObject type. What a rerun of the job would act on. Read from Monte Carlo; calls no vendor.
| Field | Type | Description |
|---|---|---|
jobName | String! | The job's name. |
integration | String! | The integration the job belongs to (its ETL type). |
action | EtlRerunAction! | |
runStartedAt | DateTime | When the run to re-run started, when a run was given. |
Related types
etlJobRunStatus (query)
etlJobRunStatus is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
What the run a rerun started is doing now, read from the vendor after the same checks as rerunEtlJob. The state is UNAVAILABLE when the vendor cannot be read.
Arguments
| Argument | Type | Description |
|---|---|---|
jobMcon | String! | MCON of the ETL job to re-run. |
vendorRunId | String! | The vendor's run id, from rerunEtlJob's vendorRunId. |
repairId | String | The repair id from rerunEtlJob, to read that repair of a Databricks run. |
Returns
EtlJobRunStatusPayload!
Example
query EtlJobRunStatus($jobMcon: String!, $vendorRunId: String!) {
etlJobRunStatus(jobMcon: $jobMcon, vendorRunId: $vendorRunId) {
integration
runState
runUrl
}
}Types used only by etlJobRunStatus
etlJobRunStatusEtlJobRunStatusPayload
EtlJobRunStatusPayloadObject type. What a run a rerun started is doing now, read from the vendor.
| Field | Type | Description |
|---|---|---|
integration | String! | The integration the job belongs to (its ETL type). |
runState | EtlRerunRunState! | |
runUrl | String | Link in the vendor's UI: the run's page, or the job's page where the vendor has no page per run. |
Related types
getEtlGroupsV3 (query)
getEtlGroupsV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List unified-ETL groups for the caller's account.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | When paging forward: the number of items to return (page size) |
after | String | When paging forward: the cursor of the last item on the previous page of results |
last | Int | When paging backward: the number of items to return (page size) |
before | String | When paging backward: the cursor of the first item on the next page of results |
containerUuid | UUID | |
orderBy | [String!] | Order-by keys applied in order; first key is primary, subsequent keys act as tiebreakers. Prefix any key with - for descending. |
Returns
EtlGroupV3Connection
Example
query GetEtlGroupsV3 {
getEtlGroupsV3 {
totalCount
}
}Types used only by getEtlGroupsV3
getEtlGroupsV3EtlGroupV3Connection
EtlGroupV3ConnectionObject type.
| Field | Type | Description |
|---|---|---|
edges | [EtlGroupV3Edge!]! | |
pageInfo | PageInfo! | |
totalCount | Int! | Total number of rows matching the query, ignoring first / last / before / after. Resolved on demand via a single COUNT query. |
EtlGroupV3Edge
EtlGroupV3EdgeObject type.
| Field | Type | Description |
|---|---|---|
node | EtlGroupV3! | |
cursor | String! |
Related types
getEtlGroupV3 (query)
getEtlGroupV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Fetch a single unified-ETL group by mcon.
Arguments
| Argument | Type | Description |
|---|---|---|
mcon | String! |
Returns
Example
query GetEtlGroupV3($mcon: String!) {
getEtlGroupV3(mcon: $mcon) {
id
mcon
globalId
sourceId
containerUuid
name
groupType
schedule
attributes
}
}Related types
getEtlJob (query)
getEtlJob is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Get information about a job
Arguments
| Argument | Type | Description |
|---|---|---|
mcon | String! | Mcon for job to get details for |
Returns
Example
query GetEtlJob($mcon: String!) {
getEtlJob(mcon: $mcon)
}Related types
getEtlJobRunSummariesV3 (query)
getEtlJobRunSummariesV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Run counts per job for every job of one integration type over a window: the runs getEtlJobRunsV3 returns for jobType, grouped by job. Ordered by failedRunCount, then lastRunAt, newest first.
Arguments
| Argument | Type | Description |
|---|---|---|
jobType | EtlType! | Integration type, for example POWER_BI_DATAFLOW. Only integrations whose jobs are listed by getEtlJobsV3 are accepted. |
fromDate | DateTime! | Only count runs started at or after this time. |
toDate | DateTime | Only count runs started at or before this time. Defaults to now. The window may span at most 14 days. Pass the same toDate on every page for stable paging. |
statusIn | [EtlRunStatus!] | Only count runs whose status is in this list, as on getEtlJobRunsV3. Omitting it counts every status. |
first | Int! | The number of jobs to return, 1 to 100. |
after | String | The cursor of the last job on the previous page. |
Returns
EtlJobRunSummaryV3Connection
Example
query GetEtlJobRunSummariesV3($jobType: EtlType!, $fromDate: DateTime!, $first: Int!) {
getEtlJobRunSummariesV3(jobType: $jobType, fromDate: $fromDate, first: $first) {
totalJobs
}
}Types used only by getEtlJobRunSummariesV3
getEtlJobRunSummariesV3EtlJobRunSummaryV3
EtlJobRunSummaryV3Object type. Run counts for one job over a job-type window.
| Field | Type | Description |
|---|---|---|
jobMcon | String | MCON of the job. Null when the job is not visible to the caller. |
jobName | String | Name of the job. |
objectType | String | Object-type label for integrations with several kinds of job, for example Semantic Model or Dataflow for Power BI. Null for other integrations. |
runCount | Int! | Runs in the window that match statusIn. |
failedRunCount | Int! | Runs among runCount with a failure status: FAILED, ERROR, FAIL, TIMED_OUT. |
firstRunAt | DateTime! | Earliest run start counted. |
lastRunAt | DateTime! | Latest run start counted. |
latestErrorCode | String | Error code of the newest failed run counted. Null when none failed. |
EtlJobRunSummaryV3Connection
EtlJobRunSummaryV3ConnectionObject type.
| Field | Type | Description |
|---|---|---|
edges | [EtlJobRunSummaryV3Edge!]! | |
pageInfo | PageInfo! | |
totalJobs | Int! | Jobs with at least one counted run. |
EtlJobRunSummaryV3Edge
EtlJobRunSummaryV3EdgeObject type.
| Field | Type | Description |
|---|---|---|
node | EtlJobRunSummaryV3! | |
cursor | String! |
Related types
DateTime, EtlRunStatus, EtlType, PageInfo
getEtlJobRunsV3 (query)
getEtlJobRunsV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List runs scoped by job, by table, by job type, or by a combination. At least one of jobMcon, jobGlobalId, tableMcons, or jobType is required. Every scope given is combined via AND.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | When paging forward: the number of items to return (page size) |
after | String | When paging forward: the cursor of the last item on the previous page of results |
last | Int | When paging backward: the number of items to return (page size) |
before | String | When paging backward: the cursor of the first item on the next page of results |
jobMcon | String | Scope to a single job instance by MCON. |
jobGlobalId | String | Scope to a logical job by global ID — includes every instance of that job across groups. |
fromDate | DateTime | Only include runs started at or after this time. Narrowing the window significantly reduces cost on table-scoped queries. |
toDate | DateTime | Only include runs started at or before this time. |
statusIn | [EtlRunStatus!] | Only include runs whose status is in this list. UNKNOWN in the list also matches rows whose stored status is not a canonical enum value, which is how runs with leaked producer statuses (for example Databricks terminating) are selected. Omitting the argument applies no status filter; an explicit empty list matches no runs. |
tableMcons | [String!] | Scope to runs of jobs that produce one of the given table MCONs (downstream lineage). A run is included when its job — or any of the job's tasks — writes the table. Usable on its own to ask "what ran against this table": with no job argument the result spans every producing job. When a job filter is also given, the two are combined via AND. Note that a table produced by a task resolves to that task's parent job, so the parent's full run set is returned. Omitting the argument applies no table filter; an explicit empty list matches no runs. Table-scoped queries are cheapest over a bounded time window — supply fromDate / toDate. |
jobType | EtlType | Scope to runs of every job of this integration type, for example POWER_BI_DATAFLOW for Power BI dataflow and semantic model refreshes. Usable on its own to ask which runs of an integration failed: with no job or table argument, fromDate is required and the fromDate to toDate window (toDate defaults to now) may span at most 14 days. Only integrations whose jobs are listed by getEtlJobsV3 are accepted. |
orderBy | [String!] | Order-by keys applied in order; first key is primary, subsequent keys act as tiebreakers. Prefix any key with - for descending. |
Returns
EtlJobRunV3Connection
Example
query GetEtlJobRunsV3 {
getEtlJobRunsV3 {
totalCount
}
}Types used only by getEtlJobRunsV3
getEtlJobRunsV3EtlJobRunV3Connection
EtlJobRunV3ConnectionObject type.
| Field | Type | Description |
|---|---|---|
edges | [EtlJobRunV3Edge!]! | |
pageInfo | PageInfo! | |
totalCount | Int! | Total number of rows matching the query, ignoring first / last / before / after. Resolved on demand via a single COUNT query. |
EtlJobRunV3Edge
EtlJobRunV3EdgeObject type.
| Field | Type | Description |
|---|---|---|
node | EtlJobRunV3! | |
cursor | String! |
Related types
DateTime, EtlJobRunV3, EtlRunStatus, EtlType, PageInfo
getEtlJobRunV3 (query)
getEtlJobRunV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Fetch a single job run by (globalId, startedAt).
Arguments
| Argument | Type | Description |
|---|---|---|
globalId | String! | |
startedAt | DateTime! |
Returns
Example
query GetEtlJobRunV3($globalId: String!, $startedAt: DateTime!) {
getEtlJobRunV3(globalId: $globalId, startedAt: $startedAt) {
id
globalId
sourceId
jobGlobalId
status
rawStatus
eventTime
startedAt
effectiveStartedAt
queuedAt
endTime
heartbeatAt
expectedEndTime
trigger
attemptNumber
runUrl
alertUuid
error
attributes
jobMcon
}
}Related types
getEtlJobs (query)
getEtlJobs is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Deprecated - use getEtlJobsV2 instead
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int! | Page size |
offset | Int! | Page offset |
resourceUuid | UUID | Filter by ETL container |
mcons | [String] | Filter by mcons |
Returns
ETLJobsType
Example
query GetEtlJobs($first: Int!, $offset: Int!) {
getEtlJobs(first: $first, offset: $offset) {
hasNextPage
}
}Types used only by getEtlJobs
getEtlJobsETLJobsType
ETLJobsTypeObject type.
| Field | Type | Description |
|---|---|---|
jobs | [ETLJobUnionType] | ETL Jobs list |
hasNextPage | Boolean | Boolean indicating if there's a next page based on limit/offset |
Related types
getEtlJobsV2 (query)
getEtlJobsV2 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Get ETL Jobs
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | When paging forward: the number of items to return (page size) |
after | String | When paging forward: the cursor of the last item on the previous page of results |
last | Int | When paging backward: the number of items to return (page size) |
before | String | When paging backward: the cursor of the first item on the next page of results |
resourceUuid | UUID | Filter by ETL container |
mcons | [String] | Filter by mcons |
withRecentRuns | Boolean | Filter to Jobs that have had runs within the last 30 days Default: false. |
noRecentRuns | Boolean | Filter to Jobs that have not had runs within the last 30 days Default: false. |
jobName | String | Filter by job name |
orderBy | [String] | List of order by fields ie '["-jobName", "generatesIncidents"]' |
Returns
ETLJobsConnectionTypeConnection
Example
query GetEtlJobsV2 {
getEtlJobsV2 {
edgeCount
totalCount
}
}Types used only by getEtlJobsV2
getEtlJobsV2ETLJobsConnectionTypeConnection
ETLJobsConnectionTypeConnectionObject type. Etl Jobs
| Field | Type | Description |
|---|---|---|
pageInfo | PageInfo! | Pagination data for this connection. |
edges | [ETLJobsConnectionTypeEdge]! | Contains the nodes in this connection. |
edgeCount | Int | Total number of edges returned (page count) |
totalCount | Int | Total number of edges matching filter (total count) |
ETLJobsConnectionTypeEdge
ETLJobsConnectionTypeEdgeObject type. A Relay edge containing a ETLJobsConnectionType and its cursor.
| Field | Type | Description |
|---|---|---|
node | ETLJobUnionType | The item at the end of the edge |
cursor | String! | A cursor for use in pagination |
Related types
ETLJobUnionType, PageInfo, UUID
getEtlJobsV3 (query)
getEtlJobsV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List unified-ETL jobs scoped to the caller's account.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | When paging forward: the number of items to return (page size) |
after | String | When paging forward: the cursor of the last item on the previous page of results |
last | Int | When paging backward: the number of items to return (page size) |
before | String | When paging backward: the cursor of the first item on the next page of results |
containerUuid | UUID | Filter by EtlContainer uuid |
mcons | [String] | Filter by job mcons |
jobNameSubstring | String | Case-insensitive name filter |
isPaused | Boolean | |
withRecentRuns | Boolean | |
noRecentRuns | Boolean | |
groupGlobalId | String | |
orderBy | [String!] | Order-by keys applied in order; first key is primary, subsequent keys act as tiebreakers. Prefix any key with - for descending. |
Returns
EtlJobV3Connection
Example
query GetEtlJobsV3 {
getEtlJobsV3 {
totalCount
}
}Types used only by getEtlJobsV3
getEtlJobsV3EtlJobV3Connection
EtlJobV3ConnectionObject type.
| Field | Type | Description |
|---|---|---|
edges | [EtlJobV3Edge!]! | |
pageInfo | PageInfo! | |
totalCount | Int! | Total number of rows matching the query, ignoring first / last / before / after. Resolved on demand via a single COUNT query. |
EtlJobV3Edge
EtlJobV3EdgeObject type.
| Field | Type | Description |
|---|---|---|
node | EtlJobV3! | |
cursor | String! |
Related types
getEtlJobV3 (query)
getEtlJobV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Fetch a single unified-ETL job by mcon.
Arguments
| Argument | Type | Description |
|---|---|---|
mcon | String! |
Returns
Example
query GetEtlJobV3($mcon: String!) {
getEtlJobV3(mcon: $mcon) {
id
mcon
globalId
sourceId
name
description
folder
schedule
owner
jobUrl
isPaused
isStale
generatesAlerts
deletedAt
containerUuid
groupGlobalId
attributes
lastRunDate
recentRunCount
}
}Related types
getEtlTaskPerformanceV3 (query)
getEtlTaskPerformanceV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Per-task performance data for a unified-ETL (V3) job — the V3 equivalent of getTasksPerformanceData.
Arguments
| Argument | Type | Description |
|---|---|---|
filters | EtlTaskPerformanceV3FilterInput! | Job scope and time window: parent job MCON plus the start/end of the period to query. |
paging | EtlTaskPerformanceV3PagingInput | Relay-style cursor pagination plus task-summary sort field and direction. Defaults to the first 20 by LAST_RUN_START_TIME. |
Returns
Example
query GetEtlTaskPerformanceV3($filters: EtlTaskPerformanceV3FilterInput!) {
getEtlTaskPerformanceV3(filters: $filters)
}Types used only by getEtlTaskPerformanceV3
getEtlTaskPerformanceV3EtlTaskPerformanceV3FilterInput
EtlTaskPerformanceV3FilterInputInput object type.
| Field | Type | Description |
|---|---|---|
jobMcon | String! | Parent unified-ETL (V3) job mcon; scopes the summary to that job's tasks |
startTime | DateTime! | Starting time of period to query for |
endTime | DateTime | Ending time of the query period. The window is half-open [startTime, endTime) — a run starting exactly at endTime is excluded. When omitted the window is open-ended (all runs from startTime onward) and the 7-day duration trend is computed relative to the current time. |
EtlTaskPerformanceV3PagingInput
EtlTaskPerformanceV3PagingInputInput object type. Paging + sort for getEtlTaskPerformanceV3.
Identical to the legacy TasksPerformancePagingInput (relay cursors plus
the shared TasksPerformanceSummarySort field/direction) so the frontend
reuses its existing tasks-performance paging logic unchanged.
| Field | Type | Description |
|---|---|---|
first | Int | Number of items to retrieve after the cursor. Defaults to 20 if no other paging parameters are provided |
after | String | Starting cursor when paging forward |
last | Int | Number of items to retrieve before the cursor when paging backward |
before | String | Ending cursor when paging backward |
orderBy | TasksPerformanceSummarySort | Field by which to order the results. Defaults to LAST_RUN_START_TIME |
orderDirection | EtlPerformanceSortDirection | Sort direction. Defaults to EnumMeta.ASC |
Related types
DateTime, EtlPerformanceSortDirection, TaskPerformanceData, TasksPerformanceSummarySort
getEtlTaskRunsV3 (query)
getEtlTaskRunsV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List task runs scoped to a job run or task.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | When paging forward: the number of items to return (page size) |
after | String | When paging forward: the cursor of the last item on the previous page of results |
last | Int | When paging backward: the number of items to return (page size) |
before | String | When paging backward: the cursor of the first item on the next page of results |
jobRunGlobalId | String | |
taskMcon | String | |
fromDate | DateTime | |
toDate | DateTime | |
orderBy | [String!] | Order-by keys applied in order; first key is primary, subsequent keys act as tiebreakers. Prefix any key with - for descending. |
Returns
EtlTaskRunV3Connection
Example
query GetEtlTaskRunsV3 {
getEtlTaskRunsV3 {
totalCount
}
}Types used only by getEtlTaskRunsV3
getEtlTaskRunsV3EtlTaskRunV3
EtlTaskRunV3Object type. One execution of an EtlTaskV3.
| Field | Type | Description |
|---|---|---|
id | ID! | Stable opaque identifier derived from (globalId, startedAt) — the composite uniqueness of partitioned run rows. Use it as the Apollo cache key and React list key; do not parse it on the client. |
globalId | String! | |
sourceId | String! | |
taskGlobalId | String! | |
jobRunGlobalId | String! | |
jobGlobalId | String! | |
status | EtlRunStatus! | |
rawStatus | String! | Producer-supplied vendor status string before normalization. Always populated. status always serialises to a known enum member, with out-of-enum values coerced to UNKNOWN, so this field is the only place the vendor value survives. Display it when status is UNKNOWN and this differs from 'unknown'. |
eventTime | DateTime! | |
startedAt | DateTime! | |
queuedAt | DateTime | |
endTime | DateTime | |
heartbeatAt | DateTime | |
durationSeconds | Float | |
attemptNumber | Int! | |
error | JSONString | |
attributes | JSONString! | |
jobMcon | String | MCON of the job instance this run belongs to. Null when the run's instance has not been resolved yet. |
taskMcon | String | MCON of the task instance this run belongs to. Null when the run's task instance has not been resolved yet. |
groupGlobalId | String | Global ID of the group instance this run was attributed to. Null when the run's instance has not been resolved yet. |
isFailure | Boolean! | Whether this run ended in a failure-terminal status. |
EtlTaskRunV3Connection
EtlTaskRunV3ConnectionObject type.
| Field | Type | Description |
|---|---|---|
edges | [EtlTaskRunV3Edge!]! | |
pageInfo | PageInfo! | |
totalCount | Int! | Total number of rows matching the query, ignoring first / last / before / after. Resolved on demand via a single COUNT query. |
EtlTaskRunV3Edge
EtlTaskRunV3EdgeObject type.
| Field | Type | Description |
|---|---|---|
node | EtlTaskRunV3! | |
cursor | String! |
Related types
DateTime, EtlRunStatus, JSONString, PageInfo
getEtlTaskSourceV3 (query)
getEtlTaskSourceV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Fetch the source code an ETL task runs, live from the ETL tool. Nothing is stored. For the as-run source, set version: AS_RUN and pass a task run. Supports Databricks tasks.
Arguments
| Argument | Type | Description |
|---|---|---|
taskMcon | String! | |
version | EtlTaskSourceVersion | Default: "CURRENT". |
taskRunGlobalId | String | Task run whose source to read. Required for AS_RUN. Requires taskRunStartedAt. |
taskRunStartedAt | DateTime | Start time of the task run given by taskRunGlobalId. |
Returns
EtlTaskSourceV3
Example
query GetEtlTaskSourceV3($taskMcon: String!) {
getEtlTaskSourceV3(taskMcon: $taskMcon) {
kind
version
language
path
content
truncated
fallbackReason
}
}Types used only by getEtlTaskSourceV3
getEtlTaskSourceV3EtlTaskSourceFallbackReason
EtlTaskSourceFallbackReasonEnum type.
| Value | Description |
|---|---|
RUN_EXPIRED | |
PARSE_FAILED | |
AS_RUN_UNSUPPORTED | |
UNKNOWN |
EtlTaskSourceGitV3
EtlTaskSourceGitV3Object type. Where a Git-sourced task's code lives. The source itself isn't fetched.
| Field | Type | Description |
|---|---|---|
url | String | Repository URL. |
provider | String | Git provider, e.g. gitHub. |
branch | String | Branch or tag the job is configured with. |
commit | String | Commit the run executed, or the job's pinned commit when no run is given. |
path | String | Path of the task's file within the repository. |
EtlTaskSourceKind
EtlTaskSourceKindEnum type.
| Value | Description |
|---|---|
NOTEBOOK | |
PYTHON_FILE | |
SQL_FILE | |
SQL_QUERY | |
GIT | |
UNSUPPORTED |
EtlTaskSourceV3
EtlTaskSourceV3Object type. Source code an ETL task runs, fetched live from the ETL tool. Never stored.
| Field | Type | Description |
|---|---|---|
kind | EtlTaskSourceKind! | |
version | EtlTaskSourceVersion! | Version actually returned. An AS_RUN request comes back CURRENT when the as-run source is unavailable; fallbackReason says why. |
language | String | Source language, e.g. python or sql. |
path | String | Where the source lives: a file path, saved query id, or Git repository path. |
content | String! | Source code. Empty for Git-sourced and unsupported tasks. |
truncated | Boolean! | Whether content was cut short to fit the size limit. |
git | EtlTaskSourceGitV3 | |
fallbackReason | EtlTaskSourceFallbackReason | Why the returned version differs from the requested one. |
EtlTaskSourceVersion
EtlTaskSourceVersionEnum type.
| Value | Description |
|---|---|
CURRENT | |
AS_RUN |
Related types
getEtlTasksV3 (query)
getEtlTasksV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
List tasks for a unified-ETL job.
Arguments
| Argument | Type | Description |
|---|---|---|
first | Int | When paging forward: the number of items to return (page size) |
after | String | When paging forward: the cursor of the last item on the previous page of results |
last | Int | When paging backward: the number of items to return (page size) |
before | String | When paging backward: the cursor of the first item on the next page of results |
jobMcon | String | |
jobGlobalId | String | |
taskMcons | [String] | |
orderBy | [String!] | Order-by keys applied in order; first key is primary, subsequent keys act as tiebreakers. Prefix any key with - for descending. |
Returns
EtlTaskV3Connection
Example
query GetEtlTasksV3 {
getEtlTasksV3 {
totalCount
}
}Types used only by getEtlTasksV3
getEtlTasksV3EtlTaskV3Connection
EtlTaskV3ConnectionObject type.
| Field | Type | Description |
|---|---|---|
edges | [EtlTaskV3Edge!]! | |
pageInfo | PageInfo! | |
totalCount | Int! | Total number of rows matching the query, ignoring first / last / before / after. Resolved on demand via a single COUNT query. |
EtlTaskV3Edge
EtlTaskV3EdgeObject type.
| Field | Type | Description |
|---|---|---|
node | EtlTaskV3! | |
cursor | String! |
Related types
getEtlTaskV3 (query)
getEtlTaskV3 is a query in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Fetch a single unified-ETL task by mcon.
Arguments
| Argument | Type | Description |
|---|---|---|
mcon | String! |
Returns
Example
query GetEtlTaskV3($mcon: String!) {
getEtlTaskV3(mcon: $mcon) {
id
mcon
globalId
sourceId
jobGlobalId
name
taskType
description
attributes
jobMcon
}
}Related types
Mutations
bulkSetEtlJobGeneratesAlerts (mutation)
bulkSetEtlJobGeneratesAlerts is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set whether a set of ETL jobs generates alerts or not
Arguments
| Argument | Type | Description |
|---|---|---|
generatesAlerts | Boolean! | should generate alerts |
mcons | [String]! | MCONs of jobs to set generate alerts for |
Returns
BulkSetEtlJobGeneratesAlerts
Example
mutation BulkSetEtlJobGeneratesAlerts($generatesAlerts: Boolean!, $mcons: [String]!) {
bulkSetEtlJobGeneratesAlerts(generatesAlerts: $generatesAlerts, mcons: $mcons) {
updatedJobs
}
}Types used only by bulkSetEtlJobGeneratesAlerts
bulkSetEtlJobGeneratesAlertsBulkSetEtlJobGeneratesAlerts
BulkSetEtlJobGeneratesAlertsObject type. Set whether a set of ETL jobs (like an Airflow DAG) generates alerts or not
| Field | Type | Description |
|---|---|---|
updatedJobs | Int | Number of jobs updated |
bulkSetEtlJobGeneratesAlertsV3 (mutation)
bulkSetEtlJobGeneratesAlertsV3 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Set whether a set of ETL jobs generates alerts or not
Arguments
| Argument | Type | Description |
|---|---|---|
generatesAlerts | Boolean! | should generate alerts |
mcons | [String!]! | MCONs of jobs to set generate alerts for |
Returns
SetEtlJobGeneratesAlertsV3Result
Example
mutation BulkSetEtlJobGeneratesAlertsV3($generatesAlerts: Boolean!, $mcons: [String!]!) {
bulkSetEtlJobGeneratesAlertsV3(generatesAlerts: $generatesAlerts, mcons: $mcons) {
jobs {
id
mcon
globalId
sourceId
name
description
folder
schedule
owner
jobUrl
isPaused
isStale
generatesAlerts
deletedAt
containerUuid
groupGlobalId
attributes
lastRunDate
recentRunCount
}
}
}Related types
SetEtlJobGeneratesAlertsV3Result
deleteEtlJobsV3 (mutation)
deleteEtlJobsV3 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Soft-delete one or more ETL jobs by mcon (max 1000)
Arguments
| Argument | Type | Description |
|---|---|---|
mcons | [String!]! | MCONs of the jobs to soft-delete (max 1000). |
Returns
DeleteEtlJobsV3Result
Example
mutation DeleteEtlJobsV3($mcons: [String!]!) {
deleteEtlJobsV3(mcons: $mcons) {
jobs {
id
mcon
globalId
sourceId
name
description
folder
schedule
owner
jobUrl
isPaused
isStale
generatesAlerts
deletedAt
containerUuid
groupGlobalId
attributes
lastRunDate
recentRunCount
}
}
}Types used only by deleteEtlJobsV3
deleteEtlJobsV3DeleteEtlJobsV3Result
DeleteEtlJobsV3ResultObject type. Return shape for the V3 delete mutation.
jobs carries the soft-deleted ETL job rows so FE Apollo can normalize
the cache on __typename + id and reflect the deletion without a list
refetch.
| Field | Type | Description |
|---|---|---|
jobs | [EtlJobV3!]! | The soft-deleted ETL job rows. |
Related types
rerunEtlJob (mutation)
rerunEtlJob is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Re-run an ETL job in the customer's own system: refresh a Power BI dataflow, repair the failed tasks of a Databricks run (with runGlobalId), or start a new Databricks run. The caller needs rerun permission on ETL jobs, the job must be in one of their domains, and the job's connection must be active and in their allowed connection set.
Arguments
| Argument | Type | Description |
|---|---|---|
jobMcon | String! | MCON of the ETL job to re-run. |
runGlobalId | String | The run's globalId, the run reads already return. Omitted, the whole job re-runs. |
Returns
RerunEtlJob
Example
mutation RerunEtlJob($jobMcon: String!) {
rerunEtlJob(jobMcon: $jobMcon) {
payload {
integration
action
status
vendorRunId
repairId
runUrl
runState
}
}
}Types used only by rerunEtlJob
rerunEtlJobEtlJobRerunPayload
EtlJobRerunPayloadObject type. What one rerun did. Ids are the vendor's, when it returns them.
| Field | Type | Description |
|---|---|---|
integration | String! | The integration the job belongs to (its ETL type). |
action | EtlRerunAction! | |
status | EtlRerunStatus! | |
vendorRunId | String | The vendor's id of the run that started. |
repairId | String | The vendor's id of the repair, for a repair. |
runUrl | String | Link in the vendor's UI: the run's page, or the job's page where the vendor has no page per run. |
runState | EtlRerunRunState! |
EtlRerunStatus
EtlRerunStatusEnum type. How far the rerun got: STARTED when the vendor accepted it, REQUESTED when it was handed to a route that starts it later.
| Value | Description |
|---|---|
STARTED | |
REQUESTED |
RerunEtlJob
RerunEtlJobObject type.
| Field | Type | Description |
|---|---|---|
payload | EtlJobRerunPayload! |
Related types
EtlRerunAction, EtlRerunRunState
setEtlJobGeneratesAlerts (mutation)
setEtlJobGeneratesAlerts is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Configures if alerts should be generated or not when a given ETL Job (like an Airflow DAG) fails
Arguments
| Argument | Type | Description |
|---|---|---|
generatesAlerts | Boolean! | should generate alerts |
mcon | String! | job mcon |
Returns
SetEtlJobGeneratesAlerts
Example
mutation SetEtlJobGeneratesAlerts($generatesAlerts: Boolean!, $mcon: String!) {
setEtlJobGeneratesAlerts(generatesAlerts: $generatesAlerts, mcon: $mcon) {
generatesAlerts
}
}Types used only by setEtlJobGeneratesAlerts
setEtlJobGeneratesAlertsSetEtlJobGeneratesAlerts
SetEtlJobGeneratesAlertsObject type. Set whether a given ETL job (like an Airflow DAG) generates alerts or not
| Field | Type | Description |
|---|---|---|
generatesAlerts | Boolean | New value for generates_alerts |
setEtlJobGeneratesAlertsV3 (mutation)
setEtlJobGeneratesAlertsV3 is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Configures if alerts should be generated or not when a given ETL Job (like an Airflow DAG) fails
Arguments
| Argument | Type | Description |
|---|---|---|
generatesAlerts | Boolean! | should generate alerts |
mcon | String! | job mcon |
Returns
SetEtlJobGeneratesAlertsV3Result
Example
mutation SetEtlJobGeneratesAlertsV3($generatesAlerts: Boolean!, $mcon: String!) {
setEtlJobGeneratesAlertsV3(generatesAlerts: $generatesAlerts, mcon: $mcon) {
jobs {
id
mcon
globalId
sourceId
name
description
folder
schedule
owner
jobUrl
isPaused
isStale
generatesAlerts
deletedAt
containerUuid
groupGlobalId
attributes
lastRunDate
recentRunCount
}
}
}Related types
SetEtlJobGeneratesAlertsV3Result
setEtlJobGeneratesIncidents (mutation)
setEtlJobGeneratesIncidents is a mutation in the Monte Carlo GraphQL API, in Integrations and connections. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Configures if incidents should be generated or not when a given ETL Job (like an Airflow DAG) fails
Arguments
| Argument | Type | Description |
|---|---|---|
generatesIncidents | Boolean! | should generate incidents |
mcon | String! | job mcon |
Returns
SetEtlJobGeneratesIncidents
Example
mutation SetEtlJobGeneratesIncidents($generatesIncidents: Boolean!, $mcon: String!) {
setEtlJobGeneratesIncidents(generatesIncidents: $generatesIncidents, mcon: $mcon) {
generatesIncidents
}
}Types used only by setEtlJobGeneratesIncidents
setEtlJobGeneratesIncidentsSetEtlJobGeneratesIncidents
SetEtlJobGeneratesIncidentsObject type. Set whether a given ETL job (like an Airflow DAG) generates incidents or not
| Field | Type | Description |
|---|---|---|
generatesIncidents | Boolean | New value for generates_incidents |
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
