windmill-api 1.683.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** /indexer/delete/{idx_name} | Clear an index and restart the indexer.
[**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
[**get_index_disk_storage_sizes**]IndexSearchApi.md#get_index_disk_storage_sizes | **GET** /srch/index/storage/disk | Get index disk storage sizes from the indexer.
[**get_index_storage_sizes**]IndexSearchApi.md#get_index_storage_sizes | **GET** /indexer/storage | Get index storage sizes (disk and S3).
[**get_indexer_status**]IndexSearchApi.md#get_indexer_status | **GET** /indexer/status | Get indexer status including liveness and storage sizes.
[**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)
Clear an index and restart the indexer.

### 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)


## get_index_disk_storage_sizes

> models::GetIndexDiskStorageSizes200Response get_index_disk_storage_sizes()
Get index disk storage sizes from the indexer.

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::GetIndexDiskStorageSizes200Response**](getIndexDiskStorageSizes_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)


## get_index_storage_sizes

> models::GetIndexStorageSizes200Response get_index_storage_sizes()
Get index storage sizes (disk and S3).

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::GetIndexStorageSizes200Response**](getIndexStorageSizes_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)


## get_indexer_status

> models::GetIndexerStatus200Response get_indexer_status()
Get indexer status including liveness and storage sizes.

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::GetIndexerStatus200Response**](getIndexerStatus_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)