Skip to main content
POST
Import agent task into unified test set

Authorizations

X-Maitai-Api-Key
string
header
required

Your Maitai API key from the Portal.

Path Parameters

test_set_id
integer
required

Body

application/json
agent_task_id
string
required
flatten_variant
enum<string>

How to flatten the agent's message history into canonical input.

Available options:
agent_first_user_message,
agent_first_user_message_with_system_prompt
meta
object

Response

200 - application/json

Import agent task into unified test set.

data
any