Skip to main content
GET
Get resource usage over time

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Path Parameters

databaseID
string
required

The database's _id. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$
stat
enum<string>
required

cpu: fraction of the database's CPU limit. memory: bytes. network-receive and network-transmit: bytes per second.

Available options:
cpu,
memory,
network-receive,
network-transmit

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$
since
integer
required

Start of the range, in Unix seconds.

Response

The metric over time.

end
integer

End of the range (now), in Unix seconds.

result
object[]