Skip to main content
POST
Add a curated company fact

Authorizations

X-API-Key
string
header
required

API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.

Body

application/json
workspaceId
string<uuid>
required
content
string
required
Required string length: 1 - 800
vaultId
string<uuid>

Optional vault inside the workspace. Defaults to the workspace's default vault.

category
enum<string>
default:fact
Available options:
preference,
fact,
decision,
context
scope
string
Maximum string length: 200
project
string
Maximum string length: 100

Response

201 - application/json

Curated company fact created.

memory
object
required