API Reference¶
Memista provides a RESTful HTTP API for vector search operations.
Base URL¶
API Version¶
All endpoints are prefixed with /v1/.
Endpoints Overview¶
| Endpoint | Method | Description |
|---|---|---|
/v1/insert |
POST | Insert text chunks with embeddings |
/v1/search |
POST | Search for similar chunks |
/v1/drop |
DELETE | Drop a database and its index |
Content Type¶
All requests must include:
Response Format¶
Successful responses return JSON with HTTP 200 status code.
Error responses return JSON with an appropriate error status code:
OpenAPI Documentation¶
Interactive API documentation is available at:
- Swagger UI:
http://localhost:8083/swagger-ui/ - Redoc:
http://localhost:8083/redoc/ - RapiDoc:
http://localhost:8083/rapidoc/ - Scalar:
http://localhost:8083/scalar/
Raw OpenAPI specification:
- JSON:
http://localhost:8083/openapi.json
Guide¶
- HTTP Endpoints - Detailed endpoint documentation
- Request/Response - Data schemas
- OpenAPI - Using the interactive documentation