---
search:
  tags:
    - V1
    - POST
seo:
  description: >-
    Request evaluation of the most recent traces across all… Reference for the
    POST /v1/projects/{projectId}/traces/evaluate-all endpoint in the Judgeval
    API.
sidebar:
  label: Evaluate recent traces
  badge: POST
title: Evaluate recent traces
type: openapi-operation
---
Request evaluation of the most recent traces across all time (up to limit of 1000, default 100) with current production judges, optionally restricted to named judges. Evaluation is asynchronous and costs JUs. Each judge type is checked against its own usage limit; the response lists admitted and skipped judges per trace and any unknown judge names.

`POST /v1/projects/{projectId}/traces/evaluate-all`

**Request body** (`application/json`, required)

- `judge_names` (string[]) — Restrict evaluation to these judge names
- `limit` (integer) — Max number of traces to evaluate, taken from the most recent across all time

Request body example:

```json
{
  "judge_names": [
    "string"
  ],
  "limit": 100
}
```

**Responses**

- `200` — Response for status 200

Response example, 200:

```json
{
  "enqueued": true,
  "limit": 0,
  "traces": [
    {
      "trace_id": "string",
      "admitted": [
        "string"
      ],
      "skipped": [
        {
          "judge": "string",
          "reason": "on_demand_not_requested"
        }
      ]
    }
  ],
  "unknown_judge_names": [
    "string"
  ]
}
```
