# \ConnectionApi
All URIs are relative to */api*
[**create_connection**](ConnectionApi.md#create_connection) | **POST** /w/{workspace}/connections/create | create connection
[**create_connection_type**](ConnectionApi.md#create_connection_type) | **POST** /w/{workspace}/connections/type/create | create connection_type
[**delete_connection**](ConnectionApi.md#delete_connection) | **DELETE** /w/{workspace}/connections/delete/{path} | delete connection
[**delete_connection_type**](ConnectionApi.md#delete_connection_type) | **DELETE** /w/{workspace}/connections/type/delete/{path} | delete connection_type
[**delete_connections_bulk**](ConnectionApi.md#delete_connections_bulk) | **DELETE** /w/{workspace}/connections/delete_bulk | delete connections in bulk
[**exists_connection**](ConnectionApi.md#exists_connection) | **GET** /w/{workspace}/connections/exists/{path} | does connection exists
[**exists_connection_type**](ConnectionApi.md#exists_connection_type) | **GET** /w/{workspace}/connections/type/exists/{path} | does connection_type exists
[**file_connection_type_to_file_ext_map**](ConnectionApi.md#file_connection_type_to_file_ext_map) | **GET** /w/{workspace}/connections/file_connection_type_to_file_ext_map | get map from connection type to format extension
[**get_connection**](ConnectionApi.md#get_connection) | **GET** /w/{workspace}/connections/get/{path} | get connection
[**get_connection_type**](ConnectionApi.md#get_connection_type) | **GET** /w/{workspace}/connections/type/get/{path} | get connection_type
[**get_connection_value**](ConnectionApi.md#get_connection_value) | **GET** /w/{workspace}/connections/get_value/{path} | get connection value
[**get_connection_value_interpolated**](ConnectionApi.md#get_connection_value_interpolated) | **GET** /w/{workspace}/connections/get_value_interpolated/{path} | get connection interpolated (variables and connections are fully unrolled)
[**get_git_commit_hash_for_connection**](ConnectionApi.md#get_git_commit_hash_for_connection) | **GET** /w/{workspace}/connections/git_commit_hash/{path} | get git repository latest commit hash
[**get_mcp_tools_for_connection**](ConnectionApi.md#get_mcp_tools_for_connection) | **GET** /w/{workspace}/connections/mcp_tools/{path} | get MCP tools from connection
[**list_connection**](ConnectionApi.md#list_connection) | **GET** /w/{workspace}/connections/list | list connections
[**list_connection_names**](ConnectionApi.md#list_connection_names) | **GET** /w/{workspace}/connections/list_names/{name} | list connection names
[**list_connection_type**](ConnectionApi.md#list_connection_type) | **GET** /w/{workspace}/connections/type/list | list connection_types
[**list_connection_type_names**](ConnectionApi.md#list_connection_type_names) | **GET** /w/{workspace}/connections/type/listnames | list connection_types names
[**list_search_connection**](ConnectionApi.md#list_search_connection) | **GET** /w/{workspace}/connections/list_search | list connections for search
[**update_connection**](ConnectionApi.md#update_connection) | **POST** /w/{workspace}/connections/update/{path} | update connection
[**update_connection_type**](ConnectionApi.md#update_connection_type) | **POST** /w/{workspace}/connections/type/update/{path} | update connection_type
[**update_connection_value**](ConnectionApi.md#update_connection_value) | **POST** /w/{workspace}/connections/update_value/{path} | update connection value
## create_connection
> String create_connection(workspace, create_resource, update_if_exists)
create connection
### Parameters
**workspace** | **String** | | [required] |
**create_resource** | [**CreateResource**](CreateResource.md) | new connection | [required] |
**update_if_exists** | Option<**bool**> | update the connection if it already exists (default false) | |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **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)
## create_connection_type
> String create_connection_type(workspace, resource_type)
create connection_type
### Parameters
**workspace** | **String** | | [required] |
**resource_type** | [**ResourceType**](ResourceType.md) | new connection_type | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **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)
## delete_connection
> String delete_connection(workspace, path)
delete connection
### Parameters
**workspace** | **String** | | [required] |
**path** | **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)
## delete_connection_type
> String delete_connection_type(workspace, path)
delete connection_type
### Parameters
**workspace** | **String** | | [required] |
**path** | **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)
## delete_connections_bulk
> Vec<String> delete_connections_bulk(workspace, delete_variables_bulk_request)
delete connections in bulk
### Parameters
**workspace** | **String** | | [required] |
**delete_variables_bulk_request** | [**DeleteVariablesBulkRequest**](DeleteVariablesBulkRequest.md) | paths to delete | [required] |
### Return type
**Vec<String>**
### 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)
## exists_connection
> bool exists_connection(workspace, path)
does connection exists
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**bool**
### 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)
## exists_connection_type
> bool exists_connection_type(workspace, path)
does connection_type exists
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**bool**
### 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)
## file_connection_type_to_file_ext_map
> std::collections::HashMap<String, models::FileResourceTypeToFileExtMap200ResponseValue> file_connection_type_to_file_ext_map(workspace)
get map from connection type to format extension
### Parameters
**workspace** | **String** | | [required] |
### Return type
[**std::collections::HashMap<String, models::FileResourceTypeToFileExtMap200ResponseValue>**](fileResourceTypeToFileExtMap_200_response_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_connection
> models::Resource get_connection(workspace, path)
get connection
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::Resource**](Resource.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_connection_type
> models::ResourceType get_connection_type(workspace, path)
get connection_type
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::ResourceType**](ResourceType.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_connection_value
> serde_json::Value get_connection_value(workspace, path)
get connection value
### Parameters
**workspace** | **String** | | [required] |
**path** | **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_connection_value_interpolated
> serde_json::Value get_connection_value_interpolated(workspace, path, job_id, allow_cache)
get connection interpolated (variables and connections are fully unrolled)
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**job_id** | Option<**uuid::Uuid**> | job id | |
**allow_cache** | Option<**bool**> | allow getting a cached value for improved performance | |
### 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_git_commit_hash_for_connection
> models::GetGitCommitHash200Response get_git_commit_hash_for_connection(workspace, path, git_ssh_identity)
get git repository latest commit hash
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**git_ssh_identity** | Option<**String**> | | |
### Return type
[**models::GetGitCommitHash200Response**](getGitCommitHash_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_mcp_tools_for_connection
> Vec<models::GetMcpTools200ResponseInner> get_mcp_tools_for_connection(workspace, path)
get MCP tools from connection
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**Vec<models::GetMcpTools200ResponseInner>**](getMcpTools_200_response_inner.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_connection
> Vec<models::ListableResource> list_connection(workspace, page, per_page, connection_type, connection_type_exclude, path_start, path, description, value, broad_filter, label)
list connections
### Parameters
**workspace** | **String** | | [required] |
**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) | |
**connection_type** | Option<**String**> | connection_types to list from, separated by ',', | |
**connection_type_exclude** | Option<**String**> | connection_types to not list from, separated by ',', | |
**path_start** | Option<**String**> | filter connections by path prefix | |
**path** | Option<**String**> | exact path match filter | |
**description** | Option<**String**> | pattern match filter for description field (case-insensitive) | |
**value** | Option<**String**> | JSONB subset match filter using base64 encoded JSON | |
**broad_filter** | Option<**String**> | broad search across multiple fields (case-insensitive substring match) | |
**label** | Option<**String**> | Filter by label | |
### Return type
[**Vec<models::ListableResource>**](ListableResource.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_connection_names
> Vec<models::ListResourceNames200ResponseInner> list_connection_names(workspace, name)
list connection names
### Parameters
**workspace** | **String** | | [required] |
**name** | **String** | | [required] |
### Return type
[**Vec<models::ListResourceNames200ResponseInner>**](listResourceNames_200_response_inner.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_connection_type
> Vec<models::ResourceType> list_connection_type(workspace)
list connection_types
### Parameters
**workspace** | **String** | | [required] |
### Return type
[**Vec<models::ResourceType>**](ResourceType.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_connection_type_names
> Vec<String> list_connection_type_names(workspace)
list connection_types names
### Parameters
**workspace** | **String** | | [required] |
### Return type
**Vec<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_search_connection
> Vec<models::ListSearchResource200ResponseInner> list_search_connection(workspace)
list connections for search
### Parameters
**workspace** | **String** | | [required] |
### Return type
[**Vec<models::ListSearchResource200ResponseInner>**](listSearchResource_200_response_inner.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)
## update_connection
> String update_connection(workspace, path, edit_resource)
update connection
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**edit_resource** | [**EditResource**](EditResource.md) | updated connection | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **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)
## update_connection_type
> String update_connection_type(workspace, path, edit_resource_type)
update connection_type
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**edit_resource_type** | [**EditResourceType**](EditResourceType.md) | updated connection_type | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **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)
## update_connection_value
> String update_connection_value(workspace, path, set_global_request)
update connection value
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**set_global_request** | [**SetGlobalRequest**](SetGlobalRequest.md) | updated connection | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **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)