Input Schema
{
"body": {
"notebook": {
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "x = 2 + 3"
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": "print(\"computed\")\nx * 4"
}
],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Python standard-library cells only; no IPython magics, shell commands, interacti…",
"At most ten cells, 8192 source characters per cell and 32768 UTF-8 source bytes …",
"Combined computed text is limited to 16000 UTF-8 bytes; serialized worker result…"
],
"result": {
"executed_code_cells": 2,
"html_base64": "PCFkb2N0eXBlIGh0bWw+PGh0bWwgbGFuZz0iZW4iPjxoZWFkPjxtZXRhIGNoYXJzZXQ9InV0Zi04Ij48…",
"html_mime": "text/html; charset=utf-8",
"limits": {
"computed_text_bytes": 16000,
"max_cells": 10,
"process_memory_bytes": 268435456,
"total_source_bytes": 32768,
"worker_lifetime_ms": 3000
},
"notebook": {
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "cell-1",
"metadata": {},
"outputs": [],
"source": "x = 2 + 3"
},
{
"cell_type": "code",
"execution_count": 2,
"id": "cell-2",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": "computed\n"
},
{
"data": {
"text/plain": "20"
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": "print(\"computed\")\nx * 4"
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.12",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
},
"wall_time_ms": 74
},
"service": "notebook-run",
"status": "success"
},
"type": "json"
}