---
title: "POST /v1/ai/mentions/:id/create-subject"
method: POST
path: "/v1/ai/mentions/:id/create-subject"
tags: ["AI Knowledge"]
---

# POST /v1/ai/mentions/:id/create-subject

`POST /v1/ai/mentions/:id/create-subject`

## Request

- Base URL: `https://api.quillhub.ai`
- URL: `https://api.quillhub.ai/v1/ai/mentions/:id/create-subject`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string
  - `subject_type` string

## Response `201`

Subject created and mention linked.

- object
  - `subject_id` number, required
  - `subject_name` string, required
  - `mention_id` number, required
  - `resolution_status` string, required

## Other responses

- `401`: Unauthenticated.
- `403`: Forbidden.
- `404`: Not found.

---

[API](https://skmtc.dev/quillhub/apis/quillhub-public-api.md) · [All operations](https://skmtc.dev/quillhub/apis/quillhub-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quillhub/apis/quillhub-public-api/revisions/5bd42ee9d967?raw)
