Skip to content
gist.link ↗

conversation

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

One of the signed-in user’s conversations, with its messages.

intelligence:query:conversation

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 {
conversation(id: ID!): Conversation!
}
Argument Type Required Description
id ID! 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": "query Conversation($id: ID!) { conversation(id: $id) { id title created_at updated_at } }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON