---
title: "Test expression"
method: POST
path: "/actions/test-expr"
tags: ["Actions"]
---

# Test expression

`POST /actions/test-expr`

Test an expression.

## Request body

- TestExprRequest
  - `data` string, required — The data to use for the expression evaluation.
  - `expr` string, required — The expression to evaluate.

## Response `200`

OK

- object
  - `status` 'success', required
  - `data` TestExprResponse, required
    - `result` unknown
    - `error` string — The error returned by the expression evaluation.
  - `message` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/prequel/apis/prequel-data-export.md) · [All operations](https://skmtc.dev/prequel/apis/prequel-data-export/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prequel/prequel-data-export/revisions/09c662a871f8/schema)
