---
title: "Track Score"
method: POST
path: "/rest/track-score"
tags: ["score"]
---

# Track Score

`POST /rest/track-score`

## Request body

- object
  - `request_id` integer, required — The `request_id` from tracking a request.
  - `score` integer, required — The score you would like to give to this request (0 - 100).
  - `name` string — A name for this request score. If not provided, the score will be tracked as `default`.

## Response `200`

Score tracked successfully

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `422` — Validation error - request parameters or body are invalid.

---

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