get_credit_history
Retrieve daily and per-endpoint OpenAI credit usage. Filter by date range, specific date, period, or customer phone to analyze consumption.
Instructions
Historial de creditos — Muestra el consumo de creditos OpenAI por dia y por endpoint [query]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_credit_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Dias a analizar (default 30) | |
| date | No | Fecha especifica YYYY-MM-DD | |
| period | No | Periodo de tiempo | |
| phone | No | Filtrar por telefono del cliente |