Skip to main content
Search Spaces
Performs vector-similarity search over spaces in the project using AI embeddings. Returns the most semantically relevant spaces for the given query. Requires a paid plan with semantic search enabled. Requires an authenticated user. Send the user’s access token as Authorization: Bearer <token> — missing token → 401, invalid/expired token → 403 (refresh and retry).
Only spaces that are public, with every space above them public too, are returned, whoever searches. "unlisted" and "private" spaces, and every space under one, are never surfaced in search results. Hidden spaces stay indexed but filtered out, so re-listing a space (setting it back to "public") makes it searchable again immediately with no rebuild. See Space visibility.

Body Parameters

string
required
The natural language search query (e.g., a topic, name, or description).
number
default:"10"
Maximum number of spaces to return. Maximum 50.

Response

Returns an array of result objects ordered by similarity:

Error Responses

The endpoint requires an authenticated user. A missing token returns a bare 401; an invalid or expired token returns a bare 403 — refresh the access token and retry.