Skip to main content

Overview

The Uploads component is a client-side component that allows your end users to upload materials and files directly into your application. It provides an embeddable file upload interface that integrates seamlessly into your website. Example use case: Professors can use this component to upload course materials into a designated folder, which then serves as the knowledge base for an AI Teaching Assistant for their class.
For comprehensive documentation on uploading and managing materials, including API endpoints, folder organization, and search capabilities, see the Materials API Reference.

Creating an Uploads Component

Configuration Parameters

name
string
required
Name of the uploads component
type
string
required
Must be "uploads"
config
object
required
Uploads configuration object

Response

Embedding This Component

Once you’ve created an Uploads component, you can embed it on your website using the embedding API.

Generate Embed URL

Uploads-Specific Embedding Features

features.enableHistory
boolean
default:"true"
Show upload history and allow re-accessing previously uploaded materials

Embed in Your HTML