Overview
Notes provide a collaborative documentation system where agents and users can create, update, and share information. Notes support different types (spec, task, general) and can be organized by workspace and session.Note Types
| Type | Description |
|---|---|
spec | Specification documents |
task | Task-related notes |
general | General purpose notes |
List Notes
Endpoint
List notes with optional filters
Query Parameters
Workspace ID (defaults to
"default")Filter by note type:
spec, task, or generalIf provided, returns a single note
Response
Array of note objects (when listing)
Single note object (when querying by noteId)
Note Object
Unique note identifier
Note title
Note content (supports Markdown)
Workspace this note belongs to
Metadata object containing type and custom fields
Note type:
spec, task, or generalAssociated task status (for task notes)
Array of agent IDs assigned to this note
ID of parent note (for hierarchical notes)
ID of linked task
Custom metadata fields
ISO 8601 timestamp of creation
ISO 8601 timestamp of last update
Response Example
Create or Update Note
Endpoint
Create a new note or update an existing one
Request Body
If provided, updates existing note. Otherwise creates new note.
Note title (defaults to “Untitled” for new notes)
Note content (supports Markdown)
Workspace ID
Note type:
spec, task, or general (defaults to general)Additional metadata for the note
Response
The created or updated note object
Response Example
Get Note by Path
Endpoint
Get a note by workspace and note ID
Path Parameters
The workspace ID
The note ID
Response
The note object
Delete Note (Query)
Endpoint
Delete a note using query parameters
Query Parameters
The note ID to delete
Workspace ID (defaults to
"default")Response
Always
true when successfulThe deleted note ID
Response Example
Delete Note (Path)
Endpoint
Delete a note using path parameters
Path Parameters
The workspace ID
The note ID to delete
Response
Always
true when successfulThe deleted note ID
Note Events (SSE)
Endpoint
Server-Sent Events (SSE) stream for real-time note change notifications
Query Parameters
Filter events by workspace ID
Event Types
The SSE stream sends events for:- Note created
- Note updated
- Note deleted