Upsert a project's price rows
PUT/api/v1/projects/:project_id/prices
Upserts project + provider-slug price rows, keyed on (provider, model, effective_from). A row covers all of the project's instances of that provider slug. Authorized by the caller's access to the project. effective_from must be in the future once the (provider, model, component) is priced — past prices are immutable, so corrections ship as new future-dated rows. A first price, with no row for the project or the global default, may be dated now or earlier.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The upserted price rows
Bad Request (e.g. non-future effective_from)
Unauthorized
Forbidden
Project not found