Skip to main content
This is the current Data import API surface. It lets a trusted CLI or backend import job declare cost sources that Pylva should track and price. It is not a general historical customer or event upload endpoint. For the full coverage workflow, see Cost Source Discovery.

Authentication

Use your API key, as a bearer token or in X-Pylva-Key — the pylva CLI sends the bearer form and honors PYLVA_API_KEY (legacy PYLVA_CLI_KEY still works).

Request

For tiered pricing, send pricing_tiers instead of price_per_unit:

Response

Notes