MAMMOUTH API offers a comprehensive set of endpoints for AI model interactions. Key capabilities include:
- Model Management: Retrieve information about specific models, model groups, and public models via endpoints like
/models/{model_id},/model_group/info, and/public/models. - Chat Completions: Generate conversational responses using
/chat/completionsand/v1/chat/completionsendpoints. - Text Completions: Produce text completions through
/completionsand/v1/completions, with additional support for cursor-based chat completions. - Embeddings: Create vector embeddings using
/embeddingsand/v1/embeddingsendpoints. - Response Handling: Manage AI-generated responses with endpoints for creating, retrieving, deleting, compacting, and canceling responses, such as
/responsesand/responses/{response_id}. - Health Monitoring: Check API status with
/health,/health/readiness, and/health/livenessendpoints. - Key Management: Access key information via
/key/info. The API supports OAS 3.1 and includes schemas for various request and response objects, such as ProxyChatCompletionRequest and ChatCompletionAssistantMessage. Typical use cases involve integrating AI model functionalities into applications for tasks like chatbots, text generation, and data embedding.

