Minted AI API
A modern REST API for AI-powered conversations
Features
- AI-powered responses with LangChain
- Conversation memory and message history
- Authentication with Clerk
- DynamoDB for scalable storage
- Pagination support for messages
- Type-safe API with TypeScript
API Endpoints
Conversations
GET /api/conversationsList conversationsPOST /api/conversationsCreate conversationPUT /api/conversations/:idUpdate conversationDELETE /api/conversations/:idDelete conversationPOST /api/conversations/:id/titleUpdate title
Messages
GET /api/conversations/:id/messagesList messages (with pagination)POST /api/conversations/:id/messagesSend message and get AI response (with conversation history)PUT /api/conversations/:id/messages/:messageIdUpdate messageDELETE /api/conversations/:id/messages/:messageIdDelete message