curl --request POST \
--url https://api.keywordsai.co/api/v2/experiments/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"dataset_id": "<string>",
"workflows": [
{
"type": "<string>",
"config": {
"allow_submission": true,
"timeout_hours": 123,
"model": "<string>",
"temperature": 123,
"max_tokens": 123,
"top_p": 123,
"frequency_penalty": 123,
"presence_penalty": 123,
"stop": {},
"response_format": {},
"tools": [
{}
],
"tool_choice": {},
"reasoning_effort": "<string>",
"prompt_id": "<string>"
}
}
],
"evaluator_slugs": [
{}
]
}
'