Skip to content
gist.link ↗

connections

Query Automate API — POST https://automate.api.gist.link/graphql

This org’s saved connections, optionally filtered by connector. Any org member.

automate:query:connections

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

type Query {
connections(connectorKey: String): [Connection!]!
}
Argument Type Required Description
connectorKey String No —

[Connection!]! — see the Automate types reference.

Terminal window
curl https://automate.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query Connections($connectorKey: String) { connections(connectorKey: $connectorKey) { id uuid name status created_at updated_at } }",
"variables": {
"connectorKey": "example"
}
}
JSON