Memory
Write and read the Markdown entries and directories of a project's memory — from meetings, automations and agents.
#Rename or move a directory with its contents
/memory/directories/{directoryId}Path parameters
directoryIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The moved directory.application/json
#Delete a directory — an empty one, or with everything inside it when recursive
/memory/directories/{directoryId}Path parameters
directoryIdrequired | string (uuid) |
Query parameters
recursive | string | true deletes every subdirectory and entry inside it in one transaction, each audited (owner Q28 b); without it a non-empty directory is 409. One of: |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Responses
204Deleted.
No body.
#One entry with its body
/memory/entries/{entryId}Path parameters
entryIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200The entry.application/json
#Replace the body and/or move the entry to a new path
/memory/entries/{entryId}Path parameters
entryIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The changed entry.application/json
#Delete an entry for good
/memory/entries/{entryId}Path parameters
entryIdrequired | string (uuid) |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Responses
204Deleted.
No body.
#All directories of the project's memory
/projects/{projectKey}/memory/directoriesPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200Every directory, ordered by path.application/json
#Create a directory (and its missing parents)
/projects/{projectKey}/memory/directoriesPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The new directory.application/json
#List or search the project's memory entries
/projects/{projectKey}/memory/entriesPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
q | string | Words of the path, the title or the body. With q, the best match comes first. Min length 1 · Max length 200 |
source | array of string | |
directory | string | A directory id for its direct entries, or Max length 36 |
sort | string | One of: |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200A page of up to 50 rows without the body.application/json
#Create an entry at a new path
/projects/{projectKey}/memory/entriesPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The new entry with its body.application/json
#One entry by its path
/projects/{projectKey}/memory/entries/by-pathPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
pathrequired | string | Min length 1 · Max length 512 |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
Responses
200The entry with its body.application/json
#Create the entry at the path, or replace its body (for automations and agents)
/projects/{projectKey}/memory/entries/by-pathPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
pathrequired | string | Min length 1 · Max length 512 |
Headers
X-Kanso-Tenant | string (uuid) | Optional with a token: the token names its tenant. When you send it, it must equal the token's tenant (05-api §8.3). |
If-Match | string | Optional here (F-MEM-14.R08). When present, the stored version must match ( Max length 64 |
Request body application/jsonrequired
Loading the schema…
Responses
200The entry was replaced (meta.outcome updated) or already held the body (unchanged).application/json
201The entry was created (meta.outcome created).application/json
#Set or clear the directory's mark "Visible to clients"; it covers every entry below it (R10, R11)
/memory/directories/{directoryId}/client-visibilityPath parameters
directoryIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The directory with its new ETag.application/json
#Set or clear the entry's mark "Visible to clients" (R10)
/memory/entries/{entryId}/client-visibilityPath parameters
entryIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The entry with its new ETag; meta.outcome is updated or unchanged.application/json
#Erase a meeting participant who is not a member, tenant-wide (a long-running operation)
/memory/participant-erasuresHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
202The operation; its result holds the counts of meetings, meetings without a label match, participant rows, passages and named fields.application/json
#Export the data of a meeting participant who is not a member (a long-running operation with a file)
/memory/participant-exportsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
202The operation; its result holds the file id and the counts.application/json
#The tenant's segments; an Admin sees all with grants, a member sees the segments that the member reads
/memory/segmentsQuery parameters
state | string | One of: |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200At most 100 segments (memory.segments.maxPerTenant), by name (the registry is bounded; no cursor).application/json
#Create a segment with its grants (an Admin)
/memory/segmentsHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The segment.application/json
#Change a segment's name, description, grants, client sharing or meeting intake (an Admin)
/memory/segments/{segmentKey}Path parameters
segmentKeyrequired | string | Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/merge-patch+jsonrequired
Loading the schema…
Responses
200The changed segment.application/json
#Archive a segment; its items stay readable for its grantees and it takes no new item
/memory/segments/{segmentKey}/archivePath parameters
segmentKeyrequired | string | Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Responses
200The archived segment.application/json
#Create an entry from an uploaded .md file
/projects/{projectKey}/memory/entries/uploadPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body multipart/form-datarequired
Loading the schema…
Responses
201The new entry; its name is the file's name (.markdown becomes .md).application/json
#The item-type registry with the tenant's active types
/knowledge-item-typesHeaders
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200Every registry entry, with enabled, clientShareable and the allowed sources.application/json
#One knowledge item with the links that the reader can see
/knowledge-items/{itemKey}Path parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200The item, its visible links and the reader's can flags.application/json
#Revise the title, the body, the tags or the time of an item
/knowledge-items/{itemKey}Path parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/merge-patch+jsonrequired
Loading the schema…
Responses
200The revised item.application/json
#Accept the item's proposal — the proposed item, or its pending revision
/knowledge-items/{itemKey}/acceptPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/json
Loading the schema…
Responses
200The item, active, with the accepted text.application/json
#Accept a proposed decision, or reverse a decision with a reason
/knowledge-items/{itemKey}/decision-statusPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The decision with its new status.application/json
#Link the item to a ticket, an item, a doc page, an opportunity, a request or an external URL
/knowledge-items/{itemKey}/linksPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The item with its visible links.application/json
#Remove one link of the item
/knowledge-items/{itemKey}/links/{linkId}Path parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
linkIdrequired | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
204The link is gone (also when it was gone before).
No body.
#Replace one exact text in every revision and in the current text of an item; the records stay
/knowledge-items/{itemKey}/redact-textPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The counts; replaced is 0 when the text does not occur.application/json
#Reject the item's proposal — the proposed item, or its pending revision
/knowledge-items/{itemKey}/rejectPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/json
Loading the schema…
Responses
200The item — rejected, or active without the pending revision.application/json
#Restore a retracted item within the retention window
/knowledge-items/{itemKey}/restorePath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Responses
200The restored item (state active).application/json
#Take an item out of use; it stays restorable for a setting's days
/knowledge-items/{itemKey}/retractPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The retracted item (state retracted).application/json
#The item's revisions, newest first
/knowledge-items/{itemKey}/revisionsPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200A keyset page of 50 revisions, newest first.application/json
#Replace the text of one revision, for example a pasted secret; the record stays
/knowledge-items/{itemKey}/revisions/{revisionNo}/redactPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
revisionNorequired | integer | Min 1 |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The redacted revision.application/json
#Move an item to another segment ("Who can see this")
/knowledge-items/{itemKey}/segmentPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The item with its new access classification.application/json
#Share an item with the project's current client, or make it internal again
/knowledge-items/{itemKey}/visibilityPath parameters
itemKeyrequired | string | A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
If-Matchrequired | string | The resource version in quotes (05-api §7.1); missing answers 428, different answers 412. Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
200The item with its new visibility.application/json
#The project's decision log — Memory's decision records and Discovery's decisions, newest first
/projects/{projectKey}/decisionsPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
status | string | One of: |
origin | string | One of: |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200A keyset page of up to 50 decisions.application/json
#The visible knowledge items that link to one ticket, doc page, opportunity or request of the project
/projects/{projectKey}/knowledge-backlinksPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
targetKindrequired | string | One of: |
targetRefrequired | string | Min length 1 · Max length 200 |
includeProposed | boolean | Default: |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200A keyset page of 50 backlinks, newest first.application/json
#List or search the project's knowledge items that the reader can see
/projects/{projectKey}/knowledge-itemsPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
q | string | Min length 1 · Max length 200 |
mode | string | One of: |
type | array of string | |
tag | array of string | |
source | array of string | |
authorMemberId | string (uuid) | |
agentIdentityId | string (uuid) | |
state | string | Curators only for proposed, retracted and rejected. One of: |
visibility | string | One of: |
decisionStatus | string | One of: |
linkedTicketKey | string | Pattern |
updatedFrom | string (date-time) | |
updatedTo | string (date-time) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200A page of up to 50 rows (20 in semantic mode, without a cursor).application/json
#Add a knowledge item to the project
/projects/{projectKey}/knowledge-itemsPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Idempotency-Keyrequired | string | Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent. Min length 8 · Max length 128 · Pattern |
Request body application/jsonrequired
Loading the schema…
Responses
201The new item as the caller sees it, with its key and ETag.application/json
#The project's proposed items and pending revisions, oldest first (curators)
/projects/{projectKey}/knowledge-reviewPath parameters
projectKeyrequired | string | A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404. Pattern |
Query parameters
page[cursor] | string | The opaque cursor of the previous page's links.next (05-api §5). Max length 512 |
agentIdentityId | string (uuid) |
Headers
X-Kanso-Tenantrequired | string (uuid) | The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found. |
Responses
200A keyset page of 50 queue rows.application/json
Was this helpful?