Latest Metrics
```title="ENDPOINT"
GET https://obscura.network/metrics/<API_KEY>/<NETWORK>/latest
```
Returns the latest requests made by the API_KEY
on the specified NETWORK
. The max amount of items returned is 100. An offset
query param is available to offset in order to look further into the past.
Arguments¶
DateString¶
Following the ISO 8601 standard. Example: 2023-11-03T12:47:54.924Z.
QueryParams¶
Parameter | Type | Description |
---|---|---|
offset | uint | The amount of sorted requests to be skipped |
Types¶
PreviousRequest¶
Parameter | Type | Description |
---|---|---|
apiKey | string | The api key associated with the request aggregate |
version | string | The version of the request |
method | string | The HTTP method of the request |
route | string | The requested route |
fullRoute | string | The fullRoute including the version and apiKey |
timestamp | DateString | The timestamp of the request |
Response¶
Parameter | Type | Description |
---|---|---|
result | PreviousRequest[] (max 100 items) | An array of the latest requests (sorted by timestamp) |