API referenceSections

AssistantSettings

AssistantSettings object
  • enabled boolean required
  • model string required
  • models array<AssistantModel> required
  • key_set boolean required
  • key_hint string required

    Last 4 characters of the saved key

  • notice_version string required
  • notice_accepted boolean required
  • notice_accepted_at string (date-time) | null optional
  • monthly_tokens integer required
  • tenant_budgets map<string, integer> required
  • allow_resellers boolean required
  • customers string required
    Allowed values: "none" "plans" "all"
  • allowed_plans array<string> required
  • allow_writes boolean required
  • retention_days integer required
  • mcp_enabled boolean required
  • mcp_allow_writes boolean required
  • month string required
  • usage array<object> required
    • tenant_id string required
    • tenant_name string required
    • usage AssistantUsage required
    • tokens integer required
    • budget integer required

Used by

GET/api/v1/tenants/{tid}/assistant/settingsThe provider's assistant settings and this month's use per account; root tenant administrators
PUT/api/v1/tenants/{tid}/assistant/settingsSave them. Turning on needs the API key and the data-processing notice accepted (ASSISTANT_KEY_REQUIRED, ASSISTANT_NOTICE_REQUIRED). Audited as assistant.settings