---
title: "GET /tyk/schema"
method: GET
path: "/tyk/schema"
tags: ["Schema"]
---

# GET /tyk/schema

`GET /tyk/schema`

Get OAS schema

## Query parameters

- `oasVersion` string

## Response `200`

OAS schema response

- OASSchemaResponse — OAS schema endpoint response
  - `status` string
  - `message` string
  - `schema` string — <OAS schema definition>

## Other responses

- `400` — The response when the parameter oasVersion is missing
- `404` — The response when the requested OAS schema is not found

## Changes

- **2022-05-24** `111d8ca21864` — 2 breaking, 2 info
  - the `schema` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - the `schema` response's property type/format changed from ``/`` to `string`/`` for status `404`
  - added the non-success response with the status `400`
  - removed the non-success response with the status `403`

[Change history](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/changes/tyk/schema/get.md)

---

[API](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api.md) · [All operations](https://skmtc.dev/tyktechnologies/apis/tyk-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tyktechnologies/tyk-gateway-api/revisions/abb30dca1f8d/schema)
