> This page is for version Latest (default).
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/fleet-intel/latest/llms.txt

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

# Get error report

GET /v1/reports/error

Get error report grouped by error type or node in JSON or CSV format. Default response is JSON. For CSV download (list view only), set format=csv query parameter. Response structure varies based on view and groupBy parameters:
- When view=list and groupBy=error: The 'errors' field is populated with paginated list
- When view=list and groupBy=node: The 'nodes' field is populated with paginated list
- dataSource defaults to inband. In node lists, inband returns hostname; oob returns bmcMac and nodeName without hostname. Node CSV columns follow the selected source.
- Node lists sort by error count descending. Ties sort by hostname and nodeUUID for inband, or bmcMac, nodeName, and nodeUUID for oob.
- Info-level events are excluded from all views and CSV downloads. The severity filter offers Fatal, Critical, and Warning.
- When view=graph and groupBy=error: Returns time-series data with optional step parameter (page and pageSize not used)
- When view=overview: Returns aggregate statistics (groupBy parameter not required, page and pageSize not used)

Reference: https://docs.nvidia.com/fleet-intel/api-explorer/reports/get-v-1-reports-error

## Request

### Query parameters

- `groupBy` (enum, optional) — Group by error or node (not required for overview view)
  - Allowed values: `error`, `node`
- `view` (enum, required) — View type: list, graph, or overview
  - Allowed values: `list`, `graph`, `overview`
- `format` (enum, optional, default: json) — Response format (json or csv, only for list view)
  - Allowed values: `json`, `csv`
- `page` (integer, optional, default: 0) — Page number (0-indexed). Not used for CSV format, graph view, or overview view
- `pageSize` (integer, optional, default: 10) — Page size. Not used for CSV format, graph view, or overview view
- `step` (string, optional) — Query resolution step width in duration format (e.g. 1h, 1m). Only used for graph view. If not provided, backend will choose a suitable step width. Minimum step width is 1 minute.
- `computeZoneIds` (list of string, optional) — Filter by computezone IDs. Empty means all computezones
- `nodeGroupIds` (list of string, optional) — Filter by nodegroup IDs. Empty means all nodegroups
- `tags` (list of string, optional) — Filter by tags (AND logic - matches nodes with ANY of the specified tags). Empty means all nodes
- `errors` (list of string, optional) — Filter nodes by specific error types (only for list view, groupBy=node). Returns ALL errors for nodes that have any of the specified errors. Examples: 'NVSwitch Fatal Error', 'xid_154'
- `severities` (list of enum, optional) — Filter errors by severity. Empty means Fatal, Critical, and Warning
  - Allowed values: `Fatal`, `Critical`, `Warning`
- `dataSource` (enum, optional, default: inband) — Event source. Omitted defaults to inband
  - Allowed values: `inband`, `oob`
- `timeMode` (string, optional) — Time mode: 'absolute' (default) or 'relative'. Absolute requires start/end; relative requires window
- `window` (string, optional) — Relative time window (e.g., 1h, 1m, 30s). Only used when timeMode=relative
- `startTime` (string, optional) — Start time for filtering errors (RFC3339 format). Required when timeMode=absolute
- `endTime` (string, optional) — End time for filtering errors (RFC3339 format). Required when timeMode=absolute

## Response

### 200

Graph response grouped by error (view=graph, groupBy=error)

- `reports_getV1ReportsError_Response_200`
  - models.ByErrorResponse: models.ByErrorResponse
  - models.ByNodeResponse: models.ByNodeResponse
  - models.ErrorOverviewResponse: models.ErrorOverviewResponse
  - models.ErrorReportGraphByErrorResponse: models.ErrorReportGraphByErrorResponse

## Errors

### 400 Bad Request Error

Bad Request

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 401 Unauthorized Error

Unauthorized

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 403 Forbidden Error

Forbidden - UAM authorization denied

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 499 Client Closed Request Error

Client Closed Request - request was canceled by the client

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 500 Internal Server Error

Internal Server Error

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

### 503 Service Unavailable Error

Service Unavailable

- `details` (string, optional) — Detailed error information
- `error` (string, optional) — Error message or type
- `requestStatus` (models.KASRequestStatus, optional) — RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

## Types

### models.ByErrorResponse

- `errors` (list of models.ByError, optional)
- `hasMore` (boolean, optional)
- `page` (integer, optional)
- `pageSize` (integer, optional)
- `total` (integer, optional)

### models.ByNodeResponse

- `hasMore` (boolean, optional)
- `nodes` (list of models.ByNode, optional)
- `page` (integer, optional)
- `pageSize` (integer, optional)
- `total` (integer, optional)

### models.ErrorOverviewResponse

- `totalErrorNodes` (integer, optional)
- `totalErrorTypes` (integer, optional)
- `totalErrors` (integer, optional)

### models.ErrorReportGraphByErrorResponse

- `result` (list of models.ErrorTimeSeriesByError, optional)
- `timeRange` (models.TimeRange, optional)

### models.KASRequestStatus

RequestStatus contains KAS-specific error details This is added to reflect the field in OpenAPI docs for UI reference and not populated by our code If KAS returns an error, the request will not be forwarded to the backend

- `requestId` (string, optional) — Request ID for tracing
- `statusCode` (string, optional) — Status code from KAS
- `statusDescription` (string, optional) — Status description from KAS

### models.ByError

- `count` (integer, optional)
- `name` (string, optional)
- `nodeCount` (integer, optional)
- `severities` (list of enum, optional) — Severities lists all remaining severities this error still carries after the severity filter has been applied. When no severity filter is set it contains every severity the error was observed with.
  - Allowed values: `Fatal`, `Critical`, `Warning`
- `suggestedAction` (models.SuggestedAction, optional)

### models.ByNode

- `bmcMac` (string, optional) — BMC MAC identifier from collector source.mac; may be empty.
- `errors` (list of string, optional)
- `hostname` (string, optional)
- `nodeName` (string, optional)
- `nodeUUID` (string, optional)

### models.ErrorTimeSeriesByError

- `label` (models.ErrorLabelByError, optional)
- `values` (string, optional)

### models.TimeRange

- `end` (datetime, optional)
- `start` (datetime, optional)

### models.SuggestedAction

- `action` (string, optional) — Resolution action from Guidance Classes sheet
- `code` (string, optional) — Action code from NVIDIA XID catalog
- `persona` (enum, optional) — Target persona; omitted when an endpoint has already reduced actions to one persona
  - Allowed values: `tenant`, `dc_admin`
- `type` (enum, optional) — Action type: "immediate" or "investigatory"
  - Allowed values: `immediate`, `investigatory`

### models.ErrorLabelByError

- `error` (string, optional)

## Examples

**Response**

```json
{
  "totalErrorNodes": 42,
  "totalErrorTypes": 15,
  "totalErrors": 1250
}
```

**SDK Code**

```python
import requests

url = "https://api.example.com/v1/reports/error"

querystring = {"view":"list"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.example.com/v1/reports/error?view=list';
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/v1/reports/error?view=list"

	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/v1/reports/error?view=list")

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/v1/reports/error?view=list")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.example.com/v1/reports/error?view=list');

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

```csharp
using RestSharp;

var client = new RestClient("https://api.example.com/v1/reports/error?view=list");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api.example.com/v1/reports/error?view=list")! 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()
```