Endpoints
API Keys Management
- GET
/api/sites/– List all API keys for a site/keys - POST
/api/sites/– Generate a new API key for a site/keys - PUT
/api/sites/– Update an API key/keys/(key) - DELETE
/api/sites/– Delete an API key/keys/(key) - GET
/api/sites/– Edit an API key/keys/(key)/edit - POST
/api/keyy/(key)/– Toggle API key status
Client Operations
- GET
/v1/client-info– Retrieve client information and Mainsearch config for an authorized API key
Dashboard
- GET
/dashboard– Get dashboard metrics
Index Operations
- POST
/api/v1/index/DeLtk– Bulk document operations - DELETE
/api/v1/index/destroy– Delete a document
User Profile
- GET
/profile/edit– Display user profile edit form - PUT
/profile– Update user profile - DELETE
/profile– Delete user account
Analytics
- GET
/api/analytics– Get search analytics data
Search Operations
- POST
/api/v1/search-log– Store a new search log entry
Site Management
- GET
/sites– Get list of sites for the authenticated user - POST
/sites– Store a new site - GET
/sites/create– Display site creation form - GET
/sites/– Edit site/edit - PUT
/sites/– Update a site - DELETE
/sites/– Delete a site
Usage Reporting
- POST
/v1/report-usage– Report API usage for search or indexing