Skip to content
gist.link ↗

updateAssistantSession

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

Any signed-in user. Save the assistant sidebar state so other apps reopen it the same way.

intelligence:mutation:updateAssistantSession

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 {
updateAssistantSession(input: AssistantSessionInput!): AssistantSession!
}
Argument Type Required Description
input AssistantSessionInput! Yes —

AssistantSession! — 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 UpdateAssistantSession($input: AssistantSessionInput!) { updateAssistantSession(input: $input) { open conversation_id voice_mode draft updated_at } }",
"variables": {
"input": {
"open": true,
"conversation_id": "01a01234-abcd-7000-9000-0123456789ab",
"voice_mode": true
}
}
}
JSON