Skip to main content
POST
Read metric points

Authorizations

Authorization
string
header
required

A workspace API key, created in Superlog under Settings → API keys.

Body

application/json
range
enum<string>
default:1h

How far back from now to read, when since is not given.

Available options:
15m,
1h,
6h,
24h,
7d
since
string<date-time>

Start of the window. Overrides range.

until
string<date-time>

End of the window. Defaults to now. Windows are at most 30 days.

limit
integer
default:100

Most rows to return.

Required range: 1 <= x <= 500
name
string

Only this metric.

Required string length: 1 - 500
resourceAttributes
object[]

Filters on resource attributes of the service that sent the data, such as deployment.environment.

Maximum array length: 20
service
string

Only this service.name.

Required string length: 1 - 200

Response

OK

points
object[]
required
since
string
required
until
string
required