Dataset Splits
Dataset Splits
GET /api/v1/datasets/{dataset_id}/versions/{version_id}/labels/splits/{split_id}
Get Label Stats
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
split_id | path | string | true |
Response
Type: []LabelStat
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
label_id | string | |
split_id | string | |
count | int64 | |
annotation_count | int64 | |
item_count | int64 |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/labels/splits/{split_id}GET /api/v1/datasets/{dataset_id}/versions/{version_id}/labels/stats/splits/{split_id}
Get Item Count For Split
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
split_id | path | string | true |
Response
Type: LabelStat
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
label_id | string | |
split_id | string | |
count | int64 | |
annotation_count | int64 | |
item_count | int64 |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/labels/stats/splits/{split_id}GET /api/v1/datasets/{dataset_id}/versions/{version_id}/splits
Get Splits
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
Response
Type: []DatasetSplit
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
user_id | string | |
version_id | uuid.UUID |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/splitsPOST /api/v1/datasets/{dataset_id}/versions/{version_id}/splits
Create Split
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
Request Body
Type: DatasetSplit
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
user_id | string | |
version_id | uuid.UUID |
Response
Type: DatasetSplit
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
user_id | string | |
version_id | uuid.UUID |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/splitsGET /api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}
Get Split
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Response
Type: DatasetSplit
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
user_id | string | |
version_id | uuid.UUID |
Example
curl -X GET \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}PUT /api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}
Update Split
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Request Body
Type: DatasetSplit
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
user_id | string | |
version_id | uuid.UUID |
Response
Type: DatasetSplit
| Field | Type | Description |
|---|---|---|
id | uuid.UUID | |
created_at | time.Time | |
updated_at | time.Time | |
name | string | |
description | string | |
user_id | string | |
version_id | uuid.UUID |
Example
curl -X PUT \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}DELETE /api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}
Delete Split
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Example
curl -X DELETE \
-H "Authorization: Bearer <token>" \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}POST /api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}/add_inferences
Create add From Inferences
Parameters
| Name | In | Type | Required |
|---|---|---|---|
dataset_id | path | string | true |
version_id | path | string | true |
id | path | string | true |
Request Body
Type: AddInference
| Field | Type | Description |
|---|---|---|
keep_annotations | bool | |
inferences | []Inference |
Response
Type: AddInference
| Field | Type | Description |
|---|---|---|
keep_annotations | bool | |
inferences | []Inference |
Example
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{}' \
https://api.seeme.ai/api/v1/datasets/{dataset_id}/versions/{version_id}/splits/{id}/add_inferences