Evaluate¶
Evaluate a single expression with a custom context.
HTTP Request
POST https://api.solvebio.com/v1/evaluate
Parameters
This request does not accept URL parameters.
Authorization
This request requires an authorized user.
Request Body
In the request body, provide the following properties:
Property | Value | Description |
---|---|---|
data | object | A object containing variables referenced in the expression. |
data_type | string | A valid data type to cast the result to. |
expression | string | A valid expression. |
is_list | boolean | True if the result should be a list of values (default: False). |
Response
The response contains the evaluated expression.