Toloka documentation

get_app_items

toloka.client.TolokaClient.get_app_items

Finds all work items in the App project that match certain rules and returns them in an iterable object.

Unlike find_app_items, returns generator. Does not sort work items in the App project. While iterating over the result, several requests to the Toloka server is possible.

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

  • Yields:

    The next object corresponding to the request parameters.

  • Yield type:

    Generator[AppItem, None, None]