RAG-API
Retrieval-Augmented Generation API powered by FastAPI and OpenAI integration. Optimized for developers building intelligent chat applications.
RAG-API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
Get API-Key /user/get_api_key |
Get your x-api-key & your user_id |
| GET |
Project Access List /project/{project_id}/access/list |
List all users that have access to the project |
| GET |
Document Get /project/{project_id}/document/{document_id} |
Get the id and the name of a document |
| POST |
Project Access Add /project/{project_id}/access/add |
Add a new user to your project only if you are the project owner |
| GET |
Document List /project/{project_id}/document/list |
List all the documents uploaded to the project |
| DELETE |
Document Delete /project/{project_id}/document/{document_id}/delete |
Delete a document from the project |
| POST |
Project Query /project/{project_id}/query |
Query the project |
| GET |
Project List /project/list |
List of all projects you have access to |
| GET |
Project Get /project/{project_id} |
Get the name, id and owner id of the project |
| POST |
Project Create /project/create |
Create a new project |
| GET |
Ping /ping |
Ping Request |
| GET |
Get ID /user/get_id |
Get your user_id |
| POST |
Document Upload /project/{project_id}/document/upload |
Upload a file to the project. Supported files are: TXT / PDF / DOCX |
| DELETE |
Project Delete /project/{project_id}/delete |
Delete the project only if you are the project owner |
| DELETE |
Project Access Remove /project/{project_id}/access/{user_id}/remove |
Remove a user from your project only if you are the project owner |