---
title: "POST /v1/evaluator/python/test"
method: POST
path: "/v1/evaluator/python/test"
tags: ["Evaluator"]
---

# POST /v1/evaluator/python/test

`POST /v1/evaluator/python/test`

## Request body

- object
  - `testInput` TestInput, required
    - `promptTemplate` string
    - `inputs` object, required
      - `autoInputs` RecordStringString — Construct a type with a set of properties K of type T
      - `inputs` RecordStringString, required — Construct a type with a set of properties K of type T
    - `outputBody` string, required
    - `inputBody` string, required
  - `code` string, required

## Response `200`

Ok

- union
  - ResultSuccessOutputStringTracesStringArrayStatusCode63Number
    - `data` object, required
      - `statusCode` number, double
      - `traces` string[], required
      - `output` string, required
    - `error` null, nullable, required
  - ResultErrorString
    - `data` null, nullable, required
    - `error` string, required

---

[API](https://skmtc.net/helicone/apis/helicone-api.md) · [All operations](https://skmtc.net/helicone/apis/helicone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/helicone/helicone-api/versions/b369e9e3e80c/schema)
