Storefront themes

Whether AI features are available: provider, plan and today’s allowance

GET
/v1/stores/{storeId}/storefront/ai

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/stores/string/storefront/ai"
{  "connected": true,  "provider": "string",  "model": "string",  "editor": {    "entitled": true,    "plan": "string"  },  "today": {    "spentUsd": 0,    "budgetUsd": 0,    "storefrontTakesLeft": -9007199254740991  }}