Create Testset From File
POST/preview/testsets/upload
Create Testset From File
Request
- multipart/form-data
Body
required
- MOD1
- MOD1
- MOD1
- MOD1
- Array [ 
- ] 
file binaryrequired
file_type File Type (string)
Possible values: [CSV, JSON]
testset_slugobject
anyOf
string
testset_nameobject
anyOf
string
testset_descriptionobject
anyOf
string
testset_metadataobject
anyOf
string
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Testset
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- Array [ 
- MOD1
- MOD2
- MOD3
- MOD4
- MOD6
- Array [ 
- ] 
- ] 
count Count (integer)required
testsetobject
anyOf
nameobject
anyOf
string
descriptionobject
anyOf
string
created_atobject
anyOf
string
updated_atobject
anyOf
string
deleted_atobject
anyOf
string
created_by_idobject
anyOf
string
updated_by_idobject
anyOf
string
deleted_by_idobject
anyOf
string
slugobject
anyOf
string
idobject
anyOf
string
testcasesobject
anyOf
property name*FullJson-Output
anyOf
string
integer
number
boolean
0 
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
metadataobject
anyOf
{
  "count": 0,
  "testset": {}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
- Array [ 
- Array [ 
- MOD1
- MOD2
- ] 
- ] 
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
  "detail": [
    {
      "loc": [
        "string",
        0
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
Loading...