curl -X POST "https://api.magpipe.ai/functions/v1/test-cases" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "create_suite",
"name": "Reception Agent — Core Flows",
"description": "Validates greeting, booking, and transfer flows"
}'
{
"suite": {
"id": "a1b2c3d4-1234-5678-9abc-def012345678",
"name": "Reception Agent — Core Flows",
"description": "Validates greeting, booking, and transfer flows",
"created_at": "2024-01-15T10:00:00.000Z"
}
}
Create a new test suite to group related test cases
curl -X POST "https://api.magpipe.ai/functions/v1/test-cases" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "create_suite",
"name": "Reception Agent — Core Flows",
"description": "Validates greeting, booking, and transfer flows"
}'
{
"suite": {
"id": "a1b2c3d4-1234-5678-9abc-def012345678",
"name": "Reception Agent — Core Flows",
"description": "Validates greeting, booking, and transfer flows",
"created_at": "2024-01-15T10:00:00.000Z"
}
}
create_suite"Reception Agent — Core Flows"curl -X POST "https://api.magpipe.ai/functions/v1/test-cases" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "create_suite",
"name": "Reception Agent — Core Flows",
"description": "Validates greeting, booking, and transfer flows"
}'
{
"suite": {
"id": "a1b2c3d4-1234-5678-9abc-def012345678",
"name": "Reception Agent — Core Flows",
"description": "Validates greeting, booking, and transfer flows",
"created_at": "2024-01-15T10:00:00.000Z"
}
}