require "datadog_api_client" api_instance = DatadogAPIClient::V1::SyntheticsAPI.new public_id = "public_id_example" # String | The public ID of the test to get details from. begin # Get a test configuration result = api_instance.get_test(public_id) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling SyntheticsAPI->get_test: #{e}" end