---
id: get-api-by-version-openapi
title: 'Get api by version  openapi'
description: 'Get the OpenAPI spec for a specific API version'
sidebar_label: 'Get api by version  openapi'
hide_title: true
hide_table_of_contents: true
api: eJytVttu2zgQ/RVisA8JVomziy4QqOhDNkjTdIs2qF1sgchwaWlsMZVIlhy5cQX9+2Koiy9xCyTYJ96H5wzPzLCGDH3qlCVlNMRwjSQoR/HBor64vRHeYioWxgkZumqhUsHzK3SeT0RgpZMlEjoP8V0Niq1YSTlEoGWJEMNmr8NvlXKYQUyuwgh8mmMpIa6B1pa3enJKL6FpprzZW6M9el7/8+yMm9RoQk3cldYWKpWMe3TvGXz92J6Z32NK0DRNtEd0skcSmghenL140iXWGYuOVAuxRO/lEg+xifbxRIAPsrQF7hyE94bEwlQ6iwXjY3ehJ8yEQ28ql6LIDHqhDQl8UP4gscEG3/LXE932vzO60YROy0J4dCt0Ap0zLhYXWlQaHyymzC5MCpOmlWNxHCD1WpIs2n3hco9p5RStg+TuvxPEd1PWDMklyxDCy1oF0wiYUKB7k0EMS6SZtGo2X886Wc5mxqKWVkEEDyepyXAceLRyLqReQgzpp4/vIIJCzrHYDNs34XHlCnHyWVxfTUQCOZGNR6PCpLLIjaf4/Oz8fCStGtXdnc2ovzQBkSSJFuLkjUjgoqLcOPUj4I3F3ygdOvHbxeXl1Xg8m3z45+p9AtBEA67bNeUhsnpkw8SATZXWOOq15BOd6D6yxKth+nSJdMQ4xJMJRO2xHGWGzr+q92gkEIsEOioJiN+FTFP0fkbmK+om0ceJtk5pOuphnbIuj46Pt4m+lSs5DoLYIrszuXkMoz3zHTjK71KRWCCleaD4LIL1Dsu4H4v9V2O6X/qHq1uqk8D0S3ui4YZpv0x0CzWTJAeYe07oNpkCTwuzPOKtxy+BpV4i5aaTdEjDlEMMPyHB/gkB2Kq6cuy+g16A/dB7x8siwxUWxpaoqQvl8Dqtodo6QyY1RROPRjWbauKaVdc8snZZeTJlbyKClXRKzos23/RmuJ/hQlYFdTAhAtRVyaHdDbnxHN+79t9MJrdisNNEwGh27Q18H4EbtzmK17h0CePEzS0bYS67Rg66qjsfdjehhvV5aswZtiUZslUN8yCR18aVku29/XcCXT1kDberMGTZQLqJ+PDM4cKhz59rpIlA6YVp6eygryw6H8REijiRb0/1RTyG1R+tSzyVMpSPrszz10FaJebr/ncgxEZ+O3dtVaRn/Dg6OoQPNLKFVJrxBCXWXRjcQXtpvDk0RMK018Qd1PVcevzkiqbh6W8VOq4o040sQ7RkynM/g3ghC4+/4HL0sfvgHIuf4ewmpV4H9RcVjyCCr7je+io1U5ZuyDUBQrt6kaYYcl1/7lEx30kM11csB1lRvlXBB1F0HbZ+EFNdtzva5NUMEEPaZoBN8x+o5YQb
sidebar_class_name: 'get api-method'
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---

import MethodEndpoint from '@theme/ApiExplorer/MethodEndpoint';
import ParamsDetails from '@theme/ParamsDetails';
import RequestSchema from '@theme/RequestSchema';
import StatusCodes from '@theme/StatusCodes';
import OperationTabs from '@theme/OperationTabs';
import TabItem from '@theme/TabItem';
import Heading from '@theme/Heading';
import Translate from '@docusaurus/Translate';

<Heading
  as={'h1'}
  className={'openapi__heading'}
  children={'Get api by version  openapi'}
></Heading>

<MethodEndpoint
  method={"get"}
  path={"/api/{version}/_openapi"}
  context={"endpoint"}
>

</MethodEndpoint>

Get the OpenAPI spec for a specific API version

<Heading id={'request'} as={'h2'} className={'openapi-tabs__heading'}>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./get-api-by-version-openapi.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./get-api-by-version-openapi.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./get-api-by-version-openapi.StatusCodes.json")}
>

</StatusCodes>
