Skip to content
REST API

Get a generation

GET
/generations/{generationId}

A note or topic generation's result. Its id is the id of the job that made it, and a finished note_generation or topic_generation job's result.generationId. Reading it changes nothing: apply it with POST /generations/{generationId}/apply or discard it with POST /generations/{generationId}/discard.

Required scopes: generation:start or notes:view or copilot:use

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

generationId*string

Generation id, scoped to the key's user.

Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/generations/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "data": {    "id": "7d6c5b4a-3f2e-4d1c-8b0a-9f8e7d6c5b4a",    "noteId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",    "status": "preview",    "markdown": "# Enzymes\n\nEnzymes lower the activation energy of a reaction.",    "createdAt": "2026-01-15T09:30:00.000Z"  }}