Update an existing dashboard
Changed onUpdate an existing dashboard, replacing its definition with the provided one.
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v2/dashboards/{dashboardId}
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"definition": {
"tiles": [
{
"layout": {
"position": {
"col": 3,
"row": 0
},
"size": {
"cols": 3,
"rows": 1
}
},
"definition": {
"query": {
"datasource": "api_usage",
"time_range": {
"type": "relative",
"time_range": "24h",
"tz": "EST"
},
"dimensions": [
"time",
"gateway_service"
],
"filters": [
{
"operator": "in",
"field": "control_plane",
"value": [
"d5ac5d88-efed-4e10-9dfe-0b0a6646c219"
]
}
],
"granularity": "hourly",
"metrics": [
"request_count",
"response_latency_p99"
]
}
}
}
],
"preset_filters": [
{
"operator": "in",
"field": "control_plane",
"value": [
"00000000-0000-0000-0000-000000000000"
]
},
{
"operator": "in",
"field": "ai_request_model",
"value": [
"request_model1"
]
}
]
},
"labels": {
"env": "test"
}
}Response
The created dashboard, including generated fields.
Example response
{
"definition": {
"tiles": [
{
"layout": {
"position": {
"col": 3,
"row": 0
},
"size": {
"cols": 3,
"rows": 1
}
},
"definition": {
"query": {
"datasource": "api_usage",
"time_range": {
"type": "relative",
"time_range": "24h",
"tz": "EST"
},
"dimensions": [
"time",
"gateway_service"
],
"filters": [
{
"operator": "in",
"field": "control_plane",
"value": [
"d5ac5d88-efed-4e10-9dfe-0b0a6646c219"
]
}
],
"granularity": "hourly",
"metrics": [
"request_count",
"response_latency_p99"
]
}
}
}
],
"preset_filters": [
{
"operator": "in",
"field": "control_plane",
"value": [
"00000000-0000-0000-0000-000000000000"
]
},
{
"operator": "in",
"field": "ai_request_model",
"value": [
"request_model1"
]
}
]
},
"labels": {
"env": "test"
},
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_by": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status - warning
added the new
ai_gatewayenum value to the///response property for the response status - warning
added the new
ai_gatewayenum value to the//////////////////response property for the response status - warning
added the new
ai_gatewayenum value to the///////////////////response property for the response status - warning
added the new
ai_gatewayenum value to the//////////////////response property for the response status - warning
added the new
ai_gatewayenum value to the///////////////////response property for the response status - warning
added the new
ai_gatewayenum value to the//////////////////response property for the response status - warning
added the new
ai_gatewayenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_agentenum value to the///response property for the response status - warning
added the new
ai_gateway_agentenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_agentenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_agentenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_agentenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_consumerenum value to the///response property for the response status - warning
added the new
ai_gateway_consumerenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_consumerenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_consumerenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_consumerenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_consumerenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_consumerenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the///response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_consumer_groupenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the///response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_data_plane_nodeenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_mcp_serverenum value to the///response property for the response status - warning
added the new
ai_gateway_mcp_serverenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_mcp_serverenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_mcp_serverenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_mcp_serverenum value to the///////////////////response property for the response status - warning
added the new
ai_gateway_modelenum value to the///response property for the response status - warning
added the new
ai_gateway_modelenum value to the//////////////////response property for the response status - warning
added the new
ai_gateway_modelenum value to the///////////////////response property for the response status - warning
added the new
cache_statusenum value to the//////////////////response property for the response status - warning
added the new
cache_statusenum value to the///////////////////response property for the response status - warning
added the new
cached_tokensenum value to the//////////////////response property for the response status - warning
added the new
consumer_groupenum value to the///response property for the response status - warning
added the new
consumer_groupenum value to the//////////////////response property for the response status - warning
added the new
consumer_groupenum value to the///////////////////response property for the response status - warning
added the new
consumer_groupenum value to the//////////////////response property for the response status - warning
added the new
consumer_groupenum value to the///////////////////response property for the response status - warning
added the new
time_per_token_averageenum value to the//////////////////response property for the response status - warning
added the new
time_to_first_token_averageenum value to the//////////////////response property for the response status - warning
added the new
total_tokens_per_minuteenum value to the//////////////////response property for the response status - info
added the new
ai_gatewayenum value to the request property/// - info
added the new
ai_gatewayenum value to the request property////////////////// - info
added the new
ai_gatewayenum value to the request property/////////////////// - info
added the new
ai_gatewayenum value to the request property////////////////// - info
added the new
ai_gatewayenum value to the request property/////////////////// - info
added the new
ai_gatewayenum value to the request property////////////////// - info
added the new
ai_gatewayenum value to the request property/////////////////// - info
added the new
ai_gateway_agentenum value to the request property/// - info
added the new
ai_gateway_agentenum value to the request property////////////////// - info
added the new
ai_gateway_agentenum value to the request property/////////////////// - info
added the new
ai_gateway_agentenum value to the request property////////////////// - info
added the new
ai_gateway_agentenum value to the request property/////////////////// - info
added the new
ai_gateway_consumerenum value to the request property/// - info
added the new
ai_gateway_consumerenum value to the request property////////////////// - info
added the new
ai_gateway_consumerenum value to the request property/////////////////// - info
added the new
ai_gateway_consumerenum value to the request property////////////////// - info
added the new
ai_gateway_consumerenum value to the request property/////////////////// - info
added the new
ai_gateway_consumerenum value to the request property////////////////// - info
added the new
ai_gateway_consumerenum value to the request property/////////////////// - info
added the new
ai_gateway_consumer_groupenum value to the request property/// - info
added the new
ai_gateway_consumer_groupenum value to the request property////////////////// - info
added the new
ai_gateway_consumer_groupenum value to the request property/////////////////// - info
added the new
ai_gateway_consumer_groupenum value to the request property////////////////// - info
added the new
ai_gateway_consumer_groupenum value to the request property/////////////////// - info
added the new
ai_gateway_consumer_groupenum value to the request property////////////////// - info
added the new
ai_gateway_consumer_groupenum value to the request property/////////////////// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property/// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property////////////////// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property/////////////////// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property////////////////// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property/////////////////// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property////////////////// - info
added the new
ai_gateway_data_plane_nodeenum value to the request property/////////////////// - info
added the new
ai_gateway_mcp_serverenum value to the request property/// - info
added the new
ai_gateway_mcp_serverenum value to the request property////////////////// - info
added the new
ai_gateway_mcp_serverenum value to the request property/////////////////// - info
added the new
ai_gateway_mcp_serverenum value to the request property////////////////// - info
added the new
ai_gateway_mcp_serverenum value to the request property/////////////////// - info
added the new
ai_gateway_modelenum value to the request property/// - info
added the new
ai_gateway_modelenum value to the request property////////////////// - info
added the new
ai_gateway_modelenum value to the request property/////////////////// - info
added the new
cache_statusenum value to the request property////////////////// - info
added the new
cache_statusenum value to the request property/////////////////// - info
added the new
cached_tokensenum value to the request property////////////////// - info
added the new
consumer_groupenum value to the request property/// - info
added the new
consumer_groupenum value to the request property////////////////// - info
added the new
consumer_groupenum value to the request property/////////////////// - info
added the new
consumer_groupenum value to the request property////////////////// - info
added the new
consumer_groupenum value to the request property/////////////////// - info
added the new
time_per_token_averageenum value to the request property////////////////// - info
added the new
time_to_first_token_averageenum value to the request property////////////////// - info
added the new
total_tokens_per_minuteenum value to the request property//////////////////
- warning
- breaking
the response's body type changed from no type to
objectfor status - breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking