Semantic Search
Vector Search
Semantic Search
Search for API collections using natural language
POST
Semantic Search
Authentication
Supports both Firebase and API Key authentication.Request Body
Natural language search query
Maximum number of results (1-100)
Example Request
Response
Returns matching collections ordered by similarity score.Collection UUID
Collection display name
Cosine similarity score (0-1, higher is better)
Example Response
How It Works
- Query Embedding - Your query is converted to a 768-dimensional vector using Vertex AI
- Similarity Search - pgvector performs cosine similarity search against all collection embeddings
- Access Filtering - Results are filtered to collections you have access to
- Ranking - Results are ordered by similarity score (highest first)
Access Control
- Admins: Search across all collections
- Clients: Search only across collections they have access to
Errors
| Status | Description |
|---|---|
| 400 | Invalid request body |
| 401 | Invalid authentication |
| 500 | Embedding service unavailable |

