Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 2.21 KB

File metadata and controls

77 lines (50 loc) · 2.21 KB

hotdata.QueryRunsApi

All URIs are relative to https://app.hotdata.dev

Method HTTP request Description
list_query_runs_handler GET /v1/query-runs List query runs

list_query_runs_handler

ListQueryRunsResponse list_query_runs_handler(limit=limit, cursor=cursor)

List query runs

Example

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)

Parameters

Name Type Description Notes
limit int Maximum number of results [optional]
cursor str Pagination cursor [optional]

Return type

ListQueryRunsResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 List of query runs -

[Back to top] [Back to API list] [Back to Model list] [Back to README]