POST
/
v1
/
predictions
Create a Prediction
curl --request POST \
  --url https://api.muna.ai/v1/predictions \
  --header 'Content-Type: application/json' \
  --data '{
  "tag": "<string>",
  "clientId": "<string>",
  "configurationId": "<string>",
  "deviceId": "<string>",
  "predictionId": "<string>"
}'
{
  "id": "<string>",
  "tag": "<string>",
  "configuration": "<string>",
  "resources": [
    {
      "type": "<string>",
      "url": "<string>",
      "name": "<string>"
    }
  ],
  "created": "<string>"
}

Body

tag
string
required
Predictor tag.
clientId
string
required
Prediction client identifier.
configurationId
string
Prediction configuration identifier.
deviceId
string
Device identifier, used for choosing optimal implementation to respond with.
predictionId
string
For making predictions with embedded predictors, providing the original prediction identifier ensures that the same prediction implementation is provided to the device.

Response

id
string
required
Prediction identifier.
tag
string
required
Predictor tag.
configuration
string
Prediction configuration token.
resources
PredictionResource[]
required
Prediction resources.
created
Date
required
Prediction creation date.