Uploads files (PDFs or text files) and processes them according to their type, assigning them to a specified project within the Trellis platform.

This endpoint accepts multiple files along with their metadata, such as file type, external IDs, and external file names. It supports assigning the uploaded assets to an existing project or creating a new project based on the project name. The operation is designed to run asynchronously, allowing for the immediate response to the client while the heavy lifting is done in the background.

Returns:

  • A dictionary with a message indicating the initiation of the file upload process and data containing metadata of the assets being processed.

Raises:

  • HTTPException: If there are issues with the file types or other parameters that violate the endpoint's constraints.
Language
Authorization
Header
Click Try It! to start a request and see the response here!