Upload Dataset
lexq_dataset_uploadUpload inline CSV or JSON content as a simulation dataset. The content is uploaded to S3 and a path is returned in the "path" field.
To use the returned path in lexq_simulation_start, set: dataset: { "type": "UPLOADED", "source": "S3_BUCKET", "path": "" }
CSV example: userId,paymentAmount user_001,150000 user_002,50000
JSON example: [{"userId":"user_001","paymentAmount":150000}, {"userId":"user_002","paymentAmount":50000}]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | CSV or JSON content as string | |
| filename | No | Filename with extension (.csv or .json) | dataset.csv |