Skip to content
gist.link ↗

startConversation

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

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).

intelligence:mutation:startConversation

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 {
startConversation(message: String!, voice: Boolean): Conversation!
}
Argument Type Required Description
message String! Yes —
voice Boolean No —

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 StartConversation($message: String!, $voice: Boolean) { startConversation(message: $message, voice: $voice) { id title created_at updated_at } }",
"variables": {
"message": "example",
"voice": true
}
}
JSON