Skip to content
gist.link ↗

resolveAction

Mutation Intelligence API — POST https://intelligence.api.gist.link/graphql

Owner only. Approve or decline a pending tool call; the assistant continues once none are pending.

intelligence:mutation:resolveAction

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

type Mutation {
resolveAction(conversationId: ID!, messageId: ID!, approve: Boolean!): Conversation!
}
Argument Type Required Description
conversationId ID! Yes —
messageId ID! Yes —
approve Boolean! Yes —

Conversation! — see the Intelligence types reference.

Terminal window
curl https://intelligence.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation ResolveAction($conversationId: ID!, $messageId: ID!, $approve: Boolean!) { resolveAction(conversationId: $conversationId, messageId: $messageId, approve: $approve) { id title created_at updated_at } }",
"variables": {
"conversationId": "01a01234-abcd-7000-9000-0123456789ab",
"messageId": "01a01234-abcd-7000-9000-0123456789ab",
"approve": true
}
}
JSON