Skip to content
gist.link ↗

assistantSession

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

The signed-in user’s assistant sidebar state (created on first read).

intelligence:query:assistantSession

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

type Query {
assistantSession: AssistantSession!
}

This query takes no arguments.

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": "query AssistantSession { assistantSession { open conversation_id voice_mode draft updated_at } }",
"variables": {}
}
JSON