bash
GET /http-traffic/:trafficSourceId
Authorization header. The token must be obtained through the user authentication route.bash
Authorization: Bearer <your-token-here>
HttpTraffic records. The route requires authentication, and the user can only access data from traffic sources that they own.trafficSourceId | string | Traffic source ID for the search. | Yes |page | number | Page number (default: 1). |
| limit | number | Items per page (default: 10). |
| startDate | string | Start date in ISO format (e.g., "2025-07-10T00:00:00Z"). |
| endDate | string | End date in ISO format (e.g., "2025-07-10T23:59:59Z"). |
| domainId | string | Filters by a specific domain ID. |
| pathnameId | string | Filters by a specific pathname ID. |
| method | string | Filters by an HTTP method (e.g., "GET", "POST"). |
| status | number | Filters by an HTTP status code. |
| level | string | Filters by log level ("INFO", "WARNING", "FATAL"). |200 OKHttpTraffic and paging information.json
{"date": [{"id": "k1l2m3n4-o5p6-7890-1234-567890abcdef","status": 201,"method": "POST","level": "INFO","elapsedTime": 150,"trafficUserId": "user-456","trafficSourceId": "c1d2e3f4-g5h6-7890-1234-567890abcdef","domainId": "e1f2g3h4-i5j6-7890-1234-567890abcdef","pathnameId": "g1h2i3j4-k5l6-7890-1234-567890abcdef","requestId": "i1j2k3l4-m5n6-7890-1234-567890abcdef","responseId": "j1k2l3m4-n5o6-7890-1234-567890abcdef","createdAt": "2025-07-10T17:00:00.000Z"}],"meta": {"total": 1,"page": 1,"limit": 10}}
json
{"data": [],"meta": {"total": 0,"page": 1,"limit": 10}}
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
TrafficSource was not found.500 Internal Server Error