---
title: "🔒 #26667 ИИ-функция «Названия»: название задачи, ошибки, фичи или совещания по описанию и контексту фичи или продукта."
method: POST
path: "/llm/create/title"
tags: ["LLM Functions"]
---

# 🔒 #26667 ИИ-функция «Названия»: название задачи, ошибки, фичи или совещания по описанию и контексту фичи или продукта.

`POST /llm/create/title`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/llm/create/title`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

#26667 ИИ-функция «Названия»: название задачи, ошибки, фичи или совещания по описанию и контексту фичи или продукта.

**Access:** `authorized` (10 ) · **Scope:** `read`

**Allows:** `task:create`, `feature:create`, `meeting:create` (все обязательны; проверка в команде по ресурсу из запроса)

### TypeScript (copy-paste)

**`POST /llm/create/title`**

<details open><summary><b>Body</b></summary>

```typescript
export interface LlmCreateTitleBody {
  kind?: llm_create_title_Body_kind
  spec: string
  featureID?: string | null
  productID?: string | null
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type LlmCreateTitleResponse = IServerResponse<Resp_llm_create_title>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Request body

- LlmCreateTitleBody: JSON body for `llm/create/title`
  - `kind` 'task' | 'bug' | 'feature' | 'meeting': `task` = "task", `bug` = "bug", `feature` = "feature", `meeting` = "meeting"
  - `spec` string, required
  - `featureID` string, uuid, nullable
  - `productID` string, uuid, nullable

## Response `200`

OK — `IServerResponse<Resp_llm_create_title>`

- object
  - `code` integer, required
  - `data` RespLlmCreateTitle, required: type ResponseData = { title: string }
    - `title` string, required
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest / Validation — неверные params/body/headers
- `401`: Authorize — сессия отсутствует, истекла или невалидна
- `403`: AccessNotAllowed: the function is not activated in the company (reason: notActivated) or no access to the product
- `406`: TimeResync — расхождение rts с сервером
- `502`: ExternalRequest: no model answered (reason: LLMError.Kind)

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
