Start a project's editor machine
Changed onStarts the project machine and returns without waiting for it to boot; poll GET /projects/{projectId}/machine until the status is running. Starting a machine that is already starting or running does nothing and succeeds. Running a notebook in live mode starts the machine too. This is the machine the editor, live-mode runs and hosted Streamlit apps use; detached runs and interactive sessions start machines of their own, so there is no need to start this one for them.
Request
- Base URLhttps://api.deepnote.com/v2
- URLhttps://api.deepnote.com/v2/projects/{projectId}/machine/start
- AuthHTTP bearer
Path parameters
ID of the project whose machine to use.
Response
Machine start accepted
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 response202 - info
response property
machine/sandboxEnvironmentIdlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response202
- breaking
- info
added the required property
/to the response with the status
- info