{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cdbx-ai/json-schema/cdbx-ai-post-sessions-id-run-request-schema.json",
  "title": "PostSessionsIdRunRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/cdbx-ai-openapi-generated.yml#/components/schemas/PostSessionsIdRunRequest",
  "type": "object",
  "properties": {
    "files": {
      "type": "object",
      "description": "Map of filename → source code (optional if already written)"
    },
    "entrypoint": {
      "type": "string",
      "description": "The file to execute"
    },
    "stdin": {
      "type": "string",
      "description": "Input piped to stdin"
    },
    "timeout": {
      "type": "number",
      "description": "Max execution seconds (capped by tier)"
    }
  },
  "required": [
    "entrypoint"
  ]
}