GET
/recurrentes/{id}/historial
🔒 Requiere clave de API
Las últimas 200 corridas, más recientes primero. Requiere recurrentes:leer.
Ejemplo
curl -X GET "https://fenix.kalkulusapp.com/api/recurrentes/1/historial" \
-H "X-API-KEY: TU_API_KEY"
const respuesta = await fetch("https://fenix.kalkulusapp.com/api/recurrentes/1/historial", {
method: "GET",
headers: {
"X-API-KEY": "TU_API_KEY"
}
});
const datos = await respuesta.json();
import requests
respuesta = requests.request(
"GET",
"https://fenix.kalkulusapp.com/api/recurrentes/1/historial",
headers={
"X-API-KEY": "TU_API_KEY"
},
)
print(respuesta.json())
<?php
$ch = curl_init("https://fenix.kalkulusapp.com/api/recurrentes/1/historial");
curl_setopt_array($ch, [
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-API-KEY: TU_API_KEY",
],
]);
$respuesta = json_decode(curl_exec($ch), true);
curl_close($ch);
Parámetros
| Nombre | Tipo | Descripción |
|---|---|---|
| idobligatorio en ruta |
entero | Id del recurrente |
Respuestas
200Corridas
Historial de corridas
[
{
"id": 91,
"estado": "ok",
"motivo": null,
"consecutivo": "00100001010000000123",
"ejecutado_at": "2026-11-01 06:00:03"
},
{
"id": 77,
"estado": "error",
"motivo": "El certificado venció",
"consecutivo": null,
"ejecutado_at": "2026-10-01 06:00:02"
}
]
404No existe o es de otra empresa
401Unauthorized
403Ruta no disponible, o la API key no tiene el alcance (`alcance_faltante`)