windmill-api 1.544.2

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
# \IndexSearchApi

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**clear_index**]IndexSearchApi.md#clear_index | **DELETE** /srch/index/delete/{idx_name} | Restart container and delete the index to recreate it.
[**count_search_logs_index**]IndexSearchApi.md#count_search_logs_index | **GET** /srch/index/search/count_service_logs | Search and count the log line hits on every provided host
[**search_jobs_index**]IndexSearchApi.md#search_jobs_index | **GET** /srch/w/{workspace}/index/search/job | Search through jobs with a string query
[**search_logs_index**]IndexSearchApi.md#search_logs_index | **GET** /srch/index/search/service_logs | Search through service logs with a string query



## clear_index

> String clear_index(idx_name)
Restart container and delete the index to recreate it.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**idx_name** | **String** |  | [required] |

### Return type

**String**

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## count_search_logs_index

> models::CountSearchLogsIndex200Response count_search_logs_index(search_query, min_ts, max_ts)
Search and count the log line hits on every provided host

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**search_query** | **String** |  | [required] |
**min_ts** | Option<**String**> |  |  |
**max_ts** | Option<**String**> |  |  |

### Return type

[**models::CountSearchLogsIndex200Response**](countSearchLogsIndex_200_response.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## search_jobs_index

> models::SearchJobsIndex200Response search_jobs_index(workspace, search_query, pagination_offset)
Search through jobs with a string query

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**search_query** | **String** |  | [required] |
**pagination_offset** | Option<**i32**> |  |  |

### Return type

[**models::SearchJobsIndex200Response**](searchJobsIndex_200_response.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## search_logs_index

> models::SearchLogsIndex200Response search_logs_index(search_query, mode, hostname, worker_group, min_ts, max_ts)
Search through service logs with a string query

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**search_query** | **String** |  | [required] |
**mode** | **String** |  | [required] |
**hostname** | **String** |  | [required] |
**worker_group** | Option<**String**> |  |  |
**min_ts** | Option<**String**> |  |  |
**max_ts** | Option<**String**> |  |  |

### Return type

[**models::SearchLogsIndex200Response**](searchLogsIndex_200_response.md)

### Authorization

[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

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

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)