Limits and errors
Nenavi pays for the models that extract entities and claims from your text, so every project has hard caps. These are the alpha defaults. They can change, and the operator can raise the limits of one project.
Limits
| Limit | Default | What counts | Error |
|---|---|---|---|
| Requests per minute | 60 per key and per project | Every request the service accepts, apart from the two status reads below | 429 rate_limited, with Retry-After |
| Status reads per minute | 60 per key and per project | GET /v1/events/{event_id}/extraction-status, GET /v1/reingest/{run_id} and GET /v1/jobs | 429 rate_limited, with Retry-After |
| Content size | 32 KiB | The content of one store or ingest | 413 content_too_large |
| Ingest calls per month | 20,000 | Ingests, fast ingests, stores that extract, each memory a re-ingest takes, and organize and extraction re-runs | 429 monthly_ingest_calls_exceeded |
| Content tokens per month | 2,000,000 | The tokens in the content of stores and ingests | 429 monthly_content_tokens_exceeded |
| Memories per project | 50,000 | Stored memories, plus saved text that is not indexed yet | 429 max_nodes_exceeded |
Months are UTC calendar months.
In the console, an organization can have up to 10 projects, and a project can have up to 5 active keys. A deleted project still counts toward the 10 until its seven day grace period ends. Reaching either limit returns 409 limit_exceeded from the console’s API.
How the counts work
- A store extracts by default, so it counts as one store call and one ingest call. Send
"extract": falseto store text with no extraction. Then it counts as a store call and its tokens only. - A fast ingest batch counts as one ingest call, however many items it holds. It adds the tokens of every item.
- A retry of a fast ingest batch with the same
Idempotency-Keyand the same items costs one request. It does not count again toward the monthly limits. - A request that the service refuses before doing any work is not counted. Neither is a request that the engine answers with a
4xxerror. - The check happens before the work. A request is refused when it would take the month past the limit, so you can reach a limit exactly.
- The two status reads, which you poll while an extraction or a re-ingest run works, have a rate limit of their own, as many a minute as the request limit. Polling them never uses up the requests your writes need. When the polls use up their limit, only the polls get
429rate_limited. - The SDK helpers that wait poll those status reads, and the helper that scans sends ordinary requests, which count toward the request limit. See Helpers and the rate limit for Python, or the same section for TypeScript.
- Both rate limits hold for each key and for the whole project, so a second key adds no requests: all of a project’s keys together get 60 a minute. They hold across every server. Each server takes a few requests’ worth at a time, a twentieth of the limit and at most 10, so a key or a project can get up to that many more per server in a minute (3 per server at the default 60). If the servers cannot check the shared limit in time, each one falls back to a limit of its own for a few seconds, and the effective limit is then higher until they can.
- The counts are close, not exact. With several servers, a project can pass a monthly limit by about one minute of traffic. Each server writes its counts every few seconds, so your usage can take a few seconds to show a call, and two usage reads close together can differ by that much.
See your usage
The console’s Usage tab shows this month’s requests, store, ingest, retrieve, and MCP calls, and content tokens, with a bar against the two monthly limits. The same numbers are at GET /v1/usage, which needs a key. It takes no engine slot, so it is cheap to poll. It counts as one request.
The number of memories is at GET /v1/stats.
Errors
Every error from the hosted layer has a detail and a reason_code. Errors that the engine raises keep the engine’s { "detail": "..." } shape.
| Status | reason_code | What to do |
|---|---|---|
401 | api_key_missing | Send Authorization: Bearer <key>. |
401 | api_key_invalid | Check the key. Copy it again from where you saved it. |
401 | api_key_revoked | Create a new key in the console. |
401 | project_deleted | The project was deleted. |
404 | path_invalid | A path segment contains an encoded slash (%2F). Send the id as it was returned; ids never contain /. |
404 | profile_not_found | The user has no profile of that name. Build one with POST /v1/profiles/build. |
404 | job_run_not_found | The project has run no organize or process request yet. |
408 | body_timeout | The body arrived too slowly. The limit is 10 seconds, or 30 seconds on batch routes and MCP. |
413 | content_too_large | Send less than 32 KiB in one content. Split the text. |
413 | body_too_large | Send a smaller body. The limit is 256 KiB, or 4 MiB on batch routes. |
422 | content_invalid | The text cannot be encoded as UTF-8. |
422 | wait_for_extraction_unsupported | Remove wait_for_extraction. Poll the extraction status instead. |
422 | privacy_policy_unsupported | Remove the policy. |
422 | reembed_unsupported | This route is off in the alpha. |
422 | profile_metadata_reserved | Remove entity_profile from metadata. Only a profile build writes it. |
422 | limit_out_of_range | Change limit to a value in the range on The API. |
422 | entity_names_too_many | Name at most 20 people in one profile build. |
422 | profile_sources_too_many | The user has too many memories for a profile build. See Profiles. |
422 | profile_metadata_invalid | Archive the memories in node_ids, then build again. See Profiles. |
422 | scope_invalid | Send one of the scopes the detail lists, or leave scope out. |
422 | name_invalid | Send a profile name that is not blank. |
429 | rate_limited | Wait the number of seconds in Retry-After. |
429 | monthly_ingest_calls_exceeded | Wait for the next month, or send "extract": false to store without extraction. |
429 | monthly_content_tokens_exceeded | Wait for the next month. |
429 | max_nodes_exceeded | Archive memories you no longer need. The count is refreshed about once a minute. |
409 | reingest_running | A re-ingest for this user is already working. The body’s run_id names it, or is null when it cannot. |
409 | job_running | An organize or process run of the same user, or of the whole project, is still going. The body’s run_id names it; GET /v1/jobs with the request’s user_id says when it ends. Nothing ran. |
409 | profile_stale | A memory changed while the profile was built. Send the request again. |
409 | profile_build_running | Another build of the project is running (at_capacity false), or as many as the server runs at once (at_capacity true, send it again after Retry-After). |
503 | extraction_disabled | Extraction is off on the service. Fast ingest still works. |
503 | database_unavailable | Wait a moment and send the request again. |
503 | lease_unavailable | The service was busy. Wait a moment and send the request again. |
503 | job_requests_busy | The server is running organize or process requests for as many projects as it can, or 4 runs of your project. Wait the seconds in Retry-After; run at most 4 users at a time. |
To raise a limit, contact the maintainer. The address is on the privacy page .