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
| Field | Type | Required | Description |
|---|---|---|---|
data | object | No | Behavioral 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:
| Field | Type | Required | Description |
|---|---|---|---|
state | object | No | |
mutations | object | No |
Response: 200 Behavioral state updated successfully
| Field | Type | Required | Description |
|---|---|---|---|
data | object | No | Updated 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 '{}'