Request Logs

Get an API request log detail

Devuelve el detalle completo (cuerpos y cabeceras) de una petición concreta del usuario autenticado. 404 si no existe o no pertenece al usuario.


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/{request_id}
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

Path Parameters

request_idstring

Identificador de correlación (X-Request-Id).

Query Parameters

timestamp?string

Fecha del log (la que devuelve la lista). Acota la ventana de búsqueda alrededor de ese instante para que el detalle funcione también con logs más antiguos que la ventana por defecto. Si se omite, se busca en la ventana reciente por defecto.

Formatdate-time

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.beel.es/api/v1/developers/request-logs/string"
{
  "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",
    "query_string": "string",
    "user_agent": "string",
    "request_body": "string",
    "response_body": "string",
    "request_headers": {
      "property1": "string",
      "property2": "string"
    },
    "response_headers": {
      "property1": "string",
      "property2": "string"
    }
  },
  "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": "NOT_FOUND",
    "message": "Resource not found"
  },
  "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"
  }
}