Create a New Test Run
curl --request POST \
--url https://api.futureagi.com/simulate/run-tests/create/ \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>' \
--data '
{
"name": "new-run-test",
"scenarioIds": [
"fae7d086-6466-4b40-b21f-13bb7e1d83fe"
],
"agentDefinitionId": "87a193df-12a6-46e1-860d-d18ddb4a00cf"
}
'import requests
url = "https://api.futureagi.com/simulate/run-tests/create/"
payload = {
"name": "new-run-test",
"scenarioIds": ["fae7d086-6466-4b40-b21f-13bb7e1d83fe"],
"agentDefinitionId": "87a193df-12a6-46e1-860d-d18ddb4a00cf"
}
headers = {
"X-Api-Key": "<api-key>",
"X-Secret-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Api-Key': '<api-key>',
'X-Secret-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'new-run-test',
scenarioIds: ['fae7d086-6466-4b40-b21f-13bb7e1d83fe'],
agentDefinitionId: '87a193df-12a6-46e1-860d-d18ddb4a00cf'
})
};
fetch('https://api.futureagi.com/simulate/run-tests/create/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "<string>",
"scenarios": [
{}
],
"agent_definition": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluations": [
{}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Run Tests
Create a New Test Run
Creates and configures a new test run, associating it with scenarios, an agent definition, and detailed evaluation configurations.
POST
/
simulate
/
run-tests
/
create
/
Create a New Test Run
curl --request POST \
--url https://api.futureagi.com/simulate/run-tests/create/ \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Secret-Key: <api-key>' \
--data '
{
"name": "new-run-test",
"scenarioIds": [
"fae7d086-6466-4b40-b21f-13bb7e1d83fe"
],
"agentDefinitionId": "87a193df-12a6-46e1-860d-d18ddb4a00cf"
}
'import requests
url = "https://api.futureagi.com/simulate/run-tests/create/"
payload = {
"name": "new-run-test",
"scenarioIds": ["fae7d086-6466-4b40-b21f-13bb7e1d83fe"],
"agentDefinitionId": "87a193df-12a6-46e1-860d-d18ddb4a00cf"
}
headers = {
"X-Api-Key": "<api-key>",
"X-Secret-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-Api-Key': '<api-key>',
'X-Secret-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'new-run-test',
scenarioIds: ['fae7d086-6466-4b40-b21f-13bb7e1d83fe'],
agentDefinitionId: '87a193df-12a6-46e1-860d-d18ddb4a00cf'
})
};
fetch('https://api.futureagi.com/simulate/run-tests/create/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"status": "<string>",
"scenarios": [
{}
],
"agent_definition": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agent_version": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"evaluations": [
{}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
application/json
A unique name for the test run.
A list of scenario UUIDs to be included in this test run.
The UUID of the agent definition to be tested.
An optional description for the test run.
The specific UUID of the agent version to be tested. If not provided, the active version will be used.
A list of existing evaluation configuration UUIDs to associate with this test run.
A list of new, detailed evaluation configurations to create and associate with this test run.
Show child attributes
Show child attributes
A list of specific dataset row UUIDs to test against.
Flag to enable tool evaluation for this test run.
Was this page helpful?
⌘I