Skip to main content
POST
Python

Authorizations

x-api-key
string
header
required

API key for authentication

Body

multipart/form-data
name
string
required

Name of the local file group

Maximum string length: 200
files
file[]
required

Files to upload

Required array length: 1 - 2000 elements
last_modified
string[]
required

Last modified timestamps in Unix epoch milliseconds (integer) for each file (same order and count as files). For example, 1709971200000 represents 2024-03-09T12:00:00Z.

Required array length: 1 - 2000 elements
chunk_metadata_keys
string

JSON array of chunk metadata key configurations. Each element is an object with "key" (string) and "type" (one of "string", "integer", "float", "date", "datetime"). Example: [{"key":"author","type":"string"},{"key":"page_number","type":"integer"}]

Response

Successfully created local file group

source_group_id
string
required

The ID of the created source group