# CallRecording Estrutura de dados do contrato OpenAPI. ## Campos | Campo | Tipo | Presença | Descrição | |---|---|---|---| | `status` | `string` | obrigatório | Valores: `"not_recorded"`, `"recording"`, `"ready"`, `"failed"`, `"expired"` | | `contentType` | `string` | opcional | Valores: `"audio/wav"` | | `bytes` | `integer` | opcional | — | | `durationSeconds` | `number` | opcional | — | | `downloadPath` | `string` | opcional | Caminho relativo autenticado com header token; somente quando ready. | | `expiresAt` | `string` | opcional | Formato: `date-time` | | `failureReason` | `string` | opcional | — | ## Definição OpenAPI ```json { "type": "object", "required": [ "status" ], "properties": { "status": { "type": "string", "enum": [ "not_recorded", "recording", "ready", "failed", "expired" ] }, "contentType": { "type": "string", "enum": [ "audio/wav" ] }, "bytes": { "type": "integer" }, "durationSeconds": { "type": "number" }, "downloadPath": { "type": "string", "description": "Caminho relativo autenticado com header token; somente quando ready." }, "expiresAt": { "type": "string", "format": "date-time" }, "failureReason": { "type": "string" } }, "additionalProperties": false } ```