Skip to content
gist.link ↗

conversations

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

The signed-in user’s own conversations, pinned first then most recent.

intelligence:query:conversations

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 {
conversations(search: String, first: Int, after: String): ConversationConnection!
}
Argument Type Required Description
search String No —
first Int No —
after String No —

ConversationConnection! — 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 Conversations($search: String, $first: Int, $after: String) { conversations(search: $search, first: $first, after: $after) { totalCount edges { cursor node { id title created_at updated_at } } } }",
"variables": {
"search": "example",
"first": 10,
"after": "cursor"
}
}
JSON