Kothai

Notes

Create, list, update, and delete notes.

POST /api/save

{ "text": "https://example.com" }

Prop

Type

Response:

{ "note": { "id": "...", "type": "link", "pending": true } }

Returns immediately. Enrichment runs in the background.

pending stays true until the note's labelling pass has run. For an Instagram post that pass waits for its caption fetch, which runs on a throttled lane, so a large import's posts stay pending until that lane reaches them.

GET /api/notes

Prop

Type

GET /api/notes/delta

Prop

Type

Returns notes changed since since. If resync: true in response, refetch everything.

Other endpoints

EndpointDescription
GET /api/notes/:idSingle note by id
PATCH /api/notes/:idUpdate { tags?, title?, mindNote? }
DELETE /api/notes/:idDelete note

Last updated on

On this page