Returns all models for the specified dataset.
Response Body
Name | Type | Description | Available Version |
---|---|---|---|
| array | Array of | 1.0 |
| string | Object returned; in this case, | 1.0 |
Training Response Body
Name | Type | Description | Available Version |
---|---|---|---|
| string | Algorithm used to create the model. Returned only when the | 2.0 |
| date | Date and time that the model was created. | 1.0 |
| long | ID of the dataset trained to create the model. | 1.0 |
| int | N/A | 1.0 |
| string | Reason the dataset training failed. Returned only if the training status is | 1.0 |
| string | Model language inherited from the dataset language. Default is | 2.0 |
| string | ID of the model. Contains letters and numbers. | 1.0 |
| string | Type of data from which the model was created. Valid values are:
| 1.0 |
| string | Name of the model. | 1.0 |
| string | Object returned; in this case, | 1.0 |
| float | How far the dataset training has progressed. Values are between 0–1. | 1.0 |
| string | Status of the model. Valid values are:
| 1.0 |
| date | Date and time that the model was last updated. | 1.0 |
Page Through Models
By default, this call returns 100 models. If you want to page through your models, use the offset
and count
query parameters.
Name | Type | Description | Available Version |
---|---|---|---|
| int | Number of models to return. Maximum valid value is 100. If you specify a number greater than 100, the call returns 100 models. Optional. | 1.0 |
| int | Index of the dataset from which you want to start paging. Optional. | 1.0 |
Here's an example of these query parameters. If you omit the offset
parameter, paging starts at 0.
curl -X GET -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" "https://api.einstein.ai/v2/vision/datasets/<DATASET_ID>/models?offset=5&count=5"