GET
/
ai
/
async-prediction
/
{PREDICTION_ID}
Get results by predictionId
curl --request GET \
  --url https://application_id.applications.lucidworks.com/ai/async-prediction/{PREDICTION_ID}
{
  "predictionId": "fd110486-f168-47c0-a419-1518a4840589",
  "status": "READY",
  "predictions": [
    {
      "response": "CORRECT: misspelled",
      "tokensUsed": {
        "promptTokens": 148,
        "completionTokens": 27,
        "totalTokens": 175
      }
    }
  ]
}

Path Parameters

PREDICTION_ID
string
required

Response

200
application/json

OK

The response is of type object.