Export usage report
export_usageDownload a per-credential usage report as CSV or JSON to the local export directory for saving or sharing traffic data as a file or spreadsheet.
Instructions
Download a per-credential usage report as CSV or JSON into the local export directory. Use when the user wants a file, spreadsheet or report of their traffic.
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": "export_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Exclusive UTC end date (YYYY-MM-DD). Must be 1 to 366 days after from. | |
| from | No | Inclusive UTC start date (YYYY-MM-DD). Defaults to the current UTC month. | |
| path | No | Relative file path inside the export directory. | |
| format | No | csv | |
| username | No | Limit the report to one proxy credential username. |