What the signed-in user may do with the assistant here
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/assistantWhat the signed-in user may do with the assistant here (ADR 0161): on or why not, model, this month's use and budget
Authentication: API key (Authorization: Bearer …) or session cookie __Host-panel_session.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Access
Content type: application/json
availableboolean requiredreasonstring optionalAllowed values:"off""opted_out""resellers_off""customers_off""not_in_plan"modelstring requiredmodel_labelstring requiredallow_writesboolean requiredacknowledgedboolean requiredThe signed-in user read the notice shown before first use
notice_versionstring 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
budgetinteger requiredMonthly tokens for this account; 0 is no limit
retention_daysinteger requiredopted_outboolean requiredcan_manageboolean requiredMay turn the assistant off for this account
mcpboolean required
Example
{
"available": true,
"reason": "off",
"model": "string",
"model_label": "string",
"allow_writes": true,
"acknowledged": true,
"notice_version": "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
},
"budget": 0,
"retention_days": 0,
"opted_out": true,
"can_manage": true,
"mcp": true
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required