The library of a project holds its files and its drawings (maps). The web app shows them in one list; POST /api/v2/data/documents/search gives you that same list. Use it to mirror a project’s library into your own document system, or to show “what is in this project” in one table. For one kind only, use POST /file/search (files) or POST /maps/search (drawings). They take the same filters.

List everything

All body fields are optional. An empty body lists the active files and drawings, sorted by name:
The answer is the usual search envelope. Each result is a file ("type": "IB.EdBundle.Document.File") or a drawing ("type": "IB.EdBundle.Document.Map"). A PDF that was turned into a drawing is listed once, as the drawing.

Only what you need, newest first, with counts per folder

  • type is file or map. Leave it out for both.
  • groupid limits the list to one file group. Drawings have no file group, so with groupid only files come back.
  • includeFields keeps the answer small on large libraries.
  • aggregate counts the values of a field across all matches, not only this page. Here: how many files each file group holds.
  • Archived items: send "includeArchived": true (and "includeActive": true for both). See Filters.
To download a file from the list, see Download a file.

Who sees what