Kiota

Microsoft·Microsoft.OpenAPI.Kiota

A command line tool for generating an API client to call any OpenAPI described API you are interested in. The goal is to eliminate the need to take a dependency on a different API SDK for every API that you need to call.

winget install --id Microsoft.OpenAPI.Kiota --exact --source winget

Latest 1.39.0·November 20, 2026

Release Notes

Added

Changed

• Fixed credential-cache file creation in elevated Windows processes, including Azure DevOps release agents, by explicitly assigning the current user as owner with private permissions. • Go:include the endpoint path in inline composed-type wrapper names when flattening request builders, preventing response type collisions between paths such as /v1/blocks/meeting_notes and /v1/meeting_notes. • Improved GitHub sign-in state handling and authentication command error reporting. Existing users must sign in again after upgrading. The old temporary credential cache is no longer read or cleared by logout. Before signing in again, revoke any PAT used with Kiota in GitHub Settings > Developer settings > Personal access tokens, and revoke Kiota's device-code authorization in Settings > Applications > Authorized GitHub Apps (Authorized OAuth Apps for a custom OAuth client). Remove your old token files (pat-api.github.com.txt and <app-id>-api.github.com.txt) from the system temporary directory's kiota/auth folder (%TEMP%\kiota\auth on Windows; $TMPDIR/kiota/auth, or /tmp/kiota/auth, on Unix). Verify that the directory and files belong to you and are not symbolic links or junctions; do not recursively delete a shared temporary directory. Revocation invalidates credentials even if the old files cannot be safely removed. • Fixed false-positive missing-discriminator warnings for unions of a single model and a null-only alternative. • Ruby:a path parameter named after a Ruby keyword, such as {class}, generated code that didn't parse. The Ruby parameter is now class_escaped, and the URL still uses class. • Ruby:fixed generation failing when a nested model is flattened onto the name of an existing one, as in Microsoft Graph beta. • Ruby:a request builder for a path with function parameters, such as Microsoft Graph's search(q='{q}'), puts their values in the URL. They were accepted and dropped, so the request went out with empty values. • Fixed the Ruby links in the readmes to point to the kiota-ruby repository. • Ruby is now a preview language. • Improved validation of workspace output paths. • External references, and redirects returned while loading them, are now checked against --allowed-external-origins using their resolved address.

Installer type: zip

x64—2793356D90DC66925975617440B8B1FB8672C1BA2FADF1086239438755BBD2C6
x86—5DA08A8CA1CC6CD1F572995186C956E85181F640D602D93DF852DC65EC7D4E3C
arm64—7F4693D9D387CACD579668CCE3A3CD31663CC549CAF2E7421F2C8DD3EB31381F

Details

Homepage
https://github.com/microsoft/kiota
License
MIT

Tags

microsoft-openapi-kiotamicrosoftopenapikiotamicrosoft.kiotamicrosoft-kiotamicrosoftkiotarequirescmd

Older versions (3)

1.36.1
x64—1FD5C582B4D86794D09A0D720504524D48FB6AA74C2E653153725AEB8B0DBDAF
x86—D4AAC6E6D2D1A1043F65F07915545D2F67EE74B974784991E728DEAA302741D0
arm64—FBF889B40EF7C8FBBC6503CA188E2A0741099E84953D24A3DCC585901D928E39
1.35.0
x64—66B5547B948F7BE724FA5E0DDDDEBDA8F7B662574AE58EB9D3B8C51C609C6271
x86—972867376D947B6E40BA1D43C1B90A36C6A088C277BEED336496C2931064C79C
arm64—B7B117C5CCA14115B6581F4ECB4F5B41F1D860EE1A067A2C24287D1992BB9191
1.30.0
x64—03045011DA6038F632748750751FC88692F2EF5D13205B572E2E596F31E62153
x86—3196bf95dd013a0f651a8ba00508a15a9dfd01ffa90116fd113d479cda2b05e4
arm64—f84d6a21251e780f242067697469fe2bce35d01281f2e47c1c84729b80fcb703