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
{
"$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"
]
}
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.