---
title: "POST /ai/classify"
method: POST
path: "/ai/classify"
tags: ["/ai/"]
---

# POST /ai/classify

`POST /ai/classify`

## Response `201`

The output has been successfully generated.

- AiSequenceClassificationResponse
  - `output` union — Output, if defined
    - object[]
      - `label` string
      - `score` number
    - object
      - `scores` number[]
  - `error` string — Error, if defined

## Other responses

- `400` — A validation error occured.
- `401` — Access Token is incorrect.
- `402` — An active subscription is required to access this endpoint.
- `409` — A conflict error occured.
- `500` — An unknown error occured.

---

[API](https://skmtc.net/novelai/apis/novelai-primary-api.md) · [All operations](https://skmtc.net/novelai/apis/novelai-primary-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/novelai/novelai-primary-api/revisions/327b3674db26/schema)
