Skip to main content

System

System endpoints for health checks, status monitoring, and milestone tracking. The liveness probe requires no authentication.

Base URL: https://novyx-ram-api.fly.dev

Tier: Public (no auth for health/liveness, auth required for status details and milestones)


Liveness Probe

GET /healthz

Lightweight liveness check. Always returns 200 if the server is running. No authentication required.

Examples

import requests

r = requests.get("https://novyx-ram-api.fly.dev/healthz")
print(r.json()) # {"status": "ok"}

Response

{
"status": "ok"
}

Health Check

GET /health

Detailed health check. Without authentication, returns minimal info. With a valid API key, returns subsystem checks.

Response fields

FieldTypeDescription
statusstringhealthy, degraded, or unhealthy
versionstringAPI version
timestampstringISO 8601 timestamp
enterprise_availablebooleanWhether enterprise features are available
checksobject | nullSubsystem checks (authenticated only)
warningsstring[] | nullNon-critical issues (authenticated only)

Examples

from novyx import Novyx

nx = Novyx(api_key="nram_your_key")

health = nx.health()
print(f"Status: {health['status']}")
print(f"Version: {health['version']}")

Response

{
"status": "healthy",
"version": "1.1.1",
"timestamp": "2026-03-09T12:00:00Z",
"enterprise_available": true,
"checks": {
"disk_space": "ok",
"memory_dir": "ok",
"redis": "ok",
"audit_trail": "ok"
},
"warnings": []
}

Status

GET /v1/status

Get API status and optional runtime metrics. Without authentication, returns basic status. With auth, includes uptime and usage stats.

Response fields

FieldTypeDescription
versionstringAPI version
statusstringoperational
timestampstringISO 8601 timestamp
uptime_secondsnumberServer uptime (authenticated only)
total_memories_storednumberTotal memories (authenticated only)
avg_response_time_msnumberAverage response time (authenticated only)

Examples

status = nx.status()
print(f"Status: {status['status']}")
print(f"Uptime: {status['uptime_seconds']}s")

Response

{
"version": "1.1.1",
"status": "operational",
"timestamp": "2026-03-09T12:00:00Z",
"uptime_seconds": 86400.5,
"total_memories_stored": 1423,
"avg_response_time_ms": 45.2
}

Milestones

GET /v1/milestones

Get your account milestones — key moments like storing your first memory, first rollback, first team, etc.

Response fields

FieldTypeDescription
milestonesarrayArray of milestone objects
totalnumberTotal milestones achieved

Each milestone includes:

FieldTypeDescription
milestonestringMilestone identifier (e.g., first_memory, first_rollback)
achieved_atstringISO 8601 timestamp
metadataobjectAdditional context

Examples

result = nx.milestones()
for m in result["milestones"]:
print(f" {m['milestone']}: {m['achieved_at']}")

Response

{
"milestones": [
{
"milestone": "first_memory",
"achieved_at": "2026-03-01T10:00:00Z",
"metadata": {}
},
{
"milestone": "first_search",
"achieved_at": "2026-03-01T10:05:00Z",
"metadata": {}
},
{
"milestone": "first_rollback",
"achieved_at": "2026-03-02T14:30:00Z",
"metadata": {}
}
],
"total": 3
}