Prerequisites
- A Dolva account and API token (sign up at dolva.ai)
- An audio file in a supported format (WAV, MP3, or similar — see Audio Requirements)
curl, Python, or another HTTP client
Get your API token
Log in to your Dolva account at dolva.ai and copy your API token from the dashboard. You’ll use it as a Bearer token in the
Authorization header.Choose an analysis type
Decide whether you want cognitive or emotional signal analysis. Both endpoints accept the same audio upload format — you can call both on the same recording.
/v1/analyze/cognitive— cognitive load, clarity, and processing signals/v1/analyze/emotion— emotional state and valence signals
Upload your audio file
Send a
multipart/form-data POST request with your audio file in the audio field.Read the response
Dolva returns a JSON object with the analysis results. A successful response has HTTP status
200.Example Response
The exact fields in the response depend on the model version and audio content. See Interpreting Results for a full breakdown.
Next Steps
Authentication
Understand Bearer token authentication in detail.
Interpreting Results
Learn what each signal field means.
Error Handling
Handle validation errors and API failures gracefully.
API Reference
Full reference for all endpoints and parameters.