Youniton Docs

Memory

Write and read the Markdown entries and directories of a project's memory — from meetings, automations and agents.

11 token operations · 29 app-only

#Rename or move a directory with its contents

PATCH/memory/directories/{directoryId}
Personal tokenmemory:writeSessionIf-MatchF-MEM-14

Path parameters

directoryIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (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-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The moved directory.application/json
Errors400401403404409412422428429One problem shape

#Delete a directory — an empty one, or with everything inside it when recursive

DELETE/memory/directories/{directoryId}
Personal tokenmemory:writeSessionIf-MatchF-MEM-14

Path parameters

directoryIdrequiredstring (uuid)

Query parameters

recursivestring

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: true false · Default: "false"

Headers

X-Kanso-Tenantstring (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-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

204Deleted.

No body.

Errors401403404409412428429One problem shape

#One entry with its body

GET/memory/entries/{entryId}
Personal tokenmemory:readSessionF-MEM-14

Path parameters

entryIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (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
Errors401403404429One problem shape

#Replace the body and/or move the entry to a new path

PATCH/memory/entries/{entryId}
Personal tokenmemory:writeSessionIf-MatchF-MEM-14

Path parameters

entryIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (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-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The changed entry.application/json
Errors400401403404409412422428429One problem shape

#Delete an entry for good

DELETE/memory/entries/{entryId}
Personal tokenmemory:writeSessionIf-MatchF-MEM-14

Path parameters

entryIdrequiredstring (uuid)

Headers

X-Kanso-Tenantstring (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-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

204Deleted.

No body.

Errors401403404412428429One problem shape

#All directories of the project's memory

GET/projects/{projectKey}/memory/directories
Personal tokenmemory:readSessionF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantstring (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
Errors401403404429One problem shape

#Create a directory (and its missing parents)

POST/projects/{projectKey}/memory/directories
Personal tokenmemory:writeSessionIdempotency-KeyF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantstring (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-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The new directory.application/json
Errors400401403404409422429One problem shape

#List or search the project's memory entries

GET/projects/{projectKey}/memory/entries
Personal tokenmemory:readSessionF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

qstring

Words of the path, the title or the body. With q, the best match comes first.

Min length 1 · Max length 200

sourcearray of string
directorystring

A directory id for its direct entries, or root for the entries outside every directory. Absent — all entries.

Max length 36

sortstring

One of: path updated · Default: "updated"

Headers

X-Kanso-Tenantstring (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
Errors400401403404429One problem shape

#Create an entry at a new path

POST/projects/{projectKey}/memory/entries
Personal tokenmemory:writeSessionIdempotency-KeyF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantstring (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-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The new entry with its body.application/json
Errors400401403404409422429One problem shape

#One entry by its path

GET/projects/{projectKey}/memory/entries/by-path
Personal tokenmemory:readSessionF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

pathrequiredstring

Min length 1 · Max length 512

Headers

X-Kanso-Tenantstring (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
Errors400401403404429One problem shape

#Create the entry at the path, or replace its body (for automations and agents)

PUT/projects/{projectKey}/memory/entries/by-path
Personal tokenmemory:writeSessionF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

pathrequiredstring

Min length 1 · Max length 512

Headers

X-Kanso-Tenantstring (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-Matchstring

Optional here (F-MEM-14.R08). When present, the stored version must match (412).

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
Errors400401403404409412422429One problem shape

#Set or clear the directory's mark "Visible to clients"; it covers every entry below it (R10, R11)

PUT/memory/directories/{directoryId}/client-visibility
Session (app only)If-MatchF-MEM-14

Path parameters

directoryIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The directory with its new ETag.application/json
Errors400401403404409412422428429One problem shape

#Set or clear the entry's mark "Visible to clients" (R10)

PUT/memory/entries/{entryId}/client-visibility
Session (app only)If-MatchF-MEM-14

Path parameters

entryIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The entry with its new ETag; meta.outcome is updated or unchanged.application/json
Errors400401403404409412422428429One problem shape

#Erase a meeting participant who is not a member, tenant-wide (a long-running operation)

POST/memory/participant-erasures
Session (app only)Idempotency-KeyF-MEM-10

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

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
Errors401403404422One problem shape

#Export the data of a meeting participant who is not a member (a long-running operation with a file)

POST/memory/participant-exports
Session (app only)Idempotency-KeyF-MEM-10

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

202The operation; its result holds the file id and the counts.application/json
Errors401403404422One problem shape

#The tenant's segments; an Admin sees all with grants, a member sees the segments that the member reads

GET/memory/segments
Session (app only)F-MEM-13

Query parameters

statestring

One of: active archived

Headers

X-Kanso-Tenantrequiredstring (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
Errors403404One problem shape

#Create a segment with its grants (an Admin)

POST/memory/segments
Session (app only)Idempotency-KeyF-MEM-13

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The segment.application/json
Errors403404409422One problem shape

#Change a segment's name, description, grants, client sharing or meeting intake (an Admin)

PATCH/memory/segments/{segmentKey}
Session (app only)If-MatchF-MEM-13

Path parameters

segmentKeyrequiredstring

Pattern ^[a-z][a-z0-9_-]{1,39}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The changed segment.application/json
Errors403404409412422428One problem shape

#Archive a segment; its items stay readable for its grantees and it takes no new item

POST/memory/segments/{segmentKey}/archive
Session (app only)Idempotency-KeyIf-MatchF-MEM-13

Path parameters

segmentKeyrequiredstring

Pattern ^[a-z][a-z0-9_-]{1,39}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

200The archived segment.application/json
Errors403404409412428One problem shape

#Create an entry from an uploaded .md file

POST/projects/{projectKey}/memory/entries/upload
Session (app only)Idempotency-KeyF-MEM-14

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body multipart/form-datarequired

Loading the schema…

Responses

201The new entry; its name is the file's name (.markdown becomes .md).application/json
Errors400401403404409422429One problem shape

#The item-type registry with the tenant's active types

GET/knowledge-item-types
Session (app only)DeprecatedF-MEM-01

Headers

X-Kanso-Tenantrequiredstring (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
Errors401403404429One problem shape

#One knowledge item with the links that the reader can see

GET/knowledge-items/{itemKey}
Session (app only)DeprecatedF-MEM-01

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (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
Errors401403404429One problem shape

#Revise the title, the body, the tags or the time of an item

PATCH/knowledge-items/{itemKey}
Session (app only)If-MatchDeprecatedF-MEM-01

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The revised item.application/json
Errors401403404409412422428429One problem shape

#Accept the item's proposal — the proposed item, or its pending revision

POST/knowledge-items/{itemKey}/accept
Session (app only)Idempotency-KeyIf-MatchDeprecatedF-MEM-08

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/json

Loading the schema…

Responses

200The item, active, with the accepted text.application/json
Errors403404409412428One problem shape

#Accept a proposed decision, or reverse a decision with a reason

POST/knowledge-items/{itemKey}/decision-status
Session (app only)Idempotency-KeyIf-MatchDeprecatedF-MEM-02

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The decision with its new status.application/json
Errors401403404409412422428429One problem shape

#Replace one exact text in every revision and in the current text of an item; the records stay

POST/knowledge-items/{itemKey}/redact-text
Session (app only)Idempotency-KeyDeprecatedF-MEM-10

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The counts; replaced is 0 when the text does not occur.application/json
Errors403404412One problem shape

#Reject the item's proposal — the proposed item, or its pending revision

POST/knowledge-items/{itemKey}/reject
Session (app only)Idempotency-KeyIf-MatchDeprecatedF-MEM-08

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/json

Loading the schema…

Responses

200The item — rejected, or active without the pending revision.application/json
Errors403404409412428One problem shape

#Restore a retracted item within the retention window

POST/knowledge-items/{itemKey}/restore
Session (app only)Idempotency-KeyIf-MatchDeprecatedF-MEM-01

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Responses

200The restored item (state active).application/json
Errors403404409412428One problem shape

#Take an item out of use; it stays restorable for a setting's days

POST/knowledge-items/{itemKey}/retract
Session (app only)Idempotency-KeyIf-MatchDeprecatedF-MEM-01

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The retracted item (state retracted).application/json
Errors401403404409412422428429One problem shape

#The item's revisions, newest first

GET/knowledge-items/{itemKey}/revisions
Session (app only)DeprecatedF-MEM-01

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (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
Errors400401404429One problem shape

#Replace the text of one revision, for example a pasted secret; the record stays

POST/knowledge-items/{itemKey}/revisions/{revisionNo}/redact
Session (app only)Idempotency-KeyDeprecatedF-MEM-10

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

revisionNorequiredinteger

Min 1

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

200The redacted revision.application/json
Errors403404409One problem shape

#Move an item to another segment ("Who can see this")

PUT/knowledge-items/{itemKey}/segment
Session (app only)If-MatchDeprecatedF-MEM-13

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The item with its new access classification.application/json
Errors403404409412422428One problem shape

#Share an item with the project's current client, or make it internal again

PUT/knowledge-items/{itemKey}/visibility
Session (app only)If-MatchDeprecatedF-MEM-01

Path parameters

itemKeyrequiredstring

A knowledge item key, upper-cased and resolved through the project key aliases; hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}-[Kk][1-9][0-9]{0,8}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The item with its new visibility.application/json
Errors403404409412422428One problem shape

#The project's decision log — Memory's decision records and Discovery's decisions, newest first

GET/projects/{projectKey}/decisions
Session (app only)DeprecatedF-MEM-02

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

statusstring

One of: open all · Default: "open"

originstring

One of: memory discovery both · Default: "both"

Headers

X-Kanso-Tenantrequiredstring (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
Errors400401403404429One problem shape

#List or search the project's knowledge items that the reader can see

GET/projects/{projectKey}/knowledge-items
Session (app only)DeprecatedF-MEM-04

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

qstring

Min length 1 · Max length 200

modestring

One of: keyword semantic · Default: "keyword"

typearray of string
tagarray of string
sourcearray of string
authorMemberIdstring (uuid)
agentIdentityIdstring (uuid)
statestring

Curators only for proposed, retracted and rejected.

One of: proposed active retracted rejected

visibilitystring

One of: internal client

decisionStatusstring

One of: proposed accepted superseded reversed

linkedTicketKeystring

Pattern ^[A-Z][A-Z0-9]{1,9}-[1-9][0-9]{0,8}$

updatedFromstring (date-time)
updatedTostring (date-time)

Headers

X-Kanso-Tenantrequiredstring (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
Errors400401403404429One problem shape

#Add a knowledge item to the project

POST/projects/{projectKey}/knowledge-items
Session (app only)Idempotency-KeyDeprecatedF-MEM-01

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The new item as the caller sees it, with its key and ETag.application/json
Errors400401403404409413422429One problem shape

#The project's proposed items and pending revisions, oldest first (curators)

GET/projects/{projectKey}/knowledge-review
Session (app only)DeprecatedF-MEM-08

Path parameters

projectKeyrequiredstring

A project key, upper-cased and resolved through the key aliases (04 §5.3); hidden and missing are one 404.

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

agentIdentityIdstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (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
Errors403404One problem shape

Was this helpful?