Fetch one note
GET
/v1/note/{id}
const url = 'http://localhost:8090/v1/note/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8090/v1/note/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”The note, with its session and lifecycle
Media typeapplication/json
object
id
required
string
text
required
string
tag
required
string
actor
string
nodeIds
required
Array<string>
at
required
ISO timestamp
string
stale
required
boolean
staleReason
string
sessionId
string
sessionName
string
lifecycleStatus
string
supersedes
Array<string>
supersededBy
Array<string>
Example generated
{ "id": "example", "text": "example", "tag": "example", "actor": "example", "nodeIds": [ "example" ], "at": "example", "stale": true, "staleReason": "example", "sessionId": "example", "sessionName": "example", "lifecycleStatus": "example", "supersedes": [ "example" ], "supersededBy": [ "example" ]}No such note: { error: not_found, message }
