API Reference
Integrate NileAI into your apps. The API proxy is built into this installation — no separate server needed.
Base URL
https://fundravest.com/api.php
Send all API requests to this endpoint. No API key header required — the endpoint is open.
Success Response
200 OK
{
"content": "NileAI's reply text here...",
"model": "Uganda-0.1"
}
Error Response
Error
{
"error": "Description of what went wrong"
}
| Error | Meaning |
|---|---|
| Method not allowed | Use POST, not GET |
| Invalid request | Missing or malformed messages array |
| Invalid message role | Role must be "user" or "assistant" |
| Connection failed | Upstream AI endpoint unreachable |
| AI error. Please try again. | Upstream returned no usable response |