Light Logo
Models

Get a model

Retrieve a model using the specified owner and name. You must be authenticated with the necessary permissions to fetch a private model.

GET
/models/{model_owner}/{model_name}
AuthorizationBearer <token>

In: header

Path Parameters

model_ownerModel Owner

The username of the user that owns the model.

model_nameModel Name

The name of the model.

Response Body

curl -X GET "https://api.wrift.ai/v1/models/string/string"
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "name": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "visibility": "private",
  "description": "string",
  "updated_at": "2019-08-24T14:15:22Z",
  "source_url": "http://example.com",
  "license_url": "http://example.com",
  "paper_url": "http://example.com",
  "owner": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "username": "string",
    "avatar_url": "string"
  },
  "predictions_count": 0,
  "categories": [
    {
      "name": "string",
      "slug": "string"
    }
  ],
  "overview": "string",
  "latest_version": {
    "number": 0,
    "release_notes": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "container_image_digest": "string",
    "schemas": {
      "prediction": {
        "input": {},
        "output": {}
      }
    }
  },
  "hardware": {
    "identifier": "string",
    "name": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}