Error
A valid request URL is required to generate request examples{
"data": {
"hits": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"upstream_calls": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"hit_latency_ms": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"upstream_latency_ms": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"miss_reasons": [
{
"reason": "<string>",
"count": 123
}
],
"upstreams": [
{
"upstream_id": "<string>",
"chain": "<string>",
"calls": 123,
"errors": 123,
"avg_latency_ms": 123
}
],
"credits": [
{
"vendor": "<string>",
"unit": "<string>",
"chain": "<string>",
"saved": 123,
"spent": 123,
"saved_usd": 123,
"spent_usd": 123,
"usd_per_million_units": 123,
"rate_source": "<string>",
"rate_as_of": "<string>"
}
],
"savings": [
{
"vendor": "<string>",
"unit": "<string>",
"chain": "<string>",
"usd_per_million_units": 123,
"saved": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"spent": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"saved_usd": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"spent_usd": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"by_chain": [
{
"chain": "<string>",
"cached": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"forwarded": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"errored": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"by_method": [
{
"chain": "<string>",
"method": "<string>",
"hits": 123,
"forwarded": 123
}
],
"by_method_series": [
{
"chain": "<string>",
"method": "<string>",
"requests": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"cache_hit_rate": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
}Get Boost metrics for an endpoint
Cache hits and their latency, upstream (provider) calls and theirs, miss reasons, per-upstream breakdown, vendor credit savings, request outcomes per chain, cache hits per method, and the cache hit rate over a time window.
GET
/
boost
/
metrics
Error
A valid request URL is required to generate request examples{
"data": {
"hits": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"upstream_calls": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"hit_latency_ms": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"upstream_latency_ms": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"miss_reasons": [
{
"reason": "<string>",
"count": 123
}
],
"upstreams": [
{
"upstream_id": "<string>",
"chain": "<string>",
"calls": 123,
"errors": 123,
"avg_latency_ms": 123
}
],
"credits": [
{
"vendor": "<string>",
"unit": "<string>",
"chain": "<string>",
"saved": 123,
"spent": 123,
"saved_usd": 123,
"spent_usd": 123,
"usd_per_million_units": 123,
"rate_source": "<string>",
"rate_as_of": "<string>"
}
],
"savings": [
{
"vendor": "<string>",
"unit": "<string>",
"chain": "<string>",
"usd_per_million_units": 123,
"saved": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"spent": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"saved_usd": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"spent_usd": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"by_chain": [
{
"chain": "<string>",
"cached": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"forwarded": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
],
"errored": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"by_method": [
{
"chain": "<string>",
"method": "<string>",
"hits": 123,
"forwarded": 123
}
],
"by_method_series": [
{
"chain": "<string>",
"method": "<string>",
"requests": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
],
"cache_hit_rate": [
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]
}
}Authorizations
API token generated from the Goldsky Dashboard. Pass as: Authorization: Bearer
Query Parameters
ISO-8601 start of the window (default: 24 hours ago). Empty means omitted.
ISO-8601 end of the window (default: now). Empty means omitted.
bucket_size
Option 1 · enum<string>Option 2 · enum<string>Option 3 · enum<string>Option 4 · enum<string>Option 5 · enum<string>
Available options:
1m Response
200 - application/json
Default Response
Show child attributes
Show child attributes
Was this page helpful?