Skip to content

// SDK Generation

Move from API operation to integration code.

Generate focused integration code from normalized API operations, including request and response types where available.

Payments API / sdk / example preview
FetchAxiosRTK QueryC#Python
createPayment: builder.mutation<Payment, CreatePayment>({
  query: (body) => ({
    url: "/payments",
    method: "POST",
    body,
  }),
})

Generate an RTK Query payment mutation

Select POST /payments, then TypeScript > RTK Query. Include request and response types where the schema defines them. This excerpt belongs inside a configured API slice; review the generated output and supply your own base URL and authentication.

createPayment: builder.mutation<Payment, CreatePayment>({
  query: (body) => ({
    url: "/payments",
    method: "POST",
    body,
  }),
})
Follow the practical guide

Capabilities

SDK Generation capabilities

  • Generate TypeScript Fetch, Axios, RTK Query and React Query code.
  • Generate C# HttpClient and Refit integrations.
  • Generate Python httpx and requests clients.
  • Include request and response types from normalized schemas.
  • Start from the exact operation already documented in the workspace.

Workflow

Your sdk generation workflow

01

Select an operation

Choose the endpoint whose normalized contract should drive generation.

02

Choose a target

Pick TypeScript, C# or Python and a supported variant.

03

Set output options

Choose whether to include types, authentication and example usage.

04

Review and copy

Inspect the generated source before integrating it into your codebase.

Built for real handoffs.

Frontend integration

Create Fetch, Axios or query-layer code based on the current operation contract.

.NET services

Generate a focused HttpClient service method or Refit interface method.

Python automation

Start with an httpx async client or requests example.

Related features

// FAQ

Questions, answered.

// GET STARTED

Bring your API workflow into one workspace.

Start with an OpenAPI or Swagger JSON definition and keep the workflow together.

Start for free