/files/msearch

POST {{baseUrl}}/files/msearch?projectId={{projectId}}

Send multipe searches in one request.

Request Params

KeyDatatypeRequiredDescription
projectIdstring

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"results":[{"took":12,"total":3,"files":[{"id":"2021-10-08T06:56:32.571Z_1263f6b7-d3d3-4ad3-9589-cc40bb3895cd","filename":"BOQ_0ce77eab-5fa1-4a62-a0c7-c2b9596b23e5.pdf","pdfFileKey":"upload/sf360BSkFbaPci/training/BOQ_0ce77eab-5fa1-4a62-a0c7-c2b9596b23e5_1263f6b7-d3d3-4ad3-9589-cc40bb3895cd.pdf","workflowKey":"1263f6b7-d3d3-4ad3-9589-cc40bb3895cd","size":104144,"isTraining":true,"uploadUser":"dfeng@bglcorp.com.au","uploadSource":"TaggingUI","analyticalGroup1":"qhQeD9VHSL","analyticalGroup2":"sf360BSkFbaPci","businessModelSize":1,"wordAnnotationSize":0,"pageAnnotationSize":0,"pages":1,"workflowStatus":"RESULT_READY","lastUpdatedTime":"2021-10-08T06:56:46.703Z","isRead":true,"isDeleted":true,"thirdPartyGroup1":"qhQeD9VHSL","thirdPartyGroup2":"sf360BSkFbaPci","businessModels":[{"model_type":"BankStatement","data_row_count":20}],"wordAnnotations":[],"pageAnnotations":[],"objectAnnotations":[],"textract":[{"block_type":"PAGE","count":1},{"block_type":"LINE","count":133},{"block_type":"WORD","count":283},{"block_type":"TABLE","count":2},{"block_type":"CELL","count":135}]},{"id":"2021-09-30T22:54:55.456Z_936bb524-a98f-499c-a417-ed509b93cc48","filename":"BOQ_d0df6cc0-ca1b-44c9-8927-02d6c8c7a033 (1).pdf","pdfFileKey":"upload/sf360BSkFbaPci/training/BOQ_d0df6cc0-ca1b-44c9-8927-02d6c8c7a033 (1)_936bb524-a98f-499c-a417-ed509b93cc48.pdf","workflowKey":"936bb524-a98f-499c-a417-ed509b93cc48","size":104144,"isTraining":true,"uploadUser":"dfeng@bglcorp.com.au","uploadSource":"TaggingUI","analyticalGroup1":"qhQeD9VHSL","analyticalGroup2":"sf360BSkFbaPci","businessModelSize":1,"wordAnnotationSize":0,"pageAnnotationSize":0,"pages":1,"workflowStatus":"RESULT_READY","isRead":true,"isDeleted":true,"thirdPartyGroup1":"qhQeD9VHSL","thirdPartyGroup2":"sf360BSkFbaPci","businessModels":[{"model_type":"BankStatement","data_row_count":20}],"wordAnnotations":[],"pageAnnotations":[],"objectAnnotations":[],"textract":[{"block_type":"PAGE","count":1},{"block_type":"LINE","count":133},{"block_type":"WORD","count":283}]},{"id":"2021-09-30T06:37:51.278Z_175ab0f3-5a4a-444e-8f61-8d78a7165e57","filename":"BOQ_d0df6cc0-ca1b-44c9-8927-02d6c8c7a033 (2).pdf","pdfFileKey":"upload/sf360BSkFbaPci/training/BOQ_d0df6cc0-ca1b-44c9-8927-02d6c8c7a033 (2)_175ab0f3-5a4a-444e-8f61-8d78a7165e57.pdf","workflowKey":"175ab0f3-5a4a-444e-8f61-8d78a7165e57","size":104144,"isTraining":true,"uploadUser":"dfeng@bglcorp.com.au","uploadSource":"TaggingUI","analyticalGroup1":"qhQeD9VHSL","analyticalGroup2":"sf360BSkFbaPci","businessModelSize":1,"wordAnnotationSize":0,"pageAnnotationSize":0,"pages":1,"workflowStatus":"RESULT_READY","isRead":true,"isDeleted":true,"thirdPartyGroup1":"qhQeD9VHSL","thirdPartyGroup2":"sf360BSkFbaPci","businessModels":[{"model_type":"BankStatement","data_row_count":20}],"wordAnnotations":[],"pageAnnotations":[],"objectAnnotations":[],"textract":[{"block_type":"PAGE","count":1},{"block_type":"LINE","count":133},{"block_type":"WORD","count":283}]}],"aggregations":{"file.created.histogram":[{"key_as_string":"2021-09-30T00:00:00.000+10:00","key":1632924000000,"doc_count":1},{"key_as_string":"2021-10-01T00:00:00.000+10:00","key":1633010400000,"doc_count":1},{"key_as_string":"2021-10-02T00:00:00.000+10:00","key":1633096800000,"doc_count":0},{"key_as_string":"2021-10-03T00:00:00.000+10:00","key":1633183200000,"doc_count":0},{"key_as_string":"2021-10-04T00:00:00.000+11:00","key":1633266000000,"doc_count":0},{"key_as_string":"2021-10-05T00:00:00.000+11:00","key":1633352400000,"doc_count":0},{"key_as_string":"2021-10-06T00:00:00.000+11:00","key":1633438800000,"doc_count":0},{"key_as_string":"2021-10-07T00:00:00.000+11:00","key":1633525200000,"doc_count":0},{"key_as_string":"2021-10-08T00:00:00.000+11:00","key":1633611600000,"doc_count":1}],"word_annotations":[{"key":"missing","doc_count":3}],"label_ids":[{"key":"missing","doc_count":3}],"textract":[{"key":"LINE","doc_count":3,"stats":{"count":3,"min":133,"max":133,"avg":133,"sum":399}},{"key":"PAGE","doc_count":3,"stats":{"count":3,"min":1,"max":1,"avg":1,"sum":3}},{"key":"WORD","doc_count":3,"stats":{"count":3,"min":283,"max":283,"avg":283,"sum":849}},{"key":"CELL","doc_count":1,"stats":{"count":1,"min":135,"max":135,"avg":135,"sum":135}},{"key":"TABLE","doc_count":1,"stats":{"count":1,"min":2,"max":2,"avg":2,"sum":2}}],"object_annotations":[{"key":"missing","doc_count":3}],"business_models":[{"key":"BankStatement","doc_count":3,"stats":{"count":3,"min":20,"max":20,"avg":20,"sum":60}}],"page_annotations":[{"key":"missing","doc_count":3}]}}]}