---
title: "Search latest span evaluations"
method: POST
path: "/v1/observability/spans/evaluations/search/latest"
tags: ["beta.observability.spans"]
---

# Search latest span evaluations

`POST /v1/observability/spans/evaluations/search/latest`

## Request

- Base URL: `https://api.mistral.ai`
- URL: `https://api.mistral.ai/v1/observability/spans/evaluations/search/latest`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/mistral/apis/mistral-ai-api/docs/v1/observability/spans/evaluations/search/latest/post.ts> (a function with typed inputs; its response is checked against the schema)

Search latest span evaluations

## Query parameters

- `from` string, date-time, nullable
- `to` string, date-time, nullable
- `page_size` integer
- `cursor` string, nullable

## Request body

- SpanEvaluationsRequest
  - `search_expression` string, nullable

## Response `200`

Successful Response

- GetSpanEvaluations
  - `span_evaluations` FeedResultGetSpanEvaluation, required
    - `results` GetSpanEvaluation[]
      - `customer_id` string, required
      - `organization_id` string, required
      - `workspace_id` string, required
      - `user_id` string, required
      - `trace_id` string, required
      - `span_id` string, required
      - `response_id` string, required
      - `conversation_id` string, required
      - `timestamp` string, date-time, required
      - `evaluation_name` string, required
      - `score_value` number, required
      - `score_label` string, required
      - `explanation` string, required
      - `metadata` object, required
    - `next` string, nullable
    - `cursor` string, nullable

## Other responses

- `400`: Bad Request - Invalid request parameters or data
- `404`: Not Found - Resource does not exist
- `408`: Request Timeout - Operation timed out
- `409`: Conflict - Resource conflict
- `422`: Unprocessable Entity - Validation error

## Changes

- **2026-10-12** `6c349f3bdef6`: 20 warning
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `400`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `404`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `408`
  - added the new `OPTIMIZATION_NOT_FOUND` enum value to the `detail/error_code/anyOf[subschema #1: ObservabilityErrorCode]/` response property for the response status `409`
  - …16 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/mistral/apis/mistral-ai-api/changes/v1/observability/spans/evaluations/search/latest/post.md)

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) - [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mistral/apis/mistral-ai-api/revisions/08a585fb75bc?raw)
