# Source Files ## Get project source files inventory - [GET /api/v3.0/projects/{projectUuid}/dependencies/sourceFiles/inventory](https://api-docs.mend.io/platform/3.0/source-files/getsourcefilesinventoryproject.md): Returns an inventory list of the source files associated with each library in a project. Supports filtering by library UUID using the search parameter. Example: ?search=libraryUuid==b366b0ef-b211-4c37-a47c-0077e4de709f ## Get Mend library suggestions for source files - [POST /api/v3.0/projects/{projectUuid}/dependencies/sourceFiles/matchSuggestions](https://api-docs.mend.io/platform/3.0/source-files/getmatchsuggestionsproject.md): Returns Mend library suggestions for the specified source file UUIDs. Request body requires: sourceFileUuids (array), recommendedForAllFiles (boolean). Supports same search filters as searchForMatch: date, license, name, owner, version. ## Search for library matches for source files - [GET /api/v3.0/projects/{projectUuid}/dependencies/sourceFiles/searchForMatch](https://api-docs.mend.io/platform/3.0/source-files/searchformatchproject.md): Returns library match suggestions from Mend based on manual search criteria. Uses V3 MQL search format. Available search filters: date:between:date1,date2 (e.g., between:2019-05-01,2019-06-01), license:[like|regex]:value, name:[like|equals|regex]:value, owner:like:value, version:like:value. Example: ?search=name==openssl. ## Get application source files inventory - [GET /api/v3.0/applications/{applicationUuid}/dependencies/sourceFiles/inventory](https://api-docs.mend.io/platform/3.0/source-files/getsourcefilesinventoryapplication.md): Returns a list of libraries together with the location of their source files. Supports filtering by library UUID using the search parameter. Example: ?search=libraryUuid==b366b0ef-b211-4c37-a47c-0077e4de709f ## Get Mend library suggestions for source files - [POST /api/v3.0/applications/{applicationUuid}/dependencies/sourceFiles/matchSuggestions](https://api-docs.mend.io/platform/3.0/source-files/getmatchsuggestionsapplication.md): Returns Mend library suggestions for the specified source file UUIDs. Request body requires: sourceFileUuids (array), recommendedForAllFiles (boolean). Supports same search filters as searchForMatch: date, license, name, owner, version. ## Search for library matches for source files - [GET /api/v3.0/applications/{applicationUuid}/dependencies/sourceFiles/searchForMatch](https://api-docs.mend.io/platform/3.0/source-files/searchformatchapplication.md): Returns library match suggestions from Mend based on manual search criteria. Uses V3 MQL search format. Available search filters: date:between:date1,date2 (e.g., between:2019-05-01,2019-06-01), license:[like|regex]:value, name:[like|equals|regex]:value, owner:like:value, version:like:value. Example: ?search=name==openssl. ## Remap source files at application level - [POST /api/v3.0/orgs/{orgUuid}/applications/dependencies/sourceFiles/remapping](https://api-docs.mend.io/platform/3.0/source-files/remapsourcefilesapplication.md): Remaps the specified source files to a target library for the specified application(s). This operation runs asynchronously and returns 202 Accepted with async process status. Requires exactly one of: targetLibraryUuid OR matchSuggestionId (not both, not neither). Request body fields: applicationUuids (required, array), sourceFileUuids (required, array), targetLibraryUuid (conditional), matchSuggestionId (conditional), comment (optional), sendEmailNotification (optional, boolean). ## Remap source files at organization level - [POST /api/v3.0/orgs/{orgUuid}/dependencies/sourceFiles/remapping](https://api-docs.mend.io/platform/3.0/source-files/remapsourcefilesorganization.md): Remaps the specified source files to a target library across the entire organization. This operation runs asynchronously and returns 202 Accepted with async process status. Requires exactly one of: targetLibraryUuid OR matchSuggestionId (not both, not neither). Request body fields: sourceFileUuids (required, array), targetLibraryUuid (conditional), matchSuggestionId (conditional), comment (optional), sendEmailNotification (optional, boolean).