Skip to content
Management API Reference

Get a notebook

get/v2/projects/{ref}/notebooks/{id}

OAuth scopes

  • database:read

The fine-grained token must include the following permissions to access this endpoint:

  • project_notebooks_read

Path parameters

  • ref
    Required
    string

    Project ref

  • id
    Required
    string

Response codes

  • 200
  • 401
  • 403
  • 404
  • 429
  • 500

Response (200)

{
"data": {
"type": "notebook",
"id": "lorem",
"attributes": {
"name": "lorem",
"description": "lorem",
"favorite": true,
"inserted_at": "lorem",
"updated_at": "lorem",
"owner": {
"id": 42,
"username": "lorem"
},
"updated_by": {
"id": 42,
"username": "lorem"
},
"content": {
"schema_version": 42,
"cells": [
{
"id": "lorem",
"type": "markdown",
"text": "lorem"
}
]
}
}
}
}