Skip to main content
The REST API lets your app manage workspaces, providers, models, prompts, mappings, configs, indexes, quotas, and metrics. It is served under one base URL.

Authentication

Every request carries a bearer token. Get one by running an OAuth flow, then send it in the Authorization header.
string
required
Bearer <access_token>

How to get a token

Register an app and run the flow that fits your case.

Versioning

Pin a dated version with the Nemu-Api-Version header. Omit it to use the latest version. Every response echoes the version it was served with.
string
A dated version such as 2026-07-14.
See versioning for the full details.

Response shape

A list endpoint wraps its rows in data, and often includes a total. A single item endpoint wraps the item in data.

Workspace scoped resources

Providers, models, prompts, mappings, configs, and indexes belong to a workspace. Pass the workspace on reads as a workspace_id query parameter, and on writes as a workspace_id field in the body.

Verbs

Status codes

Rate limits

Responses include X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. When you exceed a limit the API returns 429 with a Retry-After header in seconds.

Resources