












Configurations du pipeline d'ingestion RAG bêta












Exemples
Exemples réels de code
Lister les configurations de pipeline d'ingestion
GET /v1/rag/ingestion_pipeline_configurations
Pour l'espace de travail actuel, répertorie toutes les configurations de pipeline d'ingestion enregistrées.
200
Response Type
Réponse réussie
IngestionPipelineConfiguration
Playground
Testez les endpoints en direct
curl https://api.mistral.ai/v1/rag/ingestion_pipeline_configurations \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/rag/ingestion_pipeline_configurations \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
[
{
"author_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"created_at": "2025-12-17T10:25:07.818693Z",
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"last_run_chunks_count": 87,
"last_run_time": null,
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"pipeline_composition": null,
"total_chunks_count": 14
}
][
{
"author_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"created_at": "2025-12-17T10:25:07.818693Z",
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"last_run_chunks_count": 87,
"last_run_time": null,
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"pipeline_composition": null,
"total_chunks_count": 14
}
]Enregistrer une configuration
PUT /v1/rag/ingestion_pipeline_configurations
Enregistrer une configuration d'ingestion.
name
pipeline_composition
200
Réponse réussie
author_id
created_at
id
last_run_chunks_count
last_run_time
modified_at
name
pipeline_composition
total_chunks_count
Playground
Testez les endpoints en direct
curl https://api.mistral.ai/v1/rag/ingestion_pipeline_configurations \
-X PUT \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "My resource"
}'curl https://api.mistral.ai/v1/rag/ingestion_pipeline_configurations \
-X PUT \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"name": "My resource"
}'200
{
"author_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"created_at": "2025-12-17T10:25:07.818693Z",
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"last_run_chunks_count": 87,
"last_run_time": null,
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"pipeline_composition": null,
"total_chunks_count": 14
}{
"author_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"created_at": "2025-12-17T10:25:07.818693Z",
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"last_run_chunks_count": 87,
"last_run_time": null,
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"pipeline_composition": null,
"total_chunks_count": 14
}Mettre à jour les informations d'exécution
PUT /v1/rag/ingestion_pipeline_configurations/{id}/run_info
id
chunks_count
execution_time
200
Réponse réussie
author_id
created_at
id
last_run_chunks_count
last_run_time
modified_at
name
pipeline_composition
total_chunks_count
Playground
Testez les endpoints en direct
curl https://api.mistral.ai/v1/rag/ingestion_pipeline_configurations/{id}/run_info \
-X PUT \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"chunks_count": 87,
"execution_time": "2025-01-15T09:30:00Z"
}'curl https://api.mistral.ai/v1/rag/ingestion_pipeline_configurations/{id}/run_info \
-X PUT \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"chunks_count": 87,
"execution_time": "2025-01-15T09:30:00Z"
}'200
{
"author_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"created_at": "2025-12-17T10:25:07.818693Z",
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"last_run_chunks_count": 87,
"last_run_time": null,
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"pipeline_composition": null,
"total_chunks_count": 14
}{
"author_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"created_at": "2025-12-17T10:25:07.818693Z",
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"last_run_chunks_count": 87,
"last_run_time": null,
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"pipeline_composition": null,
"total_chunks_count": 14
}