# Get an analysis

`GET /v1/recordings/{recording_id}/analysis`

Required scope: `recordings:read`

The call analysis, latest version unless `version` is given: the score and its four sub-scores, summary, objections, questions, next steps and more. Every item carries the quote and time it came from. Also delivered by the `recording.analyzed` webhook event.

## Path parameters

- `recording_id` (string, required)

## Query parameters

- `version` (integer or null, optional)

## Responses

- `200`: Successful Response
- `400`: The request is not valid.
- `401`: Not signed in, or the credentials are not valid.
- `402`: The balance is too low.
- `403`: Not allowed to do this.
- `404`: Not found.
- `409`: Conflicts with the current state.
- `413`: The request body is too large.
- `415`: The content type is not supported.
- `422`: A value in the request is not valid.
- `429`: Too many requests. Wait for `Retry-After` seconds.
- `500`: Something went wrong on our side.
- `502`: A service Valeron depends on refused the request.
- `503`: A service Valeron depends on is unavailable.

## Examples

### Request

```bash title="cURL"
curl "https://api.valeron.io/v1/recordings/rec_01JR70S5VT/analysis" \
  -H "Authorization: Bearer $VALERON_API_KEY"
```

```js title="JavaScript"
const response = await fetch("https://api.valeron.io/v1/recordings/rec_01JR70S5VT/analysis", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${process.env.VALERON_API_KEY}`,
  },
});
if (!response.ok) throw new Error(`Valeron returned ${response.status}`);
const data = await response.json();
```

```python title="Python"
import os
import requests

response = requests.get(
    "https://api.valeron.io/v1/recordings/rec_01JR70S5VT/analysis",
    headers={"Authorization": f"Bearer {os.environ['VALERON_API_KEY']}"},
)
response.raise_for_status()
data = response.json()
```

### Response 200

```json
{
  "call_score": 82,
  "created_at": "2026-12-03T14:30:00Z",
  "latest_version": 1,
  "metrics": {
    "filler_word_count": 3,
    "interruption_count": 3,
    "longest_monologue_seconds": 12,
    "talk_ratio": 0.42,
    "words_per_minute": 1
  },
  "model": "example",
  "result": {
    "call_type": {
      "label": "Example",
      "value": "example"
    },
    "close_attempts": [
      {
        "at_seconds": 12,
        "note": "Thanks for your time today. Here is what we agreed.",
        "quote": "We need this live before the end of the quarter."
      }
    ],
    "coaching_areas": [
      {
        "area": "example",
        "do_instead": "example",
        "evidence": [
          {
            "at_seconds": 12,
            "quote": "We need this live before the end of the quarter."
          }
        ],
        "explanation": "example",
        "try_saying": "example"
      }
    ],
    "competitor_mentions": [
      {
        "at_seconds": 12,
        "is_known": true,
        "name": "Jordan Rivera",
        "quote": "We need this live before the end of the quarter."
      }
    ],
    "contact_sentiment": {
      "label": "Example",
      "value": "example"
    },
    "discovery_questions": [
      {
        "at_seconds": 12,
        "is_open": true,
        "quote": "We need this live before the end of the quarter."
      }
    ],
    "highlights": [
      {
        "at_seconds": 12,
        "end_seconds": 12,
        "quote": "We need this live before the end of the quarter.",
        "title": "Discovery call"
      }
    ],
    "is_next_step_secured": true,
    "next_call_focus": "example",
    "next_steps": [
      {
        "at_seconds": 12,
        "due_at": "2026-12-03T14:30:00Z",
        "kind": {
          "label": "Example",
          "value": "example"
        },
        "owner": {
          "label": "Example",
          "value": "example"
        },
        "quote": "We need this live before the end of the quarter.",
        "title": "Discovery call"
      }
    ],
    "objections": [
      {
        "at_seconds": 12,
        "category": {
          "label": "Example",
          "value": "example"
        },
        "is_resolved": true,
        "quote": "We need this live before the end of the quarter.",
        "response": "example"
      }
    ],
    "outcome": {
      "label": "Example",
      "value": "example"
    },
    "payment_agreement": {
      "amount": 2400000,
      "amount_paid": 2400000,
      "at_seconds": 12,
      "currency": "USD",
      "quote": "We need this live before the end of the quarter.",
      "terms": "example"
    },
    "pricing_mentions": [
      {
        "at_seconds": 12,
        "note": "Thanks for your time today. Here is what we agreed.",
        "quote": "We need this live before the end of the quarter."
      }
    ],
    "proposed_changes": [
      {
        "at_seconds": 12,
        "field": "example",
        "object": {
          "label": "Example",
          "value": "example"
        },
        "quote": "We need this live before the end of the quarter.",
        "value": "example"
      }
    ],
    "scores": [
      {
        "evidence": [
          {
            "at_seconds": 12,
            "quote": "We need this live before the end of the quarter."
          }
        ],
        "name": {
          "label": "Example",
          "value": "example"
        },
        "reason": null,
        "score": 82
      }
    ]
  },
  "status": {
    "label": "Example",
    "value": "example"
  },
  "transcript_version": 1,
  "version": 1
}
```

### Response 401

```json
{
  "error": null
}
```

### Response 402

```json
{
  "error": null
}
```

### Response 403

```json
{
  "error": null
}
```

### Response 404

```json
{
  "error": null
}
```
