Skip to main content
POST
/
notebooks
Create Notebook
curl --request POST \
  --url https://api.example.com/notebooks/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "compute_type": "mini-compute",
  "last_session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "content": {},
  "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

Body

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

Response

Successful Response