GET
/
v1
/
models
/
{model_id}
curl --request GET \
  --url https://mango.sievedata.com/v1/models/{model_id} \
  --header 'X-API-Key: <api-key>'
{
  "id": "9c701df7-13e3-4d97-a344-693d615bede9",
  "name": "whisper",
  "version": "54cd08e8-8f77-49f1-9824-b969aab8bf7d",
  "organization_id": "c0ec7825-0fcb-444e-b0b9-9660c40fa0f4",
  "status": "ready",
  "permissions": {
    "private": false,
    "ids": null
  },
  "gpu": "true",
  "full_config": null,
  "time": {
    "queued": "2023-02-09T19:26:04.455000",
    "started": "2023-02-09T19:26:04.467000",
    "completed": "2023-02-09T19:27:23.462000"
  },
  "machine_type": "",
  "type": "model",
  "is_iterator_input": false,
  "is_iterator_output": true,
  "outputs": [
    {
      "type": "typing.Dict"
    }
  ],
  "inputs": [
    {
      "type": "sieve.types.file.Audio",
      "name": "audio"
    }
  ],
  "minimum_running_replicas": 2,
  "description": "",
  "code_url": "",
  "author": "sieve-developer"
}

This endpoint returns a JSON object that describes a given model given its ID.

Request

model_id
string
required

name of Sieve model

Response

id
string

The id of the model.

name
string

The name of the model.

status
string

The status of the model. The possible values are “ready”, “queued”, “building”, and “failed”.

inputs
dict

The inputs of the model as a dictionary of name and type.

outputs
dict

The outputs of the model as a dictionary of name and type.