Query
query ImportJobs {
importJobs {
edges {
cursor
node {
id
status
startedAt {
__typename
}
completedAt {
__typename
}
importRuns {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"importJobs": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"status": "PENDING",
"startedAt": {
"__typename": "DateTime"
},
"completedAt": {
"__typename": "DateTime"
},
"importRuns": [
{
"__typename": "ImportRun"
}
]
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
importJobs
List import jobs, optionally filtered by service integration key or import job definition ID. Each job represents a single sync run triggered by an import job definition, and contains per-entity-type runs with their progress and status.
QUERY
importJobs(filters: ImportJobsFilter, first: Int, after: String, last: Int, before: String): ImportJobConnection!Arguments
filters
first
Int
after
String
last
Int
before
String
Returns
edges
[ImportJobEdge!]!
pageInfo
Query
query ImportJobs {
importJobs {
edges {
cursor
node {
id
status
startedAt {
__typename
}
completedAt {
__typename
}
importRuns {
__typename
}
}
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Response
{
"data": {
"importJobs": {
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"status": "PENDING",
"startedAt": {
"__typename": "DateTime"
},
"completedAt": {
"__typename": "DateTime"
},
"importRuns": [
{
"__typename": "ImportRun"
}
]
}
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

