Tree BG 1
Tree
Tree
TreeLeaves
TreeLeaves
Cat IdleGrassGrassRockRock

Configurations du pipeline d'ingestion RAG bêta

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

Réponse réussie

IngestionPipelineConfiguration

{object}

Playground

Testez les endpoints en direct

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
  }
]

Enregistrer une configuration

PUT /v1/rag/ingestion_pipeline_configurations

Enregistrer une configuration d'ingestion.

200

Réponse réussie

author_id
*string
created_at
*date-time
id
*string
last_run_chunks_count
*integer
last_run_time
*date-time|null
modified_at
*date-time
name
*string
pipeline_composition
*map<string>|null
total_chunks_count
*integer

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"
}'

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
}

Mettre à jour les informations d'exécution

PUT /v1/rag/ingestion_pipeline_configurations/{id}/run_info

200

Réponse réussie

author_id
*string
created_at
*date-time
id
*string
last_run_chunks_count
*integer
last_run_time
*date-time|null
modified_at
*date-time
name
*string
pipeline_composition
*map<string>|null
total_chunks_count
*integer

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"
}'

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
}