Skip to main content
POST
/
:projectId
/
api
/
v7
/
search
/
spaces
Search Spaces
curl --request POST \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/search/spaces \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "limit": 123
}
'
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.

Body Parameters

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

Response

Returns an array of result objects ordered by similarity:
[
  {
    "similarity": 0.89,
    "record": { ...Space object... }
  }
]

Error Responses

{ "error": "Semantic search requires a paid plan", "code": "project/plan-required" }