Skip to main content
POST
/
test-sets
/
convert-to-workflow
Convert test set to workflow
curl --request POST \
  --url https://api.trymaitai.ai/api/v1/test-sets/convert-to-workflow \
  --header 'Content-Type: application/json' \
  --header 'X-Maitai-Api-Key: <api-key>' \
  --data '
{
  "source_test_set_id": 15,
  "workflow_id": 42,
  "new_test_set_name": "HS Classification Workflow Holdout"
}
'
{
  "data": {
    "id": 16,
    "name": "HS Classification Workflow Holdout",
    "workflow_id": 42
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.trymaitai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Body

application/json
source_test_set_id
integer
required
workflow_id
integer
required
new_test_set_name
string
required
new_test_set_description
string

Response

200 - application/json

Convert test set to workflow.

data
any