Create a custom analytics dashboard
Changed onCreates a new custom analytics dashboard with the provided name, labels, and widget definitions.
The dashboard will be assigned a unique ID and associated with the authenticated user as the creator.
Request
- Base URL/management/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL/management/v2/environments/{envId}/analytics/dashboards
- Authnone declared
Request body
Example request
{
"name": "llm-proxy",
"labels": {
"graviteeio/team": "apim"
},
"widgets": [
{
"id": "1",
"title": "Requests",
"type": "stats",
"layout": {
"cols": 1,
"rows": 1,
"x": 0,
"y": 0
},
"request": {
"type": "measures",
"timeRange": {
"from": "2025-10-07T06:50:30Z",
"to": "2025-12-07T11:35:30Z"
},
"metrics": [
{
"name": "HTTP_REQUESTS",
"measures": [
"COUNT"
]
}
]
}
}
]
}Response
The dashboard has been successfully created. The response contains the full dashboard definition including the generated ID, creator, and timestamps.
Example response
{
"id": "d0152e36-ad24-4f74-a4df-443074d5a796",
"name": "llm-proxy",
"createdBy": "e2b573b4-30c8-4c7b-a67b-ad4ab15502d1",
"createdAt": "2025-10-07T06:50:30Z",
"lastModified": "2025-10-07T06:50:30Z",
"labels": {
"graviteeio/team": "apim"
},
"widgets": [
{
"id": "1",
"title": "Requests",
"type": "stats",
"layout": {
"cols": 1,
"rows": 1,
"x": 0,
"y": 0
},
"request": {
"type": "measures",
"timeRange": {
"from": "2025-10-07T06:50:30Z",
"to": "2025-12-07T11:35:30Z"
},
"metrics": [
{
"name": "HTTP_REQUESTS",
"measures": [
"COUNT"
]
}
]
}
}
]
}Changes
- warning
added the new
NATIVE_ACTIVE_CONNECTIONS_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_ACTIVE_CONNECTIONS_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_FAILURE_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_FAILURE_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_BYTES_CONSUMED_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_BYTES_CONSUMED_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_BYTES_PRODUCED_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_BYTES_PRODUCED_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the/////////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the/////////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the/////////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the///////////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the///////////response property for the response status - warning
added the new
NATIVE_CLIENT_IDenum value to the///////////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the/////////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the/////////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the/////////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the///////////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the///////////response property for the response status - warning
added the new
NATIVE_FAILURE_SIDEenum value to the///////////response property for the response status - warning
added the new
NATIVE_MESSAGES_CONSUMED_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_MESSAGES_CONSUMED_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_MESSAGES_PRODUCED_DOWNSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_MESSAGES_PRODUCED_UPSTREAMenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the/////////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the/////////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the/////////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the///////////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the///////////response property for the response status - warning
added the new
NATIVE_OPERATIONenum value to the///////////response property for the response status - warning
added the new
NATIVE_OPERATIONS_ANSWEREDenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATIONS_COMPLETEDenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATIONS_FORWARDEDenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATIONS_RECEIVEDenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATION_BROKER_DURATIONenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATION_GATEWAY_REQUEST_DURATIONenum value to the/////response property for the response status - warning
added the new
NATIVE_OPERATION_GATEWAY_RESPONSE_DURATIONenum value to the/////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the/////////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the/////////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the/////////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the///////////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the///////////response property for the response status - warning
added the new
NATIVE_TOPICenum value to the///////////response property for the response status - info
added the new
NATIVE_ACTIVE_CONNECTIONS_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_ACTIVE_CONNECTIONS_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_AUTHENTICATIONS_FAILURE_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_AUTHENTICATIONS_FAILURE_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_BYTES_CONSUMED_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_BYTES_CONSUMED_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_BYTES_PRODUCED_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_BYTES_PRODUCED_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_CLIENT_IDenum value to the request property//// - info
added the new
NATIVE_CLIENT_IDenum value to the request property///////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property///////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property///////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property/////////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property/////////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property/////////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property//// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property///////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property///////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property///////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property/////////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property/////////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property/////////// - info
added the new
NATIVE_MESSAGES_CONSUMED_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_MESSAGES_CONSUMED_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_MESSAGES_PRODUCED_DOWNSTREAMenum value to the request property///// - info
added the new
NATIVE_MESSAGES_PRODUCED_UPSTREAMenum value to the request property///// - info
added the new
NATIVE_OPERATIONenum value to the request property//// - info
added the new
NATIVE_OPERATIONenum value to the request property///////// - info
added the new
NATIVE_OPERATIONenum value to the request property///////// - info
added the new
NATIVE_OPERATIONenum value to the request property///////// - info
added the new
NATIVE_OPERATIONenum value to the request property/////////// - info
added the new
NATIVE_OPERATIONenum value to the request property/////////// - info
added the new
NATIVE_OPERATIONenum value to the request property/////////// - info
added the new
NATIVE_OPERATIONS_ANSWEREDenum value to the request property///// - info
added the new
NATIVE_OPERATIONS_COMPLETEDenum value to the request property///// - info
added the new
NATIVE_OPERATIONS_FORWARDEDenum value to the request property///// - info
added the new
NATIVE_OPERATIONS_RECEIVEDenum value to the request property///// - info
added the new
NATIVE_OPERATION_BROKER_DURATIONenum value to the request property///// - info
added the new
NATIVE_OPERATION_GATEWAY_REQUEST_DURATIONenum value to the request property///// - info
added the new
NATIVE_OPERATION_GATEWAY_RESPONSE_DURATIONenum value to the request property///// - info
added the new
NATIVE_TOPICenum value to the request property//// - info
added the new
NATIVE_TOPICenum value to the request property///////// - info
added the new
NATIVE_TOPICenum value to the request property///////// - info
added the new
NATIVE_TOPICenum value to the request property///////// - info
added the new
NATIVE_TOPICenum value to the request property/////////// - info
added the new
NATIVE_TOPICenum value to the request property/////////// - info
added the new
NATIVE_TOPICenum value to the request property///////////
- warning
- warning
added the new
CONTAINSenum value to the/////////response property for the response status - warning
added the new
CONTAINSenum value to the/////////response property for the response status - warning
added the new
CONTAINSenum value to the/////////response property for the response status - warning
added the new
CONTAINSenum value to the///////////response property for the response status - warning
added the new
CONTAINSenum value to the///////////response property for the response status - warning
added the new
CONTAINSenum value to the///////////response property for the response status - info
added
CONTAINSdiscriminator mapping keys to the////request property - info
added
CONTAINSdiscriminator mapping keys to the//////request property - info
added the new
CONTAINSenum value to the request property///////// - info
added the new
CONTAINSenum value to the request property///////// - info
added the new
CONTAINSenum value to the request property///////// - info
added the new
CONTAINSenum value to the request property/////////// - info
added the new
CONTAINSenum value to the request property/////////// - info
added the new
CONTAINSenum value to the request property/////////// - info
added
CONTAINSdiscriminator mapping keys to the////response property for the response status - info
added
CONTAINSdiscriminator mapping keys to the//////response property for the response status
- warning