---
title: "Get Schema"
method: GET
path: "/helixdb/schema"
tags: ["HelixDB"]
---

# Get Schema

`GET /helixdb/schema`

## Request

- Base URL: `https://api.getmetacognition.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getmetacognition.com/helixdb/schema`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/metacognition/apis/tex-api/docs/helixdb/schema/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Successful Response

- SchemaResponse: Schema retrieval response.
  - `success` boolean, required: Whether retrieval succeeded
  - `data` string, required: HelixQL schema string
  - `error` string, nullable: Error message if failed

---

[API](https://skmtc.dev/metacognition/apis/tex-api.md) - [All operations](https://skmtc.dev/metacognition/apis/tex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metacognition/apis/tex-api/revisions/3bef47e50f2e?raw)
