Skip to content

Append Copilot Memory Document

POST
/copilot/memory/documents/append

Add to a memory document without replacing it.

Defaults to the daily journal, which is where observations belong: the durable documents are meant to be curated from it by POST /copilot/memory/promote, not written to directly on every event.

Takes a JSON BODY. The app takes these as query parameters, which would put the text of a personal note into the URL.

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

A BODY for what the app takes as query scalars. See the module docstring.

object
content
required

The text to append.

string
>= 1 characters
file_kind

Which document to append to. daily is the rolling journal and is the default; memory and soul are the durable ones and are normally written through PUT /copilot/memory/documents instead.

string
default: daily
subject_id
required

Which one.

string
subject_type
required

What the document is about: organization, user, campaign, company or contact.

string

Responses

201

Successful Response

object
data
required

An open envelope for one memory, wiki or sharing answer.

Open because the personal wiki is a DOCUMENT whose sections follow what has been learned about a person, and because each fact carries provenance - which mailbox or meeting it came from - that grows as new sources are connected. Pinning the shape would silently drop the provenance on the newest source, and on a “what do you know about me” surface a fact with no visible origin is worse than no fact.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string