Skip to main content
GET
/
metrics
/
{metric}
/
points
/
{metricPoint}
Get Metric Point
curl --request GET \
  --url http://localhost/api/metrics/{metric}/points/{metricPoint} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "metricPoints",
    "attributes": {
      "id": 123,
      "metric_id": 123,
      "calculated_value": "<string>",
      "value": 123,
      "counter": 123,
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    },
    "relationships": {
      "metric": {
        "data": {
          "type": "metrics",
          "id": "<string>"
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

metric
integer
required

The metric ID

metricPoint
integer
required

The metric point ID

Query Parameters

include
string

Available includes are metric, metricCount, metricExists. You can include multiple options by separating them with a comma.

Response

MetricPoint

data
MetricPoint · object
required