API (Documents)
API
The API function provides a programmatic interface for managing documents and indexes. Details of how to use the APIs can be found below as well as directly in the platform.
List Documents API
API Version
v0.1
Description
Lists the files currently stored in your collection.
Endpoint
Parameters
key
Collection API key used for authentication
Sample Request
Sample Response
Upload API
API Version
v0.2
Description
Uploads new files to your collection. You can also assign these files to indexes and trigger auto-refreshing of those indexes.
Endpoint
Parameters
key
Collection API key
files
Array of filenames to upload
index_ids
(optional)
Array of index IDs to refresh after upload
Sample Request
Sample Response
Delete File API
API Version
v0.1
Description
Deletes files from your collection. Files cannot be deleted if they are part of an active index unless manually removed first. You can optionally delete all files in the collection.
Endpoint
Parameters
key
Collection API key
files
Array of filenames to delete
Sample Request
Sample Response
Last updated