Beta.Rag.IngestionPipelineConfigurations
August 13, 2026 ยท View on GitHub
Overview
Available Operations
- list - List ingestion pipeline configurations
- register - Register Config
- update_run_info - Update Run Info
list
For the current workspace, lists all of the registered ingestion pipeline configurations.
Example Usage
from mistralai.client import Mistral
import os
with Mistral(
api_key=os.getenv("MISTRAL_API_KEY", ""),
) as mistral:
res = mistral.beta.rag.ingestion_pipeline_configurations.list()
# Handle response
print(res)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
List[models.IngestionPipelineConfiguration]
Errors
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
register
Register an ingestion configuration.
Example Usage
from mistralai.client import Mistral
import os
with Mistral(
api_key=os.getenv("MISTRAL_API_KEY", ""),
) as mistral:
res = mistral.beta.rag.ingestion_pipeline_configurations.register(name="<value>")
# Handle response
print(res)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
name | str | :heavy_check_mark: | N/A |
pipeline_composition | Dict[str, str] | :heavy_minus_sign: | N/A |
target_indexes | List[models.IngestionPipelineTargetIndexRef] | :heavy_minus_sign: | N/A |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
models.IngestionPipelineConfiguration
Errors
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.HTTPValidationError | 422 | application/json |
| errors.SDKError | 4XX, 5XX | */* |
update_run_info
Update Run Info
Example Usage
from mistralai.client import Mistral
from mistralai.client.utils import parse_datetime
import os
with Mistral(
api_key=os.getenv("MISTRAL_API_KEY", ""),
) as mistral:
res = mistral.beta.rag.ingestion_pipeline_configurations.update_run_info(id="6b630c1b-b57e-4237-a015-ff6247cbbcf8", execution_time=parse_datetime("2024-06-27T06:29:04.390Z"), chunks_count=983906)
# Handle response
print(res)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | str | :heavy_check_mark: | N/A |
execution_time | date | :heavy_check_mark: | N/A |
chunks_count | int | :heavy_check_mark: | N/A |
retries | Optional[utils.RetryConfig] | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
Response
models.IngestionPipelineConfiguration
Errors
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.HTTPValidationError | 422 | application/json |
| errors.SDKError | 4XX, 5XX | */* |