Skip to main content
The Files API is used to upload data to the Archetype platform for tasks like data summarization or model fine tuning. The API supports uploading, downloading, and managing files. See the introduction to the Files API for more information. Each file has two identifiers. Its file_id is the filename it was uploaded under, and its file_uid (a value starting with fil_) is unique to that file. When a file is deleted and a new one is uploaded under the same filename, the new file gets a new file_uid. Starting with version 2.0.0 of the platform, you can list files with List Files and address a file by its file_uid with Get File, Download File Content and Delete File by ID.