Skip to main content

CreditPricingMatrix

Description

Data-driven per-unit credit pricing lookup for metered billing.

Properties

NameTypeDescriptionNotes
unitKeyStringStable lookup key such as aws.lightsail.cpu_hour, thorapi.component.generated, or valoride.sign_in.
unitTypeUnitTypeEnumMetered billing unit family.
creditCostDoubleWhole or fractional credits charged per one metered unit.
billingScopeBillingScopeEnumScope at which this price row applies.
scopeRefStringOptional plan id, customer id, organization id, or deployment id for scoped overrides.[optional]
meterNameStringStripe meter/event name or internal UsageTransaction.meterName used for reconciliation.[optional]
providerStringOptional provider namespace such as aws, thorapi, valoride, openai, or graymatter.[optional]
regionStringOptional provider region for region-specific infrastructure rates.[optional]
currencyStringPricing currency. CRD denotes Valkyr credits.[optional]
effectiveAtOffsetDateTimeTime this pricing row becomes active. Null means active immediately.[optional]
expiresAtOffsetDateTimeTime this pricing row stops applying. Null means no scheduled expiration.[optional]
statusStatusEnumLifecycle status for pricing lookup.
priorityIntegerTie-breaker for overlapping scoped pricing rows. Higher priority wins.[optional]
notesStringOperator notes explaining the rate and when to revisit it.[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]
trashedBooleanIndicates if the object is trashed (soft deleted)[optional]

Enum: UnitTypeEnum

NameValue
CPU_HOUR"cpu_hour"
MEMORY_GB_HOUR"memory_gb_hour"
GENERATED_THORAPI_COMPONENT"generated_thorapi_component"
VALORIDE_SIGN_IN"valoride_sign_in"
LIGHTSAIL_INSTANCE_HOUR"lightsail_instance_hour"
SCHEMA_OBJECT"schema_object"
API_CALL"api_call"
LLM_TOKEN_1K"llm_token_1k"
STORAGE_GB_MONTH"storage_gb_month"
WORKFLOW_RUN"workflow_run"
CUSTOM"custom"

Enum: BillingScopeEnum

NameValue
GLOBAL"global"
PLAN"plan"
CUSTOMER"customer"
ORGANIZATION"organization"
DEPLOYMENT"deployment"

Enum: StatusEnum

NameValue
ACTIVE"active"
DRAFT"draft"
RETIRED"retired"

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.3-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2026-05-16T11:45:23.900207-07:00[America/Los_Angeles]