Get a measurement by ID
Returns the status and results of an existing measurement. Measurements are typically available for up to six months after creation.
Tip: A link to this endpoint is returned in the Location response header when creating the measurement.
Client guidelines
As it can take a few seconds for a measurement to complete, you should use the following process for retrieving the results:
- Request the measurement to retrieve its status.
- If the status is in-progress, wait 500 milliseconds and start again at step 1. Note that it's important to wait 500 ms after receiving the response rather than using an "every 500ms" interval as for large measurements, the request itself may take a few hundred milliseconds to complete.
- If the status is anything other than in-progress, stop. The measurement is no longer running, and its results are final.
Important: Do not query the results of a single measurement more often than every 500 milliseconds. Sending more than two requests per second may trigger a rate limit and prevent you from accessing the results for a few seconds.
Request
- Base URL: https://api.globalping.io
- URL: https://api.globalping.io/v1/measurements/{id}
- Auth: none required
Response
A successful request returns status 200 OK and a body containing the requested measurement results.
Changes
No recorded changes to this operation across all 1 revision of this API.