跳转到主要内容
GET
/
v1
/
audio
/
records
获取语音识别历史
curl --request GET \
  --url https://api.senseaudio.cn/v1/audio/records \
  --header 'Authorization: Bearer <token>'
{
  "total": 1,
  "list": [
    {
      "audio": "https://example.com/file/bcc1a46806d94bfef1a442f44e3cbe0a-record.pcm",
      "session_id": "bcc1a46806d94bfef1a442f44e3cbe0a",
      "session_start": 1772161815,
      "session_end": 1772161917,
      "api_key": "sk-123456",
      "points": 485,
      "text": "这是一个示例文本。"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.senseaudio.cn/llms.txt

Use this file to discover all available pages before exploring further.

说明

获取语音识别历史,支持按会话 ID 或 API Key 过滤。历史最长保存 7 天(按会话结束时间计)。
  • 接口地址https://api.senseaudio.cn/v1/audio/records
  • 鉴权方式:Bearer Token,详见 快速接入

Authorizations

Authorization
string
必填
Bearer 鉴权头,格式为 Bearer SENSEAUDIO_API_KEY

Query parameters

page
integer
默认值:"1"
页数。
page_size
integer
默认值:"20"
分页大小。
session_id
string
按会话 ID 筛选。
api_key
string
按 API Key 筛选。

Response

200application/json
total
integer
调用记录总数。
list
object[]
查询得到的调用记录数据。

相关指南

授权

Authorization
string
header
必填

格式:Bearer <API_KEY>

查询参数

page
integer
默认值:1
page_size
integer
默认值:20
session_id
string
示例:

"bcc1a46806d94bfef1a442f44e3cbe0a"

api_key
string
示例:

"sk-123456"

响应

200 - application/json

成功

total
integer

调用记录总数

list
object[]

查询得到的调用记录数据