v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.BillingService

CorrectEnvironmentUsageEvents

Corrects environment_usage events for the given environment/time-range pairs. Each EnvironmentCorrectionSpec identifies an environment and the window of events to correct. Supports dry-run mode. Internal admin operation.

post/gitpod.v1.BillingService/CorrectEnvironmentUsageEvents

Request body

dryRunboolean

If true, only report what would be corrected without making changes.

reasonstring

Why these events are being corrected.

Response

Success

beyondStripeLimitCountinteger

Number of events with timestamps older than 35 days (beyond Stripe's limit).

beyondStripeLimitValuestring

Total value of events beyond the 35-day Stripe limit.

totalEventsinteger

Total number of correctable events found.

totalValuestring

Total value (seconds) across all correctable events.