Skip to content

AgentCube reports health at two levels. The Context Engine tells you, for every connector and every data source, whether it is working and, if not, why — as one status, one reason and one plain-English sentence. Each connector also exposes its own /health endpoint describing its process and its backend connection. This page covers both, and how to monitor them.

Every connector the Context Engine knows about carries a health block. The same block, derived the same way, appears everywhere health is shown: the get_status tool, the systems API, the data sources API, and the admin pages.

"health": {
"status": "unavailable",
"reason": "connector_unreachable",
"message": "AgentCube cannot reach this data source right now, so it is temporarily unavailable. Contact your AgentCube administrator if this continues.",
"last_checked_at": "2026-09-25T14:00:03Z",
"last_success_at": "2026-09-25T13:41:12Z"
}
FieldDescription
statusOne of four values, with the same meaning everywhere: healthy, warning, unavailable, unknown.
reasonWhy it has that status — one of the reasons below. Build alerts and automation on reason, not on message.
messageOne sentence saying what the reason means, written for the people using the data source.
last_checked_atWhen the Context Engine last checked this connector, or null if it has not yet.
last_success_atWhen a request through this connector last succeeded, or null.

The systems API (GET /api/v1/systems) also returns next_attempt_at — when a paused sign-in will be retried — and a details object with the evidence behind the verdict, for troubleshooting with support. The get_status tool that AI platforms call carries only the five fields above, plus, when sign-in is paused, a stable reason_code matching the one on refused calls.

The Context Engine checks the connector’s evidence in this order and reports the first thing that is wrong:

reasonstatusWhat it meansWhat clears it
sign_in_pausedunavailableThe backend kept rejecting the connector’s stored service-account credentials, so the Context Engine has paused sign-ins to avoid locking the account.Update the connector’s credentials (resumes at once), or wait for the automatic retry at next_attempt_at.
backend_unreachableunavailableThe connector is reachable but its backend system is not answering, or requests to the connector keep failing.The backend recovering; the Context Engine retries automatically.
connector_unreachableunavailableThe last check could not reach the connector at all.The connector running again at its registered URL; the next check clears it.
check_overduewarningScheduled checks for this connector have stopped happening, so its status may be out of date.The connector’s discovery job running again (see Scheduled jobs).
checks_pausedwarningAn administrator turned off this connector’s scheduled checks.Enabling its discovery job.
recent_call_failureswarningRecent requests or sign-ins failed, but the connector is still in service.The next successful request.
slowwarningThe backend is answering, but slowly.The backend answering at normal speed at the next check.
awaiting_first_callunknownA connector that signs in as each user (pass-through or per-user tokens) has not been used yet, so there is nothing to judge it by.The first successful request.
not_checked_yetunknownA newly added connector has not been checked yet.The first check, shortly after it is added.
okhealthyChecked and working.—

A connector never reads healthy without evidence: it needs a successful check or, for a pass-through connector, a successful request.

When sign-in is paused, the message people see is always the same: “The service account for this data source could not sign in, so it is temporarily unavailable. Contact your AgentCube administrator.” The admin pages show administrators the detail instead — until when it is paused and how to resume it.

Each data source carries its own health block: the worst of its connectors wins, and connectors lists each bound connector with its own status and reason.

"health": {
"status": "warning",
"reason": "slow",
"message": "This data source is responding slowly.",
"connectors": [
{"connector_id": "{connector_id}", "status": "warning", "reason": "slow"}
]
}

A data source bound to a connector that is no longer registered reads unavailable / connector_missing; one with no connectors bound reads unknown / no_connectors.

  • Admin UI — the Data Sources page shows a dot and a sentence per data source, each linking to its connectors; the Connected Systems page shows a dot and a reason per connector; a connector’s own page shows the full sentence, when it was last checked and last used successfully, and the details behind it; the dashboard lists every connector.
  • get_status — the tool AI platforms call carries each connector’s and data source’s health.
  • REST — GET /api/v1/systems per connector, GET /api/v1/admin/data-sources per data source.
  • /health — the Context Engine’s public health endpoint counts connectors by status in its connectors block (total and by_status). GET /api/v1/health is the versioned liveness equivalent, and the authenticated GET /api/v1/status returns every registered connector with its health and backend check.

GET {ce_url}/health needs no authentication. It carries the same top-level fields as a connector’s /health (below), with backend_system set to AgentCube Context Engine, plus these blocks: persistence (database reachability and schema version), audit_writer, connectors (the total and by_status counts) and license. The response never includes the database host or name.

The license block reports the installed license as the Context Engine last validated it:

FieldDescription
statusvalid, invalid, expired, suspended, instance_limit_exceeded, unreachable or uninitialized. Only valid allows new data sources to be added.
installed, installed_atWhether a license key is installed, and when.
validated_atWhen the licensing service last answered.
license_key_hashA short hash of the installed key, for matching it with the License page. The key itself is never returned.
expires_at, entitlementsThe license’s expiry and what it entitles.
data_source_capHow many active data sources the license allows.
data_source_provisioningallowed_by_license or blocked_by_license, with data_source_provisioning_blocked_reason when blocked.
error_class, error_detailWhy the last validation did not succeed, when it did not.

With no license installed, the block reads installed: false, status: "unreachable", error_detail: "No license is installed. Install a license to continue." and data_source_provisioning: "blocked_by_license". If the license is missing, expired or cannot be validated, adding data sources is blocked until it validates. The admin console’s Admin & Security → License page shows the same state.

Each connector also exposes /health on its own host, describing the connector process and its backend connection. Fields with no value are left out of the response.

Terminal window
Invoke-RestMethod -Uri "{connector_url}/health" | ConvertTo-Json -Depth 5
FieldDescription
statushealthy or unhealthy. Only basic mode runs a live service-account check and can return unhealthy (with HTTP 503); the other modes always report healthy
versionConnector version (e.g., 3.x.y)
uptime_secondsSeconds since container start
timestampCurrent UTC timestamp
backend_connectedtrue/false from a service-account probe in basic mode. Absent in other modes (null in mcp_connector_status), where the backend is verified per authenticated request instead
backendUnauthenticated reachability probe of the backend, present in every auth mode: status (healthy, degraded when a response takes 2 seconds or longer, or unreachable), last_check_at, last_check_duration_ms, last_error
last_successful_backend_callWhen a request to the backend last succeeded
cache_ready, last_metadata_syncPlanning and FCCS only: whether the metadata cache is loaded, and when it last synced
backend_systemBackend system type (Oracle Essbase, Oracle EPM Planning Cloud, or Oracle Financial Consolidation and Close Cloud Service)
backend_urlConfigured backend endpoint URL
connector_idConnector identifier (default agentcube-essbase, agentcube-planning, or agentcube-fccs; set by AGENTCUBE_CONNECTOR_ID)
sdk_versionAgentCube SDK version embedded in this build
auth_modeCurrent authentication mode (basic, delegated_basic, internal, or oidc)
oidc_issuerOIDC discovery URL (oidc mode only; internal mode reports internal_issuer / internal_jwks_url instead)
backend_noteAdditional context (e.g., OIDC mode backend verification note)

When the AI platform connects directly to a connector, the mcp_connector_status tool returns the same information from inside the conversation. Through the Context Engine, use get_status instead.

  • Alert on reason, per connector and per data source — read the systems API or the data sources API on a schedule and alert when a status is unavailable, or warning for longer than you are comfortable with. sign_in_paused needs an administrator: the stored credentials have to be fixed.
  • Probe the Context Engine’s /health for liveness — it is public and cheap. Its by_status counts are per instance and come from memory, so treat them as a quick signal and alert on the authenticated APIs above.
  • Probe each connector’s /health and alert on backend.status: unreachable (any mode) — the connector cannot reach its backend. In basic mode, also alert on status: unhealthy / HTTP 503.
  • Monitor uptime_seconds — unexpected resets indicate container restarts.
  • Check after deployments — verify version matches the deployed version.

In delegated_basic (credentials forwarded per call by the Context Engine), internal and oidc modes, the connector holds no credentials of its own, so its /health has no backend_connected field. This is expected. The backend probe still confirms the backend is reachable without a user context; an authenticated call confirms the credentials work. In the Context Engine, a connector reached with pass-through or internal (per-user token) auth reads awaiting_first_call until its first request succeeds.

To verify backend connectivity in these modes:

  1. Authenticate via your AI platform
  2. Make an authenticated data call — directly against a connector this is test_datasource; through the Context Engine it is the generic get_data tool — which makes an authenticated request to the backend and confirms connectivity