Testsets

Upload File

Uploads a CSV or JSON file and saves its data to Postgres.

Args: upload_type : Either a json or csv file. file (UploadFile): The CSV or JSON file to upload. testset_name (Optional): the name of the testset if provided.

Returns: dict: The result of the upload process.

post/testsets/upload

Response

Successful Response

idstring required
namestring required
created_atstring required

Changes