Billing
ExternalServicePrices

Creates a rate-card price for an external service.

Changed on
post/billing/external-service-prices

Request

  • Base URL
    https://api.rapidata.ai
  • URL
    https://api.rapidata.ai/billing/external-service-prices
  • Auth
    OpenID Connect (https://auth.rapidata.ai/.well-known/openid-configuration, scopes: openid, profile, email, offline_access, api)

Request body

serviceKind'ContextShortening' | 'ImageGeneration' required
pricingKeystring required

Hierarchical variant key (e.g. reve, replicate/flux-1.1-pro).

customerIdstring uuid nullable

Null for the global default; set to scope the price to one customer.

unitPricenumber double required

Price per unit (per image / per shortening).

priorityinteger nullable

Priority; defaults to the configured global/customer default if unset.

validFromstring date-time nullable

The start of the validity window.

validTostring date-time nullable

The end of the validity window.

Response

No Content

Changes