Download OpenAPI specification:
This is the internal API used by the Trilium Notes client application.
Important: This API is primarily intended for internal use by the Trilium client. For external integrations, please use the ETAPI (External Trilium API) instead.
Most endpoints require session-based authentication. You can authenticate using:
/api/login with password/api/login/token| password required | string <password> |
| tokenName | string Optional name for the token |
{- "password": "pa$$word",
- "tokenName": "string"
}{- "authToken": "string"
}| timestamp required | string <date-time> |
| hash required | string HMAC hash of document secret and timestamp |
| syncVersion required | integer |
{- "timestamp": "2019-08-24T14:15:22Z",
- "hash": "string",
- "syncVersion": 0
}{- "instanceId": "string",
- "maxEntityChangeId": "string"
}| noteId required | string 12-character note ID |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
| content required | string |
Array of objects (Attachment) |
{- "content": "string",
- "attachments": [
- {
- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
]
}| noteId required | string 12-character note ID |
{- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
| type required | string (NoteType) Enum: "text" "code" "render" "file" "image" "search" "relationMap" "book" "noteMap" "mermaid" "canvas" "webView" "launcher" "doc" "contentWidget" "mindMap" "geoMap" |
| mime required | string |
{- "type": "text",
- "mime": "string"
}| parentNoteId required | string |
| target | string Enum: "after" "into" |
| targetBranchId | string |
| title required | string |
| content | string |
| type required | string (NoteType) Enum: "text" "code" "render" "file" "image" "search" "relationMap" "book" "noteMap" "mermaid" "canvas" "webView" "launcher" "doc" "contentWidget" "mindMap" "geoMap" |
| mime | string |
| isProtected | boolean |
| isExpanded | boolean |
| notePosition | integer |
| prefix | string |
| parentNoteId | string |
| templateNoteId | string |
{- "title": "string",
- "content": "string",
- "type": "text",
- "mime": "string",
- "isProtected": true,
- "isExpanded": true,
- "notePosition": 0,
- "prefix": "string",
- "parentNoteId": "string",
- "templateNoteId": "string"
}{- "note": {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}, - "branch": {
- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}
}| noteId required | string 12-character note ID |
| parentNoteId required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
{- "revisionId": "string",
- "noteId": "string",
- "title": "string",
- "type": "text",
- "mime": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
| sortBy | string Enum: "title" "dateCreated" "dateModified" |
| sortDirection | string Enum: "asc" "desc" |
| foldersFirst | boolean |
| sortNatural | boolean |
| sortLocale | string |
{- "sortBy": "title",
- "sortDirection": "asc",
- "foldersFirst": true,
- "sortNatural": true,
- "sortLocale": "string"
}| noteId required | string 12-character note ID |
{- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
| parentBranchId required | string |
{- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}| noteId required | string 12-character note ID |
| parentNoteId required | string |
{- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}| noteId required | string 12-character note ID |
| afterBranchId required | string |
{- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}| attachmentId required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| revisionId required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| action | string |
| noteIds | Array of strings |
{- "action": "string",
- "noteIds": [
- "string"
]
}{- "count": 0
}| branchIdsToDelete | Array of strings |
| deleteAllClones | boolean |
{- "branchIdsToDelete": [
- "string"
], - "deleteAllClones": true
}{- "notesToDelete": [
- "string"
]
}| parentNoteId required | string |
| target | string Enum: "after" "into" |
| targetBranchId | string |
| title required | string |
| content | string |
| type required | string (NoteType) Enum: "text" "code" "render" "file" "image" "search" "relationMap" "book" "noteMap" "mermaid" "canvas" "webView" "launcher" "doc" "contentWidget" "mindMap" "geoMap" |
| mime | string |
| isProtected | boolean |
| isExpanded | boolean |
| notePosition | integer |
| prefix | string |
| parentNoteId | string |
| templateNoteId | string |
{- "title": "string",
- "content": "string",
- "type": "text",
- "mime": "string",
- "isProtected": true,
- "isExpanded": true,
- "notePosition": 0,
- "prefix": "string",
- "parentNoteId": "string",
- "templateNoteId": "string"
}{- "note": {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}, - "branch": {
- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}
}| noteId required | string 12-character note ID |
| parentNoteId required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
| sortBy | string Enum: "title" "dateCreated" "dateModified" |
| sortDirection | string Enum: "asc" "desc" |
| foldersFirst | boolean |
| sortNatural | boolean |
| sortLocale | string |
{- "sortBy": "title",
- "sortDirection": "asc",
- "foldersFirst": true,
- "sortNatural": true,
- "sortLocale": "string"
}| subTreeNoteId | string Limit tree to this note and descendants |
{- "notes": [
- {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
], - "branches": [
- {
- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}
], - "attributes": [
- {
- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}
]
}| noteIds required | Array of strings |
{- "noteIds": [
- "string"
]
}{- "notes": [
- {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
], - "branches": [
- {
- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}
], - "attributes": [
- {
- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}
]
}| noteId required | string 12-character note ID |
| parentBranchId required | string |
{- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}| noteId required | string 12-character note ID |
| parentNoteId required | string |
{- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}| noteId required | string 12-character note ID |
| afterBranchId required | string |
{- "branchId": "string",
- "noteId": "string",
- "parentNoteId": "string",
- "notePosition": 0,
- "prefix": "string",
- "isExpanded": true
}| noteId required | string 12-character note ID |
[- {
- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}
]| noteId required | string 12-character note ID |
| attributeId required | string |
| noteId required | string |
| type required | string Enum: "label" "relation" |
| name required | string |
| value required | string |
| position | integer |
| isInheritable | boolean |
{- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}{- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}| noteId required | string 12-character note ID |
| attributeId required | string |
| noteId required | string |
| type required | string Enum: "label" "relation" |
| name required | string |
| value required | string |
| position | integer |
| isInheritable | boolean |
[- {
- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}
]| noteId required | string 12-character note ID |
| attributeId required | string |
| noteId required | string |
| type required | string Enum: "label" "relation" |
| name required | string |
| value required | string |
| position | integer |
| isInheritable | boolean |
{- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}| noteId required | string 12-character note ID |
| type required | string Enum: "label" "relation" |
| name required | string |
| value required | string |
{- "type": "label",
- "name": "string",
- "value": "string"
}| noteId required | string 12-character note ID |
{- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
[- {
- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
]| noteId required | string 12-character note ID |
| matchBy | string Enum: "attachmentId" "title" |
| attachmentId required | string |
| ownerId required | string |
| role required | string Enum: "image" "file" |
| mime required | string |
| title required | string |
| blobId | string |
| dateModified | string <date-time> |
| utcDateModified | string <date-time> |
{- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}{- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
| upload | string <binary> |
{- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| attachmentId required | string |
{- "attachmentId": "string",
- "ownerId": "string",
- "role": "image",
- "mime": "string",
- "title": "string",
- "blobId": "string",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| attachmentId required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| attachmentId required | string |
{- "attachmentId": "string",
- "title": "string",
- "mime": "string",
- "isProtected": true,
- "position": 0,
- "contentLength": 0,
- "ownerId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
{- "revisionId": "string",
- "noteId": "string",
- "title": "string",
- "type": "text",
- "mime": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
[- {
- "revisionId": "string",
- "noteId": "string",
- "title": "string",
- "type": "text",
- "mime": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z"
}
]| revisionId required | string |
{- "revisionId": "string",
- "noteId": "string",
- "title": "string",
- "type": "text",
- "mime": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z"
}| revisionId required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| date required | string <date> Example: 2024-01-15 |
[- {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
]| attributeId required | string |
| noteId required | string |
| type required | string Enum: "label" "relation" |
| name required | string |
| value required | string |
| position | integer |
| isInheritable | boolean |
{- "attributeId": "string",
- "noteId": "string",
- "type": "label",
- "name": "string",
- "value": "string",
- "position": 0,
- "isInheritable": true
}[- {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
][- {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
]{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| parentNoteId required | string |
| upload | string <binary> |
| safeImport | boolean |
| shrinkImages | boolean |
| textImportedAsText | boolean |
| codeImportedAsCode | boolean |
| explodeArchives | boolean |
| replaceUnderscoresWithSpaces | boolean |
{- "noteId": "string",
- "note": {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
}| timestamp required | string <date-time> |
| hash required | string HMAC hash of document secret and timestamp |
| syncVersion required | integer |
{- "timestamp": "2019-08-24T14:15:22Z",
- "hash": "string",
- "syncVersion": 0
}{- "instanceId": "string",
- "maxEntityChangeId": "string"
}| instanceId required | string |
| lastEntityChangeId required | integer |
| logMarkerId required | string |
{- "entityChanges": [
- {
- "entityChange": {
- "entityName": "string",
- "changeId": "string"
}, - "entity": { }
}
], - "lastEntityChangeId": 0,
- "outstandingPullCount": 0
}| logMarkerId required | string |
| pageCount required | integer |
| pageIndex required | integer |
| requestId | string |
| instanceId | string |
Array of objects (EntityChange) |
{- "instanceId": "string",
- "entities": [
- {
- "entityChange": {
- "entityName": "string",
- "changeId": "string"
}, - "entity": { }
}
]
}| script required | string |
| params | Array of strings |
| startNoteId | string |
| currentNoteId | string |
| originEntityName | string |
| originEntityId | string |
| transactional | boolean |
{- "script": "string",
- "params": [
- "string"
], - "startNoteId": "string",
- "currentNoteId": "string",
- "originEntityName": "string",
- "originEntityId": "string",
- "transactional": true
}{ }{- "appVersion": "0.91.6",
- "dbVersion": 228,
- "nodeVersion": "string",
- "syncVersion": 34,
- "buildDate": "2019-08-24T14:15:22Z",
- "buildRevision": "string",
- "dataDirectory": "string",
- "clipperProtocolVersion": "string",
- "utcDateTime": "2019-08-24T14:15:22Z"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| title | string |
| systemPrompt | string |
| temperature | number [ 0 .. 1 ] |
| maxTokens | integer |
| model | string |
| provider | string Enum: "openai" "anthropic" "ollama" |
| contextNoteId | string |
{- "title": "string",
- "systemPrompt": "string",
- "temperature": 1,
- "maxTokens": 0,
- "model": "string",
- "provider": "openai",
- "contextNoteId": "string"
}{- "sessionId": "string",
- "title": "string",
- "messages": [
- {
- "role": "user",
- "content": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "lastActive": "2019-08-24T14:15:22Z",
- "messageCount": 0
}[- {
- "sessionId": "string",
- "title": "string",
- "messages": [
- {
- "role": "user",
- "content": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "lastActive": "2019-08-24T14:15:22Z",
- "messageCount": 0
}
]| sessionId required | string |
{- "sessionId": "string",
- "title": "string",
- "messages": [
- {
- "role": "user",
- "content": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "lastActive": "2019-08-24T14:15:22Z",
- "messageCount": 0
}| sessionId required | string |
| title | string |
| systemPrompt | string |
| temperature | number |
| maxTokens | integer |
| model | string |
| provider | string |
| contextNoteId | string |
{- "title": "string",
- "systemPrompt": "string",
- "temperature": 0,
- "maxTokens": 0,
- "model": "string",
- "provider": "string",
- "contextNoteId": "string"
}{- "sessionId": "string",
- "title": "string",
- "messages": [
- {
- "role": "user",
- "content": "string",
- "timestamp": "2019-08-24T14:15:22Z"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "lastActive": "2019-08-24T14:15:22Z",
- "messageCount": 0
}| sessionId required | string |
| message required | string |
object | |
| includeContext | boolean |
| useNoteContext | boolean |
{- "message": "string",
- "options": {
- "temperature": 0,
- "maxTokens": 0,
- "model": "string",
- "provider": "string"
}, - "includeContext": true,
- "useNoteContext": true
}{- "response": "string",
- "sources": [
- {
- "noteId": "string",
- "title": "string",
- "similarity": 0
}
]
}| sessionId required | string |
| content required | string |
| useAdvancedContext | boolean |
| showThinking | boolean |
| mentions | Array of strings |
{- "content": "string",
- "useAdvancedContext": true,
- "showThinking": true,
- "mentions": [
- "string"
]
}| name required | string |
{- "name": "string"
}{- "etapiTokenId": "string",
- "name": "string",
- "token": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "isDeleted": true
}| etapiTokenId required | string |
| name | string |
{- "name": "string"
}{- "etapiTokenId": "string",
- "name": "string",
- "token": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "isDeleted": true
}| date required | string <date> |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| date required | string <date> |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| week required | string^\d{4}-\d{2}$ Example: 2024-03 |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| month required | string^\d{4}-\d{2}$ Example: 2024-01 |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| year required | string^\d{4}$ Example: 2024 |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| parentNoteId required | string |
| launcherType required | string |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| month required | string Example: 2024-03 |
[- {
- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}
]| quarter required | string Example: 2024-Q1 |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId required | string 12-character note ID |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| query | string |
| title | string |
{- "query": "string",
- "title": "string"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| sql | string |
| title | string |
{- "sql": "string",
- "title": "string"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| code | string Script code |
{- "code": "string"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| noteId | string |
| maxDepth | integer |
| excludeArchived | boolean |
{- "noteId": "string",
- "maxDepth": 0,
- "excludeArchived": true
}{ }| title | string |
| content | string |
| url | string |
{- "title": "string",
- "content": "string",
- "url": "string"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| title | string |
| content | string |
| parentNoteId | string |
{- "title": "string",
- "content": "string",
- "parentNoteId": "string"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| upload | string <binary> |
{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}| title | string |
| content | string |
{- "title": "string",
- "content": "string"
}{- "noteId": "ur11rSfHkzeV",
- "title": "string",
- "type": "text",
- "mime": "text/html",
- "isProtected": true,
- "blobId": "string",
- "dateCreated": "2019-08-24T14:15:22Z",
- "dateModified": "2019-08-24T14:15:22Z",
- "utcDateCreated": "2019-08-24T14:15:22Z",
- "utcDateModified": "2019-08-24T14:15:22Z"
}