Skip to main content
GET
/
api
/
v1
/
public
/
recommendations
/
{snapshotId}
cURL
curl --request GET \
  --url http://studio.premai.io/api/v1/public/recommendations/{snapshotId} \
  --header 'Authorization: Bearer <token>'
{
  "snapshot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "processing",
  "recommended_models": [
    {
      "baseModelId": "<string>",
      "recommended": true,
      "full_hyperparameters": {
        "nEpochs": 123,
        "batchSize": 123,
        "learningRateMultiplier": 123
      },
      "lora_hyperparameters": {
        "nEpochs": 123,
        "batchSize": 123,
        "learningRateMultiplier": 123
      },
      "reasonForRecommendation": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

snapshotId
string<uuid>
required

Query Parameters

reasoning
enum<string>
default:false
Available options:
true,
false

Response

Recommendations status

snapshot_id
string<uuid>
required
status
enum<string>
required
Available options:
processing,
completed,
failed