Querying Details About the Progress of a Team Labeling Task Member

Function

This API is used to query details about the progress of a team labeling task member.

Debugging

You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.

URI

GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/metrics

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

dataset_id

Yes

String

Dataset ID.

project_id

Yes

String

Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name.

workforce_task_id

Yes

String

ID of a team labeling task.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

sample_stats

Map<String,Map<String,Integer>>

Statistics on team labeling task members.

Example Requests

Querying Details About the Progress of a Team Labeling Task Member

GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/metrics

Example Responses

Status code: 200

OK

{
  "sample_stats" : {
    "xxx@xxx.com" : {
      "un_annotation" : 51,
      "rejected" : 0,
      "unreviewed" : 0,
      "accepted" : 0,
      "auto_annotation" : 0,
      "uncheck" : 0
    }
  }
}

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.