crystal_query_knowledge_base or the query endpoint.
Allowance
Chunks do not consume the memory allowance. The allowance counts active memories that are not in a knowledge base. Dashboard active totals can still include the chunks; the billable number subtracts them. See Usage and allowances.Access
Two checks apply, and they are not the same.
Listing without an
agentId and without a channel is the management list: it does not apply the agent filter, so the dashboard can show bases the current agent cannot query. Passing either value turns the filter on.
crystal_set_knowledge_base_access adds or removes a slug. The installer prints which bases the declared agentId cannot see. See Scoping and access.
Import, list, empty, archive, delete
Tools and endpoints
crystal_list_knowledge_basescrystal_query_knowledge_basecrystal_import_knowledgeGET /api/knowledge-basesPOST /api/knowledge-bases/:knowledgeBaseId/importPOST /api/knowledge-bases/:knowledgeBaseId/query
https://convex.memorycrystal.ai.
Common mistakes
- Expecting broad recall to search imported docs: use
crystal_query_knowledge_basefor the named base. - Assuming a base visible in the dashboard is queryable by every agent: pass your installed
agentIdand check the base’s allow-list. - Checking only the base’s access: chunks can also carry channels. Match the intended request scope.
- Reusing one
dedupeKeyfor different chunks: that replaces the existing chunk. Give each independently maintained chunk its own key. - Emptying a base to hide it: emptying deletes its chunks. Archive the base when you want to hide it and archive its contents instead.