cURL
curl --request GET \ --url https://apigcp.trynia.ai/v2/contexts/semantic-search
{ "search_query": "<string>", "search_metadata": { "search_type": "semantic", "total_results": 0, "vector_matches": 0, "mongodb_matches": 0 }, "suggestions": { "related_tags": [ "<string>" ], "workspaces": [ "<string>" ], "tips": [ "<string>" ] }, "results": [ {} ] }
Vector + BM25 hybrid search over contexts. Returns relevance scores and highlights.
Search query
1
Number of contexts to return
1 <= x <= 100
Include match highlights
Filter by specific workspace name
Successful Response
Response for semantic search in contexts.
The search query used
Search metadata
Show child attributes
Search suggestions
Search results with scores
Was this page helpful?