---
title: "Provides Node sessions data during a period of time"
method: GET
path: "/node/provider/sessions"
tags: ["provider"]
---

# Provides Node sessions data during a period of time

`GET /node/provider/sessions`

Node sessions metrics during a period of time

## Query parameters

- `range` string

## Response `200`

Provider sessions list

- ProviderSessionsResponse
  - `sessions` ProviderSession[]
    - `consumer_country` string
    - `duration_seconds` integer
    - `earnings` Tokens — Tokens a common response for ethereum blockchain monetary amount
      - `ether` string
      - `human` string
      - `wei` string
    - `id` string
    - `service_type` string
    - `started_at` string
    - `transferred_bytes` integer

## Other responses

- `400` — Failed to parse or request validation failed
- `500` — Internal server error

## Changes

- **2022-09-04** `0246c1d5f0d6` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
  - added the success response with the status `200`
- **2022-09-01** `15f8370ecb21` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `500`
- **2022-09-01** `f6a1f75cba4a` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
  - added the success response with the status `200`
- **2022-09-01** `4f73f9561a88` — 1 breaking, 2 info
  - removed the success response with the status `200`
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `500`
- **2022-08-25** `fd873b1e5fbd` — 3 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `500`
  - added the success response with the status `200`

[Full history](https://skmtc.dev/mysteriumnetwork/apis/tequila-api/changes/node/provider/sessions/get.md)

---

[API](https://skmtc.dev/mysteriumnetwork/apis/tequila-api.md) · [All operations](https://skmtc.dev/mysteriumnetwork/apis/tequila-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mysteriumnetwork/tequila-api/revisions/cb1439736b63/schema)
