> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oktivo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Analysis Schemas

> List your analysis schemas and retry analysis for a call.

## List schemas

`GET /api/v1/crm/analysis-schemas` returns the schemas you own plus the built-in templates. Their `features` are the fields that appear in `data.analysis` of `call.analysis_ready` and `call.completed`.

```json 200 OK theme={null}
{
  "success": true,
  "data": [
    {
      "analysis_id": "ans_123",
      "name": "Real estate lead qualification",
      "industry": "real_estate",
      "is_template": false,
      "features": [
        { "name": "is_interested", "type": "boolean", "description": "Caller wants a site visit" }
      ]
    }
  ],
  "requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
  "timestamp": "2026-03-02T04:05:00.000Z"
}
```

## Retry analysis

`POST /api/v1/crm/retry-analysis` with `{ "contactUID": "..." }` re-runs analysis for a call whose analysis failed or is missing. Phone-to-phone and human calls need a recording; AI calls reuse their transcript. A `call.analysis_ready` event follows when it completes.

| Status | Meaning |
| - | - |
| 400 | `contactUID` missing, or no recording exists for a human call. |
| 404 | The call does not belong to your account. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.