Skip to main content
The Dolva API is a REST API that accepts audio file uploads and returns JSON analysis results. All endpoints are available at https://api.dolva.ai.

Base URL

https://api.dolva.ai

API Version

The current API version is v1. All analysis endpoints are prefixed with /v1/.

Authentication

All analysis endpoints require a Bearer token in the Authorization header:
Authorization: Bearer dv-xxxxxxxx
The GET /health endpoint does not require authentication. See Authentication for full details on obtaining and using your token.

Request Format

Analysis endpoints accept multipart/form-data requests. Include your audio file in the audio field:
FieldTypeRequiredDescription
audiobinary (file)YesThe audio file to analyze

Response Format

All endpoints return application/json. Successful responses have HTTP status 200.

Endpoints

POST /v1/analyze/cognitive

Analyze cognitive signals from an audio file.

POST /v1/analyze/emotion

Analyze emotional signals from an audio file.

GET /health

Check API availability.

Error Responses

StatusDescription
401 UnauthorizedMissing or invalid Bearer token
403 ForbiddenToken valid but lacks permissions
422 Unprocessable EntityValidation error — see error body for details
500 Internal Server ErrorServer-side error — retry with backoff

Validation Error Body

When a 422 is returned, the response body contains a structured error object:
{
  "detail": [
    {
      "loc": ["body", "audio"],
      "msg": "field required",
      "type": "value_error.missing"
    }
  ]
}
See Error Handling for guidance on handling these errors in your code.