...
Summary | HTTP Request Type | Endpoint | Request ParametersBody
| Description | Sample Response Body | ||
---|---|---|---|---|---|---|---|
Get the Truth for a list of datasets | GETPOST | v1/truth-meter/{entity-type} | entity-name (List of entity names) | Object with two lists--datasets and streams--of EntityName (String) as fields. { "datasets": ["ds1", "ds2", "ds3", "ds4"], "streams": ["strm1", "strm2", "strm3", "strm4"] }
| entity-type
Note: Can't get truth-values for both datasets and streams in a single request
| { entityType: "dataset", valuesObject with two maps datasets and streams. Map key is EntityName and value is the score for the entity. { "datasets": [ {"dataset1ds1":, 9580}, {"ds2", 90}, {"ds3", 70}, {"ds4", 90} ], "streams": [ { "dataset2strm1":, 80}, {"strm2", 90}, {"strm3", 70}, {"strm4", 90} ] } |