Usage & Logs
Usage
Usage in the sidebar. Filter by range (24 h / 7 d / 30 d), workspace, key and model. You see:
- Spend per day (IDR), requests, tokens in/out, fallback rate.
- Spend by model and by key.
- A request table with served model, tokens, latency, status and cost.
Admins and Members see only their workspace; Members see only keys they own or that are shared.
Logs
Logs lists every request in scope with the date and time it was made (Jakarta time, with the zone shown, for example 9 Nov 2026 14:32:05 WIB (UTC+7)), its x-perisai-router-request-id, status, served model, whether a fallback happened, and its Task: chat, chat-id (chat in Indonesian), code, reasoning, summarize, translate or extract-json. For perisairouter/auto the task is what the model was picked for; hover it, or open the row, to see whether the rules or the classifier model read it. Prompt and completion bodies are shown only for keys whose guardrails have Store request bodies on, and are kept 7 days.
Quote the request id when asking for help.
Response headers
Every API response carries:
x-perisai-router-request-id: the id shown in Logs.x-perisai-router-served-by: the concreteprovider/modelthat answered.x-perisai-router-fallback:trueif the first choice was unavailable.
Requests for perisairouter/auto also carry:
x-perisai-router-task: the task the request was read as, for examplecodeorchat-id.x-perisai-router-router: what read it,rulesorclassifier, orpresetwhen you named the task in the model id (perisairouter/auto:code).x-perisai-router-sticky:newfor the first turn of a conversation,keptwhen a later turn stayed on the conversation's model,movedwhen that model could not serve the turn,offwhen you sent"perisai_router": {"sticky": false}.