Session

Returns sessions stats

Returns aggregated daily statistics of sessions filtered by given query (date_from=<now -30d> and date_to=<now> by default)

get/sessions/stats-daily

Request

  • Base URL
    https://127.0.0.1:4050
  • URL
    https://127.0.0.1:4050/sessions/stats-daily
  • Auth
    none declared

Query parameters

date_fromstring date

Filter the sessions from this date. Formatted in RFC3339 e.g. 2020-07-01.

date_tostring date

Filter the sessions until this date. Formatted in RFC3339 e.g. 2020-07-30.

directionstring

Direction to filter the sessions by. Possible values are "Provided", "Consumed".

consumer_idstring

Consumer identity to filter the sessions by.

hermes_idstring

Hermes ID to filter the sessions by.

provider_idstring

Provider identity to filter the sessions by.

service_typestring

Service type to filter the sessions by.

statusstring

Status to filter the sessions by. Possible values are "New", "Completed".

Response

Daily session statistics

countinteger
count_consumersinteger
sum_bytes_receivedinteger
sum_bytes_sentinteger
sum_durationinteger
sum_tokensstring

Changes

No recorded changes to this operation across all 52 revisions of this API.