CortexDB Docs
Docs for CortexDB 0.16.1, the version running on CortexDB Cloud (api.cortexdb.ai).
API Reference

Limits

The size and count limits of one request, one memory, a search and a space name, in one table.

The limits a request runs into, in one place. Each page that a limit belongs to has the details and the error a request gets past it.

Requests and memories

LimitValuePast it
One request body32 MiB (CORTEX_MAX_BODY_BYTES)413 PAYLOAD_TOO_LARGE
One memory's text (the indexed text of one experience)1 MiBrefused
Memories per bulk save (POST /v1/experience/bulk)1,000422 INVALID_BODY
Lines per import request (POST /v1/import, JSON Lines)10,000422 INVALID_BODY
One export file (POST /v1/export)256 MiB413 EXPORT_TOO_LARGE, and nothing is returned: export in smaller scopes
How long a retry key (idempotency_key) is remembered24 hoursa later save with the same key is a new save
Labels per memory4,096, each up to 262,144 UTF-8 bytes422 while CORTEX_LABEL_LIMITS=on (Experience Envelope)

Search and answers

LimitValuePast it
Extra spaces in one search (extra_scopes)40422 INVALID_EXTRA_SCOPES (Recall)
Other wordings of a question (query_variants)4, each up to 4,096 bytes422 INVALID_BODY (Languages)
Kinds whose newest memory every search includes (newest_of_kinds)16422 INVALID_BODY
Text handed to your model (budgets.max_tokens)4,000 tokens by default; you set ita long memory comes as its best excerpt

Spaces, tenants and shards

LimitValue
Parts (segments) in a space name32, and 4,096 characters in all (Scopes)
Copies of each shard in a cluster1 to 5 (3 is usual)
Per org tree, by default16 shared sources, 50,000 source containers per source, 8 applications; each is a setting, and past one a registration answers 409 ACCESS_LIMIT_REACHED (409 APP_LIMIT_REACHED for applications)

Governed memory

LimitValue
Recent memories a policy test readsup to 200 (Derivation Policies)
How long an unreviewed candidate waits30 days, then it expires (Review)
How far ahead a change set can be scheduled90 days (Change Sets)

See also

On this page