curl --request PUT \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/tests/{testId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"checkpoints": [
{
"name": "<string>",
"description": "<string>",
"runs": 123,
"tolerance": 123
}
],
"testMode": "<string>",
"systemPrompt": "<string>",
"flowId": "<string>"
}'
curl --request PUT \
--url https://brainbase-monorepo-api.onrender.com/api/workers/{workerId}/tests/{testId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"description": "<string>",
"checkpoints": [
{
"name": "<string>",
"description": "<string>",
"runs": 123,
"tolerance": 123
}
],
"testMode": "<string>",
"systemPrompt": "<string>",
"flowId": "<string>"
}'
API key authentication
Test updated successfully