Context Memory

post

Create a new user Context Memory Item (+ optional tenant union OR tenant id/label). Prefer tenant_union_id for union-scoped context (multiple integration slots); tenant_id+tenant_label for upstream tenant scoping.

Authorizations
Body
contentstringOptionalDefault: Hello world
tenant_idstringOptionalDefault: null
tenant_labelstringOptionalDefault: null
tenant_union_idnumberOptionalDefault: null
Responses
201

Context Memory Item created

application/json
post
/app/api/v1/context-memory/create
POST /app/api/v1/context-memory/create HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "content": "Hello world",
  "tenant_id": "text",
  "tenant_label": "text",
  "tenant_union_id": 1
}
{
  "item_id": 1
}
delete

Delete an existing user Context Memory Item

Authorizations
Path parameters
item_idstringRequired
Responses
200

Context Memory Item deleted

application/json
delete
/app/api/v1/context-memory/delete/{item_id}
DELETE /app/api/v1/context-memory/delete/{item_id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Accept: */*
{
  "item_id": 1
}
put

Update an existing user Context Memory Item (+ optional tenant union OR tenant id/label). Prefer tenant_union_id for union-scoped context (multiple integration slots); tenant_id+tenant_label for upstream tenant scoping.

Authorizations
Path parameters
item_idstringRequired
Body
contentstringOptionalDefault: Hello world
tenant_idstringOptionalDefault: null
tenant_labelstringOptionalDefault: null
tenant_union_idnumberOptionalDefault: null
Responses
200

Context Memory Item updated

application/json
put
/app/api/v1/context-memory/update/{item_id}
PUT /app/api/v1/context-memory/update/{item_id} HTTP/1.1
Host: 
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 86

{
  "content": "Hello world",
  "tenant_id": "text",
  "tenant_label": "text",
  "tenant_union_id": 1
}
{
  "item_id": 1
}

Last updated

Was this helpful?