PrCore Documentation
AI Assistant GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Upload New Dataset

When the project’s status is TRAINED, you can upload a new test dataset to the project.

Note

The test dataset should only contain ongoing cases.

If you already uploaded a test dataset together with the historical event log, you can skip this step. Because you will receive a result_key when you created the project.

Request

File upload is a multipart/form-data request, and the file should be attached to the file field.

General information

Method Endpoint Request body type Description
POST /project/{project_id}/result form-data Upload event log

Request body porperties

file required string($binary)
The file of the event log
seperator optional str
The seperator of the CSV event log
Default: ,

Response

The system will validate the dataset. If everything is fine, the response will be:

{
    "message": "Ongoing dataset uploaded successfully",
    "project_id": 20,
    "result_key": "ZJPKGGby"
}

Since the processing of the dataset may take a while, the response will not contain the result, but a result_key.

The result_key will be used in the Get Dataset Result API.