Get Cache Hit Metrics Summary
POST handler with superadmin-only field protection.
Strips superadmin-only fields from non-superadmin requests before delegating to OrganizationInjectionMixin.post() for org injection.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, provider credentials such as Perplexity, OpenAI, or Azure OpenAI go in Settings -> Providers or respan_params.credential_override in the request body, not in this authentication field.
Request
This endpoint expects an object.
date_group
number_of_requests
total_cost
total_prompt_tokens
total_completion_tokens
total_tokens
max_tpm
error_count
error_percentage
average_prompt_tokens
average_completion_tokens
average_tokens
average_cost
average_latency
average_tps
average_ttft
prompt_cache_hit_tokens
reasoning_tokens
max_cost
max_tokens
max_latency
unique_customers
latency_p_50
latency_p_95
latency_p_99
cache_hit_percentage
requests_per_second
Response
date_group
number_of_requests
total_cost
total_prompt_tokens
total_completion_tokens
total_tokens
max_tpm
error_count
error_percentage
average_prompt_tokens
average_completion_tokens
average_tokens
average_cost
average_latency
average_tps
average_ttft
prompt_cache_hit_tokens
reasoning_tokens
max_cost
max_tokens
max_latency
unique_customers
latency_p_50
latency_p_95
latency_p_99
cache_hit_percentage
requests_per_second