MemNexus
Reference

Behavior API

Behavioral pattern tracking and state management endpoints

Behavioral pattern tracking and state management endpoints

GET /api/patterns/behavior/state

Get behavioral state

Response: 200 Behavioral state retrieved successfully

FieldTypeRequiredDescription
dataobjectNoBehavioral state object

Example:

curl -X GET "https://api.memnexus.ai/api/patterns/behavior/state" \
  -H "Authorization: Bearer cmk_live_xxx.yyy"

POST /api/patterns/behavior/state

Update behavioral state

Request body:

FieldTypeRequiredDescription
stateobjectNo
mutationsobjectNo

Response: 200 Behavioral state updated successfully

FieldTypeRequiredDescription
dataobjectNoUpdated behavioral state object

Example:

curl -X POST "https://api.memnexus.ai/api/patterns/behavior/state" \
  -H "Authorization: Bearer cmk_live_xxx.yyy" \
  -H "Content-Type: application/json" \
  -d '{}'