entitlements

Update company override

Changed on
put/company-overrides/{company_override_id}

Request

  • Base URL
    https://api.schematichq.com
  • URL
    https://api.schematichq.com/company-overrides/{company_override_id}
  • Auth
    API key in header X-Schematic-Api-Key

Path parameters

company_override_idstring required

company_override_id

Request body

credit_consumption_ratenumber double nullable
expiration_datestring date-time nullable
metric_period'all_time' | 'current_day' | 'current_month' | 'current_week'
metric_period_month_reset'billing_cycle' | 'first_of_month'
notestring nullable
quantity_ratesobject nullable

Credits per unit of the quantity (per token for inference features), keyed by quantity key. Inference features may price input_tokens, output_tokens, cached_input_tokens, cache_creation_input_tokens and reasoning_tokens; reasoning_tokens is priced on top of output_tokens, so leave its rate at zero for providers that count reasoning inside output. Omit to leave the schedule as it is; send null to clear it.

value_boolboolean nullable
value_credit_idstring nullable
value_numericinteger nullable
value_trait_idstring nullable
value_type'boolean' | 'credit' | 'numeric' | 'trait' | 'unknown' | 'unlimited' required

Response

OK

paramsobject required

Input parameters

Changes

    • info

      added the optional property //// to the response with the status

    • warning

      added the new end_date_must_be_future enum value to the ////// response property for the response status

    • warning

      added the new end_date_needs_new_subscription enum value to the ////// response property for the response status

    • warning

      added the new end_date_not_after_renewal_date enum value to the ////// response property for the response status