Add Experiment
POST/v2/projects/:projectid/experiments/
Start a new evaluation.
Parameters:
- projectid (str): The ID of the project.
- eval_info (NewEvaluation): The evaluation information.
Returns:
- NamedObjIdentifier: The ID and name of the created experiment.
Raises:
- HTTPException: If the eval_info is invalid.
Request
Path Parameters
projectid Projectidrequired
- application/json
Body
required
- MOD1
name
object
required
anyOf
string
pipeline string[]required
dataset
object
required
anyOf
metadata objectrequired
data object[]required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (string)required
name Name (string)required
{
"id": "string",
"name": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...