---
title: "Infer Schema"
method: POST
path: "/helixdb/etl/infer"
tags: ["HelixDB", "HelixDB ETL"]
---

# Infer Schema

`POST /helixdb/etl/infer`

## 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/etl/infer`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/metacognition/apis/tex-api/docs/helixdb/etl/infer/post.ts> (a function with typed inputs; its response is checked against the schema)

Infer schema from sample data.

Pass sample node/edge objects to get a recommended HelixQL schema.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[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)
