API Reference
Log In
API Reference

Update Pricing Dimension

Update an existing pricing dimension.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the AI model

string
required

Unique identifier of the pricing dimension

Query Params
string
required

Team (organization) ID for tenant-specific pricing

Body Params
string
enum
required

The billing unit type (PER_TOKEN, PER_IMAGE, PER_SECOND, PER_MINUTE, PER_CHARACTER, CREDITS)

Allowed:
string
enum
required

The modality type (TEXT, IMAGE, AUDIO, VIDEO)

Allowed:
string

Optional operation subtype (e.g., 'input', 'output', 'generation', 'transcription')

string
enum

Pricing direction: INPUT, OUTPUT, or BIDIRECTIONAL

Allowed:
number
required

The price per unit in USD

string
enum
required

The cost type classification for analytics (e.g., IMAGE_GENERATION, AUDIO_TRANSCRIPTION)

string

Optional JSON string containing additional attributes (e.g., resolution, quality, region)

number

Tenant-specific credit-to-currency rate (only applicable when billingUnit is CREDITS)

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
*/*