cURL
curl --request POST \ --url https://api.trymaitai.ai/api/v1/test-runs \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "test_set_id": 15, "description": "Evaluate gpt-4o-mini after finetune" } '
{ "data": { "id": 31, "test_set_id": 15, "status": "RUNNING", "date_created": 1706200000 } }
Create and start a new test run against a test set.
Your Maitai API key from the Portal.
Create test run.
An execution of a test set against a model, producing per-request scores.
Show child attributes
Was this page helpful?