---
title: "Infer Ner Labels"
method: POST
path: "/generate/ner/infer-labels"
tags: ["generate"]
---

# Infer Ner Labels

`POST /generate/ner/infer-labels`

Infer NER entity types from a domain description.

## Request body

- InferNERLabelsRequest — NER label inference request
  - `user_id` string, nullable — User ID (optional, uses authenticated user if not provided)
  - `domain_description` string, required — Domain description for inferring entity types

## Response `200`

Successful Response

- InferLabelsResponse — Label inference response
  - `success` boolean, required
  - `labels` string[], required
  - `count` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/pioneer/apis/brain-api.md) · [All operations](https://skmtc.net/pioneer/apis/brain-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pioneer/brain-api/versions/31dfe831e079/schema)
