Search Document Cursor
GET/v1/filter/:workspace_id/cursor
Search for documents based on specified criteria.
Args
workspace_id (str): The ID of the workspace (or "None" if a secret_key is being used to authenticate), filters (Annotated[DocumentMetadataFilters) : The filters to apply in the format atribute=operator:value, repository_metadata: DocumentMetadataRepository = Depends(get_repository(DocumentMetadataRepository)), user (TokenData): The token data of the authenticated user, limit (int): The maximum number of documents to retrieve. Defaults to 10., offset (int): The number of documents to skip. Defaults to 0.,
Returns
List[DocumentMetadataRead] or List[Dict[str, Any]]: The list of matching documents.
Request
Responses
- 200
- 422
Successful Response
Validation Error