Skip to content
gist.link ↗

syncJobs

Query Marketing API — POST https://marketing.api.gist.link/graphql

Cursor-paginated sync job history. Any authenticated org member (see SyncJobResolver for connection-less-job visibility).

marketing:query:syncJobs

The calling IAM key must hold this permission (or a wildcard that covers it: marketing:query:* or marketing:*) and the access token must have been minted with audience=marketing. See Permissions.

type Query {
syncJobs(first: Int, after: String): SyncJobConnection!
}
Argument Type Required Description
first Int No —
after String No —

SyncJobConnection! — see the Marketing types reference.

Terminal window
curl https://marketing.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query SyncJobs($first: Int, $after: String) { syncJobs(first: $first, after: $after) { totalCount edges { cursor node { id kind status } } } }",
"variables": {
"first": 10,
"after": "cursor"
}
}
JSON