# \BetaLibrariesApi
All URIs are relative to *https://api.mistral.ai*
[**libraries_create_v1**](BetaLibrariesApi.md#libraries_create_v1) | **POST** /v1/libraries | Create a new Library.
[**libraries_delete_v1**](BetaLibrariesApi.md#libraries_delete_v1) | **DELETE** /v1/libraries/{library_id} | Delete a library and all of it's document.
[**libraries_get_v1**](BetaLibrariesApi.md#libraries_get_v1) | **GET** /v1/libraries/{library_id} | Detailed information about a specific Library.
[**libraries_list_v1**](BetaLibrariesApi.md#libraries_list_v1) | **GET** /v1/libraries | List all libraries you have access to.
[**libraries_update_v1**](BetaLibrariesApi.md#libraries_update_v1) | **PUT** /v1/libraries/{library_id} | Update a library.
## libraries_create_v1
> models::LibraryOut libraries_create_v1(library_in)
Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
### Parameters
**library_in** | [**LibraryIn**](LibraryIn.md) | | [required] |
### Return type
[**models::LibraryOut**](LibraryOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### 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)
## libraries_delete_v1
> models::LibraryOut libraries_delete_v1(library_id)
Delete a library and all of it's document.
Given a library id, deletes it together with all documents that have been uploaded to that library.
### Parameters
**library_id** | **uuid::Uuid** | | [required] |
### Return type
[**models::LibraryOut**](LibraryOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### 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)
## libraries_get_v1
> models::LibraryOut libraries_get_v1(library_id)
Detailed information about a specific Library.
Given a library id, details information about that Library.
### Parameters
**library_id** | **uuid::Uuid** | | [required] |
### Return type
[**models::LibraryOut**](LibraryOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### 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)
## libraries_list_v1
> models::ListLibraryOut libraries_list_v1()
List all libraries you have access to.
List all libraries that you have created or have been shared with you.
### Parameters
This endpoint does not need any parameter.
### Return type
[**models::ListLibraryOut**](ListLibraryOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### 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)
## libraries_update_v1
> models::LibraryOut libraries_update_v1(library_id, library_in_update)
Update a library.
Given a library id, you can update the name and description.
### Parameters
**library_id** | **uuid::Uuid** | | [required] |
**library_in_update** | [**LibraryInUpdate**](LibraryInUpdate.md) | | [required] |
### Return type
[**models::LibraryOut**](LibraryOut.md)
### Authorization
[ApiKey](../README.md#ApiKey)
### 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)