struct

Anthropic::FallbackCreditNotApplied

Inherits JSON::Serializable < Struct < Value < Object

No reprice was applied; reason says why.

Known reasons (closed enum from the API): body_mismatch, continuation_excluded, continuation_only, expired, invalid_target_model, not_enabled, reprice_unavailable, temporarily_unavailable, variant_fields_present, wrong_organization, wrong_platform, wrong_workspace.

Constructors

new(reason : String, remove_to_redeem : Array(String) | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

reason
Source
remove_to_redeem

Request fields to remove before retrying so the token can redeem. Present exactly when reason is variant_fields_present.

Source
type
Source