Authorizations
API key authentication
Body
Display label for the external data source. Sample values: 'Stripe Revenue Integration', 'LLM Usage Tracker', 'Data Processing Monitor', 'ML Compute Usage Source'
The plan to associate this source with
The type of source. Currently only 'stripe_revenue' is supported.
stripe_revenue Configuration specific to the source type. For stripe_revenue, must include ampersandProjectId.
Optional explanation of the source's purpose. Sample values: 'Automated usage tracking from Stripe revenue data', 'Language model token consumption monitoring', 'Data warehouse query tracking', 'Machine learning inference usage collection'
Whether the source is enabled
Metadata for the source. For stripe_revenue, must include billableMetricMapping with revenue (billable metric ID).
How events are processed - automatic (immediate) or manual (requires approval)
automatic, manual Response
Source created successfully
Unique identifier for a source
source Unique identifier for an organization
Unique identifier for a plan
automatic, manual stripe_revenue