Metrics
Metric instant queries
api-key<token>
In: header
Path Parameters
owner*string
username or organization name
slug*string
project slug
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/v1/metrics/string/string/query" \ -H "Content-Type: application/json" \ -d '{}'{ "results": [ { "alias": "string", "color": "string", "error": "string", "id": "string", "sample": [ { "metric": { "displayName": "string", "labels": { "property1": "string", "property2": "string" }, "name": "string" }, "values": [ { "extraValues": [ 0.1 ], "timestamp": "string", "value": 0.1 } ] } ] } ]}