Admin

Get AI system status

Returns non-sensitive AI gateway configuration status, provider/model labels, local budget usage, and the latest safe run state without exposing provider secrets, prompts, or raw provider payloads.

get/api/admin/system/ai

Request

  • Base URL: https://demo.hitkeep.com
  • URL: https://demo.hitkeep.com/api/admin/system/ai
  • Auth: API key in cookie hk_token

Response

AI system status

ask_ai_availableboolean required
ask_ai_enabledboolean required
base_url_configuredboolean required
budget_exhaustedboolean required
budget_window_minutesinteger required
config_mode'cloud_managed' | 'self_hosted' required
configuredboolean required
enabledboolean required
last_attempt_atstring date-time
last_error_categorystring
last_success_atstring date-time
modelstring
providerstring
regionstring
request_limitinteger required
requests_usedinteger required
status'disabled' | 'not_configured' | 'configured' | 'budget_exhausted' | 'needs_attention' required
token_limitinteger required
tokens_usedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.