Request insights for the current window
Spends. Runs a model over the scenario’s current window and draws on the organization’s insightsPerDay ledger, which is SHARED with eval-run and swarm wave insights — spending it here takes it from there.
202: scheduled, not done. Poll GET .../windows/{windowId}/insights with the returned windowId rather than re-requesting.
409 when the current window has not been mined yet: the request was well formed and retrying it verbatim will not help until sessions have been processed.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
ID of the hosted project that contains the server.
Scenario ID, as returned by publishing an environment or by the project's scenario reads.
Body
Optional. A bodyless POST is the ordinary case.
Regenerate even when a completed generation already exists. SPENDS A SECOND TIME — that is the whole point of the flag, so it is never inferred.

