curl --request GET \
  --url http://localhost:8001/metrics
"go_gc_duration_seconds{quantile=\"0\"} 2.5875e-05"

Response

200 - text/plain

The response is of type string.