{
"predictionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "SUBMITTED"
}{
"predictionId": "fd110486-f168-47c0-a419-1518a4840589",
"status": "READY",
"message": "<string>"
}Model predictions by use case
This is an all-purpose prediction endpoint you can use by specifying a USE_CASE and MODEL_ID. Upon submission, the API responds with a unique predictionId and a status. The predictionId can be used later in the GET request to retrieve the results.
IMPORTANT: The available use cases are detailed in their own section in this specification.
{
"predictionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "SUBMITTED"
}{
"predictionId": "fd110486-f168-47c0-a419-1518a4840589",
"status": "READY",
"message": "<string>"
}Headers
Path Parameters
Body
Request information varies based on the use case in the request. See the specific use case for valid information for that use case.
Response
OK
This is the response to the POST prediction request submitted for a specific useCase and modelId.
The current status of the prediction. Allowed values are:
-
SUBMITTED - The POST request was successful and the response has returned the
predictionIdandstatusthat is used by the GET request. -
ERROR - An error was generated when the GET request was sent.
-
READY - The results associated with the
predictionIdare available and ready to be retrieved. -
RETRIEVED - The results associated with the
predictionIdare returned successfully when the GET request was sent.
"SUBMITTED"
Was this page helpful?