> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# List summaries for a screen test orchestration

GET //api/v1/screen-test/runs/{workflowID}/summaries

Returns the per-run summaries belonging to one orchestration workflow, including each run's opaque extensions payload. child_run_id identifies the child/group Temporal execution that produced the summary, not the orchestration run ID returned by /runs. Extensions is null for 1.0.x results, which have no extensions concept. Rows are ordered oldest run first; the order is fixed and not caller-selectable.

Reference: https://docs.nvidia.com/remediation-orchestrator/reference/rest-api/screen-test/list-summaries-for-a-screen-test-orchestration

## Request

### Path parameters

- `workflowID` (string, required) — Orchestration workflow ID

### Query parameters

- `page` (integer, optional, default: 1) — 1-based page number
- `page_size` (integer, optional, default: 100) — Rows per page (1-200)

## Response

### 200

OK

- `data` (list of runSummaryResponse, optional)
- `has_more` (boolean, optional)
- `page` (integer, optional)
- `page_size` (integer, optional)
- `total_count` (integer, optional)

## Errors

### 400 Bad Request Error

Bad Request

- `string`

### 404 Not Found Error

Not Found

- `string`

### 500 Internal Server Error

Internal Server Error

- `string`

## Types

### runSummaryResponse

- `child_run_id` (string, optional)
- `created_at` (string, optional)
- `extensions` (RunSummaryResponseExtensions, optional, nullable)
- `failed_tests` (integer, optional)
- `overall_passed` (boolean, optional)
- `overridden` (boolean, optional)
- `passed_tests` (integer, optional)
- `schema_version` (string, optional)
- `skipped_tests` (integer, optional)
- `summary_id` (integer, optional)
- `test_timestamp` (string, optional)
- `test_type` (string, optional)
- `total_tests` (integer, optional)
- `updated_at` (string, optional)

### RunSummaryResponseExtensions

## Examples

**Response**

```json
{
  "data": [
    {
      "child_run_id": "string",
      "created_at": "string",
      "extensions": {},
      "failed_tests": 1,
      "overall_passed": true,
      "overridden": true,
      "passed_tests": 1,
      "schema_version": "string",
      "skipped_tests": 1,
      "summary_id": 1,
      "test_timestamp": "string",
      "test_type": "string",
      "total_tests": 1,
      "updated_at": "string"
    }
  ],
  "has_more": true,
  "page": 1,
  "page_size": 1,
  "total_count": 1
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/api/v1/screen-test/runs/workflowID/summaries"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://api.example.com/api/v1/screen-test/runs/workflowID/summaries';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.example.com/api/v1/screen-test/runs/workflowID/summaries"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.example.com/api/v1/screen-test/runs/workflowID/summaries")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/screen-test/runs/workflowID/summaries")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.example.com/api/v1/screen-test/runs/workflowID/summaries');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/api/v1/screen-test/runs/workflowID/summaries");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/api/v1/screen-test/runs/workflowID/summaries")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```