v51
latestOpenAPI 3.0.3Mozilla Public License Version 2.0raw.githubusercontent.com2026-08-0165205256.0 KBTyk OAS APIs
Get a Tyk OAS API definition.
Get Tyk OAS API definition using an API ID.
get/tyk/apis/oas/{apiID}
Path parameters
apiIDstring required
ID of the API you want to fetch
Query parameters
mode'public'
By default mode is empty which means it will return the Tyk API OAS spec including the x-tyk-api-gateway part. When mode=public, the Tyk OAS API spec will exclude the x-tyk-api-gateway part in the response.