API Test Interface
Authentication Required
You need to be authenticated and validate an API key to use the API test interface.
After logging in, you'll be taken to the Admin page to select your API key.
CURL Request
curl -X 'POST' \ 'https://api.mor.org/api/v1/chat/completions' \ -H 'accept: application/json' \ -H 'Authorization: Bearer [YOUR_API_KEY]' \ -H 'Content-Type: application/json' \ -d '{ "model": "default", "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "Hello, how are you?" } ], "stream": false }'