---
title: "感情認識を行う"
method: POST
path: "/analyze/categorical"
---

# 感情認識を行う

`POST /analyze/categorical`

## Request

- Base URL: `https://emo.mimi.fd.ai/v1`
- URL: `https://emo.mimi.fd.ai/v1/analyze/categorical`
- Auth: none required

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Request body `audio/x-pcm`

- object
  - `audio data(binary)` string, binary, required: リクエストボディ全体が Content-Type で指定したフォーマットのバイナリデータ。cURL コマンドのオプション `--data-binary` の引数としてファイルを指定する場合は <strong>先頭に `@` をつけなければ送信できない</strong> ことに留意。

## Response `200`

200

- object
  - `type` string
  - `session_id` string
  - `status` string
  - `response` object
    - `scores` object
      - `neutral` number
      - `happiness` number
      - `sadness` number
      - `anger` number
      - `disgust` number
    - `interval` object
      - `start` integer
      - `end` integer
    - `label` string

## Other responses

- `401`: 401

---

[API](https://skmtc.dev/fd/apis/analyze-emoc-api.md) - [All operations](https://skmtc.dev/fd/apis/analyze-emoc-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fd/apis/analyze-emoc-api/revisions/7bc64aee69a2?raw)
