Test detail
Retrieve the details of a given test by ID.
Returns a single test resource.
Test detail
curl 'https://api.runscope.com/buckets/<bucket_key>/tests/<test_id>' \
-H 'Authorization: Bearer <access_token>'
Test detail response attributes
Attributes
-
created_atintegerDate the test was created (in Epoch time)
-
created_byobjectDetails of the user who created this test
Show/hide child attributes
-
emailstringThe email of the user who created this test
-
namestringThea name of the user who created this test
-
idstringThe unique identifier for the user who created this test
-
-
default_environment_idstringThe default environment for the test
-
descriptionnullLong-form description of the test
-
environmentsarrayA list of environments for the test
-
namestringThe name of the test
-
schedulesarrayA list of schedules for the test
-
stepsarrayAn ordered list of the steps for the test
-
trigger_urlstringThe trigger URL for this test
-
idstringThe unique identifier for the test
Response200 OK
{
"meta": {
"status": "success"
},
"data": {
"environments": [
{
"id": "6c97c794-f283-45ac-bd44-10a16b180ff2",
"test_id": "7e506b8a-5f7e-49d0-b533-82b75faa84ca",
"name": "Test Settings",
"parent_environment_id": null,
"initial_variables": {},
"retry_on_failure": false,
"script": "",
"webhooks": null,
"integrations": [],
"emails": {
"recipients": [],
"notify_all": false,
"notify_on": "all",
"notify_threshold": 1
},
"preserve_cookies": false,
"stop_on_failure": false,
"verify_ssl": true,
"http_version_support": "http/1.1",
"force_h2c": false,
"client_certificate": "",
"regions": [
"us2"
],
"remote_agents": [],
"version": "1.0",
"exported_at": 1767871012,
"headers": {},
"auth": null,
"script_library": [],
"initial_script_hash": null,
"pre_request_scripts": [],
"post_response_scripts": [],
"is_schedule_test_paused": false,
"custom_proxy_settings": {
"is_custom_proxy_enabled": false
}
}
],
"schedules": [],
"version": "1.0",
"exported_at": 1767871012,
"test_usage_90_days": 1,
"test_usage_billing_period": 1,
"id": "7e506b8a-5f7e-49d0-b533-82b75faa84ca",
"name": "Delay Test",
"description": "",
"default_environment_id": "6c97c794-f283-45ac-bd44-10a16b180ff2",
"trigger_url": "https://api.runscope.com/radar/d4472d05-ced5-401d-89ce-eea20f47d64d/trigger",
"created_by": {
"id": "44d17d46-d340-4da5-b783-434b2869c95c",
"email": "devership16@gmail.com",
"name": "Dave Jones"
},
"created_at": 1760522873,
"is_skipped_at_bucket_level": false,
"steps": [
{
"id": "24b01a71-3e5f-4ce9-90e4-cfe4cd7a0d9e",
"step_type": "request",
"skipped": false,
"note": "",
"multipart_form": [],
"headers": {},
"auth": {},
"method": "GET",
"url": "https://yourapihere.com/",
"assertions": [
{
"comparison": "equal_number",
"source": "response_status",
"value": 200
}
],
"variables": [],
"scripts": [],
"before_scripts": []
}
],
"last_run_created_at": 1767866119.8226762,
"step_count": 1,
"last_run": {
"id": "754dbae3-9545-4822-8385-b7228462ea97",
"uuid": "754dbae3-9545-4822-8385-b7228462ea97",
"test_uuid": "7e506b8a-5f7e-49d0-b533-82b75faa84ca",
"remote_agent_uuid": null,
"remote_agent": null,
"remote_agent_name": null,
"remote_agent_version": "unknown",
"bucket_key": "ohv6ftmviv1h",
"created_at": 1767866119.8226762,
"finished_at": 1767866122.4732292,
"source": "manual",
"region": "us2",
"status": "completed",
"messages": null,
"message_count": 1,
"message_success": 1,
"assertion_count": 1,
"assertion_success": 1,
"extractor_count": 0,
"extractor_success": 0,
"substitution_count": 0,
"substitution_success": 0,
"script_count": 0,
"script_success": 0,
"parent_test_uuid": "",
"error_count": 0,
"template_uuids": [
"e0443d81-17cf-495a-87a2-fedf29e913c5",
"24b01a71-3e5f-4ce9-90e4-cfe4cd7a0d9e"
],
"environment_uuid": "6c97c794-f283-45ac-bd44-10a16b180ff2",
"environment_name": "Test Settings",
"run_by": "Dave Jones",
"is_data_driven": false,
"csv_base_event_uuid": null,
"is_csv_rerun": false,
"sub_status": "",
"bucket_level_test_run_uuid": null,
"schedule_uuid": "",
"test_name": "Delay Test"
}
},
"error": null
}