Request Logs

List API request logs

Devuelve el historial de peticiones a la API pública hechas con las API keys del usuario autenticado (live + test). Solo tráfico auth_type=API_KEY.

Paginación por cursor: se navega con cursor (opaco). No hay salto a página N porque la fuente (Axiom/APL) no soporta offset eficiente. Por defecto se devuelven los últimos 30 días; acótalo con from/to.


Try this endpoint with Claude
Copy the prompt for any assistant, or open it directly in Claude Code (needs it installed).
GET
/v1/developers/request-logs
AuthorizationBearer <token>

API Key authentication.

Format: Authorization: Bearer beel_sk_<key>

Scopes: API Keys use the same scopes as OAuth2 tokens. Each key is created with specific scopes that limit which endpoints it can access. The required scope for each endpoint is documented in the operation's security section under OAuth2.

Obtaining Keys: API Keys are managed from the BeeL dashboard

Security: API Keys are secret credentials. Do not share them or store them in source code

In: header

Query Parameters

environment?string

Filtra por entorno (live/test).

Value in"PRODUCTION" | "SANDBOX"
only_errors?boolean

Si true, solo peticiones con status >= 400.

Defaultfalse
method?string

Filtra por método HTTP.

http_status?integer

Filtra por un código de estado HTTP exacto.

Range100 <= value <= 599
path_contains?string

Filtra por subcadena del path (case-insensitive).

api_key_id?string

Filtra por una API key concreta.

Formatuuid
from?string

Límite inferior del rango temporal (inclusive). Por defecto, hace 30 días.

Formatdate-time
to?string

Límite superior del rango temporal (inclusive). Por defecto, ahora.

Formatdate-time
cursor?string

Cursor opaco devuelto en una respuesta previa (next_cursor / prev_cursor).

limit?integer
Default25
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.beel.es/api/v1/developers/request-logs"
{
  "success": true,
  "data": [
    {
      "request_id": "6f9619ff-8b86-d011-b42d-00cf4fc964ff",
      "timestamp": "2019-08-24T14:15:22Z",
      "http_method": "POST",
      "http_path": "/v1/invoices",
      "http_status": 422,
      "duration_ms": 0,
      "environment": "PRODUCTION",
      "api_key_id": "b0dd218e-3bcf-4bdb-a1e3-0689d60a8afd",
      "error_code": "VALIDATION_ERROR",
      "client_ip": "string"
    }
  ],
  "pagination": {
    "next_cursor": "string",
    "prev_cursor": "string",
    "has_next": true,
    "has_previous": true
  },
  "meta": {
    "timestamp": "2025-01-15T10:30:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}
{
  "success": false,
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid request"
  },
  "meta": {
    "timestamp": "2025-01-15T10:30:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Authentication required"
  },
  "meta": {
    "timestamp": "2025-01-15T10:30:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}
{
  "success": false,
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "Internal server error"
  },
  "meta": {
    "timestamp": "2025-01-15T10:30:00Z",
    "request_id": "4bf92f3577b34da6a3ce929d0e0e4736"
  }
}