Get HTTP traffic timeline by IP
Returns HTTP traffic analytics grouped by IP address with IPs ranked by impact (response time × request count). Use limit parameter to control total items returned (default: 200, max: 300) and top_hits_count to control how many items are flagged as top hits and tracked in the timeline (default: 10, max: 15). Items with index < top_hits_count are flagged with top_hit: true and tracked in top_hits_timeline; the remainder (up to limit) are returned with top_hit: false.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the Upsun project
[a-z0-9]+"abc123def456"
The environment identifier
.+"main"
Query Parameters
Start timestamp for the time range (Unix timestamp in seconds)
1704067200
End timestamp for the time range (Unix timestamp in seconds)
1704153600
Maximum number of items to return (default: 200, max: 300)
1 <= x <= 300Number of items to flag as top hits and track in the timeline (default: 10, max: 15). Items with index < top_hits_count have top_hit=true; the remainder up to limit are returned with top_hit=false.
1 <= x <= 15Filter by application. Can be specified multiple times for multiple values (e.g., ?applications[]=app1&applications[]=app2). Use applications_mode to control inclusion/exclusion behavior.
Filter mode for applications parameter. "1" (additive) includes only specified applications. "-1" (subtractive) excludes specified applications and includes all others. When omitted: defaults to "-1" if no applications values are provided; defaults to "1" (additive) if at least one applications value is provided.
1, -1 "1"
Filter by HTTP methods. Can be specified multiple times for multiple values (e.g., ?methods[]=GET&methods[]=POST). Use methods_mode to control inclusion/exclusion behavior.
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS Filter mode for methods parameter. "1" (additive) includes only specified methods. "-1" (subtractive) excludes specified methods and includes all others. When omitted: defaults to "-1" if no methods values are provided; defaults to "1" (additive) if at least one methods value is provided.
1, -1 "1"
Filter by request domains/hosts. Can be specified multiple times for multiple values (e.g., ?domains[]=api.example.com&domains[]=www.example.com). Use domains_mode to control inclusion/exclusion behavior.
Filter mode for domains parameter. "1" (additive) includes only specified domains. "-1" (subtractive) excludes specified domains and includes all others. When omitted: defaults to "-1" if no domains values are provided; defaults to "1" (additive) if at least one domains value is provided.
1, -1 "1"
Filter by HTTP status code groups. Can be specified multiple times for multiple values (e.g., ?code_slots[]=4XX&code_slots[]=5XX). Use code_slots_mode to control inclusion/exclusion behavior.
1XX, 2XX, 3XX, 4XX, 5XX Filter mode for code_slots parameter. "1" (additive) includes only specified code groups. "-1" (subtractive) excludes specified code groups and includes all others. When omitted: defaults to "-1" if no code_slots values are provided; defaults to "1" (additive) if at least one code_slots value is provided.
1, -1 "1"
Filter by specific HTTP status codes. Can be specified multiple times for multiple values (e.g., ?codes[]=200&codes[]=404). Use codes_mode to control inclusion/exclusion behavior.
Filter mode for codes parameter. "1" (additive) includes only specified codes. "-1" (subtractive) excludes specified codes and includes all others. When omitted: defaults to "-1" if no codes values are provided; defaults to "1" (additive) if at least one codes value is provided.
1, -1 "1"
Filter by response time ranges (in milliseconds). Can be specified multiple times for multiple values (e.g., ?request_duration_slots[]=0-50&request_duration_slots[]=1600+). Use request_duration_slots_mode to control inclusion/exclusion behavior.
0-50, 50-100, 100-200, 200-400, 400-800, 800-1600, 1600+ Filter mode for request_duration_slots parameter. "1" (additive) includes only specified duration ranges. "-1" (subtractive) excludes specified duration ranges and includes all others. When omitted: defaults to "-1" if no request_duration_slots values are provided; defaults to "1" (additive) if at least one request_duration_slots value is provided.
1, -1 "1"
Response
HTTP traffic timeline by IP retrieved successfully
Data granularity in seconds
5
Query start timestamp
1704067200
Query end timestamp
1704153600
Project identifier
"abc123def456"
Environment identifier
"main"
Environment type
production, staging, development "production"
Branch machine name
"main-bvxea6i"
Maximum number of items returned
200
Number of items flagged as top hits (top_hit=true) and tracked in top_hits_timeline.
10
IP addresses ranked by impact
Time-series data for top hit items
Applied application filter values
Application filter mode (1=additive, -1=subtractive)
1, -1 Applied method filter values
Method filter mode (1=additive, -1=subtractive)
1, -1 Applied domain filter values
Domain filter mode (1=additive, -1=subtractive)
1, -1 Applied code slot filter values
Code slot filter mode (1=additive, -1=subtractive)
1, -1 Applied HTTP status code filter values
Code filter mode (1=additive, -1=subtractive)
1, -1 Applied request duration slot filter values
Request duration slot filter mode (1=additive, -1=subtractive)
1, -1