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

# CPF — Cobertura del corpus

> Archivos que esta instancia Gu1 ya terminó de cargar para CPF, y el rango de fechas de ocurrencia.

## Request

```http theme={null}
GET /api/integration-services/ar_gueno_cpf_service/corpus/coverage
```

Sin query ni body. Gu1 usa el tenant de la instancia. No envíes `tenant`.

Requiere el servicio CPF activo en la organización y `services:execute`. **Facturación:** no se cobra. Las consultas no se limitan con este rango: `/cuits`, `/accounts` y `/operations` siguen leyendo el corpus completo.

Un archivo aceptado con `202` no aparece hasta que la carga termina. Las cargas pendientes, en curso o fallidas no se listan. Un archivo sin fechas de ocurrencia entra con `from` y `to` en `null`.

## Response

`loaded` es `true` cuando al menos un archivo terminó de cargarse. `coverageFrom` y `coverageTo` son la fecha de ocurrencia más antigua y la más reciente de esos archivos.

```json theme={null}
{
  "success": true,
  "data": {
    "integrationCode": "ar_gueno_cpf_service",
    "tenant": "bdc",
    "service": "cpf",
    "loaded": true,
    "fileCount": 1,
    "coverageFrom": "2024-03-01",
    "coverageTo": "2024-12-20",
    "files": [
      {
        "fileName": "ops-2024.xlsx",
        "r2Key": "bdc/cpf/incoming/ops-2024.xlsx",
        "from": "2024-03-01",
        "to": "2024-12-20",
        "records": 840,
        "finishedAt": "2026-10-28T14:02:00.000Z"
      }
    ]
  }
}
```

Si no hay cargas terminadas, `loaded` es `false`, `fileCount` es `0`, las fechas son `null` y `files` es `[]`.

## Errores

| HTTP | `error.code` | Cuándo |
| - | - | - |
| 400 | `invalid_tenant` | Esta instancia no está habilitada para leer la cobertura |
| 503 | `TENANT_SLUG_REQUIRED` | Esta instancia no está configurada para leer el corpus |
| 503 | `SERVICE_UNAVAILABLE` | El servicio no está disponible |


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