












Beta Observability Chat Completion Events Endpoints
(beta) Search, retrieve, and analyze chat completion events.












Examples
Real world code examples
Get Chat Completion Events
POST /v1/observability/chat-completion-events/search
page_size
cursor
extra_fields
200
Successful Response
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/chat-completion-events/search \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"search_params": {
"filters": null
}
}'curl https://api.mistral.ai/v1/observability/chat-completion-events/search \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"search_params": {
"filters": null
}
}'200
{
"completion_events": {}
}{
"completion_events": {}
}Alternative to /search that returns only the IDs and that can return many IDs at once
POST /v1/observability/chat-completion-events/search-ids
extra_fields
200
Successful Response
completion_event_ids
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/chat-completion-events/search-ids \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"search_params": {
"filters": null
}
}'curl https://api.mistral.ai/v1/observability/chat-completion-events/search-ids \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"search_params": {
"filters": null
}
}'200
{
"completion_event_ids": [
"ipsum eiusmod"
]
}{
"completion_event_ids": [
"ipsum eiusmod"
]
}Get Chat Completion Event
GET /v1/observability/chat-completion-events/{event_id}
event_id
200
Successful Response
correlation_id
created_at
enabled_tools
event_id
extra_fields
nb_input_tokens
nb_messages
nb_output_tokens
request_messages
response_messages
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/chat-completion-events/{event_id} \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/observability/chat-completion-events/{event_id} \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"chat_transcription_events": [
{
"audio_url": "ipsum eiusmod",
"model": "consequat do",
"response_message": [
null
]
}
],
"correlation_id": "reprehenderit ut dolore",
"created_at": "2025-10-07T20:56:01.974Z",
"enabled_tools": [
[
null
]
],
"event_id": "occaecat dolor sit",
"extra_fields": [
null
],
"nb_input_tokens": 87,
"nb_messages": 14,
"nb_output_tokens": 56,
"request_messages": [
[
null
]
],
"response_messages": [
[
null
]
]
}{
"chat_transcription_events": [
{
"audio_url": "ipsum eiusmod",
"model": "consequat do",
"response_message": [
null
]
}
],
"correlation_id": "reprehenderit ut dolore",
"created_at": "2025-10-07T20:56:01.974Z",
"enabled_tools": [
[
null
]
],
"event_id": "occaecat dolor sit",
"extra_fields": [
null
],
"nb_input_tokens": 87,
"nb_messages": 14,
"nb_output_tokens": 56,
"request_messages": [
[
null
]
],
"response_messages": [
[
null
]
]
}Get Similar Chat Completion Events
GET /v1/observability/chat-completion-events/{event_id}/similar-events
event_id
200
Successful Response
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/chat-completion-events/{event_id}/similar-events \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'curl https://api.mistral.ai/v1/observability/chat-completion-events/{event_id}/similar-events \
-X GET \
-H 'Authorization: Bearer YOUR_APIKEY_HERE'200
{
"completion_events": {}
}{
"completion_events": {}
}Run Judge on an event based on the given options
POST /v1/observability/chat-completion-events/{event_id}/live-judging
event_id
200
Successful Response
analysis
answer
Playground
Test the endpoints live
curl https://api.mistral.ai/v1/observability/chat-completion-events/{event_id}/live-judging \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"judge_definition": {
"description": "ipsum eiusmod",
"instructions": "consequat do",
"model_name": "reprehenderit ut dolore",
"name": "occaecat dolor sit",
"output": {
"options": [
{
"description": "nostrud",
"value": "aute aliqua aute commodo"
}
]
},
"tools": [
"irure"
]
}
}'curl https://api.mistral.ai/v1/observability/chat-completion-events/{event_id}/live-judging \
-X POST \
-H 'Authorization: Bearer YOUR_APIKEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"judge_definition": {
"description": "ipsum eiusmod",
"instructions": "consequat do",
"model_name": "reprehenderit ut dolore",
"name": "occaecat dolor sit",
"output": {
"options": [
{
"description": "nostrud",
"value": "aute aliqua aute commodo"
}
]
},
"tools": [
"irure"
]
}
}'200
{
"analysis": "ipsum eiusmod",
"answer": "consequat do"
}{
"analysis": "ipsum eiusmod",
"answer": "consequat do"
}