素材库

事件

请求、对象与响应。

按 seq 翻页:asc 配 after_seq,desc 配 before_seq;两个游标不可同用。

指南 →

基础地址与鉴权

读取事件

GET /media/v1/libraries/{library_id}/events

参数位置类型说明
library_idpathstring库 ID
after_seqqueryinteger升序游标;不可与 before_seq 同用
before_seqqueryinteger降序游标;不可与 after_seq 同用
orderqueryasc / descasc 默认升序或 desc 降序
limitqueryinteger每页 1–200 条,默认 50

返回: MediaEventPage.

响应

HTTP 200

Successful response.

application/json

名称类型说明
dataarray<object>Events in this page, ordered by sequence in the requested direction.
data[].seqnumberIncreasing sequence number within this library; use it with after_seq or before_seq to page through events.
data[].idstringUnique identifier of this recorded event.
data[].typestringType of lifecycle, asset, processing, search or batch change recorded.
data[].processed_atstringTime this event was recorded, in UTC.
data[].library_idstringIdentifier of the library whose event was recorded.
data[].asset_idstringRelated asset identifier, when the event concerns an asset.
data[].job_idstringRelated batch job identifier, when present.
data[].kindstringRelated processing task: visual, frames, transcript or embedding.
data[].detailobjectEvent-specific details, such as changed values, reprocessing kinds or failed-item counts.
next_cursorstring | nullLast returned sequence as a string when more events exist; convert to a number and pass as after_seq for asc or before_seq for desc. Null means no further page.
curl -X GET "https://api.deepraxis.ai/media/v1/libraries/${LIBRARY_ID}/events?limit=1" \
  -H "Authorization: Bearer $PRAXIS_API_KEY"

HTTP 200

{
  "data": [
    {
      "seq": 1,
      "id": "2cd2cd71-1fc5-41fc-aeb0-29583af9b900",
      "type": "library.status_provisioning",
      "processed_at": "2026-10-09T09:34:09.858Z",
      "library_id": "lib_fff73e25733449b1bf6f880d91f5c045"
    }
  ],
  "next_cursor": "1"
}

MediaEventPage

字段类型必填说明
dataMediaEvent[]是本页结果
next_cursorstring / null是下一页游标;没有时为 null 或省略

MediaEvent

字段类型必填说明
seqnumber是库内递增的事件序号
idstring是资源 ID
typeMediaEventType是资源或事件类型
processed_atIsoTimestamp是事件时间
library_idLibraryId是库 ID
asset_idAssetId否素材 ID
job_idJobId否任务 ID
kindProcessingKind否理解或处理种类;列出理解结果时按此筛选
detailobject否事件详情
导出

本页内容