xhostd · Schema

RuntimeLogResponse

Status facts + the command's own output. ``exit_code`` is the LOGGED CONTAINER's; ``command_exit_code`` is the query command's (``None`` when no command ran, or when the sandbox was killed at the timeout). ``running_index`` is the index of the running container, whatever index this reply shows, and is ``None`` when nothing runs. ``source`` is ``central`` when the channel's cell could not answer and the reply comes from the container catalogue and the central log store (design/LOGS.md, "The read path"). Such a reply never shows a running container, and its ``status`` is ``unknown`` when the store holds no stop line for the container. ``truncated_head`` is set only on a central reply that ran a command: true when the read kept the newest lines alone, because a central read keeps at most 200,000 lines or 64 MiB. ``central_short`` is set only on a central reply that ran a command and found a stop line with the archive's line count: true when the store held fewer of the container's lines than the cell's archive recorded (``fallback.central_short``). ``service`` names the service that started the replied container, from the catalogue, or is ``None``.

HostingArtificial IntelligenceCloudDeveloper ToolsPlatform

Properties

Name Type Description
container_index integer
container_id string
container_name string
running boolean
source string
status string
exit_code object
oom_killed object
restart_count object
started_at object
finished_at object
available_indices array
running_index object
log_bytes integer
output string
command_exit_code object
timed_out boolean
truncated boolean
truncated_head object
central_short object
service object
View JSON Schema on GitHub

JSON Schema

xhostd-com-runtime-log-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xhostd-com/json-schema/xhostd-com-runtime-log-response-schema.json",
  "title": "RuntimeLogResponse",
  "description": "Status facts + the command's own output.\n\n``exit_code`` is the LOGGED CONTAINER's; ``command_exit_code`` is\nthe query command's (``None`` when no command ran, or when the\nsandbox was killed at the timeout). ``running_index`` is the index\nof the running container, whatever index this reply shows, and is\n``None`` when nothing runs.\n\n``source`` is ``central`` when the channel's cell could not answer\nand the reply comes from the container catalogue and the central log\nstore (design/LOGS.md, \"The read path\"). Such a reply never shows a\nrunning container, and its ``status`` is ``unknown`` when the store\nholds no stop line for the container. ``truncated_head`` is set only\non a central reply that ran a command: true when the read kept the\nnewest lines alone, because a central read keeps at most 200,000\nlines or 64 MiB. ``central_short`` is set only on a central reply\nthat ran a command and found a stop line with the archive's line\ncount: true when the store held fewer of the container's lines than\nthe cell's archive recorded (``fallback.central_short``). ``service``\nnames the service that started the replied container, from the\ncatalogue, or is ``None``.",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api.xhostd.com-openapi.json#/components/schemas/RuntimeLogResponse",
  "properties": {
    "container_index": {
      "type": "integer",
      "title": "Container Index"
    },
    "container_id": {
      "type": "string",
      "title": "Container Id"
    },
    "container_name": {
      "type": "string",
      "title": "Container Name"
    },
    "running": {
      "type": "boolean",
      "title": "Running"
    },
    "source": {
      "type": "string",
      "enum": [
        "live",
        "archive",
        "central"
      ],
      "title": "Source"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "exit_code": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Exit Code"
    },
    "oom_killed": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Oom Killed"
    },
    "restart_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Restart Count"
    },
    "started_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Started At"
    },
    "finished_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Finished At"
    },
    "available_indices": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Available Indices"
    },
    "running_index": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Running Index"
    },
    "log_bytes": {
      "type": "integer",
      "title": "Log Bytes"
    },
    "output": {
      "type": "string",
      "title": "Output"
    },
    "command_exit_code": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Command Exit Code"
    },
    "timed_out": {
      "type": "boolean",
      "title": "Timed Out"
    },
    "truncated": {
      "type": "boolean",
      "title": "Truncated"
    },
    "truncated_head": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Truncated Head"
    },
    "central_short": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Central Short"
    },
    "service": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Service"
    }
  },
  "type": "object",
  "required": [
    "container_index",
    "container_id",
    "container_name",
    "running",
    "source",
    "status",
    "exit_code",
    "oom_killed",
    "restart_count",
    "started_at",
    "finished_at",
    "available_indices",
    "running_index",
    "log_bytes",
    "output",
    "command_exit_code",
    "timed_out",
    "truncated"
  ]
}

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/xhostd-com-runtime-log-response"
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.