Deleted files still returned by the List Files API (GET /v1/files) even though they're gone from the dashboard and search

Files API returning deleted files (List Files endpoint out of sync with dashboard/search)

Hi,

We’re seeing an inconsistency between our dashboard and search results, versus what the Files API returns for a specific company’s file channel.

Company affected: “Land of Mary” (a test/dummy company I use for development)
companyId: 8387f252-324a-4f1a-a943-15c36c597a44

What I did: deleted every file inside this company’s “Evidence Documents” file channel via the dashboard.

What I am seeing:

  • The dashboard’s own folder browser correctly shows the folders as empty (“No files have been added yet”).
  • Searching within Assembly for these files also finds nothing.
  • However, calling GET /v1/files with this company’s channelId still returns all of the deleted files, unchanged, across multiple calls made several minutes apart, and after logging out of and back into the portal.

Example file IDs still being returned by the API despite being confirmed absent from both the dashboard and search:

  • c29b97a6-e3e0-4317-92ff-0a4fc6a74f8d (“help me_31-07-26_Governing document_240726-145234_logo_130x130.png”)
  • b10adcab-7789-45cf-8910-fc8d087a5fb3 (“TEST-cors-check-DELETE-ME (1).png”)

This looks like the List Files endpoint may be reading from a different data source than the dashboard/search, which hasn’t caught up with the deletions. Does anybody know whether this is a known caching/indexing issue, or something specific to my account?

Happy to provide more file IDs, a full response payload, or anything else that would help track it down.

Thanks