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_at_lt: Optional[datetime] = None,
    created_at_lte: Optional[datetime] = None,
    created_at_gt: Optional[datetime] = None,
    created_at_gte: Optional[datetime] = None
)

Parameters for searching App items.

Parameters Description

Parameters Type Description
after_id Optional[str]

ID of the item used for cursor pagination.

batch_id Optional[str]

Batch ID.

status Optional[AppItem.Status]

items in this status.

id_gt Optional[str]

items with an ID greater than the specified value.

id_gte Optional[str]

items with an ID greater than or equal to the specified value.

id_lt Optional[str]

items with an ID less than the specified value.

id_lte Optional[str]

items with an ID less than or equal to the specified value.

created_gt -

items created after the specified date. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].

created_gte -

items created after the specified date, inclusive. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].

created_lt -

items created before the specified date. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].

created_lte -

items created before the specified date, inclusive. The date is specified in UTC in ISO 8601 format: YYYY-MM-DDThh:mm:ss[.sss].