-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
Nikita Ganzikov edited this page Jan 6, 2026
·
1 revision
Bright provides a RESTful API for managing search indexes and documents.
http://localhost:3000
All responses are in JSON format.
{
"hits": [...],
"totalHits": 10,
"totalPages": 2
}{
"error": "error message"
}-
200 OK- Request successful -
201 Created- Resource created successfully -
204 No Content- Request successful with no content to return -
400 Bad Request- Invalid request parameters -
404 Not Found- Resource not found -
500 Internal Server Error- Server error
- Index Management - Create, update, and delete indexes
- Document Operations - Add, update, and delete documents
- Search - Search documents with various filters and options