latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

AppModeling

Get coordinator run state (internal)

Returns the coordinator run state for the given application. Called internally by the TypeScript getAppModelingRunState handler to delegate coordinator bookkeeping to the Java service layer.

get/appModeling/run/{application_id}/state

Path parameters

application_idstring required

The application ID

Query parameters

workspaceIdstring required

The workspace ID

Response

Current coordinator run state

run_status'IDLE' | 'RUNNING' | 'COMPLETED' | 'ERROR' required

Lifecycle status of an app modeling run.

frontier_exhaustedboolean required

Whether every item in the work frontier has been attempted.

batches_processedinteger required

Number of batches that have been marked complete.

active_inner_session_idstring

The inner AMA session ID currently being driven, if any.

kg_row_countinteger

Current count of this app's active KG rows (nodes + edges + external refs). A read-only progress signal: the coordinator compares this value across executeAppModeling re-invocations to detect a stalled inner session (see AppModelingResumeState.last_kg_row_count). Counts only — never inspects what was written.

budget_cappedboolean

True if this run completed by hitting the MAX_BATCHES budget ceiling with the work frontier not yet exhausted (a truncated run), false otherwise. Surfaced from the persisted run_metrics so a bound-out is observable and not mistaken for a full drain.