Base URL
All API requests are made to:Versioning
The current API version isv1. The version is included in the URL path.
Request format
All request bodies must be sent as JSON with theContent-Type: application/json header.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Interact with Voice AiLunaPro programmatically via the REST API
https://voice-api.ailunapro.com/api/v1
v1. The version is included in the URL path.
Content-Type: application/json header.
curl -X POST https://voice-api.ailunapro.com/api/v1/workflow/create/definition \
-H "Content-Type: application/json" \
-H "X-API-Key: dg_your_api_key" \
-d '{"name": "My Agent", "workflow_definition": {}}'
{
"detail": "Error message describing what went wrong"
}
{
"detail": [
{
"loc": ["body", "name"],
"msg": "field required",
"type": "value_error.missing"
}
]
}
curl https://voice-api.ailunapro.com/api/v1/health
{
"status": "ok",
"version": "1.0.0",
"backend_api_endpoint": "https://voice-api.ailunapro.com",
"deployment_mode": "oss",
"auth_provider": "local"
}
