{
  "openapi": "3.1.0",
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "info": {
    "title": "Forever Learning Developer Platform runtime",
    "version": "2026-12-01",
    "description": "Source-observed contract at cb39207304440e09668826877c598cc42dd50eb3. Separate from the shared chat.openapi.json contract. Applies only to the configured Developer Platform public Worker. Runtime code is not a deployment claim. Covers conversation/session/privacy only; console management, billing and operator APIs are outside this document."
  },
  "servers": [
    {
      "url": "/",
      "description": "Resolve against the explicitly configured Developer Platform public Worker origin."
    }
  ],
  "paths": {
    "/v1/chat": {
      "post": {
        "operationId": "developerChat",
        "summary": "Run one governed turn",
        "description": "Starts or continues a governed session. Missing/null/empty session_id opens a new session after any required prior closeout. First-turn greeting and workload limits come from the immutable release. No client model/provider, history, memory or price selectors are accepted.",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "$ref": "#/components/parameters/Idempotency"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Strict JSON, at most 131072 bytes. Content-Encoding is refused.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON data frames over SSE. See StreamEvent and DEVELOPER_RUNTIME.md for ordering, terminal receipt and retry rules.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/StreamEvent"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "chat",
        "x-required-key-scope": "chat"
      }
    },
    "/v1/requests/{request_id}": {
      "get": {
        "operationId": "developerReplay",
        "summary": "Read the original durable turn result",
        "description": "Read-only replay: never invokes another model turn. Committed output preserves original request_id, session_id and commercial receipt. A result may be in_progress or unavailable; neither is success.",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "name": "request_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Replay"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "replay",
        "x-required-key-scope": "chat"
      }
    },
    "/v1/sessions": {
      "get": {
        "operationId": "developerSessions",
        "summary": "List existing sessions",
        "description": "List existing sessions",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionPage"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "list",
        "x-required-key-scope": "sessions:read"
      }
    },
    "/v1/session/status": {
      "get": {
        "operationId": "developerSessionStatus",
        "summary": "Read one existing session",
        "description": "Read one existing session",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "name": "session_id",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionStatus"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "status",
        "x-required-key-scope": "sessions:read"
      }
    },
    "/v1/sessions/{session_id}/history": {
      "get": {
        "operationId": "developerHistory",
        "summary": "Read stored session history",
        "description": "Newest-first history; follow next_cursor for older entries. This read never provisions an end user or dispatches a new turn.",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoryPage"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "history",
        "x-required-key-scope": "sessions:read"
      }
    },
    "/v1/sessions/{session_id}/end": {
      "post": {
        "operationId": "developerEnd",
        "summary": "Run governed session closeout",
        "description": "Run governed session closeout",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "At most 2048 bytes. Retry the same operation_id; this is a governed closeout with a durable final receipt.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON data frames over SSE. See StreamEvent and DEVELOPER_RUNTIME.md for ordering, terminal receipt and retry rules.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/StreamEvent"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "end",
        "x-required-key-scope": "chat"
      }
    },
    "/v1/sessions/{session_id}/discard": {
      "post": {
        "operationId": "developerDiscard",
        "summary": "Discard an existing session",
        "description": "Discard an existing session",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "At most 2048 bytes. Keep this operation_id for every retry; success is returned only after durable completion.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifecycleReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "discard",
        "x-required-key-scope": "chat"
      }
    },
    "/v1/sessions/{session_id}": {
      "delete": {
        "operationId": "developerDelete",
        "summary": "Delete an existing session",
        "description": "Delete an existing session",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "At most 2048 bytes. Keep this operation_id for every retry; success is returned only after durable completion.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifecycleReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "delete",
        "x-required-key-scope": "chat"
      }
    },
    "/v1/data/export": {
      "post": {
        "operationId": "developerExport",
        "summary": "Export stored end-user data",
        "description": "Read-only export. Follow session next_cursor and optional attention.next_cursor independently; complete only when both are null. The same limit applies separately to each page. Raw Attention payloads expire after 24 hours; retained hashes are not raw content. No internal release/provider/financial configuration is exported.",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          },
          {
            "$ref": "#/components/parameters/AttentionCursor"
          }
        ],
        "requestBody": {
          "required": false,
          "description": "Empty body or {} only; operation_id is refused on this public read-only route.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmptyExportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportPage"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "export",
        "x-required-key-scope": "data:export"
      }
    },
    "/v1/data/erase": {
      "post": {
        "operationId": "developerErase",
        "summary": "Erase stored end-user conversation data",
        "description": "Returns completed only after durable regional erasure and control-plane completion. Financial records and required obligations are retained.",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "At most 2048 bytes. Reuse the operation_id on retries.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LifecycleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifecycleReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "erase",
        "x-required-key-scope": "data:erase"
      }
    },
    "/v1/developer/orgs/{orgId}/sandbox/turns": {
      "post": {
        "operationId": "consoleSandboxTurn",
        "summary": "Run an actor-scoped console sandbox turn",
        "description": "Requires verified Clerk session, second factor, current organization/team membership and a permitted test assignment. Sandbox end-user selectors are scoped to the signed-in actor. No synthetic API key is created.",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "At most 32768 bytes. operation_id is the retry intent; use the same ID and original input after interruption.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleTurnRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON data frames over SSE. See StreamEvent and DEVELOPER_RUNTIME.md for ordering, terminal receipt and retry rules.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/StreamEvent"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "sandbox_turn"
      }
    },
    "/v1/developer/orgs/{orgId}/sandbox/requests/{request_id}": {
      "get": {
        "operationId": "consoleSandboxReplay",
        "summary": "Read the original sandbox turn",
        "description": "Read the original sandbox turn",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          },
          {
            "name": "request_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          },
          {
            "$ref": "#/components/parameters/ConsoleAssignment"
          },
          {
            "$ref": "#/components/parameters/ConsoleUser"
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Replay"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "sandbox_replay"
      }
    },
    "/v1/developer/orgs/{orgId}/sandbox/sessions/{session_id}/history": {
      "get": {
        "operationId": "consoleSandboxHistory",
        "summary": "Read sandbox history",
        "description": "Read sandbox history",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          },
          {
            "$ref": "#/components/parameters/ConsoleAssignment"
          },
          {
            "$ref": "#/components/parameters/ConsoleUser"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/Cursor"
          }
        ],
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoryPage"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "sandbox_history"
      }
    },
    "/v1/developer/orgs/{orgId}/sandbox/sessions/{session_id}/end": {
      "post": {
        "operationId": "consoleSandboxEnd",
        "summary": "Run sandbox closeout",
        "description": "Run sandbox closeout",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Keep the original operation_id for retries. At most 32768 bytes.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleSubject"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON data frames over SSE. See StreamEvent and DEVELOPER_RUNTIME.md for ordering, terminal receipt and retry rules.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                },
                "x-event-schema": {
                  "$ref": "#/components/schemas/StreamEvent"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "sandbox_end"
      }
    },
    "/v1/developer/orgs/{orgId}/sandbox/sessions/{session_id}/discard": {
      "post": {
        "operationId": "consoleSandboxDiscard",
        "summary": "Discard a sandbox session",
        "description": "Discard a sandbox session",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          },
          {
            "name": "session_id",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Keep the original operation_id for retries. At most 32768 bytes.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleSubject"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifecycleReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "sandbox_discard"
      }
    },
    "/v1/developer/orgs/{orgId}/data/export": {
      "post": {
        "operationId": "consoleDataExport",
        "summary": "Export authorized end-user data",
        "description": "Requires current privacy authority for this assignment and end user. Collect every page until next_cursor is null before presenting a complete export.",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "operation_id is required for POST correlation only; export is read-only and each page may use a fresh UUID. Pagination belongs in the body.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleExportRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsoleExportPage"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "data_export"
      }
    },
    "/v1/developer/orgs/{orgId}/data/erase": {
      "post": {
        "operationId": "consoleDataErase",
        "summary": "Erase authorized end-user conversation data",
        "description": "Durable erasure; financial records and required obligations are retained. Only completed is a successful receipt.",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Retain the same operation_id and exact selectors across interruption and reload.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleEraseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifecycleReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "data_erase"
      }
    },
    "/v1/developer/orgs/{orgId}/sandbox/enroll": {
      "post": {
        "operationId": "consoleSandboxEnroll",
        "summary": "Enable the qualified staging demo",
        "description": "Owner/Admin with current membership and recent second factor. The server selects the approved immutable demo; no key or deposit is created. Refuses while no qualified demo is published.",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private operation receipt.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DemoEnrollmentReceipt"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "sandbox_enroll",
        "requestBody": {
          "required": true,
          "description": "Keep operation_id and the original body unchanged for retries.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsoleOperationRequest"
              }
            }
          }
        }
      }
    },
    "/v1/developer/orgs/{orgId}/safety-webhook": {
      "get": {
        "operationId": "consoleSafetyWebhook",
        "summary": "Read optional safety webhook settings",
        "description": "Owner/Admin only. Delivery counts contain no conversation text or end-user identity.",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private operation receipt.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SafetyWebhookRead"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "safety_webhook"
      },
      "put": {
        "operationId": "consoleSafetyWebhookConfigure",
        "summary": "Configure optional safety webhook delivery",
        "description": "Owner/Admin with current membership and recent second factor. HTTPS public DNS hostname on port443; no credentials, query, fragment, IP literal or redirects. Signing secret is shown only on initial successful creation/rotation. A replay cannot recover it; secret_unavailable requires explicit rotation. Disable cancels pending deliveries. Delivery is at least once; deduplicate event_id.",
        "tags": [
          "Console runtime"
        ],
        "security": [
          {
            "ClerkSession": []
          }
        ],
        "parameters": [
          {
            "name": "orgId",
            "in": "path",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/ConsoleOperationId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Private operation receipt.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SafetyWebhookReceipt"
                }
              }
            },
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "402": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "413": {
            "$ref": "#/components/responses/Error"
          },
          "415": {
            "$ref": "#/components/responses/Error"
          },
          "422": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "safety_webhook_configure",
        "requestBody": {
          "required": true,
          "description": "Keep operation_id and the original body unchanged for retries.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SafetyWebhookRequest"
              }
            }
          }
        }
      }
    },
    "/v1/attention": {
      "post": {
        "operationId": "developerAttention",
        "summary": "Record between-turn CLUE activity without a tutor reply",
        "description": "Candidate v0.15 capability; disabled until the assigned release and server flags enable it. Existing authenticated session only. Atomic batch acceptance; a 202 receipt does not promise a complete evidence window or durable memory. Retry an identical batch_id/body after an uncertain receipt; changed reuse conflicts. Does not create a chat turn or call a tutor model.",
        "tags": [
          "API-key runtime"
        ],
        "security": [
          {
            "DeveloperKey": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/ExternalUser"
          },
          {
            "$ref": "#/components/parameters/Assignment"
          },
          {
            "$ref": "#/components/parameters/Version"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Strict JSON, at most 131072 bytes; 1–100 events, each at most 4096 bytes. Content-Encoding refused.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AttentionRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted receipt only; identical replay retains the original counts and receipt ID.",
            "headers": {
              "X-Request-Id": {
                "description": "Transport correlation, or the original durable turn ID for chat/replay.",
                "schema": {
                  "$ref": "#/components/schemas/Id"
                }
              },
              "Cache-Control": {
                "schema": {
                  "const": "private, no-store"
                }
              },
              "FL-API-Version": {
                "schema": {
                  "const": "2026-12-01"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttentionReceipt"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Error"
          },
          "403": {
            "$ref": "#/components/responses/Error"
          },
          "409": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          },
          "503": {
            "$ref": "#/components/responses/Error"
          },
          "default": {
            "$ref": "#/components/responses/Error"
          }
        },
        "x-runtime-action": "attention",
        "x-required-key-scope": "chat"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "DeveloperKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Server-held Developer API key. This staging runtime accepts fl_stag_ keys; do not embed keys in browser apps. Key grants, mode, assignment, current status and requested scope are enforced independently."
      },
      "ClerkSession": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Clerk session from the configured instance/authorized party. Second factor is required for all requests; POST requires second-factor age <=10 minutes. Current DB roles and live team membership remain authoritative. Handle DEVELOPER_MFA_REQUIRED and DEVELOPER_STEP_UP_REQUIRED without changing operation_id."
      }
    },
    "parameters": {
      "ExternalUser": {
        "name": "X-User-Id",
        "in": "header",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/ExternalUserId"
        },
        "description": "Your opaque end-user identifier, scoped to this organization and assignment. Leading/trailing whitespace is trimmed."
      },
      "Assignment": {
        "name": "X-Assignment-Id",
        "in": "header",
        "required": false,
        "schema": {
          "$ref": "#/components/schemas/Uuid"
        },
        "description": "Exact granted assignment. Omit only when key resolution can select one unambiguously."
      },
      "Version": {
        "name": "FL-API-Version",
        "in": "header",
        "required": false,
        "schema": {
          "const": "2026-12-01"
        },
        "description": "Omission selects this version; other values are refused."
      },
      "Idempotency": {
        "name": "Idempotency-Key",
        "in": "header",
        "required": false,
        "schema": {
          "type": "string",
          "pattern": "^[\\x21-\\x7e]{1,128}$"
        },
        "description": "Keep the same value and original body for retries. Different input for an existing intent is refused with 422 IDEMPOTENCY_KEY_REUSED. Without it a new durable request ID is allocated."
      },
      "Limit": {
        "name": "limit",
        "in": "query",
        "required": false,
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 100
        }
      },
      "Cursor": {
        "name": "cursor",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 1024
        },
        "description": "Opaque cursor returned by the previous page; never derive it from row IDs."
      },
      "ConsoleAssignment": {
        "name": "assignment_id",
        "in": "query",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Uuid"
        }
      },
      "ConsoleUser": {
        "name": "external_user_id",
        "in": "query",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/ExternalUserId"
        }
      },
      "AttentionCursor": {
        "name": "attention_cursor",
        "in": "query",
        "required": false,
        "description": "Opaque cursor for the independent retained-Attention export chain.",
        "schema": {
          "$ref": "#/components/schemas/Cursor"
        }
      }
    },
    "responses": {
      "Error": {
        "description": "Safe refusal. Code is extensible; no provider details or raw errors.",
        "headers": {
          "Retry-After": {
            "description": "Present on staging preauthentication capacity refusals (429); whole seconds until the current rolling ingress window permits retry. Other authenticated capacity errors may omit it.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 60
            }
          },
          "X-Request-Id": {
            "description": "Transport correlation, or the original durable turn ID for chat/replay.",
            "schema": {
              "$ref": "#/components/schemas/Id"
            }
          },
          "Cache-Control": {
            "schema": {
              "const": "private, no-store"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    },
    "schemas": {
      "Id": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Id"
      },
      "Uuid": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Uuid"
      },
      "ConsoleOperationId": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleOperationId"
      },
      "ExternalUserId": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ExternalUserId"
      },
      "Cursor": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Cursor"
      },
      "Timestamp": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Timestamp"
      },
      "ChatRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ChatRequest"
      },
      "LifecycleRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/LifecycleRequest"
      },
      "EmptyExportRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/EmptyExportRequest"
      },
      "ConsoleSubject": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleSubject"
      },
      "ConsoleTurnRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleTurnRequest"
      },
      "ConsoleExportRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleExportRequest"
      },
      "Error": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Error"
      },
      "Money": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Money"
      },
      "Commercial": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Commercial"
      },
      "SafetyStatus": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SafetyStatus"
      },
      "Part": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Part"
      },
      "ReplayResult": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ReplayResult"
      },
      "CommittedReplay": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/CommittedReplay"
      },
      "PendingReplay": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/PendingReplay"
      },
      "Replay": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Replay"
      },
      "MetadataEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/MetadataEvent"
      },
      "ContentEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ContentEvent"
      },
      "DisplayCompleteEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/DisplayCompleteEvent"
      },
      "SessionEndedEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SessionEndedEvent"
      },
      "ErrorEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ErrorEvent"
      },
      "HistoryItem": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/HistoryItem"
      },
      "Session": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/Session"
      },
      "HistoryPage": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/HistoryPage"
      },
      "SessionPage": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SessionPage"
      },
      "SessionStatus": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SessionStatus"
      },
      "LifecycleReceipt": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/LifecycleReceipt"
      },
      "DoneCommercial": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/DoneCommercial"
      },
      "DoneEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/DoneEvent"
      },
      "StreamEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/StreamEvent"
      },
      "ExportSession": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ExportSession"
      },
      "ExportPage": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ExportPage"
      },
      "ConsoleExportPage": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleExportPage"
      },
      "ConsoleOperationRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleOperationRequest"
      },
      "DemoEnrollmentReceipt": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/DemoEnrollmentReceipt"
      },
      "SafetyWebhook": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SafetyWebhook"
      },
      "SafetyWebhookRead": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SafetyWebhookRead"
      },
      "SafetyWebhookRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SafetyWebhookRequest"
      },
      "SafetyWebhookReceipt": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/SafetyWebhookReceipt"
      },
      "AttentionEvent": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/AttentionEvent"
      },
      "AttentionContext": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/AttentionContext"
      },
      "AttentionRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/AttentionRequest"
      },
      "AttentionReceipt": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/AttentionReceipt"
      },
      "ConsoleEraseRequest": {
        "$ref": "./schemas/developer-runtime.schema.json#/$defs/ConsoleEraseRequest"
      }
    }
  },
  "x-source-commit": "cb39207304440e09668826877c598cc42dd50eb3",
  "x-source-corrections": [
    "88cd82d1"
  ]
}
