Quickstart
Get up and running with ONI Cortex in under 2 minutes. Three steps to semantic search over your codebase.
Base URL:
https://cortex.oni.botAll endpoints below are relative to this base.1Sign up and get your API key
Create your account with a single API call. You will receive both a live and test API key immediately.
Save your api_key_live -- you will use it for all authenticated requests. You can pass it as a Bearer token (Authorization: Bearer oni_live_xxx) or as a query param (?key=oni_live_xxx).
2Connect your first repo
Index a GitHub repository into your default collection. The indexer will clone, chunk, embed, and store your code automatically.
3Query your context
Search your indexed codebase with natural language. Results include file paths, line numbers, and relevance scores.
What's next? Connect your IDE via MCP Integration, explore the full REST API Reference, or drop in the Python SDK for a batteries-included client.
ONI Cortex API v0.1.0 -- https://cortex.oni.bot