Beta.Rag.IngestionPipelineConfigurations

August 13, 2026 ยท View on GitHub

Overview

Available Operations

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

ParameterTypeRequiredDescription
retriesOptional[utils.RetryConfig]:heavy_minus_sign:Configuration to override the default retry behavior of the client.

Response

List[models.IngestionPipelineConfiguration]

Errors

Error TypeStatus CodeContent Type
errors.SDKError4XX, 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

ParameterTypeRequiredDescription
namestr:heavy_check_mark:N/A
pipeline_compositionDict[str, str]:heavy_minus_sign:N/A
target_indexesList[models.IngestionPipelineTargetIndexRef]:heavy_minus_sign:N/A
retriesOptional[utils.RetryConfig]:heavy_minus_sign:Configuration to override the default retry behavior of the client.

Response

models.IngestionPipelineConfiguration

Errors

Error TypeStatus CodeContent Type
errors.HTTPValidationError422application/json
errors.SDKError4XX, 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

ParameterTypeRequiredDescription
idstr:heavy_check_mark:N/A
execution_timedate:heavy_check_mark:N/A
chunks_countint:heavy_check_mark:N/A
retriesOptional[utils.RetryConfig]:heavy_minus_sign:Configuration to override the default retry behavior of the client.

Response

models.IngestionPipelineConfiguration

Errors

Error TypeStatus CodeContent Type
errors.HTTPValidationError422application/json
errors.SDKError4XX, 5XX*/*