Skip to main content
Base URL https://app.nemu.cc/api/v1/context. Authenticate with a Context key (Authorization: Bearer nctx_...) or an OAuth token holding context:read or context:write. Requests and responses are JSON, every body is validated, and unknown fields are refused.
Send X-Nemu-Device: dev_... to attribute writes to a device. A key bound to a device always writes as that device. accent_color picks the color of the project’s banner and card in the console: red, blue, white, magenta, ember, amber, lime, emerald, teal, violet, rose or sage. A project without one gets a color chosen from its id, so it never changes on its own.

Errors

Errors are { "error", "code" } with a matching status: 400 invalid input, 401 missing or bad credentials, 403 a limit reached, a missing scope or a revoked device, 404 not found, 409 a near duplicate, 429 rate or daily limit. A 500 also carries reference, which you can quote to support.