AssignmentSearchRequest

toloka.client.search_requests.AssignmentSearchRequest | Source code

AssignmentSearchRequest(
self,
status: Union[str, Assignment.Status, List[Union[str, Assignment.Status]], None] = None,
task_id: Optional[str] = None,
task_suite_id: Optional[str] = None,
pool_id: Optional[str] = None,
user_id: Optional[str] = None,
id_lt: Optional[str] = None,
id_lte: Optional[str] = None,
id_gt: Optional[str] = None,
id_gte: Optional[str] = None,
created_lt: Optional[datetime] = None,
created_lte: Optional[datetime] = None,
created_gt: Optional[datetime] = None,
created_gte: Optional[datetime] = None,
submitted_lt: Optional[datetime] = None,
submitted_lte: Optional[datetime] = None,
submitted_gt: Optional[datetime] = None,
submitted_gte: Optional[datetime] = None,
accepted_lt: Optional[datetime] = None,
accepted_lte: Optional[datetime] = None,
accepted_gt: Optional[datetime] = None,
accepted_gte: Optional[datetime] = None,
rejected_lt: Optional[datetime] = None,
rejected_lte: Optional[datetime] = None,
rejected_gt: Optional[datetime] = None,
rejected_gte: Optional[datetime] = None,
skipped_lt: Optional[datetime] = None,
skipped_lte: Optional[datetime] = None,
skipped_gt: Optional[datetime] = None,
skipped_gte: Optional[datetime] = None,
expired_lt: Optional[datetime] = None,
expired_lte: Optional[datetime] = None,
expired_gt: Optional[datetime] = None,
expired_gte: Optional[datetime] = None
)

Parameters for searching task suites assignments.

Parameters description

ParametersTypeDescription
statusOptional[List[Assignment.Status]]

Assignment status or a list of statuses. Refer to the Assignment.Status page for more information on the available status values.

task_idOptional[str]

Assignments containing the task with the specified ID.

task_suite_idOptional[str]

Assignments for a task suite with the specified ID.

pool_idOptional[str]

Assignments in a pool with the specified ID.

user_idOptional[str]

Assignments from a Toloker with the specified ID.

id_ltOptional[str]

Assignments with IDs less than the specified value.

id_lteOptional[str]

Assignments with IDs less than or equal to the specified value.

id_gtOptional[str]

Assignments with IDs greater than the specified value.

id_gteOptional[str]

Assignments with IDs greater than or equal to the specified value.

created_ltOptional[datetime]

Task suites assigned before the specified date.

created_lteOptional[datetime]

Task suites assigned before or on the specified date.

created_gtOptional[datetime]

Task suites assigned after the specified date.

created_gteOptional[datetime]

Task suites assigned after or on the specified date.

submitted_ltOptional[datetime]

Assignments completed before the specified date.

submitted_lteOptional[datetime]

Assignments completed before or on the specified date.

submitted_gtOptional[datetime]

Assignments completed after the specified date.

submitted_gteOptional[datetime]

Assignments completed after or on the specified date.

accepted_ltOptional[datetime]

Assignments accepted before the specified date.

accepted_lteOptional[datetime]

Assignments accepted before or on the specified date.

accepted_gtOptional[datetime]

Assignments accepted after the specified date.

accepted_gteOptional[datetime]

Assignments accepted after or on the specified date.

rejected_ltOptional[datetime]

Assignments rejected before the specified date.

rejected_lteOptional[datetime]

Assignments rejected before or on the specified date.

rejected_gtOptional[datetime]

Assignments rejected after the specified date.

rejected_gteOptional[datetime]

Assignments rejected after or on the specified date.

skipped_ltOptional[datetime]

Assigned task suites skipped before the specified date.

skipped_lteOptional[datetime]

Assigned task suites skipped before or on the specified date.

skipped_gtOptional[datetime]

Assigned task suites skipped after the specified date.

skipped_gteOptional[datetime]

Assigned task suites skipped after or on the specified date.

expired_ltOptional[datetime]

Assigned task suites expired before the specified date.

expired_lteOptional[datetime]

Assigned task suites expired before or on the specified date.

expired_gtOptional[datetime]

Assigned task suites expired after the specified date.

expired_gteOptional[datetime]

Assigned task suites expired after or on the specified date.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming