# \ConcurrencyGroupsApi
All URIs are relative to */api*
[**delete_concurrency_group**](ConcurrencyGroupsApi.md#delete_concurrency_group) | **DELETE** /concurrency_groups/prune/{concurrency_id} | Delete concurrency group
[**get_concurrency_key**](ConcurrencyGroupsApi.md#get_concurrency_key) | **GET** /concurrency_groups/{id}/key | Get the concurrency key for a job that has concurrency limits enabled
[**list_concurrency_groups**](ConcurrencyGroupsApi.md#list_concurrency_groups) | **GET** /concurrency_groups/list | List all concurrency groups
[**list_extended_jobs**](ConcurrencyGroupsApi.md#list_extended_jobs) | **GET** /w/{workspace}/concurrency_groups/list_jobs | Get intervals of job runtime concurrency
## delete_concurrency_group
> serde_json::Value delete_concurrency_group(concurrency_id)
Delete concurrency group
### Parameters
**concurrency_id** | **String** | | [required] |
### Return type
[**serde_json::Value**](serde_json::Value.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_concurrency_key
> String get_concurrency_key(id)
Get the concurrency key for a job that has concurrency limits enabled
### Parameters
**id** | **uuid::Uuid** | | [required] |
### Return type
**String**
### 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)
## list_concurrency_groups
> Vec<models::ConcurrencyGroup> list_concurrency_groups()
List all concurrency groups
### Parameters
This endpoint does not need any parameter.
### Return type
[**Vec<models::ConcurrencyGroup>**](ConcurrencyGroup.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)
## list_extended_jobs
> models::ExtendedJobs list_extended_jobs(workspace, concurrency_key, row_limit, created_by, label, parent_job, script_path_exact, script_path_start, schedule_path, script_hash, started_before, started_after, created_or_started_before, running, scheduled_for_before_now, created_or_started_after, created_or_started_after_completed_jobs, job_kinds, args, tag, result, allow_wildcards, page, per_page, is_skipped, is_flow_step, has_null_parent, success, all_workspaces, is_not_schedule)
Get intervals of job runtime concurrency
### Parameters
**workspace** | **String** | | [required] |
**concurrency_key** | Option<**String**> | | |
**row_limit** | Option<**f64**> | | |
**created_by** | Option<**String**> | mask to filter exact matching user creator | |
**label** | Option<**String**> | mask to filter exact matching job's label (job labels are completed jobs with as a result an object containing a string in the array at key 'wm_labels') | |
**parent_job** | Option<**uuid::Uuid**> | The parent job that is at the origin and responsible for the execution of this script if any | |
**script_path_exact** | Option<**String**> | mask to filter exact matching path | |
**script_path_start** | Option<**String**> | mask to filter matching starting path | |
**schedule_path** | Option<**String**> | mask to filter by schedule path | |
**script_hash** | Option<**String**> | mask to filter exact matching path | |
**started_before** | Option<**String**> | filter on started before (inclusive) timestamp | |
**started_after** | Option<**String**> | filter on started after (exclusive) timestamp | |
**created_or_started_before** | Option<**String**> | filter on created_at for non non started job and started_at otherwise before (inclusive) timestamp | |
**running** | Option<**bool**> | filter on running jobs | |
**scheduled_for_before_now** | Option<**bool**> | filter on jobs scheduled_for before now (hence waitinf for a worker) | |
**created_or_started_after** | Option<**String**> | filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp | |
**created_or_started_after_completed_jobs** | Option<**String**> | filter on created_at for non non started job and started_at otherwise after (exclusive) timestamp but only for the completed jobs | |
**job_kinds** | Option<**String**> | filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by, | |
**args** | Option<**String**> | filter on jobs containing those args as a json subset (@> in postgres) | |
**tag** | Option<**String**> | filter on jobs with a given tag/worker group | |
**result** | Option<**String**> | filter on jobs containing those result as a json subset (@> in postgres) | |
**allow_wildcards** | Option<**bool**> | allow wildcards (*) in the filter of label, tag, worker | |
**page** | Option<**i32**> | which page to return (start at 1, default 1) | |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) | |
**is_skipped** | Option<**bool**> | is the job skipped | |
**is_flow_step** | Option<**bool**> | is the job a flow step | |
**has_null_parent** | Option<**bool**> | has null parent | |
**success** | Option<**bool**> | filter on successful jobs | |
**all_workspaces** | Option<**bool**> | get jobs from all workspaces (only valid if request come from the `admins` workspace) | |
**is_not_schedule** | Option<**bool**> | is not a scheduled job | |
### Return type
[**models::ExtendedJobs**](ExtendedJobs.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)