Skip to content
gist.link ↗

promptTemplates

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

Any org member. Includes suite defaults (organization_id null) plus this org’s overrides.

intelligence:query:promptTemplates

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 {
promptTemplates: [PromptTemplate!]!
}

This query takes no arguments.

[PromptTemplate!]! — 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 PromptTemplates { promptTemplates { id key created_at updated_at } }",
"variables": {}
}
JSON