All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
count_with_predicate3 | GET /api/alerts/count | |
create_multiple3 | POST /api/alerts | |
delete3 | DELETE /api/alerts/{id} | |
delete_all3 | DELETE /api/alerts/all | |
edit_multiple3 | PUT /api/alerts | |
evaluate | POST /api/alerts/evaluate | |
get7 | GET /api/alerts/{id} | |
get8 | GET /api/alerts/name/{name} | |
get_all3 | GET /api/alerts | |
get_analytics | GET /api/alerts/{id}/stats | |
get_insights | GET /api/alerts/{id}/insights | |
get_insights1 | POST /api/alerts/insights | |
reset | POST /api/alerts/{id}/reset | Delete associated anomalies and rerun detection till present |
run_task | POST /api/alerts/{id}/run | |
validate_multiple | POST /api/alerts/validate |
count_with_predicate3()
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.count_with_predicate3()
except ApiException as e:
print("Exception when calling AlertApi->count_with_predicate3: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
create_multiple3(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.AlertApiModel()] # list[AlertApiModel] | (optional)
try:
api_instance.create_multiple3(body=body)
except ApiException as e:
print("Exception when calling AlertApi->create_multiple3: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[AlertApiModel] | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete3(id)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.delete3(id)
except ApiException as e:
print("Exception when calling AlertApi->delete3: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_all3()
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.delete_all3()
except ApiException as e:
print("Exception when calling AlertApi->delete_all3: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
edit_multiple3(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.AlertApiModel()] # list[AlertApiModel] | (optional)
try:
api_instance.edit_multiple3(body=body)
except ApiException as e:
print("Exception when calling AlertApi->edit_multiple3: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[AlertApiModel] | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
evaluate(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
body = thirdeye_client.AlertEvaluationApiModel() # AlertEvaluationApiModel | (optional)
try:
api_instance.evaluate(body=body)
except ApiException as e:
print("Exception when calling AlertApi->evaluate: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | AlertEvaluationApiModel | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get7(id)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get7(id)
except ApiException as e:
print("Exception when calling AlertApi->get7: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get8(name)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
name = 'name_example' # str |
try:
api_instance.get8(name)
except ApiException as e:
print("Exception when calling AlertApi->get8: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
name | str |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_all3()
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
try:
api_instance.get_all3()
except ApiException as e:
print("Exception when calling AlertApi->get_all3: %s\n" % e)
This endpoint does not need any parameter.
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_analytics(id, enumeration_item_id=enumeration_item_id, start_time=start_time, end_time=end_time)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
enumeration_item_id = 789 # int | (optional)
start_time = 789 # int | (optional)
end_time = 789 # int | (optional)
try:
api_instance.get_analytics(id, enumeration_item_id=enumeration_item_id, start_time=start_time, end_time=end_time)
except ApiException as e:
print("Exception when calling AlertApi->get_analytics: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
enumeration_item_id | int | [optional] | |
start_time | int | [optional] | |
end_time | int | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_insights(id)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
api_instance.get_insights(id)
except ApiException as e:
print("Exception when calling AlertApi->get_insights: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
get_insights1(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
body = thirdeye_client.AlertInsightsRequestApiModel() # AlertInsightsRequestApiModel | (optional)
try:
api_instance.get_insights1(body=body)
except ApiException as e:
print("Exception when calling AlertApi->get_insights1: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | AlertInsightsRequestApiModel | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
reset(id)
Delete associated anomalies and rerun detection till present
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
try:
# Delete associated anomalies and rerun detection till present
api_instance.reset(id)
except ApiException as e:
print("Exception when calling AlertApi->reset: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
run_task(id, start=start, end=end)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
id = 789 # int |
start = 789 # int | (optional)
end = 789 # int | (optional)
try:
api_instance.run_task(id, start=start, end=end)
except ApiException as e:
print("Exception when calling AlertApi->run_task: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
id | int | ||
start | int | [optional] | |
end | int | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
validate_multiple(body=body)
from __future__ import print_function
import time
import thirdeye_client
from thirdeye_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: oauth
configuration = thirdeye_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = thirdeye_client.AlertApi(thirdeye_client.ApiClient(configuration))
body = [thirdeye_client.AlertApiModel()] # list[AlertApiModel] | (optional)
try:
api_instance.validate_multiple(body=body)
except ApiException as e:
print("Exception when calling AlertApi->validate_multiple: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | list[AlertApiModel] | [optional] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]