












Beta Observability Campaigns Endpoints
(beta) Create and manage evaluation campaigns.












Examples
Real world code examples
Get all campaigns
GET /v1/observability/campaigns
page_size
page
q
200
Successful Response
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/campaigns \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/observability/campaigns \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"campaigns": {
"count": 87
}
}{
"campaigns": {
"count": 87
}
}Create and start a new campaign
POST /v1/observability/campaigns
201
Successful Response
created_at
deleted_at
description
id
max_nb_events
name
owner_id
updated_at
workspace_id
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/campaigns \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"description": "ipsum eiusmod",
"judge_id": "consequat do",
"max_nb_events": 87,
"name": "reprehenderit ut dolore",
"search_params": {
"filters": null
}
}'curl https://api.mistral.ai/v1/observability/campaigns \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"description": "ipsum eiusmod",
"judge_id": "consequat do",
"max_nb_events": 87,
"name": "reprehenderit ut dolore",
"search_params": {
"filters": null
}
}'201
{
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "ipsum eiusmod",
"id": "consequat do",
"judge": {
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "reprehenderit ut dolore",
"id": "occaecat dolor sit",
"instructions": "nostrud",
"model_name": "aute aliqua aute commodo",
"name": "irure",
"output": {
"options": [
{
"description": "dolor",
"value": "sunt"
}
]
},
"owner_id": "nisi minim commodo irure minim",
"tools": [
"do do sint mollit"
],
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "occaecat"
},
"max_nb_events": 87,
"name": "fugiat",
"owner_id": "non nisi proident Lorem",
"search_params": {
"filters": null
},
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "nostrud anim"
}{
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "ipsum eiusmod",
"id": "consequat do",
"judge": {
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "reprehenderit ut dolore",
"id": "occaecat dolor sit",
"instructions": "nostrud",
"model_name": "aute aliqua aute commodo",
"name": "irure",
"output": {
"options": [
{
"description": "dolor",
"value": "sunt"
}
]
},
"owner_id": "nisi minim commodo irure minim",
"tools": [
"do do sint mollit"
],
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "occaecat"
},
"max_nb_events": 87,
"name": "fugiat",
"owner_id": "non nisi proident Lorem",
"search_params": {
"filters": null
},
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "nostrud anim"
}Get campaign by id
GET /v1/observability/campaigns/{campaign_id}
campaign_id
200
Successful Response
created_at
deleted_at
description
id
max_nb_events
name
owner_id
updated_at
workspace_id
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id} \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id} \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "ipsum eiusmod",
"id": "consequat do",
"judge": {
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "reprehenderit ut dolore",
"id": "occaecat dolor sit",
"instructions": "nostrud",
"model_name": "aute aliqua aute commodo",
"name": "irure",
"output": {
"options": [
{
"description": "dolor",
"value": "sunt"
}
]
},
"owner_id": "nisi minim commodo irure minim",
"tools": [
"do do sint mollit"
],
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "occaecat"
},
"max_nb_events": 87,
"name": "fugiat",
"owner_id": "non nisi proident Lorem",
"search_params": {
"filters": null
},
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "nostrud anim"
}{
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "ipsum eiusmod",
"id": "consequat do",
"judge": {
"created_at": "2025-10-07T20:56:01.974Z",
"deleted_at": null,
"description": "reprehenderit ut dolore",
"id": "occaecat dolor sit",
"instructions": "nostrud",
"model_name": "aute aliqua aute commodo",
"name": "irure",
"output": {
"options": [
{
"description": "dolor",
"value": "sunt"
}
]
},
"owner_id": "nisi minim commodo irure minim",
"tools": [
"do do sint mollit"
],
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "occaecat"
},
"max_nb_events": 87,
"name": "fugiat",
"owner_id": "non nisi proident Lorem",
"search_params": {
"filters": null
},
"updated_at": "2025-10-07T20:56:01.974Z",
"workspace_id": "nostrud anim"
}Delete a campaign
DELETE /v1/observability/campaigns/{campaign_id}
campaign_id
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id} \
-X DELETE \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json'curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id} \
-X DELETE \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json'Get campaign status by campaign id
GET /v1/observability/campaigns/{campaign_id}/status
campaign_id
200
Successful Response
status
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id}/status \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id}/status \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"status": "RUNNING"
}{
"status": "RUNNING"
}Get event ids that were selected by the given campaign
GET /v1/observability/campaigns/{campaign_id}/selected-events
campaign_id
page_size
page
200
Successful Response
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id}/selected-events \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/observability/campaigns/{campaign_id}/selected-events \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"completion_events": {
"count": 87
}
}{
"completion_events": {
"count": 87
}
}