POST
/
v0.1
/
batches
/
validate-data
Validate Batch Data
curl --request POST \
  --url https://api.promptloop.com/v0.1/batches/validate-data \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'task_id=<string>' \
  --form batch_input_data=@example-file
{
  "status": "success",
  "data": [
    {
      "job_count": 123,
      "job_improper_format_count": 123,
      "job_improper_format": [
        {
          "error_index": 123,
          "error_message": "<string>"
        }
      ]
    }
  ],
  "message": "<string>",
  "error": {
    "code": 123,
    "details": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Body

multipart/form-data

Response

200
application/json

Batch data successfully validated.

The response is of type object.