Link tests to agent
curl --request POST \
--url https://api.calibrate.artpark.ai/agent-tests \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"agent_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"test_uuids": [
"b1c2d3e4-f5a6-7890-bcde-f12345678901"
]
}
'import requests
url = "https://api.calibrate.artpark.ai/agent-tests"
payload = {
"agent_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"test_uuids": ["b1c2d3e4-f5a6-7890-bcde-f12345678901"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Agent tests
Link tests to agent
Link one or more tests to an agent. Tests that are already linked are skipped.
POST
/
agent-tests
Link tests to agent
curl --request POST \
--url https://api.calibrate.artpark.ai/agent-tests \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"agent_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"test_uuids": [
"b1c2d3e4-f5a6-7890-bcde-f12345678901"
]
}
'import requests
url = "https://api.calibrate.artpark.ai/agent-tests"
payload = {
"agent_uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"test_uuids": ["b1c2d3e4-f5a6-7890-bcde-f12345678901"]
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API key for authentication
Body
application/json
Response
Successful Response
Confirmation message