v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
models

Get model details

Get detailed information about a specific custom model. The user must either own the model or the model must be shared with the user's organization via the model registry. Returns 404 if the model is not found or not accessible.

get/models/{model_id}

Path parameters

model_idstring required

Response

Model retrieved successfully

Example response

{
  "model": {
    "creation_time": "2000-01-23T04:56:07+00:00",
    "last_update_time": "2000-01-23T04:56:07+00:00",
    "is_available_for_generation": true,
    "dataset_id": "dataset_id",
    "name": "name",
    "is_owned": true,
    "training_runs": [
      {
        "creation_time": "2000-01-23T04:56:07+00:00",
        "last_update_time": "2000-01-23T04:56:07+00:00",
        "lora_rank": 6,
        "num_chips": 1,
        "training_run_id": "training_run_id",
        "ema": 5.962133916683182,
        "training_steps": 0,
        "learning_rate": 5.637376656633329,
        "status": null
      },
      {
        "creation_time": "2000-01-23T04:56:07+00:00",
        "last_update_time": "2000-01-23T04:56:07+00:00",
        "lora_rank": 6,
        "num_chips": 1,
        "training_run_id": "training_run_id",
        "ema": 5.962133916683182,
        "training_steps": 0,
        "learning_rate": 5.637376656633329,
        "status": null
      }
    ],
    "model_id": "model_id",
    "custom_model_uri": "model/my-custom-model/version/1",
    "status": null
  }
}