Welcome to Morpheus API Gateway
The Morpheus API Gateway connects Web2 clients to the Morpheus-Lumerin AI Marketplace. This gateway provides OpenAI-compatible endpoints for seamless integration with existing AI applications.Base URL
/api/v1. For example:
- Models:
https://api.mor.org/api/v1/models - Chat:
https://api.mor.org/api/v1/chat/completions - Embeddings:
https://api.mor.org/api/v1/embeddings
Authentication
The API uses two authentication methods:Bearer Token (JWT)
Used for user-level endpoints like account management, API key generation, and settings. This is handled on the back-end within the Open Beta portalAPI Key
Used for AI inference endpoints like chat completions and model listings.API Categories
- Models: List and query available AI models and bids
- Chat: OpenAI-compatible chat completion endpoints
- Embeddings: Embeddings endpoint to support vector storage (RAG)
- Session: Blockchain session management for provider connections
- Chat History: Store and retrieve chat conversations
- ** Utility**: Health Checks
Rate Limits
Rate limits are applied per API key and vary based on your account tier. Contact support for enterprise rate limits. These have yet to be implemented.Error Handling
The API returns standard HTTP status codes:200- Success201- Created204- No Content (successful deletion)400- Bad Request401- Unauthorized403- Forbidden404- Not Found422- Validation Error500- Internal Server Error

