












Beta Rag Search Indexes Endpoints












Examples
Real world code examples
Get Search Indexes
GET /v1/rag/search_index
200
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/rag/search_index \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/rag/search_index \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
[
{
"created_at": "2025-12-17T10:25:07.818693Z",
"creator_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"document_count": 87,
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"index": {
"k8s_cluster": "production-cluster",
"k8s_namespace": "search",
"schemas": [
{
"document_count": null,
"name": "My resource"
}
],
"vespa_instance_name": "mistral-search"
},
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"status": "online"
}
][
{
"created_at": "2025-12-17T10:25:07.818693Z",
"creator_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"document_count": 87,
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"index": {
"k8s_cluster": "production-cluster",
"k8s_namespace": "search",
"schemas": [
{
"document_count": null,
"name": "My resource"
}
],
"vespa_instance_name": "mistral-search"
},
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"status": "online"
}
]Register Search Index
PUT /v1/rag/search_index
document_count
name
status
Default Value: "offline"
200
Successful Response
created_at
creator_id
document_count
id
modified_at
name
status
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/rag/search_index \
-X PUT \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"index": {
"k8s_cluster": "production-cluster",
"k8s_namespace": "search",
"schemas": [
{
"name": "My resource"
}
],
"vespa_instance_name": "mistral-search"
},
"name": "My resource"
}'curl https://api.mistral.ai/v1/rag/search_index \
-X PUT \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"index": {
"k8s_cluster": "production-cluster",
"k8s_namespace": "search",
"schemas": [
{
"name": "My resource"
}
],
"vespa_instance_name": "mistral-search"
},
"name": "My resource"
}'200
{
"created_at": "2025-12-17T10:25:07.818693Z",
"creator_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"document_count": 87,
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"index": {
"k8s_cluster": "production-cluster",
"k8s_namespace": "search",
"schemas": [
{
"document_count": null,
"name": "My resource"
}
],
"vespa_instance_name": "mistral-search"
},
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"status": "online"
}{
"created_at": "2025-12-17T10:25:07.818693Z",
"creator_id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"document_count": 87,
"id": "019b2bd7-96e7-7219-8c0b-45a73da50088",
"index": {
"k8s_cluster": "production-cluster",
"k8s_namespace": "search",
"schemas": [
{
"document_count": null,
"name": "My resource"
}
],
"vespa_instance_name": "mistral-search"
},
"modified_at": "2025-12-17T10:41:03.469341Z",
"name": "My resource",
"status": "online"
}