Download OpenAPI specification:Download
{- "dashboards_count": 0,
- "database_metrics": {
- "metrics": [
- [
- "string"
]
]
}, - "manager": {
- "last_refresh_at": "string",
- "outdated_queries_count": "string",
- "query_ids": "string",
- "queues": {
- "celery": {
- "data_sources": "string",
- "size": 0
}
}
}, - "queries_count": 0,
- "query_results_count": 0,
- "redis_used_memory": 0,
- "redis_used_memory_human": "string",
- "unused_query_results_count": 0,
- "version": "string",
- "widgets_count": 0,
- "workers": [
- null
]
}
[- {
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "state": "string",
- "name": "string",
- "rearm": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "query": {
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "created_at": "2019-08-24T14:15:22Z",
- "latest_query_data_id": 0,
- "schedule": null,
- "description": "string",
- "tags": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "last_modified_by": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "options": { },
- "version": 0,
- "query_hash": "string",
- "is_archiverd": true,
- "query": "string",
- "api_key": "string",
- "is_draft": true,
- "id": 0,
- "data_source_id": 0,
- "name": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "last_triggered_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "options": { }
}
]
required | object |
name required | string |
query_id required | integer |
destination_id | integer |
rearm | integer |
{- "options": { },
- "name": "string",
- "query_id": 0,
- "destination_id": 0,
- "rearm": 0
}
{- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "state": "string",
- "name": "string",
- "rearm": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "query": {
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "created_at": "2019-08-24T14:15:22Z",
- "latest_query_data_id": 0,
- "schedule": null,
- "description": "string",
- "tags": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "lats_modified_by": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "profile_image_url": "string",
- "is_inviration_pending": true,
- "groups": [
- 0
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "options": { },
- "version": 0,
- "query_hash": "string",
- "is_archived": true,
- "query": "string",
- "qpi_key": "string",
- "is_draft": true,
- "id": 0,
- "data_source_id": 0,
- "name": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "last_triggered_at": "2019-08-24T14:15:22Z",
- "id": 0,
- "options": { }
}
{- "count": 0,
- "page": 0,
- "page_size": 0,
- "results": [
- {
- "tags": [
- "string"
], - "is_archiverd": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_favorite": true,
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "layout": [
- null
], - "is_draft": true,
- "id": 0,
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "slug": "string",
- "version": 0,
- "widgets": null,
- "dashboard_filters_enabled": true
}
]
}
{- "name": "string"
}
{- "tags": [
- "string"
], - "is_archived": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_favorite": true,
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "layout": [
- null
], - "is_draft": true,
- "id": 0,
- "user_id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "slug": "string",
- "version": 0,
- "widgets": null,
- "dashboard_filters_enabled": true
}
required | object |
name required | string |
type required | string Enum: "mysql" "pg" "prometheus" |
{- "options": {
- "dbname": "string"
}, - "name": "string",
- "type": "mysql"
}
{- "scheduled_queue_name": "string",
- "name": "string",
- "pause_reason": "string",
- "queue_name": "string",
- "syntax": "string",
- "paused": 0,
- "options": {
- "dbname": "string"
}, - "groups": { },
- "type": "string",
- "id": 0
}
[- {
- "configuration_schema": {
- "required": [
- "string"
], - "type": "string",
- "properties": {
- "db": {
- "type": "string",
- "title": "string"
}, - "apikey": {
- "type": "string"
}, - "endpoint": {
- "type": "string"
}, - "type": {
- "type": "string"
}, - "get_schema": {
- "default": true,
- "type": "string",
- "title": "string"
}
}
}, - "type": "string",
- "name": "string"
}
]
{- "scheduled_queue_name": "string",
- "name": "string",
- "pause_reason": null,
- "queue_name": "string",
- "syntax": "string",
- "paused": 0,
- "options": {
- "url": "string"
}, - "groups": {
- "property1": true,
- "property2": true
}, - "type": "string",
- "id": 0
}
data_source_id required | integer |
required | object |
name required | string |
type required | string Enum: "mysql" "pg" "prometheus" |
{- "options": {
- "dbname": "string"
}, - "name": "string",
- "type": "mysql"
}
{- "scheduled_queue_name": "string",
- "name": "string",
- "pause_reason": null,
- "queue_name": "string",
- "syntax": "string",
- "paused": 0,
- "options": {
- "url": "string"
}, - "groups": {
- "property1": true,
- "property2": true
}, - "type": "string",
- "id": 0
}
data_source_id required | integer |
reason | string |
{- "reason": "string"
}
{- "name": "string",
- "pause_reason": "string",
- "syntax": "string",
- "paused": 0,
- "type": "string",
- "id": 0
}
{- "count": 0,
- "page": 0,
- "page_size": 0,
- "results": [
- {
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "created_at": "2019-08-24T14:15:22Z",
- "runtime": null,
- "latest_query_data_id": 0,
- "is_favorite": true,
- "schedule": null,
- "description": "string",
- "tags": [
- "string"
], - "retrieved_at": null,
- "updated_at": "2019-08-24T14:15:22Z",
- "options": { },
- "version": 0,
- "last_modified_by_id": 0,
- "query_hash": "string",
- "is_archived": true,
- "query": "string",
- "api_key": "string",
- "is_draft": true,
- "id": 0,
- "data_source_id": 0,
- "name": "string"
}
]
}
data_source_id required | number |
query required | string |
name required | string |
description | string |
schedule | string |
object |
{- "data_source_id": 0,
- "query": "string",
- "name": "string",
- "description": "string",
- "schedule": "string",
- "options": { }
}
{- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "created_at": "2019-08-24T14:15:22Z",
- "latest_query_data_id": 0,
- "schedule": "string",
- "description": "string",
- "tags": [
- "string"
], - "updated_at": "2019-08-24T14:15:22Z",
- "last_modified_by": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "options": { },
- "version": 0,
- "is_favorite": true,
- "query_hash": "string",
- "is_archived": true,
- "query": "string",
- "api_key": "string",
- "is_draft": true,
- "id": 0,
- "data_source_id": 0,
- "name": "string"
}
query required | string |
query_id | number |
max_age | number |
data_source_id required | number |
object |
{- "query": "string",
- "query_id": 0,
- "max_age": 0,
- "data_source_id": 0,
- "parameters": { }
}
{- "job": {
- "status": 0,
- "error": "string",
- "id": "string",
- "query_result_id": 0,
- "updated_at": 0
}
}
page | integer |
page_size | integer |
q | string |
disabled | boolean |
pending | boolean |
{- "count": 0,
- "page": 0,
- "page_size": 0,
- "results": [
- {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
]
}
name required | string |
email required | string <email> |
{- "name": "string",
- "email": "[email protected]"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
userId required | integer |
string <email> | |
name | string |
password | string |
old_password | string |
groups | string |
{- "name": "string",
- "password": "string",
- "old_password": "string",
- "groups": "string"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
{
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
{- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}
query_id | integer |
name | string |
description | string |
object | |
type | string |
{- "query_id": 0,
- "name": "string",
- "description": "string",
- "options": { },
- "type": "string"
}
{- "description": null,
- "created_at": "string",
- "updated_at": "string",
- "id": 0,
- "type": "string",
- "options": { },
- "name": "string"
}
dashboard_id | integer |
visualizationid | integer |
object | |
text | string |
width | number |
{- "dashboard_id": 0,
- "visualizationid": 0,
- "options": { },
- "text": "string",
- "width": 0
}
{- "widget": { }
}
required | object |
name required | string |
type required | string Value: "email" |
{- "options": { },
- "name": "string",
- "type": "email"
}
{- "options": { },
- "icon": "string",
- "type": "string",
- "id": 0,
- "name": "string"
}
destination_id required | integer |
required | object |
name required | string |
type required | string Value: "email" |
{- "options": { },
- "name": "string",
- "type": "email"
}
{- "options": {
- "addresses": "string",
- "url": "string",
- "username": "string",
- "channel": "string"
}, - "icon": "string",
- "type": "string",
- "id": 0,
- "name": "string"
}
[- {
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "snippet": "string",
- "trigger": "string",
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "id": 0
}
]
trigger required | object |
description required | string |
snippet required | string |
{- "trigger": { },
- "description": "string",
- "snippet": "string"
}
{- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "snippet": "string",
- "trigger": "string",
- "user": {
- "auth_type": "string",
- "is_disabled": true,
- "updated_at": "2019-08-24T14:15:22Z",
- "is_invitation_pending": true,
- "groups": [
- {
- "id": 0,
- "name": "string"
}
], - "id": 0,
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "disabled_at": "2019-08-24T14:15:22Z",
- "is_email_verified": true,
- "api_key": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "email": "[email protected]"
}, - "id": 0
}
{- "settings": {
- "date_format": "string",
- "auth_jwt_auth_public_certs_url": "string",
- "auth_jwt_auth_issuer": "string",
- "auth_jwt_login_enabled": true,
- "auth_saml_nameid_format": "string",
- "auth_jwt_auth_algorithms": [
- null
], - "auth_google_apps_domains": [
- null
], - "auth_jwt_auth_cookie_name": "string",
- "auth_jwt_auth_audience": "string",
- "auth_jwt_auth_header_name": "string",
- "feature_show_permissions_control": true,
- "auth_saml_entity_id": "string",
- "auth_passowrd_login_enabled": true,
- "auth_saml_metadata_url": "string",
- "auth_saml_enabled": true
}
}
auth_password_login_enabled | boolean |
auth_google_apps_domains | string |
{- "auth_password_login_enabled": true,
- "auth_google_apps_domains": "string"
}
{- "settings": {
- "date_format": "string",
- "auth_jwt_auth_public_certs_url": "string",
- "auth_jwt_auth_issuer": "string",
- "auth_jwt_login_enabled": true,
- "auth_saml_nameid_format": "string",
- "auth_jwt_auth_algorithms": [
- null
], - "auth_google_apps_domains": [
- null
], - "auth_jwt_auth_cookie_name": "string",
- "auth_jwt_auth_audience": "string",
- "auth_jwt_auth_header_name": "string",
- "feature_show_permissions_control": true,
- "auth_saml_entity_id": "string",
- "auth_passowrd_login_enabled": true,
- "auth_saml_metadata_url": "string",
- "auth_saml_enabled": true
}
}