codai · Schema

Run code result

CompanyArtificial IntelligenceCode GenerationDeveloper ToolsLLM GatewayOpenAI-CompatibleModel RoutingRomania

Properties

Name Type Description
stdout string Text printed to stdout during the cell.
stderr string Text printed to stderr during the cell.
result stringnull repr of the last expression, or null.
error objectnull The uncaught exception, or null.
duration_ms integer Wall-clock milliseconds.
execution_count integer Kernel execution counter.
kernel_restarted boolean True when the kernel was restarted (timeout or crash) and its state is lost.
View JSON Schema on GitHub

JSON Schema

codai-ro-sandbox-run-code-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-sandbox-run-code-result-schema.json",
  "title": "Run code result",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-sandboxes-api-openapi.yml#/components/schemas/SandboxRunCodeResult",
  "type": "object",
  "required": [
    "stdout",
    "stderr",
    "result",
    "error",
    "duration_ms",
    "execution_count",
    "kernel_restarted"
  ],
  "properties": {
    "stdout": {
      "type": "string",
      "description": "Text printed to stdout during the cell."
    },
    "stderr": {
      "type": "string",
      "description": "Text printed to stderr during the cell."
    },
    "result": {
      "type": [
        "string",
        "null"
      ],
      "description": "repr of the last expression, or null."
    },
    "error": {
      "type": [
        "object",
        "null"
      ],
      "description": "The uncaught exception, or null.",
      "required": [
        "name",
        "value",
        "traceback"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "traceback": {
          "type": "string"
        }
      }
    },
    "duration_ms": {
      "type": "integer",
      "description": "Wall-clock milliseconds."
    },
    "execution_count": {
      "type": "integer",
      "description": "Kernel execution counter."
    },
    "kernel_restarted": {
      "type": "boolean",
      "description": "True when the kernel was restarted (timeout or crash) and its state is lost."
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codai-ro-sandbox-run-code-result"
All schemas
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.