Retry behavior
Configure retry behavior for endpoints using x-fern-retries extension
The x-fern-retries extension is supported in Python SDKs only.
The x-fern-retries extension configures retry behavior per endpoint in your OpenAPI specification, overriding any
retry settings configured by SDK users. Use it to disable retries for non-idempotent operations like payment
processing or order creation.
To disable retries for specific endpoints, set disabled: true.
openapi.yml
When retries are disabled at the endpoint level, the generated SDK won’t retry failed requests to that endpoint, regardless of the SDK’s user custom configuration.