Update test run components

Updates components of a test run.

PATCH https://api.futureagi.com/simulate/run-tests/{run_test_id}/components/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

run_test_id UUID Required

The test run ID.

Request body

agentDefinitionId string Optional

UUID of the new agent definition.

version string Optional

UUID of a specific agent version. Defaults to the active version if omitted.

simulatorAgentId string Optional

UUID of the simulator agent.

scenarios array of strings Optional

Array of scenario UUIDs. Replaces the entire set.

enableToolEvaluation boolean Optional

Enable tool call evaluation. Requires api_key and assistant_id on the agent. Defaults to false.

Response

200 OK
data object
Updated test run object.

Errors

400 Bad Request Optional

Invalid data or missing prerequisites for tool evaluation.

401 Unauthorized Optional

Invalid or missing API credentials.

404 Not Found Optional

Test run not found.

500 Internal Server Error Optional

Unexpected server error.

GET /
Authentication
REQUEST
 
RESPONSE