Deep Insight Agent API Documentation
v1 · Basic auth + transcript push + analysis read
Authentication
All /api/v1/* endpoints require an API Key in the request header:
Authorization: Bearer lj_live_xxxxxxxxxxxxxxxx
Create an API Key in /settings/api-keys.
POST /api/v1/transcripts
Push transcript text (for hardware devices and third-party recording tool webhooks)
Request
curl -X POST https://lengjing.zaowuyun.com/api/v1/transcripts \
-H "Authorization: Bearer lj_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"text": "说话人1: ...\n说话人2: ...",
"title": "周三战略会议",
"device_id": "meeting-room-shanghai-01"
}'Response
{
"transcript_id": "550e8400-e29b-41d4-a716-446655440000",
"analysis_id": null,
"message": "转写已保存"
}GET /api/v1/analyses
List the org's recent analyses (50 records)
curl https://lengjing.zaowuyun.com/api/v1/analyses \ -H "Authorization: Bearer lj_live_xxxxxxxx"
GET /api/v1/analyses?id=xxx
Get analysis details (including evidence anchors)
curl "https://lengjing.zaowuyun.com/api/v1/analyses?id=ANALYSIS_ID" \ -H "Authorization: Bearer lj_live_xxxxxxxx"
Rate limiting
60 requests per minute per API Key (exceeding returns 429)
Permissions (scopes)
transcript.write— Push transcriptsanalysis.read— Read analyses*— All
Error codes
| Status code | Meaning |
|---|---|
| 401 | Key invalid / revoked |
| 403 | Key lacks the required permission |
| 404 | Resource not found |
| 429 | Rate limited |
| 500 | Service error |
Support
Report issues at:hi@zaowuyun.com