API Documentation
This page summarizes currently documented API endpoints from the backend API documentation to support frontend integration.
Base URL
- http://localhost:8080
Core Endpoints
- GET /cosmeto/search/{chemical}
- GET /cosmeto/search/{chemical}/predict/{hazard}
- GET /cosmeto/search/{chemical}/predict/{hazard}/similar/{limit}
- GET /cosmeto/predict/{chemical}/{hazard}
- POST /cosmeto/predict/batch
- GET /cosmeto/similar/{chemical}/{hazard}
- GET /cosmeto/similar/{chemical}/{hazard}/visualize
- POST /cosmeto/similar/batch
- POST /multicompound/combine
- POST /multicompound/similar
Common Response Status Codes
- 200: Success
- 400: Bad Request
- 404: Not Found
- 500: Internal Server Error