Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SummaryHTTP Request TypeEndpointRequest ParametersBody

 

DescriptionSample Response Body
Get the Truth for a list of datasetsGETPOSTv1/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

  • dataset
  • stream

Note: Can't get truth-values

for both datasets and streams

in a single request

 

{
entityType: "dataset",
values

Object 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} ]
}