Cost Optimization

Get Prompt Caching Requests

Changed on
get/cost_optimization/prompt_caching/requests

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/cost_optimization/prompt_caching/requests
  • Auth: API key in header x-litellm-api-key

Query parameters

start_datestring date-time required
end_datestring date-time required
page_sizeinteger
filter'all' | 'injected' | 'hits'
cursor_start_timestring date-time nullable
cursor_request_idstring nullable

Response

Successful Response

page_sizeinteger required
has_moreboolean required

Changes