> This page is for version v1.2.
> For other versions, use one of these documentation indexes:
> - v1.3 (default): https://docs.virtuosis.ai/v-1-3/llms.txt
> - v1.2: https://docs.virtuosis.ai/v-1-2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.virtuosis.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.virtuosis.ai/_mcp/server.

# Get analysis results for a recording

GET https://api.virtuosis.ai/v1.2/recordings/{recording_id}/analysis

Poll for analysis results after uploading a recording. To avoid rate limiting, a polling interval of 15-30 seconds is recommended (minimum 5 seconds), with a polling timeout of five minutes.


Reference: https://docs.virtuosis.ai/api-reference/recordings/get-recording-analysis

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `recording_id` (string, required) — The ID of the recording.

### Query parameters

- `analysis` (string, optional) — Comma-separated list of analysis types to include (default: all)

## Response

### 200

OK

- `metadata` (RecordingAnalysisMetadata, required) — Metadata about the recording.
- `analysis` (RecordingAnalysis, required) — Analysis results grouped by type.

## Errors

### 400 Bad Request Error

Bad request

- `error` (ErrorError, optional) — Error details.

### 401 Unauthorized Error

Unauthorized

- `error` (ErrorError, optional) — Error details.

### 403 Forbidden Error

Access is suspended

- `error` (ErrorError, optional) — Error details.

### 404 Not Found Error

Recording not found

- `error` (ErrorError, optional) — Error details.

### 500 Internal Server Error

Internal server error

- `error` (ErrorError, optional) — Error details.

## Types

### RecordingAnalysisMetadata

Metadata about the recording.

- `recording_id` (string, required) — The ID of the recording.
- `account_id` (string, required) — The ID of the account that submitted the recording.
- `recorded_at` (datetime, required) — ISO 8601 timestamp of when the recording began.
- `audio_duration_seconds` (double, required) — Total audio duration in seconds.
- `uploaded_at` (datetime, optional, nullable) — ISO 8601 timestamp of when the recording was uploaded.
- `audio_file_format` (string, optional, nullable) — Detected audio file format.
- `audio_size_bytes` (integer, optional, nullable) — Audio file size in bytes.
- `audio_sample_rate_hz` (integer, optional, nullable) — Audio sample rate in Hz.
- `audio_bit_rate_bps` (integer, optional, nullable) — Audio bit rate in bits per second.
- `speech_duration_seconds` (double, optional, nullable) — Detected speech duration in seconds.

### RecordingAnalysis

Analysis results grouped by type.

- `wellbeing` (WellbeingAnalysis, optional) — Wellbeing analysis results.
- `parkinsons` (ParkinsonsAnalysis, optional) — Parkinson's analysis results.
- `alzheimers` (AlzheimersAnalysis, optional) — Alzheimer's analysis results.

### ErrorError

Error details.

- `type` (string, optional) — Machine-readable error type.
- `message` (string, optional) — Human-readable description of the error.

### WellbeingAnalysis

- `status` (enum, required) — Status of wellbeing analysis processing.
  - Allowed values: `completed`, `processing`, `error`, `not_requested`
- `predictions` (WellbeingPredictions, optional) — Wellbeing predictions.

### ParkinsonsAnalysis

- `status` (enum, required) — Status of Parkinson's analysis processing.
  - Allowed values: `completed`, `processing`, `error`, `not_requested`
- `indicators` (ParkinsonsIndicators, optional) — Parkinson's-related acoustic indicators.
- `predictions` (ParkinsonsPredictions, optional) — Parkinson's disease probability.

### AlzheimersAnalysis

- `status` (enum, required) — Status of Alzheimer's analysis processing.
  - Allowed values: `completed`, `processing`, `error`, `not_requested`
- `indicators` (AlzheimersIndicators, optional) — Alzheimer's-related acoustic indicators.
- `predictions` (AlzheimersPredictions, optional) — Predicted classification (healthy, mild cognitive impairment, or Alzheimer's disease).

### WellbeingPredictions

- `stress` (StressPrediction, optional) — Stress prediction.
- `anxiety` (AnxietyPrediction, optional) — Anxiety prediction.
- `depression` (DepressionPrediction, optional) — Depression prediction.

### ParkinsonsIndicators

Acoustic and speech indicators used for Parkinson's analysis. Null if analysis did not complete.

- `volume` (integer, optional, nullable) — Mean energy in decibels.
- `monoloudness` (double, optional, nullable) — Standard deviation of loudness across the utterance in decibels.
- `monotony` (integer, optional, nullable) — Standard deviation of the fundamental frequency in hertz.
- `articulation` (integer, optional, nullable) — Dynamic range of the second formant in hertz.
- `speech_rate` (integer, optional, nullable) — Mean number of words spoken per minute.
- `speech_rate_stdev` (integer, optional, nullable) — Standard deviation of speech rate in words-per-minute.
- `pause_duration` (integer, optional, nullable) — Mean duration of silent pauses in milliseconds.
- `pause_duration_stdev` (integer, optional, nullable) — Standard deviation of pause duration in milliseconds.
- `voice_quality` (double, optional, nullable) — Cepstral peak prominence in decibels.
- `hnr` (integer, optional, nullable) — Harmonics-to-noise ratio in decibels.
- `stuttering` (double, optional, nullable) — Word and n-gram repetitions per minute.

### ParkinsonsPredictions

Parkinson's risk predictions. Null if analysis did not complete.

- `risk_score` (integer, optional, nullable) — Parkinson's disease probability.
- `risk_band` (string, optional, nullable) — Parkinson's risk band derived from the risk score.

### AlzheimersIndicators

Linguistic and speech indicators used for Alzheimer's analysis. Null if analysis did not complete.

- `ttr` (double, optional, nullable) — Type-token ratio.
- `brunet_index` (double, optional, nullable) — Brunet's index.
- `content_ratio` (double, optional, nullable) — Ratio of content words to total words.
- `mlu_words` (double, optional, nullable) — Mean length of utterance in words.
- `clause_ratio` (double, optional, nullable) — Ratio of clauses to utterances.
- `speech_rate` (double, optional, nullable) — Mean number of words spoken per minute.
- `speech_rate_stdev` (double, optional, nullable) — Standard deviation of speech rate in words-per-minute.
- `avg_pause_duration_ms` (double, optional, nullable) — Mean pause duration in milliseconds.
- `pause_filler_words_per_min` (double, optional, nullable) — Pause filler words per minute.
- `long_pause_ratio` (double, optional, nullable) — Proportion of total audio duration spent in long pauses.

### AlzheimersPredictions

Alzheimer's classification predictions. Null if analysis did not complete.

- `hc_probability` (double, optional, nullable) — Probability of healthy.
- `mci_probability` (double, optional, nullable) — Probability of mild cognitive impairment.
- `ad_probability` (double, optional, nullable) — Probability of Alzheimer's disease.
- `prediction` (string, optional, nullable) — Predicted classification (hc, mci, or ad).

### StressPrediction

- `result` (enum, optional) — Predicted stress level.
  - Allowed values: `low`, `moderate`, `high`

### AnxietyPrediction

- `result` (enum, optional) — Predicted anxiety level.
  - Allowed values: `minimal`, `mild`, `moderate`, `severe`

### DepressionPrediction

- `result` (enum, optional) — Predicted depression level.
  - Allowed values: `minimal`, `moderate`, `severe`

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "metadata": {
    "recording_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "account_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
    "recorded_at": "2024-01-15T09:30:00Z",
    "audio_duration_seconds": 180.5,
    "uploaded_at": "2024-01-15T09:35:00Z",
    "audio_file_format": "wav",
    "audio_size_bytes": 5242880,
    "audio_sample_rate_hz": 44100,
    "audio_bit_rate_bps": 1411200,
    "speech_duration_seconds": 150.3
  },
  "analysis": {
    "wellbeing": {
      "status": "completed",
      "predictions": {
        "stress": {
          "result": "moderate"
        },
        "anxiety": {
          "result": "mild"
        },
        "depression": {
          "result": "minimal"
        }
      }
    },
    "parkinsons": {
      "status": "completed",
      "indicators": {
        "volume": 65,
        "monoloudness": 3.2,
        "monotony": 15,
        "articulation": 1200,
        "speech_rate": 110,
        "speech_rate_stdev": 12,
        "pause_duration": 350,
        "pause_duration_stdev": 80,
        "voice_quality": 8.5,
        "hnr": 18,
        "stuttering": 2.3
      },
      "predictions": {
        "risk_score": 27,
        "risk_band": "low"
      }
    },
    "alzheimers": {
      "status": "completed",
      "indicators": {
        "ttr": 0.45,
        "brunet_index": 50.2,
        "content_ratio": 0.62,
        "mlu_words": 7.8,
        "clause_ratio": 1.3,
        "speech_rate": 105.4,
        "speech_rate_stdev": 10.7,
        "avg_pause_duration_ms": 400,
        "pause_filler_words_per_min": 3.5,
        "long_pause_ratio": 0.12
      },
      "predictions": {
        "hc_probability": 0.78,
        "mci_probability": 0.15,
        "ad_probability": 0.07,
        "prediction": "hc"
      }
    }
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis"

payload = {}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis';
const options = {
  method: 'GET',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("GET", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.virtuosis.ai/v1.2/recordings/recording_id/analysis")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```