Historial de consultas
Listá las consultas realizadas por tu organización con filtros y paginación.
GET
/api/v1/history—Ver historial de consultasParámetros
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
page | number | No | Página (default: 1) |
per_page | number | No | Resultados por página (default: 10, max: 50) |
from | string | No | Fecha desde (ISO 8601, ej: 2024-01-01) |
to | string | No | Fecha hasta (ISO 8601) |
status | string | No | Filtrar por estado: SUCCESS, ERROR |
source | string | No | Filtrar por origen: WEB, API, BULK |
Ejemplo
cURL
curl -X GET "https://argenapi.com/api/v1/history?page=1&per_page=5&status=SUCCESS" \ -H "Authorization: Bearer ps_live_TU_API_KEY"Respuesta (200)
Respuesta
{ "data": [ { "id": "lookup-uuid", "inputIdentifier": "0070026930004037264164", "inputType": "CBU", "status": "SUCCESS", "source": "API", "responseData": { "...": "datos del titular" }, "upstreamLatencyMs": 320, "creditConsumed": 1, "createdAt": "2024-12-15T10:30:00.000Z", "user": { "id": "user-uuid", "name": "Juan Pérez", "email": "juan@empresa.com" } } ], "pagination": { "page": 1, "per_page": 5, "total": 42, "total_pages": 9 }}