/mistral-libraries | Type: Application | PCID required: Yes
Tools
| Tool | Description |
|---|---|
mistral_libraries_create_v1 | Create a new Library. |
mistral_libraries_delete_v1 | Delete a library and all of it’s document. |
mistral_libraries_documents_delete_v1 | Delete a document. |
mistral_libraries_documents_get_extracted_text_signed_url_v1 | Retrieve the signed URL of text extracted from a given document. |
mistral_libraries_documents_get_signed_url_v1 | Retrieve the signed URL of a specific document. |
mistral_libraries_documents_get_status_v1 | Retrieve the processing status of a specific document. |
mistral_libraries_documents_get_text_content_v1 | Retrieve the text content of a specific document. |
mistral_libraries_documents_get_v1 | Retrieve the metadata of a specific document. |
mistral_libraries_documents_list_v1 | List documents in a given library. |
mistral_libraries_documents_reprocess_v1 | Reprocess a document. |
mistral_libraries_documents_update_v1 | Update the metadata of a specific document. |
mistral_libraries_documents_upload_v1 | Upload a new document. |
mistral_libraries_get_v1 | Detailed information about a specific Library. |
mistral_libraries_list_v1 | List all libraries you have access to. |
mistral_libraries_share_create_v1 | Create or update an access level. |
mistral_libraries_share_delete_v1 | Delete an access level. |
mistral_libraries_share_list_v1 | List all of the access to this library. |
mistral_libraries_update_v1 | Update a library. |
mistral_libraries_create_v1
Create a new Library. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chunk_size | integer | No | — | Chunk Size |
description | string | No | — | The description value |
name | string | Yes | — | The name value |
mistral_libraries_delete_v1
Delete a library and all of it’s document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
mistral_libraries_documents_delete_v1
Delete a document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_get_extracted_text_signed_url_v1
Retrieve the signed URL of text extracted from a given document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_get_signed_url_v1
Retrieve the signed URL of a specific document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_get_status_v1
Retrieve the processing status of a specific document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_get_text_content_v1
Retrieve the text content of a specific document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_get_v1
Retrieve the metadata of a specific document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_list_v1
List documents in a given library. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
search | string | No | — | The search value |
page_size | integer | No | — | Number of results per page |
page | integer | No | — | Page number for pagination |
filters_attributes | string | No | — | Filters Attributes |
sort_by | string | No | — | Sort By |
sort_order | string | No | — | Sort Order |
mistral_libraries_documents_reprocess_v1
Reprocess a document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
mistral_libraries_documents_update_v1
Update the metadata of a specific document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
document_id | string | Yes | — | Document Id |
attributes | object | No | — | The attributes value |
name | string | No | — | The name value |
mistral_libraries_documents_upload_v1
Upload a new document. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
file | string | Yes | — | The File object (not file name) to be uploaded. To upload a file and specify a custom file name you should format your request as such: bash file=@path/to/your/file.jsonl;filename=custom_name.jsonl Otherwise, you can just keep the original file name: bash file=@path/to/your/file.jsonl |
mistral_libraries_get_v1
Detailed information about a specific Library. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
mistral_libraries_list_v1
List all libraries you have access to.mistral_libraries_share_create_v1
Create or update an access level. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
level | string | Yes | — | The level value |
org_id | string | No | — | Org Id |
share_with_type | string | Yes | — | The type of entity, used to share a library. |
share_with_uuid | string | Yes | — | The id of the entity (user, workspace or organization) to share with |
mistral_libraries_share_delete_v1
Delete an access level. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
org_id | string | No | — | Org Id |
share_with_type | string | Yes | — | The type of entity, used to share a library. |
share_with_uuid | string | Yes | — | The id of the entity (user, workspace or organization) to share with |
mistral_libraries_share_list_v1
List all of the access to this library. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
mistral_libraries_update_v1
Update a library. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
library_id | string | Yes | — | Library Id |
description | string | No | — | The description value |
name | string | No | — | The name value |

