Version 2.4 | Base URL: https://api.cllova.ai/v1
All API requests require an API key in the header:
Authorization: Bearer YOUR_API_KEY
Get your key from the developer dashboard.
Process audio input into text commands
{
"audio": "base64_encoded_audio",
"language": "en-US",
"format": "wav|mp3",
"enhance": true
}
{
"success": true,
"text": "play jazz music",
"intents": [
{
"intent": "play_music",
"confidence": 0.97,
"parameters": {
"genre": "jazz"
}
}
]
}
List installed skills
{
"skills": [
{
"id": "weather_001",
"name": "Weather Lookup",
"version": "1.2",
"author": "CLLOVA Team"
},
{
"id": "calendar_002",
"name": "Calendar Manager",
"version": "2.1",
"author": "Third Party"
}
]
}
Install a new skill from package
{
"package_url": "https://example.com/skill.zip",
"verify_signature": true
}
Send commands to connected IoT devices
{
"device_id": "living_room_light",
"command": "set_state",
"parameters": {
"power": "on",
"brightness": 80,
"color": "#6e48aa"
}
}
{
"success": true,
"new_state": {
"power": "on",
"brightness": 80,
"color": "#6e48aa"
}
}
Code | Meaning |
---|---|
400 | Invalid request format |
401 | Unauthorized (invalid API key) |
429 | Rate limit exceeded |
500 | Internal server error |