MessagesFallbackParam - Python SDK

MessagesFallbackParam method reference

Fallback model to try when the primary model fails or refuses. Only the model field is supported; per-attempt overrides are rejected.

Fields

FieldTypeRequiredDescriptionExample
modelstr✔️N/A
__pydantic_extra__Dict[str, Nullable[Any]]N/A{"model": "claude-opus-4-8"}