The provider's assistant settings and this month's use per account; root tenant administrators
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/assistant/settingsThe provider's assistant settings and this month's use per account; root tenant administrators
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Settings
Content type: application/json
enabledboolean requiredmodelstring requiredidstring requiredlabelstring requiredinput_per_mnumber requiredoutput_per_mnumber requiredcache_read_per_mnumber requiredcache_write_per_mnumber required
key_setboolean requiredkey_hintstring requiredLast 4 characters of the saved key
notice_versionstring requirednotice_acceptedboolean requirednotice_accepted_atstring (date-time) | null optionalmonthly_tokensinteger requiredtenant_budgetsmap<string, integer> requiredallow_resellersboolean requiredcustomersstring requiredAllowed values:"none""plans""all"allowed_plansarray<string> requiredallow_writesboolean requiredretention_daysinteger requiredmcp_enabledboolean requiredmcp_allow_writesboolean requiredmonthstring requiredusagearray<object> requiredtenant_idstring requiredtenant_namestring requiredtenant_idstring requiredmonthstring requiredYYYY-MM, UTC
requestsinteger requiredinput_tokensinteger requiredoutput_tokensinteger requiredcache_read_tokensinteger requiredcache_write_tokensinteger requiredcost_micro_usdinteger requiredEstimate from list prices, in millionths of a US dollar
tokensinteger requiredbudgetinteger required
Example
{
"enabled": true,
"model": "string",
"models": [
{
"id": "string",
"label": "string",
"input_per_m": 0,
"output_per_m": 0,
"cache_read_per_m": 0,
"cache_write_per_m": 0
}
],
"key_set": true,
"key_hint": "string",
"notice_version": "string",
"notice_accepted": true,
"notice_accepted_at": "2026-01-01T00:00:00Z",
"monthly_tokens": 0,
"tenant_budgets": {
"key": 0
},
"allow_resellers": true,
"customers": "none",
"allowed_plans": [
"string"
],
"allow_writes": true,
"retention_days": 0,
"mcp_enabled": true,
"mcp_allow_writes": true,
"month": "string",
"usage": [
{
"tenant_id": "string",
"tenant_name": "string",
"usage": {
"tenant_id": "string",
"month": "string",
"requests": 0,
"input_tokens": 0,
"output_tokens": 0,
"cache_read_tokens": 0,
"cache_write_tokens": 0,
"cost_micro_usd": 0
},
"tokens": 0,
"budget": 0
}
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required