Toloka documentation

AppBatchSearchRequest

toloka.client.search_requests.AppBatchSearchRequest | Source code

AppBatchSearchRequest(
    self,
    after_id: Optional[str] = None,
    status: Optional[AppBatch.Status] = None,
    id_lt: Optional[str] = None,
    id_lte: Optional[str] = None,
    id_gt: Optional[str] = None,
    id_gte: Optional[str] = None,
    name_lt: Optional[str] = None,
    name_lte: Optional[str] = None,
    name_gt: Optional[str] = None,
    name_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 batches in the App project.

Parameters Description

Parameters Type Description
after_id Optional[str]

ID of the batch used for cursor pagination

status Optional[AppBatch.Status]

batches with this status.

id_gt Optional[str]

batches with an ID greater than the specified value.

id_gte Optional[str]

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

id_lt Optional[str]

batches with an ID less than the specified value.

id_lte Optional[str]

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

name_gt Optional[str]

batches with the name lexicographically greater than the specified value.

name_gte Optional[str]

batches with a name lexicographically greater than or equal to the specified value.

name_lt Optional[str]

batches with a name lexicographically less than the specified value.

name_lte Optional[str]

batches with a name lexicographically less than or equal to the specified value.

created_gt -

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

created_gte -

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

created_lt -

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

created_lte -

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