Retrieve All Files Endpoint

We’ve added a new GET endpoint that returns a paginated list of all files for a company, with powerful text search, filters, sorting, and performance insights, to drive dashboards, audit tools, or history views.

Key Highlights:

Deep Text Search: Perform full-OCR searches across file contents

Filters: Narrow results by multiple available filters (e.g., type, status, date range)

Performance Insights: Assess extraction accuracy and service quality

Flexible Paging: Control pagination and view totals

Aggregated Metrics: Analyse average conformity score for a set of files

Why It Matters:

Enables rich file-archive experiences with a single call—find any document by content, type, status, or date, and surface key performance metrics inline.

GET /v1/companies/42/files
?text=Petrol%20AND%20Coffee
&fileCreatedFrom=2025-05-01%00:00:00
&fileCreatedTo=2025-05-31%23:59:59
&status=Booked
&conformity=true
&conformityFilter=amount,invoiceDate
&summary=true
&type=SupplierInvoice
&sortField=CreatedDateUTC
&sortDirection=desc
&pageNumber=1
&pageSize=20

Resource:

GET ...{api}/{version}/companies/{companyID}/files[?text][&fileCreatedFrom][&fileCreatedTo][&conformity][&conformityFilter][&summary][&type][&status][&pageNumber][&pageSize][&sortField][&sortDirection]

Note: Detailed documentation is available at the endpoint level.