GET /udl/aiprediction/tuple
Changed onService operation to dynamically query data and only return specified columns/fields. Requested columns are specified by the 'columns' query parameter and should be a comma separated list of valid fields for the specified data type. classificationMarking is always returned. See the queryhelp operation (/udl/<datatype>/queryhelp) for more details on valid/required query parameter information. An example URI: /udl/elset/tuple?columns=satNo,period&epoch=>now-5 hours would return the satNo and period of elsets with an epoch greater than 5 hours ago.
Request
- Base URLhttps://unifieddatalibrary.com
- URLhttps://unifieddatalibrary.com/udl/aiprediction/tuple
- Authnone declared
Query parameters
Comma-separated list of valid field names for this data type to be returned in the response. Only the fields specified will be returned as well as the classification marking of the data, if applicable. See the ‘queryhelp’ operation for a complete list of possible fields.
(One or more of fields 'idAIModel, predictionTime' are required.) Unique identifier of the model associated with the prediction. (uuid)
(One or more of fields 'idAIModel, predictionTime' are required.) Datetime this prediction was made, in ISO 8601 UTC with millisecond precision. (YYYY-MM-DDTHH:MM:SS.sssZ)
Response
OK
Example response
[
{
"id": "026dd511-8ba5-47d3-9909-836149f87686",
"classificationMarking": "U",
"idAIModel": "341c5509-80c3-4298-9d78-32f818313af5",
"predictionId": "run-20250808",
"predictionTime": "2025-01-01T16:00:00.123Z",
"predictionSource": "MIT LL SSN testbed",
"prePipelineVersion": "v2.1.0",
"rte": [
"NVIDIA A100",
"Ubuntu 22.04"
],
"batchSize": 32,
"latency": 47.5,
"aiPredictionReviews": [
{
"status": "IN REVIEW",
"reviewer": "John Doe",
"reviewDate": "2025-01-02T16:00:00.123Z",
"corrections": [
"Added car",
"Adjusted bicycle to motorcycle"
],
"notes": "Example notes"
}
],
"aiPredictionEntities": [
{
"entitySourceType": "Radar sensor",
"entitySourceId": "SSN1",
"entitySourceName": "Big SSN Radar",
"entitySourceDetails": "Primary",
"entityType": "IMAGE",
"entityId": "image123",
"entityRole": "INPUT",
"entityURI": "Example URI",
"mimeType": "IMAGE/PNG",
"checksumAlgorithm": "SHA-256",
"checksumValue": "abc123"
}
],
"aiPredictionAssociations": [
{
"assocEntityId": "image123",
"assocData": "IMAGE",
"assocType": "EXPLANATION",
"assocContext": "Explanation generated using SHAP values",
"assocDataKeys": [
"Base Value",
"Output Value"
],
"assocDataValues": [
0.5,
0.67
],
"assocDataUofMs": [
"meters",
"meters"
],
"assocTimestamp": "2025-01-01T17:00:00.123Z"
}
],
"aiPredictionContents": [
{
"contentOutput": "Image identified as a Solar Panel",
"contentType": "LABEL",
"confidenceScore": 0.77,
"aiPredictionContentExplanations": [
{
"explanationType": "ACTIVATION MAP",
"explanationFormat": "IMAGE",
"aiPredictionContentExplanationData": [
{
"elementType": "FEATURE",
"elementName": "SIZE",
"elementValue": 0.3,
"elementUofM": "meters",
"impactScore": 80.1,
"explanationDataNotes": "Example notes"
}
]
}
],
"aiPredictionContentUncertainties": [
{
"uncertCategory": "EPISTEMIC",
"uncertType": "STANDARD DEVIATION",
"uncertDescription": "Amount of variability of solar array performance metrics.",
"uncertMethod": "ENSEMBLE",
"confidenceLevel": 95,
"lowerBound": 0.23,
"upperBound": 0.87,
"ensembleMethod": "BAGGING",
"ensembleSize": 5,
"samplingMethod": "MONTE CARLO",
"samplingCount": 100,
"seeds": [
42,
100,
2024,
8,
7
],
"calibrationTechnique": "TEMPERATURE SCALING",
"calibrationParameter": "Temperature",
"ece": 0.021,
"brierScore": 0.12,
"nll": 1.74,
"uncertKeys": [
"Power",
"Efficiency",
"Temperature"
],
"uncertValues": [
12.5,
0.03,
1.8
],
"uncertUofMs": [
"Watts",
"Percent",
"degC"
],
"uncertNotes": "Example notes"
}
]
}
],
"tags": [
"TAG1",
"TAG2"
],
"transactionId": "TRANSACTION-ID",
"createdAt": "2018-01-01T16:00:00.123Z",
"createdBy": "some.user",
"updatedAt": "2018-01-01T16:00:00.123Z",
"updatedBy": "some.user",
"sourceDL": "AXE",
"source": "Bluestaq",
"origin": "THIRD_PARTY_DATASOURCE",
"origNetwork": "OPS1",
"dataMode": "TEST"
}
]Changes
- info
endpoint added
- info
Some revisions have not been checked yet.