Skip to content
gist.link ↗

apiConnections

Query Agent Workforce API — POST https://agentworkforce.api.gist.link/graphql

External API connections agents can be granted (secrets are never returned).

agentworkforce:query:apiConnections

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

type Query {
apiConnections: [ApiConnection!]!
}

This query takes no arguments.

[ApiConnection!]! — see the Agent Workforce types reference.

Terminal window
curl https://agentworkforce.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query ApiConnections { apiConnections { uuid name slug description baseUrl extraHosts hosts enabled } }",
"variables": {}
}
JSON