Upsert per-provider price overrides
PUT/api/v1/ai-providers/:ai_provider_id/prices
Upserts price overrides for this AI provider instance, keyed on (model, effective_from). The provider slug is taken from the AI provider itself, so only the model, rates, and effective_from are supplied. Authorized by the caller's access to the provider's project. effective_from must be in the future — past prices are immutable, so ship corrections as new future-dated rows.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The upserted price overrides
Bad Request (e.g. non-future effective_from)
Unauthorized
Forbidden
AI provider not found