Download OpenAPI specification:
Vega Backend Catalog health-check schedule API.
Each physical Catalog has one health-check schedule. The schedule is an
independent child resource and is not embedded in Catalog detail or list
responses. It can be created with a physical Catalog through
health_check_schedule; subsequent reads and updates use the dedicated
endpoints defined here.
last_status and last_message expose only the most recent scheduling outcome.
A completed connection-check call is success even if the Catalog is unhealthy;
connection health remains in the Catalog's health fields. Manual connection tests
do not change schedule outcomes. Failed calls and skipped occurrences have a short,
sanitized message. Configuration updates preserve the most recent outcome.
An occurrence is claimed by advancing its persisted timestamps before the check;
failures are not retried and a crash after claim may lose this occurrence. Missed
periods coalesce to at most one attempt after restart. next_run=0 only initializes
a future trigger without a check or change to last_run. Invalid persisted custom
Cron disables the schedule and records failed, preserving the original Cron.
Cron may contain a timezone; otherwise the process-local timezone is used.
Every external endpoint has a matching internal version under
/api/vega-backend/in/v1 with identical request and response structures.
Only authentication differs. This document describes external APIs only.
Supported only for physical Catalogs and requires view_detail on the Catalog.
| id required | string physical Catalog ID |
{- "catalog_id": "string",
- "mode": "inherit",
- "cron_expr": "string",
- "last_run": 0,
- "next_run": 0,
- "last_status": "never",
- "last_message": "string",
- "creator": {
- "id": "string",
- "type": "string",
- "name": "string"
}, - "create_time": 0,
- "updater": {
- "id": "string",
- "type": "string",
- "name": "string"
}, - "update_time": 0
}Supported only for physical Catalogs and requires modify on the
Catalog. DELETE and separate enable/disable endpoints are not supported.
Use mode=inherit, enabled, or disabled for full state transitions.
expected_update_time is required for optimistic concurrency control.
Use update_time from the latest query response. A concurrent update
causes a 409 response.
VegaBackend.CatalogHealthCheckSchedule.UpdateConflict。
| id required | string physical Catalog ID |
| expected_update_time required | integer <int64> >= 1 Required optimistic-lock version for standalone PUT, taken from |
| mode required | string Enum: "inherit" "enabled" "disabled"
|
| cron_expr | string [ 1 .. 100 ] characters Health-check Cron expression required only when |
{- "expected_update_time": 1,
- "mode": "inherit",
- "cron_expr": "string"
}{- "catalog_id": "string",
- "mode": "inherit",
- "cron_expr": "string",
- "last_run": 0,
- "next_run": 0,
- "last_status": "never",
- "last_message": "string",
- "creator": {
- "id": "string",
- "type": "string",
- "name": "string"
}, - "create_time": 0,
- "updater": {
- "id": "string",
- "type": "string",
- "name": "string"
}, - "update_time": 0
}