curl --request POST \
--url https://api.coval.dev/v1/runs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"agent_id": "gk3jK9mPq2xRt5vW8yZaBc",
"persona_id": "hL4kL0nQr3ySt6vX9zAcDd",
"test_set_id": "aB1cD2eF"
}
'{
"run": {
"name": "runs/3zfmuDbVQsi4GaseDtiVcS",
"run_id": "3zfmuDbVQsi4GaseDtiVcS",
"status": "PENDING",
"create_time": "2025-10-14T12:00:00Z"
}
}Runs
Launch run
Launch a new simulation run to evaluate an agent against test cases using a persona.
POST
/
runs
curl --request POST \
--url https://api.coval.dev/v1/runs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"agent_id": "gk3jK9mPq2xRt5vW8yZaBc",
"persona_id": "hL4kL0nQr3ySt6vX9zAcDd",
"test_set_id": "aB1cD2eF"
}
'{
"run": {
"name": "runs/3zfmuDbVQsi4GaseDtiVcS",
"run_id": "3zfmuDbVQsi4GaseDtiVcS",
"status": "PENDING",
"create_time": "2025-10-14T12:00:00Z"
}
}Body
application/json
List of mutation IDs to run in addition to the base agent.
Mutually exclusive with mutation_id. Max 100 mutations.
The base agent always runs alongside all mutations.
Total simulations = test_cases × iterations × (1 + len(mutation_ids))
Maximum array length:
100Required string length:
26Example:
[
"01ARZ3NDEKTSV4RRFFQ69G5FAV",
"01ARZ3NDEKTSV4RRFFQ69G5FAW"
]
Was this page helpful?