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.
Signature
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}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| library_id | path | string | yes | Library ID returned by creation. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | Successful response. |
| 400 | application/json | A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying. |
| 402 | application/json | Request failed; see the error code reference. |
| 403 | application/json | This credential has read-only access to the library; use a write-capable binding for mutations. |
| 404 | application/json | The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner. |
| 409 | application/json | Request failed; see the error code reference. |
| 413 | application/json | The file exceeds an input limit; provide a smaller source file. |
| 415 | application/json | This media format is unsupported; provide a supported format. |
| 422 | application/json | Request failed; see the error code reference. |
| 429 | application/json | A rate limit was reached; wait before retrying. |
| 501 | application/json | The requested operation is unsupported; choose a supported method. |
| 502 | application/json | Request failed; see the error code reference. |
| 503 | application/json | Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete. |