v18

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

InsertUsageEvents

Inserts usage events from an external source (e.g., backfilling missing LLM token usage from a provider console export). Internal admin operation.

post/gitpod.v1.BillingService/InsertUsageEvents

Request body

ignoreAgeCheckboolean

If true, allow events with timestamps older than 35 days. By default, old events are rejected because Stripe cannot accept them.

reasonstring

Why these events are being inserted (stored in audit log and event payload).

Response

Success

errorCountinteger
insertedCountinteger

Summary counts.

skippedCountinteger