Migrate from Note Generation v1
UsePOST /v2/notes to generate notes with Note Generation v2:
For accounts enabled for Note Generation v2, GET and DELETE work across both
versions. Notes created through either version can be retrieved or deleted
through either version using the same
noteId.
Send your existing Note Generation v1 request body and X-Account-Id and X-Api-Key headers
unchanged.
Lifecycle
POST /v2/notesvalidates and accepts the job.- Store the returned
noteId. - Poll
GET /v2/notes/{noteId}untilstatusisSTATUS_DONEorSTATUS_ERROR. - Read the note from
payload.markdownand, when requested, structured output frompayload.json. - Optionally delete the resource with
DELETE /v2/notes/{noteId}.
TypeScript SDK
Python SDK
Create a note
200):
Request fields
Poll the note
includeJson is enabled and structured output is available,
data.payload.json is a JSON object. A failed job remains retrievable with
status: "STATUS_ERROR".
Poll every 1–2 seconds until STATUS_DONE or STATUS_ERROR.
Delete a note
200) contains
data.message: "Note deleted successfully".