Toloka documentation

AppItemSearchRequest

toloka.client.search_requests.AppItemSearchRequest | Source code

AppItemSearchRequest(
    self,
    after_id: Optional[str] = None,
    batch_id: Optional[str] = None,
    status: Optional[AppItem.Status] = 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,
    finished_lt: Optional[datetime] = None,
    finished_lte: Optional[datetime] = None,
    finished_gt: Optional[datetime] = None,
    finished_gte: Optional[datetime] = None
)

Parameters for searching App task items.

Parameters Description

Parameters Type Description
after_id Optional[str]

The ID of the item used for cursor pagination.

batch_id Optional[str]

The ID of the batch to look in.

status Optional[AppItem.Status]

App task item status. Refer to the AppItem.Status page for more information on the available status values.

id_gt Optional[str]

Items with IDs greater than the specified value.

id_gte Optional[str]

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

id_lt Optional[str]

Items with IDs less than the specified value.

id_lte Optional[str]

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

created_gt Optional[datetime]

Items created after the specified date.

created_gte Optional[datetime]

Items created after or on the specified date.

created_lt Optional[datetime]

Items created before the specified date.

created_lte Optional[datetime]

Items created before or on the specified date.

finished_gt Optional[datetime]

Items labeled after the specified date.

finished_gte Optional[datetime]

Items labeled after or on the specified date.

finished_lt Optional[datetime]

Items labeled before the specified date.

finished_lte Optional[datetime]

Items labeled before or on the specified date.