For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Book a demoLog inStart for free
  • Overview
    • What is an API definition?
    • Project structure
      • Overview
      • Overlays
      • Overrides
      • Authentication
      • Servers
      • Sync your specification
        • Overview
        • API version
        • Audiences
        • Availability
        • Base path
        • Default values
        • Enum descriptions, names, and availability
        • Request + response examples
        • API Explorer control
        • Global headers
        • Ignoring elements
        • SDK method names
        • SDK variables
        • Tag display names
        • Parameter names
        • Property names
        • Idempotency
        • Pagination
        • Retry behavior
        • Schema names
        • Server names and URL templating
      • generators.yml reference
Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPC

Resources

BlogSupportPricing

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free
OpenAPIExtensions

Retry behavior

||View as Markdown|
Was this page helpful?
Edit this page
Previous

Pagination

Next

Schema names

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
1paths:
2 /plants/{plantId}:
3 get:
4 x-fern-retries:
5 disabled: true
6 operationId: get_plant
7 parameters:
8 - name: plantId
9 in: path
10 required: true
11 schema:
12 type: string
13 /plants:
14 post:
15 x-fern-retries:
16 disabled: true
17 operationId: create_plant
18 requestBody:
19 required: true
20 content:
21 application/json:
22 schema:
23 type: object
24 properties:
25 name:
26 type: string
27 species:
28 type: string
29 responses:
30 '201':
31 description: Plant created successfully

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.