Skip to content

API Overview

The NeuralRepo API is a RESTful JSON API that lets you programmatically manage ideas, tags, relations, and user settings.

All API requests are made to:

https://neuralrepo.com/api/v1

The API is versioned through the URL path. The current (and only) version is v1.

All request and response bodies use JSON. Set the Content-Type header on every request that includes a body:

Content-Type: application/json

Every endpoint except /api/v1/health requires authentication. You can authenticate using either method:

MethodHeaderFormat
Session tokenAuthorizationBearer <session_token>
API keyX-API-Keynrp_<64 hex characters>

See Authentication for details on generating keys and managing scopes.

List endpoints accept limit and offset query parameters:

ParameterDefaultMaxDescription
limit20100Number of items to return
offset0Number of items to skip

Example:

GET /api/v1/ideas?limit=50&offset=100

All responses return JSON. Successful responses return the resource directly or an array of resources. Error responses return an object with an error field:

{
"error": "Not found"
}

Requests are rate-limited on a per-user basis. When you exceed the limit, the API responds with 429 Too Many Requests. See Rate Limits for details on retry behavior.

The health endpoint is the only unauthenticated route. Use it to verify the API is reachable:

Terminal window
curl https://neuralrepo.com/api/v1/health

Response 200 OK

{
"status": "ok",
"timestamp": "2026-03-25T12:00:00Z"
}

The API is currently at v1. Breaking changes will be introduced under a new version prefix (e.g., /api/v2). Non-breaking additions (new fields, new optional parameters) may be added to v1 at any time.

ResourceEndpoints
IdeasGET POST PATCH DELETE /ideas
SearchGET /ideas/search
DuplicatesGET /ideas/duplicates
TagsGET POST PATCH DELETE /tags
LinksGET POST DELETE /ideas/:id/links
Relations & GraphGET /ideas/:id/relations, /map/relations
Mind MapGET /map
User & SettingsGET PATCH /user/me, BYOK, export
ExportPOST /user/export, POST /user/export/csv