ApiAdmin — organizationConfig
Get AI config
Returns the AI configuration for the shop including provider, selected model, and whether a key is configured. The actual API key is never exposed.
Remove AI config
Removes the AI configuration and securely deletes the stored API key. AI features will be unavailable until a new configuration is saved.
Save AI config
Saves the AI configuration. The API key is validated against the provider before saving. Returns 400 if the key is invalid. Overwrites any existing configuration.