Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/v1/notebook/health | Health check |
GET | /api/v1/notebook/list | List all notebooks |
GET | /api/v1/notebook/statistics | Get global statistics |
POST | /api/v1/notebook/create | Create a notebook |
GET | /api/v1/notebook/{notebook_id} | Get notebook details |
PUT | /api/v1/notebook/{notebook_id} | Update a notebook |
DELETE | /api/v1/notebook/{notebook_id} | Delete a notebook |
POST | /api/v1/notebook/add_record | Add a record to notebooks |
DELETE | /api/v1/notebook/{notebook_id}/records/{record_id} | Remove a record |
GET /api/v1/notebook/list
List all notebooks with summary information.
Array of notebook summaries.
Total number of notebooks.
GET /api/v1/notebook/statistics
Get aggregate statistics across all notebooks.
POST /api/v1/notebook/create
Create a new notebook.
Request body
Display name for the notebook.
Optional description.
Hex color code for the notebook icon.
Icon name for the notebook.
GET /api/v1/notebook/{notebook_id}
Get full notebook details including all records.
Notebook identifier.
404 if the notebook is not found.
PUT /api/v1/notebook/{notebook_id}
Update notebook metadata. All fields are optional; only supplied fields are updated.
Notebook identifier.
Request body
New display name.
New description.
New hex color code.
New icon name.
404 if the notebook is not found.
DELETE /api/v1/notebook/{notebook_id}
Delete a notebook and all its records.
Notebook identifier.
POST /api/v1/notebook/add_record
Save an AI-generated output to one or more notebooks. This is the primary way to populate notebooks with content for guided learning and idea generation.
Request body
List of notebook IDs to add the record to.
Type of the record. One of:
"solve", "question", "research", "co_writer", "chat".Display title for the record.
The original user question or prompt that produced this output.
The AI-generated output content (Markdown).
Additional metadata to store with the record.
Knowledge base that was used.
DELETE /api/v1/notebook/{notebook_id}/records/{record_id}
Remove a record from a notebook. The record itself is not deleted from other notebooks it may belong to.
Notebook identifier.
Record identifier.
404 if the record is not found in the notebook.