status

Verify your API key resolves to a workspace and inspect the workspace’s current state. Use this to debug “why isn’t my call working” before reaching for support.

GET /v1/status

Free diagnostic. Does not count against any plan quota. Suspended and limit-reached workspaces still receive a 200 so you can see why other calls are failing.

Request

curl https://api.mnemexa.com/v1/status \
  -H "Authorization: Bearer mnx_ws_YOUR_KEY"

No request body. Workspace is derived from the API key.

Response

{
  "workspace_id": 42,
  "workspace_name": "Acme Production",
  "workspace_status": "active",
  "plan_name": "Growth",
  "billing_cycle": "monthly",
  "api_key_id": 17,
  "api_key_prefix": "mnx_ws_ab12345",
  "healthy": true,
  "server_time": "2026-05-15T18:30:00Z"
}

Fields

FieldTypeDescription
workspace_idintegerNumeric identifier for the workspace.
workspace_namestringDisplay name set in the dashboard.
workspace_statusstringOne of active, pending_payment, suspended, limit_reached.
plan_namestring | nullThe active plan, e.g. Free, Starter, Growth. null if no subscription is attached.
billing_cyclestring | nullmonthly or yearly. null when plan_name is null.
api_key_idintegerNumeric identifier for the API key used in this request.
api_key_prefixstringFirst 14 characters of the key (e.g. mnx_ws_ab12345). Lets you confirm which key the SDK loaded.
healthybooleanAlways true on a 200 response. Future-proofing — clients should treat any other value as “degraded”.
server_timestringISO 8601 UTC timestamp. Useful for clock-skew diagnostics.

Interpreting workspace_status

StatusWhat it meansWhat other endpoints do
activeNormal operating state.All calls accepted.
pending_paymentInitial signup, awaiting first payment confirmation.Most calls accepted; some plan-gated features may not be available yet.
suspendedAdmin or billing intervention.Memory store/retrieve return 403. status and optimize.health continue to work for diagnostics.
limit_reachedPlan’s per-cycle unit cap exhausted.Memory store/retrieve return 429. status and optimize.health continue to work.

Errors

StatusCause
401Missing or invalid Authorization header.
403API key disabled, workspace deleted, or client account suspended.

A 401 means the key string itself isn’t recognized. A 403 means the key is recognized but inactive. The 200 response itself never indicates a problem — inspect workspace_status to see whether the workspace is in a non-active state.

SDKs

import mnemexa

client = mnemexa.Client()
status = client.status()
print(f"Connected to {status.workspace_name} ({status.workspace_status})")
print(f"Plan: {status.plan_name} / {status.billing_cycle}")
print(f"Key: {status.api_key_prefix}")

The MCP adapter exposes this as brain.status. See Python SDK and MCP Adapter.