windmill-api 1.683.0

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

All URIs are relative to */api*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_job_metrics**]MetricsApi.md#get_job_metrics | **POST** /w/{workspace}/job_metrics/get/{id} | get job metrics
[**get_job_progress**]MetricsApi.md#get_job_progress | **GET** /w/{workspace}/job_metrics/get_progress/{id} | get job progress
[**set_job_progress**]MetricsApi.md#set_job_progress | **POST** /w/{workspace}/job_metrics/set_progress/{id} | set job metrics



## get_job_metrics

> models::GetJobMetrics200Response get_job_metrics(workspace, id, get_job_metrics_request)
get job metrics

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**id** | **uuid::Uuid** |  | [required] |
**get_job_metrics_request** | [**GetJobMetricsRequest**]GetJobMetricsRequest.md | parameters for statistics retrieval | [required] |

### Return type

[**models::GetJobMetrics200Response**](getJobMetrics_200_response.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json
- **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_job_progress

> i32 get_job_progress(workspace, id)
get job progress

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**id** | **uuid::Uuid** |  | [required] |

### Return type

**i32**

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


## set_job_progress

> serde_json::Value set_job_progress(workspace, id, set_job_progress_request)
set job metrics

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**workspace** | **String** |  | [required] |
**id** | **uuid::Uuid** |  | [required] |
**set_job_progress_request** | [**SetJobProgressRequest**]SetJobProgressRequest.md | parameters for statistics retrieval | [required] |

### Return type

[**serde_json::Value**](serde_json::Value.md)

### Authorization

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

### HTTP request headers

- **Content-Type**: application/json
- **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)