---
title: "Get an API test's latest results summaries"
method: GET
path: "/api/v1/synthetics/tests/{public_id}/results"
tags: ["Synthetics"]
---

# Get an API test's latest results summaries

`GET /api/v1/synthetics/tests/{public_id}/results`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v1/synthetics/tests/{public_id}/results`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `synthetics_read`

Get the last 150 test results summaries for a given Synthetic API test.

## Path parameters

- `public_id` string, required

## Query parameters

- `from_ts` integer
- `to_ts` integer
- `probe_dc` string[]

## Response `200`

OK

- SyntheticsGetAPITestLatestResultsResponse: Object with the latest Synthetic API test run.
  - `last_timestamp_fetched` integer: Timestamp of the latest API test run.
  - `results` SyntheticsAPITestResultShort[]: Result of the latest API test run.
    - `check_time` number, double: Last time the API test was performed.
    - `probe_dc` string: Location from which the API test was performed.
    - `result` SyntheticsAPITestResultShortResult: Result of the last API test run.
      - `passed` boolean: Describes if the test run has passed or failed.
      - `timings` SyntheticsTiming: Object containing all metrics and their values collected for a Synthetic API test. See the [Synthetic Monitoring Metrics documentation](https://docs.datadoghq.com/synthetics/metrics/).
        - `dns` number, double: The duration in millisecond of the DNS lookup.
        - `download` number, double: The time in millisecond to download the response.
        - `firstByte` number, double: The time in millisecond to first byte.
        - `handshake` number, double: The duration in millisecond of the TLS handshake.
        - `redirect` number, double: The time in millisecond spent during redirections.
        - `ssl` number, double: The duration in millisecond of the TLS handshake.
        - `tcp` number, double: Time in millisecond to establish the TCP connection.
        - `total` number, double: The overall time in millisecond the request took to be processed.
        - `wait` number, double: Time spent in millisecond waiting for a response.
    - `result_id` string: ID of the API test result.
    - `status` 0 | 1 | 2: The status of your Synthetic monitor. * `O` for not triggered * `1` for triggered * `2` for no data

## Other responses

- `403`: Forbidden
- `404`: - Synthetic is not activated for the user - Test is not owned by the user
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v1-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v1-collection/revisions/ca5871004d26?raw)
