---
title: "Retrieve Scenario Scorer."
method: GET
path: "/v1/scenarios/scorers/{id}"
tags: ["Scenario", "ScenarioScorer"]
---

# Retrieve Scenario Scorer.

`GET /v1/scenarios/scorers/{id}`

Retrieve Scenario Scorer.

## Path parameters

- `id` string, required

## Response `200`

OK

- ScenarioScorerView — A ScenarioScorerView represents a custom scoring function for a Scenario.
  - `id` string, required — ID for the scenario scorer.
  - `type` string, required — Name of the type of scenario scorer.
  - `bash_script` string, required — Bash script that takes in $RL_SCORER_CONTEXT as env variable and runs scoring.

---

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