Skip to main content
GET
Get edge HTTP traffic timeline

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

The unique identifier of the Upsun project

Pattern: [a-z0-9]+
Example:

"abc123def456"

environmentId
string
required

The environment identifier

Pattern: .+
Example:

"main"

Query Parameters

from
integer<int64>
required

Start timestamp for the time range (Unix timestamp in seconds)

Example:

1704067200

to
integer<int64>
required

End timestamp for the time range (Unix timestamp in seconds)

Example:

1704153600

grain
integer

Seconds between two points, at least 60

Required range: x >= 60
Example:

60

Response

Edge HTTP traffic timeline retrieved successfully

_grain
integer
required

Data granularity in seconds, at least 60

Required range: x >= 60
Example:

60

_from
integer
required

Query start timestamp

Example:

1704067200

_to
integer
required

Query end timestamp

Example:

1704153600

_project_id
string
required

Project identifier

Example:

"abc123def456"

_environment_id
string
required

Environment identifier

Example:

"main"

_environment_type
enum<string>
required

Environment type

Available options:
production,
staging,
development
Example:

"production"

_branch_machine_name
string
required

Branch machine name

Example:

"main-bvxea6i"

top_hits_timeline
object
required

Edge HTTP traffic over time