Datasets - Get
Get information about a specific dataset.
Status codes returned:
- 200: Operation completed successfully.
- 400: The request was malformed.
- 404: A dataset with the specified name was not found.
GET /datasets/{name}?api-version=2023-04-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
name
|
path | True |
string |
The name of the dataset to get. Regex pattern: |
api-version
|
query | True |
string |
Requested API version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
Success |
|
Other Status Codes |
Error Headers x-ms-error-code: string |
Examples
Datasets_Get
Sample request
GET /datasets/my_dataset_name?api-version=2023-04-01-preview
Sample response
{
"annotationKind": "imageClassification",
"annotationFileUris": [
"https://example.com/dataset.json"
],
"name": "my_dataset_name",
"createdDateTime": "2023-01-13T20:46:20.189Z",
"updatedDateTime": "2023-01-13T20:46:20.189Z",
"eTag": "kzktjgnqkjagdlkualdzikaseg"
}
Definitions
Name | Description |
---|---|
Annotation |
The kind of annotations contained in the annotation files. For example, "ImageClassification" to specify that the annotation file contain object labels for training or testing a multiclass image classification model. |
Dataset |
Describes a dataset, which represents a set of images and annotations that can be used for training or testing a model. |
Error |
Response returned when an error occurs. |
Error |
Error info. |
Error |
Detailed error. |
Storage |
The storage authentication kind. |
Storage |
Describes the storage authentication settings. |
AnnotationKind
The kind of annotations contained in the annotation files. For example, "ImageClassification" to specify that the annotation file contain object labels for training or testing a multiclass image classification model.
Name | Type | Description |
---|---|---|
imageClassification |
string |
|
imageObjectDetection |
string |
Dataset
Describes a dataset, which represents a set of images and annotations that can be used for training or testing a model.
Name | Type | Description |
---|---|---|
annotationFileUris |
string[] |
List of absolute URIs to annotation files, each of which must be stored as a blob in an Azure Storage blob container. Each file must follow the COCO format for the specified AnnotationKind, with each image path being an absolute URI to a blob in a blob container. The Computer Vision resource must have permission to read the annotation files and all referenced image files. This can be done by turning on System managed identities for the Computer Vision resource, then assigning the identity to a role that has permission to read from the blob container containing the annotation and image files. |
annotationKind |
The kind of annotations contained in the annotation files. For example, "ImageClassification" to specify that the annotation file contain object labels for training or testing a multiclass image classification model. |
|
authentication |
Describes the storage authentication settings. |
|
createdDateTime |
string |
Read only. The date and time when the dataset was first registered, in UTC. |
customProperties |
object |
Dictionary of arbitrary key-value pairs for use by the application. A maximum of 10 key-value pairs are allowed. |
eTag |
string |
Read only. The latest ETag for the dataset. May be used with the 'If-Match' header when updating or deleting a dataset. |
name |
string |
Read only. The name that is used to uniquely identify the dataset. |
updatedDateTime |
string |
Read only. The date and time when the dataset was last updated, in UTC. |
ErrorResponse
Response returned when an error occurs.
Name | Type | Description |
---|---|---|
error |
Error info. |
ErrorResponseDetails
Error info.
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
details |
List of detailed errors. |
|
innererror |
Detailed error. |
|
message |
string |
Error message. |
target |
string |
Target of the error. |
ErrorResponseInnerError
Detailed error.
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
innererror |
Detailed error. |
|
message |
string |
Error message. |
StorageAuthenticationKind
The storage authentication kind.
Name | Type | Description |
---|---|---|
managedIdentity |
string |
|
none |
string |
|
sas |
string |
StorageAuthenticationSettingsApiModel
Describes the storage authentication settings.
Name | Type | Description |
---|---|---|
kind |
The storage authentication kind. |
|
sasToken |
string |
Optional. The sas token to access container. Only needed when Kind = Sas. |