Upload a File
Upload a data file for processing by a configured pipeline.| Parameter | Type | Required | Description |
|---|---|---|---|
file | form-data | Yes | The file to upload |
pipeline | form-data | Yes | Target pipeline name |
publishertoken | form-data | No | Publisher identifier for tracking |
- Compressed files (
.zip,.gz,.tar,.jar): Staged to MinIO raw bucket for asynchronous processing - Uncompressed files: Processed immediately in-memory
200 OK with the pipeline token (for uncompressed files):
200 OK with no body. The file is processed asynchronously when the pipeline detects it in the raw bucket.
Generate Pipeline Schema
Upload a CSV file to automatically infer the schema and generate a partial pipeline configuration.| Parameter | Type | Required | Description |
|---|---|---|---|
file | form-data | Yes | CSV file to analyze |
pipeline | form-data | Yes | Pipeline name |
delimiter | form-data | No | CSV delimiter (default: auto-detect) |
header | form-data | No | Whether file has header row (default: true) |
200 OK with a partial PipelineConfig JSON:
int, bigint, float, double, char, string
Note: This endpoint only analyzes CSV files. JSON and XML files return null for the generated config. Edit the generated JSON to add your destination configuration before registering it with POST /pipeline.