Skip to content
gist.link ↗

createIntegration

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

Connect an MCP server; its tools are discovered on creation.

agentworkforce:mutation:createIntegration

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

type Mutation {
createIntegration(input: CreateIntegrationInput!): Integration!
}
Argument Type Required Description
input CreateIntegrationInput! Yes —

Integration! — 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": "mutation CreateIntegration($input: CreateIntegrationInput!) { createIntegration(input: $input) { uuid name url status } }",
"variables": {
"input": {
"name": "Example",
"url": "example"
}
}
}
JSON