Dashboard

Get cache hits over time

Changed on

Returns semantic cache hit metrics (count, tokens, savings, hit %) as a time series.

post/api/dashboard/cache-hit-metrics/

Request

  • Base URL
    https://api.respan.ai
  • URL
    https://api.respan.ai/api/dashboard/cache-hit-metrics/
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

summary_type'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly' | 'last_24h' | 'all'

Preset time range. Use this or explicit start_time / end_time.

datestring date

Base date used with summary_type presets.

start_timestring date-time

Optional explicit ISO start time.

end_timestring date-time

Optional explicit ISO end time.

time_tick'minute' | 'hour' | 'day'

Bucket granularity for time-series responses.

timezone_offsetnumber

Timezone offset, in hours, used when resolving preset ranges.

Response

Successful response.

Changes

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • info

      api operation id dashboard_listCacheHitMetrics removed and replaced with listCacheHitMetrics

    • info

      the endpoint scheme security DashboardJwt was added to the API

    • info

      api tag Dashboard added

    • info

      api tag dashboard removed

    • info

      for the query request parameter timezone_offset, the format was generalized from double to no format

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • info

      added the non-success response with the status