API Documentation
Overview
Mnexium provides fine-grained access control, data lifecycle management, and privacy-conscious design to help you build enterprise-ready AI applications.
PII Guidelines
Best practices for handling personally identifiable information:
Do not store secrets in memory text
Never put passwords, API keys, or tokens in memorytextfields. These are searchable and may be included in LLM context.Use metadata for identifiers
Store user IDs, order numbers, and references inmetadata. Keep memorytextfor semantic meaning.Scope data by subject_id
Always usesubject_idto isolate user data. Memories are never shared across subjects unless explicitly markedvisibility: "shared".
Audit Trail
Every API call is logged with full context. View your activity log at /activity-log.
API Action Structure
action- Type: string
API action performed (e.g.,memory.create,chat.completion)
- Type: string
subject_id- Type: string
User the action was performed for
- Type: string
status- Type: string
Result:successorfailure
- Type: string
timestamp- Type: datetime
When the action occurred
- Type: datetime
metadata- Type: object
Additional context (model, tokens, etc.)
- Type: object