latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

AppModeling

Persist in-flight coordinator state (internal)

Writes the active inner session ID, last executeAppModeling messages, and batch cursor so a pod restart can resume. Called internally by the TypeScript persistAppModelingInFlightState handler.

put/appModeling/run/{application_id}/inflight

Path parameters

application_idstring required

The application ID

Query parameters

workspaceIdstring required

The workspace ID

Request body

active_inner_session_idstring required

The inner AMA session ID currently being driven.

last_inner_messagesobject[]

The new_messages returned by the most recent executeAppModeling turn.

batch_cursorinteger required

Current batch cursor.

last_kg_row_countinteger

The kg_row_count observed after the most recent executeAppModeling turn.

stall_reinvoke_countinteger

Consecutive re-invocations so far with no net-new KG rows for this inner session.

test_invariant_idsstring[]

Test invariant IDs of the batch being processed, persisted so a resumed coordinator pod can mark the batch complete instead of re-dequeuing/re-modeling it.

Response

In-flight state persisted

okboolean required

Always true on success.