@deepraxis/sdk 0.1.1-dev.7d20ab6 → 0.1.1-dev.7fcfb44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9504,7 +9504,7 @@ export declare const operations: readonly [{
9504
9504
  readonly resource: "knowledge.vectorStores";
9505
9505
  readonly method: "create";
9506
9506
  readonly summary: "Create knowledge base";
9507
- readonly description: "Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. Each file accepts up to 52428800 bytes and 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.";
9507
+ readonly description: "Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.";
9508
9508
  readonly http: "POST";
9509
9509
  readonly path: "/knowledge/v1/vector_stores";
9510
9510
  readonly streaming: "no";
@@ -9538,7 +9538,7 @@ export declare const operations: readonly [{
9538
9538
  readonly name: "chunking_strategy";
9539
9539
  readonly type: "object";
9540
9540
  readonly required: false;
9541
- readonly description: "auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up.";
9541
+ readonly description: "Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy.";
9542
9542
  }, {
9543
9543
  readonly name: "description";
9544
9544
  readonly type: "string";
@@ -9808,7 +9808,7 @@ export declare const operations: readonly [{
9808
9808
  readonly resource: "knowledge.vectorStores.files";
9809
9809
  readonly method: "create";
9810
9810
  readonly summary: "Add file";
9811
- readonly description: "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. Each file accepts up to 52428800 bytes and 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.";
9811
+ readonly description: "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.";
9812
9812
  readonly http: "POST";
9813
9813
  readonly path: "/knowledge/v1/vector_stores/{vector_store_id}/files";
9814
9814
  readonly streaming: "no";
@@ -9835,7 +9835,7 @@ export declare const operations: readonly [{
9835
9835
  readonly name: "chunking_strategy";
9836
9836
  readonly type: "object";
9837
9837
  readonly required: false;
9838
- readonly description: "auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up.";
9838
+ readonly description: "Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy.";
9839
9839
  }];
9840
9840
  };
9841
9841
  }, {
@@ -10089,7 +10089,7 @@ export declare const operations: readonly [{
10089
10089
  readonly resource: "media.libraries";
10090
10090
  readonly method: "list";
10091
10091
  readonly summary: "List libraries";
10092
- readonly description: "List libraries owned by the caller, newest first. By default, deleting and deleted libraries are excluded; use status=deleting to find libraries awaiting purge. All supplied label pairs must match.";
10092
+ readonly description: "Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.";
10093
10093
  readonly http: "GET";
10094
10094
  readonly path: "/media/v1/libraries";
10095
10095
  readonly streaming: "no";
@@ -10156,7 +10156,7 @@ export declare const operations: readonly [{
10156
10156
  readonly resource: "media.libraries";
10157
10157
  readonly method: "delete";
10158
10158
  readonly summary: "Delete library";
10159
- readonly description: "Soft-delete an active library, returning its deleting status and purge_at deadline. Asset operations and delivery become unavailable; the library can be restored before purge_at. Repeated deletion while deleting returns the current library.";
10159
+ readonly description: "Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.";
10160
10160
  readonly http: "DELETE";
10161
10161
  readonly path: "/media/v1/libraries/{library_id}";
10162
10162
  readonly streaming: "no";
@@ -10171,7 +10171,7 @@ export declare const operations: readonly [{
10171
10171
  readonly resource: "media.libraries";
10172
10172
  readonly method: "retrieve";
10173
10173
  readonly summary: "Get library";
10174
- readonly description: "Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.";
10174
+ readonly description: "Update an active library’s supplied settings. Labels replace the complete map; understanding settings and model roles merge with current values. Changing the embedding model is rejected while assets exist.";
10175
10175
  readonly http: "GET";
10176
10176
  readonly path: "/media/v1/libraries/{library_id}";
10177
10177
  readonly streaming: "no";
@@ -10231,7 +10231,7 @@ export declare const operations: readonly [{
10231
10231
  readonly resource: "media.libraries.assets";
10232
10232
  readonly method: "list";
10233
10233
  readonly summary: "List assets";
10234
- readonly description: "List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.";
10234
+ readonly description: "Upload content into an active library and return a Cloudinary-compatible resource. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing resource. Chunk uploads require both chunk headers.";
10235
10235
  readonly http: "GET";
10236
10236
  readonly path: "/media/v1/libraries/{library_id}/assets";
10237
10237
  readonly streaming: "no";
@@ -10267,7 +10267,7 @@ export declare const operations: readonly [{
10267
10267
  readonly resource: "media.libraries.assets";
10268
10268
  readonly method: "create";
10269
10269
  readonly summary: "Upload asset";
10270
- readonly description: "Upload content into an active library and return a Cloudinary-compatible resource. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing resource. Chunk uploads require both chunk headers.";
10270
+ readonly description: " For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.";
10271
10271
  readonly http: "POST";
10272
10272
  readonly path: "/media/v1/libraries/{library_id}/assets";
10273
10273
  readonly streaming: "no";
@@ -10305,7 +10305,7 @@ export declare const operations: readonly [{
10305
10305
  readonly name: "asset_folder";
10306
10306
  readonly type: "string";
10307
10307
  readonly required: false;
10308
- readonly description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected.";
10308
+ readonly description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.";
10309
10309
  }, {
10310
10310
  readonly name: "use_filename";
10311
10311
  readonly type: "boolean";
@@ -10364,7 +10364,7 @@ export declare const operations: readonly [{
10364
10364
  readonly resource: "media.libraries.assets.import";
10365
10365
  readonly method: "create";
10366
10366
  readonly summary: "Import file";
10367
- readonly description: "Copy a File into an independent Media asset. Defaults to public delivery (type=upload); use type=authenticated for private originals and derivatives. Deleting the source File does not delete this copy.";
10367
+ readonly description: "Copy a File into an independent Media asset. New assets default to organization-private delivery (type=authenticated); explicitly set type=upload for public originals and derivatives. Omitting type on overwrite preserves the current type. Deleting the source File does not delete this copy. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.";
10368
10368
  readonly http: "POST";
10369
10369
  readonly path: "/media/v1/libraries/{library_id}/assets/import";
10370
10370
  readonly streaming: "no";
@@ -10381,7 +10381,7 @@ export declare const operations: readonly [{
10381
10381
  readonly name: "file_id";
10382
10382
  readonly type: "string";
10383
10383
  readonly required: true;
10384
- readonly description: "File ID to copy into this library instead of file bytes. This independent copy defaults to public delivery; set type=authenticated for private delivery. Deleting the source File does not delete this asset.";
10384
+ readonly description: "File ID to copy into this library instead of file bytes. This independent copy defaults to organization-private delivery (type=authenticated); explicitly set type=upload for public delivery. Deleting the source File does not delete this asset.";
10385
10385
  }, {
10386
10386
  readonly name: "public_id";
10387
10387
  readonly type: "string";
@@ -10401,7 +10401,7 @@ export declare const operations: readonly [{
10401
10401
  readonly name: "asset_folder";
10402
10402
  readonly type: "string";
10403
10403
  readonly required: false;
10404
- readonly description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected.";
10404
+ readonly description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.";
10405
10405
  }, {
10406
10406
  readonly name: "use_filename";
10407
10407
  readonly type: "boolean";
@@ -10460,7 +10460,7 @@ export declare const operations: readonly [{
10460
10460
  readonly resource: "media.libraries.assets";
10461
10461
  readonly method: "delete";
10462
10462
  readonly summary: "Delete asset";
10463
- readonly description: "Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.";
10463
+ readonly description: "Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable completed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Replaced understandings become superseded, and processing finishes asynchronously.";
10464
10464
  readonly http: "DELETE";
10465
10465
  readonly path: "/media/v1/libraries/{library_id}/assets/{asset_id}";
10466
10466
  readonly streaming: "no";
@@ -10479,7 +10479,7 @@ export declare const operations: readonly [{
10479
10479
  readonly resource: "media.libraries.assets";
10480
10480
  readonly method: "retrieve";
10481
10481
  readonly summary: "Get asset";
10482
- readonly description: "Read a non-deleted asset by its asset_id in an active library, including content hashes, processing progress and available previews. Missing or deleted assets return ASSET_NOT_FOUND.";
10482
+ readonly description: "Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.";
10483
10483
  readonly http: "GET";
10484
10484
  readonly path: "/media/v1/libraries/{library_id}/assets/{asset_id}";
10485
10485
  readonly streaming: "no";
@@ -10498,7 +10498,7 @@ export declare const operations: readonly [{
10498
10498
  readonly resource: "media.libraries.assets";
10499
10499
  readonly method: "update";
10500
10500
  readonly summary: "Update asset";
10501
- readonly description: "Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.";
10501
+ readonly description: "Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.";
10502
10502
  readonly http: "PATCH";
10503
10503
  readonly path: "/media/v1/libraries/{library_id}/assets/{asset_id}";
10504
10504
  readonly streaming: "no";
@@ -10524,7 +10524,7 @@ export declare const operations: readonly [{
10524
10524
  readonly name: "asset_folder";
10525
10525
  readonly type: "string";
10526
10526
  readonly required: false;
10527
- readonly description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected.";
10527
+ readonly description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.";
10528
10528
  }, {
10529
10529
  readonly name: "tags";
10530
10530
  readonly type: "array";
@@ -10538,11 +10538,46 @@ export declare const operations: readonly [{
10538
10538
  readonly description: "Replacement custom string-metadata map. Nonempty keys are required and serialized JSON must fit within 1024 UTF-8 bytes; an empty object clears the metadata.";
10539
10539
  }];
10540
10540
  };
10541
+ }, {
10542
+ readonly resource: "media.libraries.assets.frames";
10543
+ readonly method: "create";
10544
+ readonly summary: "Create frame URLs";
10545
+ readonly description: "Media creates JPEG frame URLs for inspecting one or more moments in a video without downloading the original. Obtain library_id from libraries and asset_id plus duration from assets. Send 1–20 integer microsecond timestamps strictly below duration, for example {\"at_micros\":[0,1000000],\"width\":640}. Only video assets are supported; audio and images return INVALID_PARAMS. Width defaults to 640 and accepts 160, 320 or 640. This read operation does not store a new asset or rerun understanding. Fetch each returned URL to obtain the frame; delivery usage follows media pricing. Authenticated links expire after 300 seconds; upload links remain public and permanent. Reissue expired links. Foreign libraries and assets return 404 without revealing their existence.";
10546
+ readonly http: "POST";
10547
+ readonly path: "/media/v1/libraries/{library_id}/assets/{asset_id}/frames";
10548
+ readonly streaming: "no";
10549
+ readonly pagination: false;
10550
+ readonly pathParams: readonly [{
10551
+ readonly name: "library_id";
10552
+ readonly sdkName: "library_id";
10553
+ readonly description: "Library identifier returned by library creation or listing; must be accessible to the current credential.";
10554
+ }, {
10555
+ readonly name: "asset_id";
10556
+ readonly sdkName: "asset_id";
10557
+ readonly description: "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps.";
10558
+ }];
10559
+ readonly query: readonly [];
10560
+ readonly body: {
10561
+ readonly required: true;
10562
+ readonly fields: readonly [{
10563
+ readonly name: "at_micros";
10564
+ readonly type: "array";
10565
+ readonly itemType: "integer";
10566
+ readonly required: true;
10567
+ readonly description: "One to twenty timestamps in microseconds from the start of the video. Each must be a nonnegative safe integer strictly below the video duration; order and duplicates are preserved.";
10568
+ }, {
10569
+ readonly name: "width";
10570
+ readonly type: "integer";
10571
+ readonly enum: readonly [160, 320, 640];
10572
+ readonly required: false;
10573
+ readonly description: "Maximum JPEG width in pixels: 160 is a small thumbnail, 320 a preview and 640 a larger preview. Defaults to 640; larger widths are unavailable.";
10574
+ }];
10575
+ };
10541
10576
  }, {
10542
10577
  readonly resource: "media.libraries.assets.reprocess";
10543
10578
  readonly method: "create";
10544
10579
  readonly summary: "Reprocess asset";
10545
- readonly description: "Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks; explicit kinds rerun applicable completed tasks. Replaced understandings become superseded, and processing finishes asynchronously.";
10580
+ readonly description: " For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.";
10546
10581
  readonly http: "POST";
10547
10582
  readonly path: "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess";
10548
10583
  readonly streaming: "no";
@@ -10565,7 +10600,7 @@ export declare const operations: readonly [{
10565
10600
  readonly itemType: "string";
10566
10601
  readonly enum: readonly ["visual", "frames", "transcript", "embedding"];
10567
10602
  readonly required: false;
10568
- readonly description: "Processing tasks to rerun. Omit to retry failed tasks only; explicit kinds rerun applicable ready, failed or unsupported tasks. Pending and running tasks are unchanged; an empty array does nothing.";
10603
+ readonly description: "Processing tasks to rerun. Omit to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable ready or failed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Pending and running tasks are unchanged; an empty array does nothing.";
10569
10604
  }];
10570
10605
  };
10571
10606
  }, {
@@ -10594,9 +10629,9 @@ export declare const operations: readonly [{
10594
10629
  }, {
10595
10630
  readonly name: "kind";
10596
10631
  readonly type: "string";
10597
- readonly enum: readonly ["caption", "tags", "ocr", "transcript", "frame", "overview", "embedding"];
10632
+ readonly enum: readonly ["caption", "tags", "ocr", "transcript", "frame", "overview", "audio", "embedding"];
10598
10633
  readonly required: false;
10599
- readonly description: "Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, and embedding reports a failed embedding step.";
10634
+ readonly description: "Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, audio is sampled audio understanding, and embedding reports a failed embedding step.";
10600
10635
  }, {
10601
10636
  readonly name: "cursor";
10602
10637
  readonly type: "string";
@@ -10612,7 +10647,7 @@ export declare const operations: readonly [{
10612
10647
  readonly resource: "media.libraries.assets";
10613
10648
  readonly method: "batch";
10614
10649
  readonly summary: "Batch assets alias";
10615
- readonly description: "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps rerun. Omit kinds to inspect all failed steps, or supply kinds to narrow them. Unsupported, permanent and completed steps remain unchanged and do not block other retryable steps on the same asset. Assets without any selected retryable failed step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}.";
10650
+ readonly description: "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.";
10616
10651
  readonly http: "POST";
10617
10652
  readonly path: "/media/v1/libraries/{library_id}/assets:batch";
10618
10653
  readonly streaming: "no";
@@ -10641,7 +10676,7 @@ export declare const operations: readonly [{
10641
10676
  readonly resource: "media.libraries.batches";
10642
10677
  readonly method: "create";
10643
10678
  readonly summary: "Create batch";
10644
- readonly description: "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps rerun. Omit kinds to inspect all failed steps, or supply kinds to narrow them. Unsupported, permanent and completed steps remain unchanged and do not block other retryable steps on the same asset. Assets without any selected retryable failed step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}.";
10679
+ readonly description: "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}. For understanding, Media generates proxies for video sources of 25 MB or more and audio-only sources of 100 MB or more; originals remain available unchanged. The duration limit is 10 minutes. A video proxy still above 95 MB after recompression, or a source exceeding the duration limit, is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.";
10645
10680
  readonly http: "POST";
10646
10681
  readonly path: "/media/v1/libraries/{library_id}/batches";
10647
10682
  readonly streaming: "no";
@@ -10670,7 +10705,7 @@ export declare const operations: readonly [{
10670
10705
  readonly resource: "media.libraries.batches";
10671
10706
  readonly method: "retrieve";
10672
10707
  readonly summary: "Get batch";
10673
- readonly description: "Read a batch job’s status, successful and failed item counts, and a bounded list of failed items. Use the id returned by batch creation; a job outside this library is not found.";
10708
+ readonly description: "Alias of batch creation. Apply one metadata or deletion action to ids or a frozen expression selection asynchronously; poll the returned job id to inspect completion and item failures.";
10674
10709
  readonly http: "GET";
10675
10710
  readonly path: "/media/v1/libraries/{library_id}/batches/{job_id}";
10676
10711
  readonly streaming: "no";
@@ -10718,7 +10753,7 @@ export declare const operations: readonly [{
10718
10753
  readonly resource: "media.libraries.events";
10719
10754
  readonly method: "list";
10720
10755
  readonly summary: "List events";
10721
- readonly description: "Read library events in sequence order, including while the library is deleting. Page forward with asc and after_seq, or backward with desc and before_seq; never combine the two sequence cursors.";
10756
+ readonly description: "Read library events in sequence order for observing asset writes and understanding progress. Obtain library_id from creation or listing; continue with after_seq for asc or before_seq for desc, without combining both. Use next_cursor when supplied. Reads do not start or retry understanding.";
10722
10757
  readonly http: "GET";
10723
10758
  readonly path: "/media/v1/libraries/{library_id}/events";
10724
10759
  readonly streaming: "no";
@@ -10774,7 +10809,7 @@ export declare const operations: readonly [{
10774
10809
  readonly resource: "media.libraries.jobs";
10775
10810
  readonly method: "retrieve";
10776
10811
  readonly summary: "Get job alias";
10777
- readonly description: "Alias of batch retrieval. Read the job returned by a batch request, including terminal status, successful and failed counts, and individual failure codes.";
10812
+ readonly description: "Read library events in sequence order, including while the library is deleting. Page forward with asc and after_seq, or backward with desc and before_seq; never combine the two sequence cursors.";
10778
10813
  readonly http: "GET";
10779
10814
  readonly path: "/media/v1/libraries/{library_id}/jobs/{job_id}";
10780
10815
  readonly streaming: "no";
@@ -10793,7 +10828,7 @@ export declare const operations: readonly [{
10793
10828
  readonly resource: "media.libraries.purge";
10794
10829
  readonly method: "create";
10795
10830
  readonly summary: "Purge library";
10796
- readonly description: "Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.";
10831
+ readonly description: "List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.";
10797
10832
  readonly http: "POST";
10798
10833
  readonly path: "/media/v1/libraries/{library_id}/purge";
10799
10834
  readonly streaming: "no";
@@ -10808,7 +10843,7 @@ export declare const operations: readonly [{
10808
10843
  readonly resource: "media.libraries";
10809
10844
  readonly method: "restore";
10810
10845
  readonly summary: "Restore library";
10811
- readonly description: "Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.";
10846
+ readonly description: "Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.";
10812
10847
  readonly http: "POST";
10813
10848
  readonly path: "/media/v1/libraries/{library_id}/restore";
10814
10849
  readonly streaming: "no";
@@ -10823,7 +10858,7 @@ export declare const operations: readonly [{
10823
10858
  readonly resource: "media.libraries.search";
10824
10859
  readonly method: "create";
10825
10860
  readonly summary: "Semantic search alias";
10826
- readonly description: "Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.";
10861
+ readonly description: "List all immediate child folders under parent, or under the root when parent is omitted. Counts include descendant assets. The result is unpaginated; limit and cursor are rejected.";
10827
10862
  readonly http: "POST";
10828
10863
  readonly path: "/media/v1/libraries/{library_id}/search";
10829
10864
  readonly streaming: "no";
@@ -10863,7 +10898,7 @@ export declare const operations: readonly [{
10863
10898
  readonly resource: "media.libraries.search.expression";
10864
10899
  readonly method: "create";
10865
10900
  readonly summary: "Expression search";
10866
- readonly description: "Search active assets using the supported filter-expression syntax, sorting and cursor pagination. Empty expression matches all assets. Tags and context require with_field; inspect the exactness flags before treating counts as complete.";
10901
+ readonly description: "Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.";
10867
10902
  readonly http: "POST";
10868
10903
  readonly path: "/media/v1/libraries/{library_id}/search/expression";
10869
10904
  readonly streaming: "no";
@@ -10880,7 +10915,7 @@ export declare const operations: readonly [{
10880
10915
  readonly name: "expression";
10881
10916
  readonly type: "string";
10882
10917
  readonly required: false;
10883
- readonly description: "Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: [\"context\"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial.";
10918
+ readonly description: "Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: [\"context\"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. has_music:true AND audio_genre:jazz AND audio_mood:calm selects current-version audio profiles with music and matching model labels; has_music:false applies only to sampled ranges, not the entire source. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial.";
10884
10919
  }, {
10885
10920
  readonly name: "sort_by";
10886
10921
  readonly type: "array";
@@ -10917,7 +10952,7 @@ export declare const operations: readonly [{
10917
10952
  readonly resource: "media.libraries.search.semantic";
10918
10953
  readonly method: "create";
10919
10954
  readonly summary: "Semantic search";
10920
- readonly description: "Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.";
10955
+ readonly description: "Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.";
10921
10956
  readonly http: "POST";
10922
10957
  readonly path: "/media/v1/libraries/{library_id}/search/semantic";
10923
10958
  readonly streaming: "no";
@@ -10957,7 +10992,7 @@ export declare const operations: readonly [{
10957
10992
  readonly resource: "media.libraries.search.visual";
10958
10993
  readonly method: "create";
10959
10994
  readonly summary: "Visual search";
10960
- readonly description: "Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.";
10995
+ readonly description: "Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.";
10961
10996
  readonly http: "POST";
10962
10997
  readonly path: "/media/v1/libraries/{library_id}/search/visual";
10963
10998
  readonly streaming: "no";
@@ -11015,7 +11050,7 @@ export declare const operations: readonly [{
11015
11050
  readonly name: "kinds";
11016
11051
  readonly type: "string";
11017
11052
  readonly required: false;
11018
- readonly description: "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, embedding. Omit or empty to include every kind.";
11053
+ readonly description: "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind.";
11019
11054
  }, {
11020
11055
  readonly name: "cursor";
11021
11056
  readonly type: "string";
@@ -11255,35 +11290,35 @@ export declare const operations: readonly [{
11255
11290
  readonly name: "model";
11256
11291
  readonly type: "string";
11257
11292
  readonly required: true;
11258
- readonly description: "Transcription model id, for example `whisper-large-v3-turbo` or `qwen3-asr-flash`; list candidates with listModels?type=transcription. Router support (supported): Verified to take effect.";
11293
+ readonly description: "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix.";
11259
11294
  }, {
11260
11295
  readonly name: "file";
11261
11296
  readonly type: "string";
11262
11297
  readonly required: true;
11263
- readonly description: "Audio file to transcribe, uploaded as multipart/form-data. Router support (supported): Verified to take effect.";
11298
+ readonly description: "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model.";
11264
11299
  }, {
11265
11300
  readonly name: "language";
11266
11301
  readonly type: "string";
11267
11302
  readonly required: false;
11268
- readonly description: "Language of the audio as an ISO-639-1 code such as `en` or `zh`. Router support (partial): Both models accept ISO language codes. qwen3-asr-flash may translate output to that language; whisper-large-v3-turbo treats it as an input hint. Non-ISO names may return 502.";
11303
+ readonly description: "Source language code when known; omit to let the model detect the language.";
11269
11304
  }, {
11270
11305
  readonly name: "prompt";
11271
11306
  readonly type: "string";
11272
11307
  readonly required: false;
11273
- readonly description: "Text that primes the model with vocabulary or context. Router support (partial): Vocabulary hints work on whisper-large-v3-turbo only; qwen3-asr-flash returns 400.";
11308
+ readonly description: "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model.";
11274
11309
  }, {
11275
11310
  readonly name: "response_format";
11276
11311
  readonly type: "string";
11277
- readonly enum: readonly ["json", "text", "verbose_json"];
11312
+ readonly enum: readonly ["json", "text", "verbose_json", "diarized_json"];
11278
11313
  readonly required: false;
11279
- readonly description: "Format of the response body. `json` and `text` are the commonly supported formats. Router support (partial): json/text work on both; verbose_json works only on whisper-large-v3-turbo. srt/vtt return 400.";
11314
+ readonly description: "Output format: json returns text in JSON; text returns plain text; verbose_json includes requested timestamps; diarized_json includes speaker-labelled segments when supported. Defaults to json.";
11280
11315
  }, {
11281
11316
  readonly name: "timestamp_granularities[]";
11282
11317
  readonly type: "array";
11283
11318
  readonly itemType: "string";
11284
- readonly enum: readonly ["segment"];
11319
+ readonly enum: readonly ["word", "segment"];
11285
11320
  readonly required: false;
11286
- readonly description: "Timestamp levels to include with `verbose_json`; only `segment` exists in this schema. Router support (partial): Only whisper-large-v3-turbo supports segment with verbose_json. word returns 400; qwen3-asr-flash does not support timestamps.";
11321
+ readonly description: "Timestamp levels to request as repeated multipart fields: word returns per-word times; segment returns segment times. Omit for the model default. Use verbose_json, or diarized_json on supporting models.";
11287
11322
  }, {
11288
11323
  readonly name: "temperature";
11289
11324
  readonly type: "number";
@@ -15195,7 +15230,7 @@ export declare const operations: readonly [{
15195
15230
  readonly name: "filter";
15196
15231
  readonly type: "string";
15197
15232
  readonly required: false;
15198
- readonly description: "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service.";
15233
+ readonly description: "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; write each qualifier as field:value (for example, is:open milestone:5), never field=value. Unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service.";
15199
15234
  }];
15200
15235
  }, {
15201
15236
  readonly resource: "ticket.tickets";