{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowra-dev/json-schema/flowra-dev-sandbox-ephemeral-response-dto-schema.json",
  "title": "SandboxEphemeralResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flowra-dev-sandbox-api-openapi.yml#/components/schemas/SandboxEphemeralResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Ephemeral run id"
    },
    "status": {
      "type": "string",
      "enum": [
        "succeeded",
        "failed"
      ],
      "description": "Run outcome"
    },
    "language": {
      "type": "string",
      "description": "Language used for the run"
    },
    "result": {
      "type": "object",
      "description": "Result object when status is succeeded"
    },
    "error": {
      "type": "string",
      "description": "Error message when status is failed"
    },
    "durationMs": {
      "type": "number",
      "description": "Wall-clock duration in milliseconds"
    }
  },
  "required": [
    "id",
    "status",
    "language"
  ]
}