Awell Health Developer Hub
Dev Hub

Request

Endpoint

GET/v1/calculations/search?calculation_name={searchString}

Query parameters

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

ParameterTypeRequired
searchStringstringyes

Response

HTTP 200

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.

HTTP 400

When the passed value for the searchString is not of type string, the API returns a 400 HTTP status code indicating a bad request.

HTTP 500

When unsuccessful, the API will return a 500 HTTP status.