TanqoryDocs

tanqoryExtAiGenerators

  • Query
  • Apps and platform

The generators this store can run. Any staff member with the ai.use permission.

Arguments

None.

Returns

[TanqoryExtAiGenerator!]! A declared generator: one prompt and output shape, reachable only through tanqoryExtAiGenerate.

FieldTypeDescription
featureString!

The billing feature its usage is recorded under (CONTENT, IMAGE); the usage record also names the generator.

idString!

Stable id, e.g. product_description, theme_proposals.

inputSchemaJSON!

JSON Schema of the input argument.

outputSchemaJSON!

JSON Schema of the result's output.

permissionString

The staff permission it needs besides ai.use (account/roles.ts), e.g. products.edit.

Example request

A starting point: required arguments as variables and a few fields of the result. Replace the placeholders.

Set STORE_ID and TANQORY_ACCESS_TOKEN in your environment first (Make your first API call).

curl
curl -X POST "https://api.tanqory.com/admin/2026-10/stores/$STORE_ID/graphql" \
  -H "Authorization: Bearer $TANQORY_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"query":"query TanqoryExtAiGenerators {\n  tanqoryExtAiGenerators {\n    feature\n    id\n    inputSchema\n    outputSchema\n    permission\n  }\n}","variables":{}}'

Built from commit c0b3fb3fdef7 · API version 2026-10