API reference
Search a calculation based on its name
GET/v1/calculations/search?calculation_name={searchString}
This endpoint expects a searchString to be passed as a query parameter. If not provided, the query will return all calculations.
The search is implemented by calculation name and we check if searchString appears as a substring of the calculation name. If there's no match, an empty array is returned
| Parameter | Type | Required | 
|---|---|---|
| searchString | string | yes | 
When successful, the API will return a HTTP status code of 200 and in the response an array of calculations where the calculation's name (partially) matched the searchString. The schema of the response can be found here.
When the passed value for the searchString is not of type string, the API returns a 400 HTTP status code indicating a bad request.
When unsuccessful, the API will return a 500 HTTP status.