Session
The full session object. Two state machines surface here: session-level `status` (the rollup to switch on in polling loops) and per-round `completion_state` (the canonical 'is this round usable yet?' check). A session can be `processing` while its latest round is already `complete`.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Session UUID. |
| status | string | streaming — at least one model in the most recent round is responding. processing — all responses landed, post-processing (snippet extraction, claim map, optional Takeaway) is in flight. ready — fully |
| mode | string | `remote` for every session created through this API. Historical sessions may report `autonomous`; that mode was retired in 2026-05. |
| source | string | How the session was created. Sessions predating this field default to `web`. |
| moderator_name | stringnull | Steering identity display name. |
| application | stringnull | Client application display name. |
| initial_prompt | string | The session's opening prompt, as authored (aliases are not resolved here). |
| active_models | array | Model IDs participating in this session. |
| moderator_model | stringnull | Null for all new sessions. Historical sessions may carry a value. |
| model_metadata | object | Per-model display metadata, keyed by model ID. |
| created_at | string | ISO 8601 creation timestamp. |
| estimated_ready_at | stringnull | Rough ISO 8601 estimate, present only while `status` is `streaming` or `processing`. Null otherwise. |
| total_usage | object | |
| total_cost_usd | number | Ledger cost (USD) for the entire session across every billable bucket — deliberation, moderator, round Takeaway, snippet extraction, editorial, search. Markup-EXCLUSIVE, so distinct from wallet debits |
| improvement_consent | object | |
| dataset_consent | object | |
| rounds | array | Round objects in index order. Closing rounds are excluded. |
| summary | object | Session-level editorial. Only populated for completed multi-round legacy sessions; null otherwise. Legacy or malformed stored blobs pass through unmodified, so treat the shape defensively. |
| summary_stale | boolean | True when rounds have been appended since `summary` was generated. |
| session_synthesis | objectnull | Session-level synthesis artifact. Generation is FROZEN platform-wide, so this is always `null` for new sessions; the field survives only so legacy sessions synthesized before the freeze still read bac |
| confidence_disclaimer | string | Verbatim advisory string. Self-reported confidence scores are only meaningful relative to the same model's other claims and are NOT calibrated across models — surface this alongside any score you disp |
| share_url | stringnull | Public reader-deck URL (`https://mumo.chat/p/{slug}`) when an active share exists, else null. Read parity for `POST /api/sessions/{id}/share` — re-find an existing link without re-sharing. |
| share_status | stringnull | `shared` (link-access only, not indexed), `published` (platform-listable), or null (never shared, or share removed). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/mumo-chat/json-schema/mumo-chat-session-schema.json",
"title": "Session",
"description": "The full session object. Two state machines surface here: session-level `status` (the rollup to switch on in polling loops) and per-round `completion_state` (the canonical 'is this round usable yet?' check). A session can be `processing` while its latest round is already `complete`.",
"x-generated": "2026-11-18",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/mumo-chat-openapi.yml#/components/schemas/Session",
"type": "object",
"required": [
"id",
"status",
"mode",
"source",
"moderator_name",
"application",
"initial_prompt",
"active_models",
"moderator_model",
"model_metadata",
"created_at",
"estimated_ready_at",
"total_usage",
"total_cost_usd",
"improvement_consent",
"dataset_consent",
"rounds",
"summary",
"summary_stale",
"session_synthesis",
"confidence_disclaimer",
"share_url",
"share_status"
],
"properties": {
"id": {
"type": "string",
"description": "Session UUID."
},
"status": {
"type": "string",
"enum": [
"streaming",
"processing",
"ready",
"failed"
],
"description": "streaming — at least one model in the most recent round is responding. processing — all responses landed, post-processing (snippet extraction, claim map, optional Takeaway) is in flight. ready — fully complete; safe to append or read final artifacts. failed — terminal error."
},
"mode": {
"type": "string",
"enum": [
"remote",
"autonomous"
],
"description": "`remote` for every session created through this API. Historical sessions may report `autonomous`; that mode was retired in 2026-05."
},
"source": {
"type": "string",
"enum": [
"web",
"api",
"mcp",
"x"
],
"description": "How the session was created. Sessions predating this field default to `web`."
},
"moderator_name": {
"type": [
"string",
"null"
],
"description": "Steering identity display name."
},
"application": {
"type": [
"string",
"null"
],
"description": "Client application display name."
},
"initial_prompt": {
"type": "string",
"description": "The session's opening prompt, as authored (aliases are not resolved here)."
},
"active_models": {
"type": "array",
"items": {
"type": "string"
},
"description": "Model IDs participating in this session."
},
"moderator_model": {
"type": [
"string",
"null"
],
"description": "Null for all new sessions. Historical sessions may carry a value."
},
"model_metadata": {
"type": "object",
"description": "Per-model display metadata, keyed by model ID.",
"additionalProperties": {
"$ref": "#/$defs/ModelMetadata"
}
},
"created_at": {
"type": "string",
"description": "ISO 8601 creation timestamp."
},
"estimated_ready_at": {
"type": [
"string",
"null"
],
"description": "Rough ISO 8601 estimate, present only while `status` is `streaming` or `processing`. Null otherwise."
},
"total_usage": {
"$ref": "#/$defs/TokenUsage"
},
"total_cost_usd": {
"type": "number",
"description": "Ledger cost (USD) for the entire session across every billable bucket — deliberation, moderator, round Takeaway, snippet extraction, editorial, search. Markup-EXCLUSIVE, so distinct from wallet debits. `0` for sessions with no ledger rows yet."
},
"improvement_consent": {
"$ref": "#/$defs/ImprovementConsent"
},
"dataset_consent": {
"$ref": "#/$defs/DatasetConsent"
},
"rounds": {
"type": "array",
"items": {
"$ref": "#/$defs/Round"
},
"description": "Round objects in index order. Closing rounds are excluded."
},
"summary": {
"oneOf": [
{
"$ref": "#/$defs/SessionSummary"
},
{
"type": "null"
}
],
"description": "Session-level editorial. Only populated for completed multi-round legacy sessions; null otherwise. Legacy or malformed stored blobs pass through unmodified, so treat the shape defensively."
},
"summary_stale": {
"type": "boolean",
"description": "True when rounds have been appended since `summary` was generated."
},
"session_synthesis": {
"type": [
"object",
"null"
],
"additionalProperties": true,
"description": "Session-level synthesis artifact. Generation is FROZEN platform-wide, so this is always `null` for new sessions; the field survives only so legacy sessions synthesized before the freeze still read back."
},
"confidence_disclaimer": {
"type": "string",
"description": "Verbatim advisory string. Self-reported confidence scores are only meaningful relative to the same model's other claims and are NOT calibrated across models — surface this alongside any score you display."
},
"share_url": {
"type": [
"string",
"null"
],
"description": "Public reader-deck URL (`https://mumo.chat/p/{slug}`) when an active share exists, else null. Read parity for `POST /api/sessions/{id}/share` — re-find an existing link without re-sharing."
},
"share_status": {
"type": [
"string",
"null"
],
"enum": [
"shared",
"published",
null
],
"description": "`shared` (link-access only, not indexed), `published` (platform-listable), or null (never shared, or share removed)."
}
},
"$defs": {
"AttributedQuote": {
"type": "object",
"required": [
"text",
"model"
],
"properties": {
"text": {
"type": "string"
},
"model": {
"type": "string",
"description": "Model ID that authored the quote."
}
}
},
"Claim": {
"type": "object",
"description": "A verbatim claim other participants reacted to. A `position` can also be the moderator (`model: \"moderator\"`) when a later round's moderator snippet reacts to this round's content — which means a claim may exist with fewer than two MODEL positions.",
"required": [
"id",
"quote",
"originator",
"positions",
"reaction_count"
],
"properties": {
"id": {
"type": "string",
"description": "Stable claim id. Round takeaways cite claims by id, so this is how you resolve `claim_ids` against the map shipped in the same response."
},
"quote": {
"type": "string",
"description": "The verbatim claim text."
},
"originator": {
"type": [
"string",
"null"
],
"description": "Model ID that authored the claim."
},
"positions": {
"type": "array",
"items": {
"$ref": "#/$defs/ClaimPosition"
}
},
"reaction_count": {
"type": "integer"
}
}
},
"ClaimConfidence": {
"type": "object",
"required": [
"claim_text",
"confidence_score"
],
"properties": {
"claim_text": {
"type": "string",
"description": "The verbatim substring the model tagged in its own prose."
},
"confidence_score": {
"type": "number",
"description": "Self-reported, 0–1. Only meaningful relative to that model's other claims; NOT calibrated across models."
}
}
},
"ClaimMap": {
"type": "object",
"required": [
"claims"
],
"properties": {
"claims": {
"type": "array",
"items": {
"$ref": "#/$defs/Claim"
}
}
}
},
"ClaimPosition": {
"type": "object",
"required": [
"model",
"type",
"comment"
],
"properties": {
"model": {
"type": "string",
"description": "The reacting model's ID, or `moderator` for a moderator reaction."
},
"type": {
"type": "string",
"enum": [
"KEEP",
"EXPLORE",
"CHALLENGE",
"CORE",
"SHIFT"
]
},
"comment": {
"type": [
"string",
"null"
]
}
}
},
"DatasetConsent": {
"type": "object",
"description": "The Dataset Contribution decision stamped on this session at creation — the second consent election. Narrowing-only, like `ImprovementConsent`, minus `disclosure` (no per-session disclosure text exists for it). `enabled` is the CREATION-TIME stamp and is immutable: it records what the session was created under, not whether the session is eligible today — eligibility also requires the account's current Dataset Contribution switch to be on, so a session stamped `true` stops being eligible the moment the account opts out, while this field keeps reporting `true`.",
"required": [
"enabled",
"reason",
"requested"
],
"properties": {
"enabled": {
"type": "boolean"
},
"reason": {
"type": "string",
"description": "Why the decision resolved as it did: `account_default`, `explicit_include`, `explicit_exclude`, `not_yet_chosen` (the account has not made the forced choice — the session is excluded whatever was requested), `guest_excluded`, or `pre_election` for sessions created before the election existed."
},
"requested": {
"type": [
"boolean",
"null"
],
"description": "What the caller explicitly asked for via `dataset_consent`, or null when they omitted it."
}
}
},
"FailedModel": {
"type": "object",
"description": "Error attribution for one model that terminated without a usable response.",
"required": [
"model",
"error",
"message",
"error_code",
"output_cap"
],
"properties": {
"model": {
"type": "string"
},
"error": {
"type": "string",
"description": "Free-text error description. Stable but NOT safe to pattern-match — branch on `error_code`."
},
"message": {
"type": "string",
"description": "Human-readable error message."
},
"error_code": {
"type": [
"string",
"null"
],
"description": "Canonical per-model failure code. Transient / retry-eligible: `rate_limit`, `provider_error`, `internal_deadline_reached`, `deadline_expired`, `stream_interrupted`, `stream_ended_without_final_marker`, `empty_completion`. Abandon or escalate: `pre_stream_provider_error`, `provider_auth_failure`, `pre_stream_failure`, `max_retries_exceeded`, `canceled`, `provider_refusal`, `credit_exhausted`. `provider_refusal`: the model provider's safety system declined the request; do not retry or rephrase automatically — surface it to the user. `credit_exhausted`: the remaining credit could not cover this model when it was about to run, so it was skipped (no provider call, no charge); re-running before the balance changes is refused again. A refusal dominates: a failed round with any `provider_refusal` or `credit_exhausted` is abandon, even alongside a transient code. Null on legacy rows."
},
"output_cap": {
"oneOf": [
{
"$ref": "#/$defs/OutputCap"
},
{
"type": "null"
}
],
"description": "Set when a platform cap bound this call's output length (a call the cap left with no usable text lands here); null otherwise. Always present."
},
"attempt": {
"type": "integer",
"description": "Ordinal of the failed current attempt — echo it back as `expected_attempt` if you drive a retry."
},
"partial_text": {
"type": "string",
"description": "Bytes the failed stream emitted before terminating. Present only when the error row preserved them; sometimes usable as a partial answer."
},
"partial_text_length": {
"type": "integer",
"description": "Character count of `partial_text`, present when that field is."
}
}
},
"ImprovementConsent": {
"type": "object",
"description": "The resolved platform-improvement decision for this session.",
"required": [
"enabled",
"reason",
"requested",
"disclosure"
],
"properties": {
"enabled": {
"type": "boolean"
},
"reason": {
"type": "string",
"description": "Why the decision resolved as it did. Sessions created before this field shipped report `default_include`."
},
"requested": {
"type": [
"boolean",
"null"
],
"description": "What the caller explicitly asked for, or null when they omitted it."
},
"disclosure": {
"type": [
"string",
"null"
]
}
}
},
"InProgressModel": {
"type": "object",
"description": "A target model still working on this round. Not a failure — render separately.",
"required": [
"model",
"state",
"deadline_at"
],
"properties": {
"model": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"queued",
"streaming",
"absent"
],
"description": "queued — the row exists but the provider call has not started. streaming — at least one delta observed, no terminal yet. absent — the row is expected but does not exist yet (rare; a backstop window or a race against pre-insert)."
},
"deadline_at": {
"type": [
"string",
"null"
],
"description": "ISO 8601 timestamp at which the sweep cron writes a terminal error if the row has not transitioned. Null on legacy rows."
}
}
},
"ModelMetadata": {
"type": "object",
"required": [
"display_name",
"provider"
],
"properties": {
"display_name": {
"type": "string"
},
"provider": {
"type": "string",
"description": "Model family, e.g. `anthropic`, `openai`."
}
}
},
"ModelResponse": {
"type": "object",
"description": "One model's successful answer for a round.",
"required": [
"model",
"text",
"usage",
"cost",
"snippets",
"claim_confidence",
"is_partial",
"finish_reason",
"output_cap"
],
"properties": {
"model": {
"type": "string",
"description": "Model ID."
},
"text": {
"type": "string",
"description": "Raw prose, with session aliases resolved."
},
"usage": {
"$ref": "#/$defs/TokenUsage"
},
"cost": {
"type": "object",
"required": [
"usd"
],
"properties": {
"usd": {
"type": [
"number",
"null"
],
"description": "Estimated cost for this response. Null when the model is not priced in the registry — treat as unknown, not zero."
}
}
},
"snippets": {
"type": "array",
"items": {
"$ref": "#/$defs/Snippet"
},
"description": "Model-emitted reactions to peers: typed buckets with verbatim quotes and optional commentary."
},
"claim_confidence": {
"type": "array",
"items": {
"$ref": "#/$defs/ClaimConfidence"
},
"description": "Per-claim self-reported confidence extracted from the prose. Surface `confidence_disclaimer` alongside any score you display."
},
"is_partial": {
"type": "boolean",
"description": "True when the response is a successful-but-truncated stream — the model produced output and the call completed, but the provider signaled truncation via `finish_reason`. Treat the text as a partial answer."
},
"finish_reason": {
"type": [
"string",
"null"
],
"description": "Provider-native stop reason, surfaced as-is rather than normalized (Anthropic: end_turn / max_tokens / stop_sequence; OpenAI: stop / length / content_filter; Gemini: STOP / MAX_TOKENS / SAFETY). Null when the stream did not complete naturally. The refusal values (`refusal`, `content_filter`, `SAFETY`, `PROHIBITED_CONTENT`, `BLOCKLIST`, `SPII`, `IMAGE_SAFETY`) mean the provider's safety system stopped the output partway; `is_partial` stays false. Do not retry or rephrase automatically — surface it to the user."
},
"output_cap": {
"oneOf": [
{
"$ref": "#/$defs/OutputCap"
},
{
"type": "null"
}
],
"description": "Set when a platform cap bound this call's output length; null otherwise. Always present. Pairs with `is_partial` / `finish_reason`: a truncated response with a non-null `output_cap` was cut by the platform cap, not the model's own limit."
},
"attempt": {
"type": "integer",
"description": "Current-attempt ordinal — 0 for the original response, N>0 when a successful retry replaced it."
}
}
},
"OutputCap": {
"type": "object",
"description": "A platform cap that bound a model call's output length. `guest`: the guest output limit. `balance`: the caller's remaining credit bounded the output — top up or wait for the credit reset rather than retrying.",
"required": [
"tokens",
"reason"
],
"properties": {
"tokens": {
"type": "integer",
"description": "The output-token ceiling the cap imposed on the call."
},
"reason": {
"type": "string",
"enum": [
"guest",
"balance"
],
"description": "Which cap bound the call."
}
}
},
"Round": {
"type": "object",
"description": "One round of the deliberation, in the serialized (contract-stable) shape. `responses[]` is success-only; errored models are attributed in `failed_models[]` and still-working models in `in_progress_models[]`.",
"required": [
"id",
"index",
"prompt",
"completion_state",
"responses",
"failed_models",
"in_progress_models",
"claim_map",
"post_round_status",
"claim_map_url",
"round_takeaway",
"cost_usd"
],
"properties": {
"id": {
"type": "string",
"description": "Round UUID."
},
"index": {
"type": "integer",
"description": "Zero-based round index."
},
"prompt": {
"type": "string",
"description": "The prompt sent for this round, as authored."
},
"completion_state": {
"type": "string",
"enum": [
"complete",
"partial_failure",
"failed",
"in_progress"
],
"description": "complete — every target model produced a final response. partial_failure — all target models are terminal, at least one final AND at least one errored; the round is usable but degraded. failed — all terminal, zero finals; no usable output. in_progress — at least one target model is still queued, streaming, or expected-but-absent; keep polling."
},
"responses": {
"type": "array",
"items": {
"$ref": "#/$defs/ModelResponse"
}
},
"failed_models": {
"type": "array",
"items": {
"$ref": "#/$defs/FailedModel"
}
},
"in_progress_models": {
"type": "array",
"items": {
"$ref": "#/$defs/InProgressModel"
},
"description": "Empty when every target model has reached a terminal state."
},
"claim_map": {
"oneOf": [
{
"$ref": "#/$defs/ClaimMap"
},
{
"type": "null"
}
],
"description": "Verbatim claims and each reactor's position. The highest-signal artifact for understanding agreement and disagreement. Null when no claims were extracted — `post_round_status` says why."
},
"post_round_status": {
"type": "string",
"enum": [
"pending",
"ready",
"no_claims",
"failed",
"skipped_balance"
],
"description": "The state of the round's reactions step (reactions → claim map → takeaway), so a null `claim_map` is never ambiguous. pending — still being generated (or the responses are still running); keep polling. ready — `claim_map` has claims. no_claims — reactions finished with nothing to map (typical for a one-model round), or the round has no reactions step. failed — the claim map failed permanently. skipped_balance — The reactions and the takeaway (if requested) were skipped because the account's balance could not cover them; the account owner can generate them from the web app after adding credit. `claim_map` and `round_takeaway` stay null."
},
"claim_map_url": {
"type": "string",
"description": "Browser URL for this round's claim map (`https://mumo.chat/cm/{round_id}`). Auth-gated and owner-only: it requires signing in with the mumo account that owns the API key. Always present — agents should surface it to the human at the end of their summary."
},
"round_takeaway": {
"oneOf": [
{
"$ref": "#/$defs/RoundTakeaway"
},
{
"type": "null"
}
],
"description": "The sole per-round summary artifact, for every source. Populated for rounds that opted in via `takeaway: true` once generation completes; null when not requested, still in flight, or stored in a pre-cutover shape."
},
"cost_usd": {
"type": "number",
"description": "Ledger cost (USD) attributed to this round — same source and markup-exclusive semantics as `total_cost_usd`. May be `0` or incomplete during an in-flight round because ledger rows settle as calls finish. `sum(rounds[].cost_usd) <= total_cost_usd`; session-scoped buckets roll up only into the session total."
}
}
},
"RoundTakeaway": {
"type": "object",
"description": "Structured per-round summary, generated when the round opted in via `takeaway: true`.",
"required": [
"version",
"bottom_line",
"items"
],
"properties": {
"version": {
"type": "string",
"enum": [
"2"
]
},
"bottom_line": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "#/$defs/TakeawayItem"
}
}
}
},
"SessionSummary": {
"type": "object",
"description": "Session-level editorial, only populated for completed multi-round legacy sessions.",
"required": [
"covers_rounds",
"title",
"description",
"editorial",
"generated_at"
],
"properties": {
"covers_rounds": {
"type": "array",
"items": {
"type": "integer"
},
"minItems": 2,
"maxItems": 2,
"description": "Inclusive [first, last] round index range this summary covers."
},
"title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"editorial": {
"type": "object",
"required": [
"surface",
"agreed",
"split",
"open"
],
"properties": {
"surface": {
"type": "string"
},
"agreed": {
"type": "string"
},
"split": {
"type": "string"
},
"open": {
"type": "string"
}
}
},
"anchor_quote": {
"oneOf": [
{
"$ref": "#/$defs/AttributedQuote"
},
{
"type": "null"
}
]
},
"og_quote": {
"oneOf": [
{
"$ref": "#/$defs/AttributedQuote"
},
{
"type": "null"
}
]
},
"generated_at": {
"type": "string",
"description": "ISO 8601 generation timestamp."
}
}
},
"Snippet": {
"type": "object",
"required": [
"type",
"quote",
"quoted_model",
"comment",
"comment_confidence"
],
"properties": {
"type": {
"type": "string",
"enum": [
"KEEP",
"EXPLORE",
"CHALLENGE",
"CORE",
"SHIFT"
],
"description": "Always uppercase at the API boundary."
},
"quote": {
"type": "string",
"description": "Verbatim quote from a peer's response."
},
"quoted_model": {
"type": [
"string",
"null"
],
"description": "Model ID that authored the quote."
},
"comment": {
"type": [
"string",
"null"
],
"description": "The reacting model's commentary."
},
"comment_confidence": {
"type": [
"number",
"null"
],
"description": "Self-reported confidence (0–1) for `comment`. Null when absent."
}
}
},
"TakeawayItem": {
"type": "object",
"required": [
"question",
"answer",
"consensus",
"claim_ids"
],
"properties": {
"question": {
"type": "string"
},
"answer": {
"type": "string",
"description": "Leads with the direct answer."
},
"consensus": {
"type": "string",
"enum": [
"unanimous",
"majority",
"contested",
"unresolved"
],
"description": "Server-derived and frozen at generation time — never recomputed from live policy. Subordinate metadata, not a verdict badge."
},
"claim_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Impact-ordered claim ids cited by `answer`, resolvable against the same round's `claim_map`. Empty when the answer cites none."
}
}
},
"TokenUsage": {
"type": "object",
"description": "Aggregated token counts. `tokens_cached` and `tokens_cache_write` are omitted entirely on per-response usage when the provider does not report them.",
"required": [
"tokens_in",
"tokens_out"
],
"properties": {
"tokens_in": {
"type": "integer"
},
"tokens_out": {
"type": "integer"
},
"tokens_cached": {
"type": [
"integer",
"null"
],
"description": "Cached prompt-read tokens — a subset of `tokens_in` that already received the cache discount. Not reported by every provider."
},
"tokens_cache_write": {
"type": [
"integer",
"null"
],
"description": "Tokens spent writing new cache entries. Reported only where cache writes bill."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/mumo-chat-session"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.