You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Auto-pagination for list commands (e.g. ai-gateway logs list is capped at 50 per page) #554
cf ai-gateway logs list accepts --per-page up to 50 (--per-page 1000 returns API error 7001, "Number must be less than or equal to 50"). To total the cost a gateway logged over a 30-day window (there's no API for a gateway's running spend against its spend limit), a script has to loop --page 1, 2, 3 … until a short page comes back. That's tens of calls a day per gateway, each parsing the CLI output.
Suggestions:
An --all (or --page-all) option on list commands that follows pagination and streams every row (JSON lines would be ideal for scripts).
Optionally, for AI Gateway specifically, a summary like cf ai-gateway logs summary --start-date … --group-by model returning total cost/requests, or a way to read a gateway's current usage against its spend-limit rules.
Activity