Start using your API keys
You can manage and create API keys.
curl https://plannix.web.id/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $PLANNIX_API_KEY" \
-d '{
"model": "plannix-3-ultra",
"messages": [
{
"role": "user",
"content": "Fix this function and explain the bug: function median(a){a.sort();return a[a.length/2]}"
}
]
}'