Toloka documentation

AppProjectSearchRequest

toloka.client.search_requests.AppProjectSearchRequest | Source code

AppProjectSearchRequest(
    self,
    app_id: Optional[str] = None,
    parent_app_project_id: Optional[str] = None,
    status: Optional[AppProject.Status] = None,
    after_id: Optional[str] = None,
    scope: Optional[Scope] = None,
    requester_ids: Union[str, List[str], None] = 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_lt: Optional[datetime] = None,
    created_lte: Optional[datetime] = None,
    created_gt: Optional[datetime] = None,
    created_gte: Optional[datetime] = None
)

Parameters for searching App projects.

Parameters Description

Parameters Type Description
app_id Optional[str]

App ID that the projects belong to.

parent_app_project_id Optional[str]

ID of the App project used for cloning. It's specified only if you created an App project by cloning another App project. You can clone projects in the web version of Toloka.

status Optional[AppProject.Status]

project status.

after_id Optional[str]

ID of the project used for cursor pagination.

scope Optional[Scope]

projects created by a specified range of requesters:

  • MY - Only by me;
  • COMPANY - By anyone from the company;
  • REQUESTER_LIST - By requesters with the specified IDs.

requester_ids Optional[List[str]]

List of requester IDs separated by a comma, for scope = REQUESTER_LIST.

id_gt Optional[str]

projects with an ID greater than the specified value.

id_gte Optional[str]

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

id_lt Optional[str]

projects with an ID less than the specified value.

id_lte Optional[str]

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

name_gt Optional[str]

projects with a name lexicographically greater than the specified value.

name_gte Optional[str]

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

name_lt Optional[str]

projects with a name lexicographically less than the specified value.

name_lte Optional[str]

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

created_gt Optional[datetime]

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

created_gte Optional[datetime]

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

created_lt Optional[datetime]

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

created_lte Optional[datetime]

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