---
title: "Schema returns the schema"
method: GET
path: "/irismod/service/schemas/{schema_name}"
tags: ["Query"]
---

# Schema returns the schema

`GET /irismod/service/schemas/{schema_name}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `schema_name` string, required

## Response `200`

A successful response.

- object
  - `schema` string

## Other responses

- `default`: An unexpected error response.

## Changes

- **2020-11-24** `e074680272ae`: 1 info
  - endpoint added
- **2020-04-20** `55279958f492`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs/changes/irismod/service/schemas/:schema_name/get.md)

---

[API](https://skmtc.dev/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/bianjieai/apis/irita-legacy-rest-and-grpc-gateway-docs/revisions/dcc6f688c291?raw)
