Get response properties

Attention

The toloka.yandex.com domain will be disabled starting April 1, 2023. Please use the toloka.dev domain for API requests.

Gets the properties of a response.

Request

Production version
Sandbox
GET https://toloka.dev/api/v1/assignments/<response_id>
Authorization: OAuth <OAuth token>

Path parameters

ParameterOverview
response_idID of the task suite assignment to a Toloker.

Headers

TitleOverview
AuthorizationA token for account authorization. Add OAuth as a prefix.

Response

{
"id": "0000082301--5f69bcc046757f5cf86c12ff",
"task_suite_id": "0000082301--5f69bc8446757f5cf86c0e24",
"pool_id": "533249",
"user_id": "b4d8bcc33403cae9eb69991c8bb90bdc",
"status": "ACCEPTED",
"reward": 0.01,
"bonus_ids": "IDs of the rewards given for the task",
"tasks": [
{
"id": "6946cefa-32af-4f62-b530-8d2c71fa2966",
"input_values": {
"image": "http://images.com/1.png"
}
}
],
"solutions": [
{
"output_values": {
"result": "OK"
}
}
],
"mixed": false,
"automerged": false,
"created": "2020-09-22T08:58:40.913",
"submitted": "2020-09-22T08:58:46.207",
"accepted": "2020-09-22T08:58:46.207",
"public_comment": "Well done!",
"owner": {
"id": "ac1e4701364b4ccef8a4fe10a8980cff",
"myself": true
}
}
ParameterOverview
idstring

ID of the task suite assignment to a Toloker.
task_suite_idstring

ID of a task suite.
pool_idstring

ID of the pool that the task suite belongs to.
user_idstring

ID of the Toloker who was assigned the task suite.
status

string

Status of an assigned task suite:

  • ACTIVE — Being completed by a Toloker.
  • SUBMITTED — Completed but not checked.
  • ACCEPTED — Accepted by the requester.
  • REJECTED — Rejected by the requester.
  • SKIPPED — Skipped by the Toloker.
  • EXPIRED — The time for completing the tasks expired.
rewardinteger

Payment received by the Toloker.
public_commentstring

A comment for the Toloker.

Maximum length: 2048 characters.
bonus_ids[]array of strings

IDs of rewards issued for the task.
tasks[]array of objects

Data for the tasks.
first_declined_solution_attempt[]

array of objects

For training tasks. The Toloker's first responses in the training task (only if these were the wrong answers). If the Toloker answered correctly on the first try, the first_declined_solution_attempt array is omitted.

Arrays with the responses (output_values) are arranged in the same order as the task data in the tasks array.

{
"output_values": {
"<field 1>": <response>,
"<field 2>": <response>
...
"<field N>": <response>
},
...
}
solutions[]

array of objects

Toloker responses. Arranged in the same order as the data for tasks in the tasks array.

{
"output_values": {
"<field 1>": <response>,
"<field 2>": <response>
...
"<field N>": <response>
},
...
}
mixed

boolean

Type of operation for creating a task suite:

  • true — Automatic ("smart mixing").
  • false — Manually.

    The default value is false.

    More information about creating task suites.
automerged

boolean

Flag of the response received as a result of merging identical tasks. Value:

  • true — The response was recorded when identical tasks were merged.
  • false — Normal Toloker response.
createdstring

The date and time when the task suite was assigned to a Toloker. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
submittedstring

The date and time when the task suite was completed by a Toloker. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
acceptedstring

The date and time when the responses for the task suite were accepted by the requester. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
rejectedstring

The date and time when the responses for the task suite were rejected by the requester. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
skippedstring

The date and time when the task suite was skipped by a Toloker. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
expiredstring

The date and time when the task suite expired. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].
owner.idstring

Requester ID.
owner.myself

boolean

Checks who the object belongs to:

  • true — The Toloker whose OAuth token is specified in the request.
  • false — Another account (employee or owner).
Contact support
Toloka API
OverviewAccessing the APIRate limiting
Quick start
Reference
Project
Pools
Training
Subscriptions to events
Toloker selection
Ways to upload tasks
Tasks
Task suites
Tracking operations
Getting responses
Checking completed tasks
Rewards
Messages for Tolokers
Various parameters
Libraries