Add File to Store
POST/v1/stores/{store_identifier}/files
Authorization
Bearer token for API authentication. Format: `Bearer YOUR_API_KEY`
Path Parameters
The ID or name of the store
Request Body
ID of the file to add
Optional external identifier for the file. Can be used to reference the file in subsequent operations. Supports slashes for path-like identifiers (e.g., 'docs/api/auth.md')
trueWhether to overwrite an existing file with the same external_id
Optional metadata for the file
Configuration for file processing
[DEPRECATED] Use 'config' instead. Parameters for adding a file to a store.
Response Body
Unique identifier for the file
Name of the file
Optional file metadata
StoreFileStatus
Possible values
pendingin_progresscancelledcompletedfailedLast error message if processing failed
ID of the containing store
Timestamp of store file creation
Version number of the file
Storage usage in bytes
store.fileType of the object
chunks