Get the state of a project's editor machine
Changed onReports whether the project machine is running, and its machine type. Cheap enough to poll while the machine starts or stops. This is the machine the editor, live-mode runs and hosted Streamlit apps use; detached runs and interactive sessions run on machines of their own, which this endpoint does not report.
Request
- Base URLhttps://api.deepnote.com/v2
- URLhttps://api.deepnote.com/v2/projects/{projectId}/machine
- AuthHTTP bearer
Path parameters
ID of the project whose machine to use.
Response
Current state of the project machine
Example response
{
"machine": {
"status": "running",
"startingPhase": "pulling_image",
"type": {
"id": "fjord",
"name": "CPU (Plus)",
"type": "deepnote",
"vCpus": 4,
"memoryGiB": 16
},
"sandboxEnvironmentId": "deepnote",
"idleShutdownSeconds": 900
}
}Changes
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - info
response property
machine/errorlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200 - info
response property
machine/sandboxEnvironmentIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200
- breaking
- info
added the required property
/to the response with the status
- info