List a team’s egress ledger (declared hosts and API ops)
User-gated (chrm_user_* or session); the caller must be an owner/admin of the team. outbound-host destinations are declared config with no call counts; api-op destinations are grouped api_proxy_result events with real counts.
Request
- Base URL: https://charm.ing
- URL: https://charm.ing/api/v1/teams/{teamId}/egress
- Auth: one of:
- HTTP bearer
- API key in cookie __Secure-better-auth.session_token
Path parameters
Query parameters
Defaults to 100, capped at 500.
Narrow to destinations the given app declares or calls.
Order of the whole list before limit cuts it. Defaults to lastSeen:desc (most recently called first); an outbound-host destination has no lastSeenMs and sorts last either way. An unknown value is rejected, not ignored. CSV exports honour it too.
When true, keeps only api-op destinations with a 4xx/5xx or errored call — an all-200 op vanishes. Never hides outbound-host destinations.
Restricts the api-op group to events within this many days.
When csv, returns text/csv instead of JSON, at a higher row cap. Any other value falls through to JSON.
Response
The team’s egress ledger, as JSON or (with format=csv) as text/csv.
Changes
No recorded changes to this operation across all 1 revision of this API.