---
title: "Get URI test results"
method: GET
path: "/v1/dem/uris/{entityId}/testResults"
tags: ["dem"]
---

# Get URI test results

`GET /v1/dem/uris/{entityId}/testResults`

## Request

- Base URL: `https://api.na-01.cloud.solarwinds.com`
- URL: `https://api.na-01.cloud.solarwinds.com/v1/dem/uris/{entityId}/testResults`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/solarwinds/apis/solarwinds-observability/docs/v1/dem/uris/:entityId/testResults/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `entityId` string, required

## Query parameters

- `startTime` string, date-time, required
- `endTime` string, date-time, required
- `direction` 'backward' | 'forward' | 'tail'
- `minResponse` integer
- `maxResponse` integer
- `probes` string
- `status` 'up' | 'down' | 'up,down'
- `pageSize` integer
- `skipToken` string

## Response `200`

An array of test results with pagination info

- object
  - `results` DemTestResult[], required: Uri test results
    - `time` string, date-time, required: Timestamp of result
    - `probe` DemProbe, required
      - `id` string, required: Unique identifier of the probe.
      - `name` string, required: Name of the probe.
      - `active` boolean, required: True if the probe is active.
      - `platform` 'AWS' | 'AZURE' | 'GOOGLE_CLOUD', required
      - `region` string, required: Region where the probe is located.
      - `country` string, required: ISO 3166-1 alpha-2 code of the country where the probe is located.
      - `city` string, required: City where the probe is located.
      - `coordinates` DemCoordinates, required: Represents geographical coordinates.
        - `latitude` number, float, required: Latitude of the location.
        - `longitude` number, float, required: Longitude of the location.
      - `ipv4Addresses` string[], required: IPv4 addresses of the probe.
      - `ipv6Addresses` string[]: IPv6 addresses of the probe. Not all probes support IPv6.
    - `monitor` DemMonitor, required
      - `id` string, required: Unique identifier of generated check
      - `type` 'dns' | 'http' | 'https' | 'ping' | 'tcp' | 'udp', required: Type of monitoring
      - `interval` integer, required: Number of seconds between each execution of this check
      - `executionType` 'scheduled' | 'onDemand' | 'onCreate' | 'onUpdate', required: Type of execution
      - `target` string, required: Target being monitored
    - `responseTime` integer, required: Response time in milliseconds
    - `status` 'up' | 'down', required: Status of the test result
    - `phase` 'resolve' | 'connection' | 'request' | 'response' | 'unknown': Indicates at which phase of the failure occurred
    - `description` string: Short reason for failure
    - `message` string: Longer reason for failure
    - `analysisId` string: Reference to the root cause analysis
    - `validationsId` string: Reference to the validation
  - `pageInfo` CommonPageInfo, required
    - `prevPage` string, required: Token for the previous page, or empty string if on the first page.
    - `nextPage` string, required: Token for the next page, or empty string if on the last page.

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `401`: Access is unauthorized.
- `500`: Server error

---

[API](https://skmtc.dev/solarwinds/apis/solarwinds-observability.md) - [All operations](https://skmtc.dev/solarwinds/apis/solarwinds-observability/llms.txt) - [OpenAPI document](https://skmtc.dev/solarwinds/apis/solarwinds-observability/revisions/f01485d38ee8?raw)
