cURL
curl --request POST \ --url https://api.trymaitai.ai/api/v1/test-sets/{test_set_id}/requests \ --header 'Content-Type: application/json' \ --header 'X-Maitai-Api-Key: <api-key>' \ --data ' { "request_ids": [ "req_abc123", "req_def456" ] } '
{ "data": { "message": "Requests added" } }
Add request/response pairs to a test set. Body: {"requests": [{"request_id": "..."}]}.
{"requests": [{"request_id": "..."}]}
Your Maitai API key from the Portal.
Add requests to test set.
Was this page helpful?