Skip to main content
PATCH
/
notebooks
/
{notebook_id}
Update Notebook
curl --request PATCH \
  --url https://api.example.com/notebooks/{notebook_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "compute_type": "mini-compute",
  "content": {},
  "last_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pipeline_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Api-key
string | null

Path Parameters

notebook_id
string<uuid>
required

Body

application/json
name
string | null
description
string | null
compute_type
enum<string> | null
Available options:
mini-compute,
small-compute,
standard,
high-mem,
t4,
t4x4
content
Content · object
last_session_id
string<uuid> | null
pipeline_id
string<uuid> | null

Response

Successful Response