Search 64.6M knowledge entries or bring your own data. Tokenized with 3.8M whole words. No LLM embeddings. No inference costs.
// 1. Create an index — no embedding pipeline
await fetch("https://cold-api.coldstate.ai/v1/indexes", {
method: "POST",
headers: {
"Authorization": "Bearer cs_live_...",
"Content-Type": "application/json"
},
body: JSON.stringify({
name: "acme-docs",
domain_preset: "general",
documents: [
{ id: "doc_001", content: "Parental leave policy..." },
{ id: "doc_002", content: "Remote work guidelines..." }
]
})
});
// 2. Search — deterministic, E-scored, sub-3s
const res = await fetch(
"https://cold-api.coldstate.ai/v1/indexes/idx_.../search",
{
method: "POST",
headers: { "Authorization": "Bearer cs_live_..." },
body: JSON.stringify({
query: "parental leave policy for remote employees",
limit: 5
})
}
).then(r => r.json());
// res.state: "CRYSTALLINE"
// res.results[0].score.E: 0.94
// res.diagnostics.execution_time_ms: 847Search our knowledge base or bring your own data. Get your API key and start in under a minute.
Get API Key