跳转到内容
EN

Summarize understanding failures

Code Mode: praxis.media.libraries.understandings.retrieveFailureSummary

HTTP: GET /media/v1/libraries/{library_id}/understandings/failure_summary

Inspect current understanding failures before retrying. Use library_id from library creation or listing. Groups include code, output kind, actual producer model, retryability and up to five sample asset IDs. At most 1024 detailed groups plus two overflow groups are returned; overflow groups separate retryable and unrecoverable entries and mark overflow=true. Unknown failure codes remain retryable. Historical counts are provisional while counts_complete is false. Example: GET /media/v1/libraries/lib_example/understandings/failure_summary.

签名

praxis.media.libraries.understandings.retrieveFailureSummary(args:{path:{library_id:string}}):Promise<{/** Number of current failed understanding entries, excluding deleted assets and superseded versions. */ total:number;/** Failure entries grouped by code, output kind and producer model. */ groups:Array<{/** Failure reason code. */ code:string;/** Understanding output kind that failed, such as caption, frame, transcript or embedding. */ kind:string;/** Producer model that reported this failure; unknown when historical provenance was unavailable. */ model:string;/** Number of current failed entries in this group; several entries can belong to one asset. */ count:number;/** True for a rollup of additional code, kind and model combinations after 1024 detailed groups. */ overflow:boolean;/** True when a repeated attempt may recover, including unknown error codes. */ retryable:boolean;/** Up to five distinct asset identifiers from this group, for inspecting original error details. */ sample_asset_ids:Array<string>}>;/** False while historical failure and folder statistics are being populated. */ counts_complete:boolean}>;

参数

名称位置类型必填说明
library_idpathstring是Library ID returned by creation.

响应

状态码内容类型说明
200application/jsonSuccessful response.
400application/jsonA selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
402application/jsonRequest failed; see the error code reference.
403application/jsonThis credential has read-only access to the library; use a write-capable binding for mutations.
404application/jsonThe library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
409application/jsonRequest failed; see the error code reference.
413application/jsonThe file exceeds an input limit; provide a smaller source file.
415application/jsonThis media format is unsupported; provide a supported format.
422application/jsonRequest failed; see the error code reference.
429application/jsonA rate limit was reached; wait before retrying.
501application/jsonThe requested operation is unsupported; choose a supported method.
502application/jsonRequest failed; see the error code reference.
503application/jsonHistorical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.