| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### Programs

#### Programs

- array of objects

The list of programs, separated by comma.

### ADD

- string

#### period_start

- string

- required

- `^{4}-{2}$`

The start of the period for the report in ISO-8601 formatted year and month (`YYYY-MM`).

#### period_end

- string

- required

- `^{4}-{2}$`

The end of the period for the report in ISO-8601 formatted year and month (`YYYY-MM`), which is inclusive.

### Response Codes

#### 200

Versions of revenue reports for a specified period. The response includes the latest revenue report versions filtered by the provided report type and date range.

- array of objects

- object

#### version

- string

- required

- length ≥ 2

- `V.+`

The report version. If not specified the latest version is returned.

#### updated_at

- date-time

- required

ISO-8601 timestamp of the settlement update date

#### settlement_period

- object

- required

The period for which the revenue report is generated for.

#### settlement_period object

### Response Codes

#### 400

Returns 400 if the request is invalid.

#### 401

Returns 401 if the request is unauthorized.

#### 403

Returns 403 if the request doesn't have the right values.

#### 500

Returns 500 if there's an internal server error.

### Updated 4 days ago

### Example Request
```
curl --request GET \
     --url https://api.staging.leap.energy/v1.1/revenue/periodic/versions \
     --header 'accept: application/json'
```

### Example Response
```
[
  {
    "version": "V1",
    "updated_at": "2000-01-23T04:56:07.000+00:00",
    "settlement_period": {
      "period_start": "2023-03",
      "period_end": "2023-03"
    }
  }
]
```
