Search Semantic
Last updated
Search the registry by MEANING rather than by keyword: ?q= is embedded and ranked by cosine similarity, so it finds surfaces whose text never contains your terms. The complement to /api/v1/search, which is lexical -- reach for that one when you know the exact name. Each result carries its score, type, netuid/slug, title/subtitle, URL, categories, and service kinds; model names the embedding model. ?limit caps the list. Mirrored by the semantic_search MCP tool. Served live (no static file); 503 ai_unavailable where no AI binding is configured.
Query Parameters
Free-text search query, matched case-insensitively against the collection's indexed text fields. Whitespace-separated terms narrow the result (AND), and an empty or whitespace-only value is treated as no filter rather than as a search matching nothing.
length <= 1000Maximum number of rows to return in one page (at most 20). A larger value, or a non-positive one, is rejected with 400 invalid_query -- so a short page means the result set is exhausted, not that the server quietly capped you (#9916). Omitted, the server applies 10.
1 <= value <= 2010Value in
- "subnet"
- "surface"
- "provider"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/search/semantic?q=string"{ "data": { "count": 1, "model": "example", "query": "example", "results": [ { "categories": [ "example" ], "netuid": 7, "score": 100, "service_kinds": [ "example" ], "slug": "example-subnet", "title": "Example Subnet", "type": "example" } ] }, "meta": { "artifact_path": "example", "cache": "short", "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "observed_through": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}