Skip to content
gist.link ↗

Intelligence API

AI service scaffolding and prompt-driven builders.

Endpoint POST https://intelligence.api.gist.link/graphql
Token audience audience=intelligence
Permission prefix intelligence:

Mint an access token for this API with your IAM key and audience=intelligence — see Authentication.

Operation Required permission Description
assistantCapabilities intelligence:query:assistantCapabilities What the assistant can do for the signed-in user.
assistantSession intelligence:query:assistantSession The signed-in user’s assistant sidebar state (created on first read).
conversation intelligence:query:conversation One of the signed-in user’s conversations, with its messages.
conversations intelligence:query:conversations The signed-in user’s own conversations, pinned first then most recent.
project intelligence:query:project Any org member.
projects intelligence:query:projects Any org member.
promptTemplates intelligence:query:promptTemplates Any org member. Includes suite defaults (organization_id null) plus this org’s overrides.
run intelligence:query:run Any org member.
Operation Required permission Description
archiveProject intelligence:mutation:archiveProject ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER.
assist intelligence:mutation:assist SERVICE callers only (e.g. Agent Workforce agents, scope intelligence:mutation:assist): stateless suite Q&A, billed to the token’s organization.
cancelRun intelligence:mutation:cancelRun ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER. Best-effort; a stage already in flight still finishes.
createProject intelligence:mutation:createProject ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER.
deleteConversation intelligence:mutation:deleteConversation Owner only.
pinConversation intelligence:mutation:pinConversation Owner only.
regenerateResponse intelligence:mutation:regenerateResponse Owner only. Discard the last assistant reply and generate a new one.
renameConversation intelligence:mutation:renameConversation Owner only.
resolveAction intelligence:mutation:resolveAction Owner only. Approve or decline a pending tool call; the assistant continues once none are pending.
retryRun intelligence:mutation:retryRun ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER. Only valid for failed runs.
sendMessage intelligence:mutation:sendMessage Owner only. Adds a message and runs the assistant (tool reads run; changes wait for approval).
startConversation intelligence:mutation:startConversation Any signed-in user. Creates a conversation from a first message and runs the assistant. voice: the message was spoken (replies are kept short for reading aloud).
startRun intelligence:mutation:startRun ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER. Kicks off the PLAN -> SCAFFOLD -> DOMAIN -> REVIEW pipeline.
synthesizeSpeech intelligence:mutation:synthesizeSpeech Any signed-in user. Text-to-speech for a reply via the server’s Voicebox.
transcribeAudio intelligence:mutation:transcribeAudio Any signed-in user. Speech-to-text via the server’s Voicebox (base64 audio, max 8 MB; webm/ogg/mp4/mpeg/wav/flac).
updateAssistantSession intelligence:mutation:updateAssistantSession Any signed-in user. Save the assistant sidebar state so other apps reopen it the same way.
updateProject intelligence:mutation:updateProject ROLE_ADMIN or ROLE_INTELLIGENCE_MANAGER.
upsertPromptTemplate intelligence:mutation:upsertPromptTemplate ROLE_ADMIN.