Skip to main content
POST
API to fetch metrics used to plot monitoring charts

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Monitoring queries request object

project_id
string<uuid>
required

Unique identifier of the project

time_comparison
enum<string>

Specifes the time period to comapre the data against

Available options:
Previous Day,
Previous Week,
Previous Month,
Previous Quarter,
Previous Year
query_type
enum<string>

Specfies the query type to fetch the corresponding metrics

Available options:
MONITORING,
EMBEDDING,
ANALYTICS
filters
QueryFilter · object

Filters for querying data, including time, time zone, and bin size.

queries
Monitoring query request fields · object[]

Response

OK

Response object for standard API responses.

api_version
enum<string>
default:3.0

API version.

Available options:
2.0,
3.0
kind
enum<string>
default:NORMAL

Type of response, indicating a normal response.

Available options:
NORMAL
data
object