---
title: "Filter scores"
method: POST
path: "/api/scores/list/"
tags: ["scores"]
---

# Filter scores

`POST /api/scores/list/`

List scores using POST-for-filtering. This endpoint accepts filters in the request body and returns paginated score results.

## Query parameters

- `page` integer
- `page_size` integer
- `sort_by` string

## Headers

- `Authorization` string, required

## Request body

- object
  - `filters` ApiScoresListPostRequestBodyContentApplicationJsonSchemaFilters — Filter criteria using the standard Respan filter format.

## Response `200`

Paginated filtered list of scores.

- ScoresFilterScoresResponse200
  - `count` integer, required — Number of scores returned on this page.
  - `next` string, nullable — URL for the next page, if any.
  - `previous` string, nullable — URL for the previous page, if any.
  - `current_filters` ApiScoresListPostResponsesContentApplicationJsonSchemaCurrentFilters — Normalized filters applied to this request.
  - `results` ApiScoresListPostResponsesContentApplicationJsonSchemaResultsItems[], required
    - `id` string, required — Score ID.
    - `created_at` string, date-time, required — When the score was created.
    - `type` 'llm' | 'human' | 'code' | 'function' | 'human_numerical' | 'human_boolean' | 'human_categorical' | 'human_text' | 'custom' — Evaluator execution type. Legacy rows may contain legacy type values.
    - `environment` string — Environment associated with the score.
    - `numerical_value` number, double, nullable — Numeric score value. Use for `numerical` and `percentage` evaluators.
    - `string_value` string, nullable — Text score value. Use for `text` and legacy `comment` evaluators.
    - `boolean_value` boolean, nullable — Boolean score value. Use for `boolean` evaluators.
    - `categorical_value` string[], nullable — Categorical score values. Use for `single_select`, `multi_select`, and legacy `categorical` evaluators.
    - `json_value` string, nullable — JSON score value encoded as a string. Use for `json` evaluators.
    - `is_passed` boolean, nullable — Whether the score passes the evaluator conditions.
    - `cost` number, double, nullable — Evaluation cost in USD, when available.
    - `evaluator_id` string, nullable — Evaluator ID associated with the score.
    - `evaluator_slug` string, nullable — Evaluator slug associated with the score.
    - `evaluator_name` string, nullable — Human-readable evaluator name, when available.
    - `scorer` string, nullable — Who or what produced the score. For log-scoped score writes, the backend derives this from the authenticated user.
    - `log_id` string, nullable — Associated log/span ID.
    - `prompt_id` string, nullable — Associated prompt ID, when available.
    - `prompt_version_number` integer, nullable — Associated prompt version number, when available.
    - `dataset_id` string, nullable — Associated dataset ID, when available.
    - `automation_id` string, nullable — Associated automation ID, when available.
    - `status` string, nullable — Evaluation status, when available.
    - `error_message` string, nullable — Evaluation error message, when available.
    - `explanation` string — Optional explanation for the score.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Missing or invalid authentication

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 14 breaking, 4 warning, 3 info
  - added the new required request property `cost`
  - added the new required request property `created_at`
  - added the new required request property `dataset_id`
  - added the new required request property `environment`
  - …17 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/scores/list/post.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c61efaf24756/schema)
