The Logs section presents a chronological list of all the requests processed through Portkey.
disabled
, triggered
, etc.), making it a breeze to monitor and optimize your usage.
Common Queries Answered:
Option | 🔴 Inactive State | 🟢 Possible Active States |
---|---|---|
Cache | Cache Disabled | Cache Miss,Cache Refreshed,Cache Hit,Cache Semantic Hit |
Retry | Retry Not Triggered | Retry Success on Tries,Retry Failed |
Fallback | Fallback Disabled | Fallback Active |
Loadbalance | Loadbalancer Disabled | Loadbalancer Active |
Replay
button opens your request in a fresh prompt playground where you can rerun the request and edit it right there until it works.
Replay
button will be inactive for a log in the following cases:/chat/completions,
/completions
, /embeddings
DO NOT TRACK
option allows you to process requests without logging the request and response data. When enabled, only high-level statistics like tokens used, cost, and latency will be recorded, while the actual request and response content will be omitted from the logs.
This feature is particularly useful when dealing with sensitive data or complying with data privacy regulations. It ensures that you can still capture critical operational metrics without storing potentially sensitive information in your logs.
To enable DO NOT TRACK
for a specific request, set the debug
flag to false
when instantiating your Portkey or OpenAI client, or include the x-portkey-debug:false
header with your request.
debug:false
request will be logged