Toloka documentation

find_app_items

toloka.client.TolokaClient.find_app_items

Finds all work items in the App project that match certain rules.

As a result, it returns an object that contains the first part of the found work items in the App project and whether there are any more results. It is better to use the "get_app_items" method, they allow to iterate trought all results and not just the first output.

Parameters Description

Parameters Type Description
app_project_id str

Project ID.

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].

sort Union[List[str], AppItemSortItems, None]

The order and direction of sorting the results.

limit Optional[int]

number of objects per page.

  • Returns:

    The first limit App items in content. And a mark that there is more.

  • Return type:

    AppItemSearchResult