---
title: "言語識別を行う"
method: POST
path: "/identify"
---

# 言語識別を行う

`POST /identify`

## Request

- Base URL: `https://lid.mimi.fd.ai/v1`
- URL: `https://lid.mimi.fd.ai/v1/identify`
- Auth: none required

## Headers

- `Authorization` string, required
- `Content-Type` string, required
- `x-mimi-lid-options` string

## Request body `audio/x-pcm`

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

## Response `200`

200

- union
  - object
    - `type` string
    - `session_id` string
    - `status` string
    - `response` object[]
      - `lang` string
      - `score` number
  - object
    - `type` string
    - `session_id` string
    - `status` string
    - `response` unknown[]
      - unknown

## Other responses

- `401`: 401

---

[API](https://skmtc.dev/fd/apis/identify-lid-api.md) - [All operations](https://skmtc.dev/fd/apis/identify-lid-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fd/apis/identify-lid-api/revisions/069959401a3e?raw)
