All URIs are relative to https://app.hotdata.dev
| Method | HTTP request | Description |
|---|---|---|
| list_query_runs_handler | GET /v1/query-runs | List query runs |
ListQueryRunsResponse list_query_runs_handler(limit=limit, cursor=cursor)
List query runs
import hotdata
from hotdata.models.list_query_runs_response import ListQueryRunsResponse
from hotdata.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://app.hotdata.dev
# See configuration.py for a list of all supported configuration parameters.
configuration = hotdata.Configuration(
host = "https://app.hotdata.dev"
)
# Enter a context with an instance of the API client
with hotdata.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = hotdata.QueryRunsApi(api_client)
limit = 56 # int | Maximum number of results (optional)
cursor = 'cursor_example' # str | Pagination cursor (optional)
try:
# List query runs
api_response = api_instance.list_query_runs_handler(limit=limit, cursor=cursor)
print("The response of QueryRunsApi->list_query_runs_handler:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling QueryRunsApi->list_query_runs_handler: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| limit | int | Maximum number of results | [optional] |
| cursor | str | Pagination cursor | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | List of query runs | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]