Listar los registros de todos los números

Sirve para revisar en un solo lugar los registros de actividad de todos tus números (método, URL, código HTTP, duración, errores) en una ventana de tiempo. Ideal para diagnosticar fallas.

GET
/devices/logs

List device_logs rows across the account within a bounded window, newest-first, keyset-paginated. Returns a summary only on the first page (no cursor)

Lectura · requiere el permiso accounts:read.

Listado · perPage de 1 a 100 (por defecto 25); también limit · orden fijo: más reciente primero · no acepta parámetros de orden.

Autorización

http
headerAuthorizationBearer <clave>

Parámetros de consulta

range?|
Valor en"1h""6h""24h""7d""30d"null
from?|
Formatodate-time
to?|
Formatodate-time
only_errors?boolean|null
exclude_sends?boolean|null
methods[]?array<>
cursor?string|null
limit?|
Rango1 <= value <= 500
per_device_cap?|
Rango1 <= value <= 150

Cuerpo de la respuesta

application/json
  1. response
data*array<>
devices*array<>
next_cursor*string
has_more*string
window*
summary*string
curl -X GET "https://example.com/devices/logs"
{  "data": [    {      "id": 0,      "method": "string",      "url": "string",      "status_code": 0,      "is_error": true,      "duration_ms": 0,      "created_at": "string",      "request_payload": [        null      ],      "response_body": [        null      ],      "device_id": "string",      "device_label": "string"    }  ],  "devices": [    {      "device_id": 0,      "label": "string",      "connected": true,      "activity_count": 0,      "truncated": "string"    }  ],  "next_cursor": "string",  "has_more": "string",  "window": {    "from": "string",    "to": "string"  },  "summary": "string"}