{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cdbx-ai/json-schema/cdbx-ai-post-execute-response-schema.json",
  "title": "PostExecuteResponse",
  "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/PostExecuteResponse",
  "type": "object",
  "properties": {
    "stdout": {
      "type": "string",
      "description": "Standard output"
    },
    "stderr": {
      "type": "string",
      "description": "Standard error"
    },
    "exitCode": {
      "type": "integer",
      "description": "Process exit code (0 = success)"
    },
    "duration": {
      "type": "integer",
      "description": "Wall‑clock time in milliseconds"
    },
    "error": {
      "type": "string",
      "description": "Set if the Code Execution API itself failed (not the user code)"
    }
  }
}