@deepraxis/cli 0.2.1-dev.bb2d647 → 0.2.1-dev.da4893e
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.
- package/COMMANDS.md +6 -3
- package/dist/praxis.js +206 -44
- package/package.json +1 -1
package/COMMANDS.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated by `bun run commands`. DO NOT EDIT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
525 HTTP operations; 527 commands including aliases.
|
|
6
6
|
|
|
7
7
|
Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
|
|
8
8
|
|
|
@@ -356,16 +356,17 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
356
356
|
| `praxis api knowledge vector-store search <vector_store_id>` | `knowledge.vectorStores.search.create` | POST `/knowledge/v1/vector_stores/{vector_store_id}/search` | `--max-num-results`, `--rewrite-query`, `--next-page` |
|
|
357
357
|
| `praxis api knowledge vector-store segment get <chunk_id>` | `knowledge.vectorStores.segments.retrieve` | GET `/knowledge/v1/vector_stores/{vector_store_id}/segments/{chunk_id}` | `--vector-store` |
|
|
358
358
|
| `praxis api knowledge vector-store update <vector_store_id>` | `knowledge.vectorStores.update` | POST `/knowledge/v1/vector_stores/{vector_store_id}` | `--name` |
|
|
359
|
-
| `praxis api media library asset batch <library_id>` | `media.libraries.assets.batch` | POST `/media/v1/libraries/{library_id}/assets:batch` |
|
|
359
|
+
| `praxis api media library asset batch <library_id>` | `media.libraries.assets.batch` | POST `/media/v1/libraries/{library_id}/assets:batch` | `--reason` |
|
|
360
360
|
| `praxis api media library asset create` | `media.libraries.assets.create` | POST `/media/v1/libraries/{library_id}/assets` | `--library`, `--file`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type`, `--type` |
|
|
361
361
|
| `praxis api media library asset delete <asset_id>` | `media.libraries.assets.delete` | DELETE `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library` |
|
|
362
|
+
| `praxis api media library asset frame create` | `media.libraries.assets.frames.create` | POST `/media/v1/libraries/{library_id}/assets/{asset_id}/frames` | `--library`, `--asset`, `--at-micros`, `--width` |
|
|
362
363
|
| `praxis api media library asset get <asset_id>` | `media.libraries.assets.retrieve` | GET `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library` |
|
|
363
364
|
| `praxis api media library asset import` | `media.libraries.assets.import.create` | POST `/media/v1/libraries/{library_id}/assets/import` | `--library`, `--file-id`, `--public-id`, `--public-id-prefix`, `--display-name`, `--asset-folder`, `--use-filename`, `--unique-filename`, `--use-filename-as-display-name`, `--filename-override`, `--overwrite`, `--auto-tagging`, `--resource-type`, `--type` |
|
|
364
365
|
| `praxis api media library asset list` | `media.libraries.assets.list` | GET `/media/v1/libraries/{library_id}/assets` | `--library`, `--asset-folder`, `--resource-type`, `--param-cursor`, `--param-limit` |
|
|
365
366
|
| `praxis api media library asset reprocess <asset_id>` | `media.libraries.assets.reprocess.create` | POST `/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess` | `--library`, `--kinds` |
|
|
366
367
|
| `praxis api media library asset understanding list` | `media.libraries.assets.understandings.list` | GET `/media/v1/libraries/{library_id}/assets/{asset_id}/understandings` | `--library`, `--asset`, `--include-superseded`, `--kind`, `--param-cursor`, `--param-limit` |
|
|
367
368
|
| `praxis api media library asset update <asset_id>` | `media.libraries.assets.update` | PATCH `/media/v1/libraries/{library_id}/assets/{asset_id}` | `--library`, `--display-name`, `--asset-folder`, `--tags` |
|
|
368
|
-
| `praxis api media library batch create` | `media.libraries.batches.create` | POST `/media/v1/libraries/{library_id}/batches` | `--library` |
|
|
369
|
+
| `praxis api media library batch create` | `media.libraries.batches.create` | POST `/media/v1/libraries/{library_id}/batches` | `--library`, `--reason` |
|
|
369
370
|
| `praxis api media library batch get <job_id>` | `media.libraries.batches.retrieve` | GET `/media/v1/libraries/{library_id}/batches/{job_id}` | `--library` |
|
|
370
371
|
| `praxis api media library create` | `media.libraries.create` | POST `/media/v1/libraries` | `--name` |
|
|
371
372
|
| `praxis api media library delete <library_id>` | `media.libraries.delete` | DELETE `/media/v1/libraries/{library_id}` | |
|
|
@@ -381,6 +382,8 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
|
|
|
381
382
|
| `praxis api media library search-expression` | `media.libraries.search.expression.create` | POST `/media/v1/libraries/{library_id}/search/expression` | `--library`, `--expression`, `--max-results`, `--next-cursor`, `--with-field`, `--aggregate` |
|
|
382
383
|
| `praxis api media library search-semantic` | `media.libraries.search.semantic.create` | POST `/media/v1/libraries/{library_id}/search/semantic` | `--library`, `--query`, `--filter`, `--top-k`, `--mode` |
|
|
383
384
|
| `praxis api media library search-visual` | `media.libraries.search.visual.create` | POST `/media/v1/libraries/{library_id}/search/visual` | `--library`, `--asset-id`, `--top-k`, `--filter` |
|
|
385
|
+
| `praxis api media library understanding get-failure-summary` | `media.libraries.understandings.retrieveFailureSummary` | GET `/media/v1/libraries/{library_id}/understandings/failure_summary` | `--library` |
|
|
386
|
+
| `praxis api media library understanding list` | `media.libraries.understandings.list` | GET `/media/v1/libraries/{library_id}/understandings` | `--library`, `--folder`, `--kinds`, `--param-cursor`, `--param-limit` |
|
|
384
387
|
| `praxis api media library update <library_id>` | `media.libraries.update` | PATCH `/media/v1/libraries/{library_id}` | `--hotwords`, `--name` |
|
|
385
388
|
| `praxis api meta doc get <path>` | `meta.docs.retrieve` | GET `/meta/v1/docs/{path}` | `--lang` |
|
|
386
389
|
| `praxis api meta doc search` | `meta.docs.search` | GET `/meta/v1/docs/search` | `--q`, `--param-limit`, `--lang` |
|
package/dist/praxis.js
CHANGED
|
@@ -11888,7 +11888,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
11888
11888
|
resource: "knowledge.vectorStores",
|
|
11889
11889
|
method: "create",
|
|
11890
11890
|
summary: "Create knowledge base",
|
|
11891
|
-
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.
|
|
11891
|
+
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"}.',
|
|
11892
11892
|
http: "POST",
|
|
11893
11893
|
path: "/knowledge/v1/vector_stores",
|
|
11894
11894
|
streaming: "no",
|
|
@@ -11927,7 +11927,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
11927
11927
|
name: "chunking_strategy",
|
|
11928
11928
|
type: "object",
|
|
11929
11929
|
required: false,
|
|
11930
|
-
description: "auto
|
|
11930
|
+
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."
|
|
11931
11931
|
},
|
|
11932
11932
|
{
|
|
11933
11933
|
name: "description",
|
|
@@ -12274,7 +12274,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12274
12274
|
resource: "knowledge.vectorStores.files",
|
|
12275
12275
|
method: "create",
|
|
12276
12276
|
summary: "Add file",
|
|
12277
|
-
description: "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching.
|
|
12277
|
+
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.",
|
|
12278
12278
|
http: "POST",
|
|
12279
12279
|
path: "/knowledge/v1/vector_stores/{vector_store_id}/files",
|
|
12280
12280
|
streaming: "no",
|
|
@@ -12306,7 +12306,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12306
12306
|
name: "chunking_strategy",
|
|
12307
12307
|
type: "object",
|
|
12308
12308
|
required: false,
|
|
12309
|
-
description: "auto
|
|
12309
|
+
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."
|
|
12310
12310
|
}
|
|
12311
12311
|
]
|
|
12312
12312
|
}
|
|
@@ -12617,7 +12617,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12617
12617
|
resource: "media.libraries",
|
|
12618
12618
|
method: "list",
|
|
12619
12619
|
summary: "List libraries",
|
|
12620
|
-
description: "
|
|
12620
|
+
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.",
|
|
12621
12621
|
http: "GET",
|
|
12622
12622
|
path: "/media/v1/libraries",
|
|
12623
12623
|
streaming: "no",
|
|
@@ -12699,7 +12699,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12699
12699
|
resource: "media.libraries",
|
|
12700
12700
|
method: "delete",
|
|
12701
12701
|
summary: "Delete library",
|
|
12702
|
-
description: "
|
|
12702
|
+
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.",
|
|
12703
12703
|
http: "DELETE",
|
|
12704
12704
|
path: "/media/v1/libraries/{library_id}",
|
|
12705
12705
|
streaming: "no",
|
|
@@ -12717,7 +12717,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12717
12717
|
resource: "media.libraries",
|
|
12718
12718
|
method: "retrieve",
|
|
12719
12719
|
summary: "Get library",
|
|
12720
|
-
description: "
|
|
12720
|
+
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.",
|
|
12721
12721
|
http: "GET",
|
|
12722
12722
|
path: "/media/v1/libraries/{library_id}",
|
|
12723
12723
|
streaming: "no",
|
|
@@ -12735,7 +12735,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12735
12735
|
resource: "media.libraries",
|
|
12736
12736
|
method: "update",
|
|
12737
12737
|
summary: "Update library",
|
|
12738
|
-
description: "Update an active library
|
|
12738
|
+
description: "Update an active library. Set hotwords for spelling evidence in subsequent transcripts; [] disables inferred vocabulary. Transcript understanding calls the timestamped ASR, optional reference ASR and correction model through the existing metered model path. Reprocess assets to apply new settings to existing transcripts.",
|
|
12739
12739
|
http: "PATCH",
|
|
12740
12740
|
path: "/media/v1/libraries/{library_id}",
|
|
12741
12741
|
streaming: "no",
|
|
@@ -12789,7 +12789,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12789
12789
|
resource: "media.libraries.assets",
|
|
12790
12790
|
method: "list",
|
|
12791
12791
|
summary: "List assets",
|
|
12792
|
-
description: "
|
|
12792
|
+
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.",
|
|
12793
12793
|
http: "GET",
|
|
12794
12794
|
path: "/media/v1/libraries/{library_id}/assets",
|
|
12795
12795
|
streaming: "no",
|
|
@@ -12837,7 +12837,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12837
12837
|
resource: "media.libraries.assets",
|
|
12838
12838
|
method: "create",
|
|
12839
12839
|
summary: "Upload asset",
|
|
12840
|
-
description: "
|
|
12840
|
+
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.",
|
|
12841
12841
|
http: "POST",
|
|
12842
12842
|
path: "/media/v1/libraries/{library_id}/assets",
|
|
12843
12843
|
streaming: "no",
|
|
@@ -12882,7 +12882,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12882
12882
|
name: "asset_folder",
|
|
12883
12883
|
type: "string",
|
|
12884
12884
|
required: false,
|
|
12885
|
-
description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
|
|
12885
|
+
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."
|
|
12886
12886
|
},
|
|
12887
12887
|
{
|
|
12888
12888
|
name: "use_filename",
|
|
@@ -12961,7 +12961,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12961
12961
|
resource: "media.libraries.assets.import",
|
|
12962
12962
|
method: "create",
|
|
12963
12963
|
summary: "Import file",
|
|
12964
|
-
description: "Copy
|
|
12964
|
+
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.",
|
|
12965
12965
|
http: "POST",
|
|
12966
12966
|
path: "/media/v1/libraries/{library_id}/assets/import",
|
|
12967
12967
|
streaming: "no",
|
|
@@ -12981,7 +12981,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
12981
12981
|
name: "file_id",
|
|
12982
12982
|
type: "string",
|
|
12983
12983
|
required: true,
|
|
12984
|
-
description: "File ID to copy into this library instead of file bytes. This independent copy defaults to
|
|
12984
|
+
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."
|
|
12985
12985
|
},
|
|
12986
12986
|
{
|
|
12987
12987
|
name: "public_id",
|
|
@@ -13005,7 +13005,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13005
13005
|
name: "asset_folder",
|
|
13006
13006
|
type: "string",
|
|
13007
13007
|
required: false,
|
|
13008
|
-
description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
|
|
13008
|
+
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."
|
|
13009
13009
|
},
|
|
13010
13010
|
{
|
|
13011
13011
|
name: "use_filename",
|
|
@@ -13084,7 +13084,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13084
13084
|
resource: "media.libraries.assets",
|
|
13085
13085
|
method: "delete",
|
|
13086
13086
|
summary: "Delete asset",
|
|
13087
|
-
description: "
|
|
13087
|
+
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.",
|
|
13088
13088
|
http: "DELETE",
|
|
13089
13089
|
path: "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
13090
13090
|
streaming: "no",
|
|
@@ -13107,7 +13107,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13107
13107
|
resource: "media.libraries.assets",
|
|
13108
13108
|
method: "retrieve",
|
|
13109
13109
|
summary: "Get asset",
|
|
13110
|
-
description: "
|
|
13110
|
+
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.",
|
|
13111
13111
|
http: "GET",
|
|
13112
13112
|
path: "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
13113
13113
|
streaming: "no",
|
|
@@ -13130,7 +13130,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13130
13130
|
resource: "media.libraries.assets",
|
|
13131
13131
|
method: "update",
|
|
13132
13132
|
summary: "Update asset",
|
|
13133
|
-
description: "
|
|
13133
|
+
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.",
|
|
13134
13134
|
http: "PATCH",
|
|
13135
13135
|
path: "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
13136
13136
|
streaming: "no",
|
|
@@ -13161,7 +13161,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13161
13161
|
name: "asset_folder",
|
|
13162
13162
|
type: "string",
|
|
13163
13163
|
required: false,
|
|
13164
|
-
description: "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
|
|
13164
|
+
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."
|
|
13165
13165
|
},
|
|
13166
13166
|
{
|
|
13167
13167
|
name: "tags",
|
|
@@ -13179,11 +13179,57 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13179
13179
|
]
|
|
13180
13180
|
}
|
|
13181
13181
|
},
|
|
13182
|
+
{
|
|
13183
|
+
resource: "media.libraries.assets.frames",
|
|
13184
|
+
method: "create",
|
|
13185
|
+
summary: "Create frame URLs",
|
|
13186
|
+
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.',
|
|
13187
|
+
http: "POST",
|
|
13188
|
+
path: "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
|
|
13189
|
+
streaming: "no",
|
|
13190
|
+
pagination: false,
|
|
13191
|
+
pathParams: [
|
|
13192
|
+
{
|
|
13193
|
+
name: "library_id",
|
|
13194
|
+
sdkName: "library_id",
|
|
13195
|
+
description: "Library identifier returned by library creation or listing; must be accessible to the current credential."
|
|
13196
|
+
},
|
|
13197
|
+
{
|
|
13198
|
+
name: "asset_id",
|
|
13199
|
+
sdkName: "asset_id",
|
|
13200
|
+
description: "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps."
|
|
13201
|
+
}
|
|
13202
|
+
],
|
|
13203
|
+
query: [],
|
|
13204
|
+
body: {
|
|
13205
|
+
required: true,
|
|
13206
|
+
fields: [
|
|
13207
|
+
{
|
|
13208
|
+
name: "at_micros",
|
|
13209
|
+
type: "array",
|
|
13210
|
+
itemType: "integer",
|
|
13211
|
+
required: true,
|
|
13212
|
+
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."
|
|
13213
|
+
},
|
|
13214
|
+
{
|
|
13215
|
+
name: "width",
|
|
13216
|
+
type: "integer",
|
|
13217
|
+
enum: [
|
|
13218
|
+
160,
|
|
13219
|
+
320,
|
|
13220
|
+
640
|
|
13221
|
+
],
|
|
13222
|
+
required: false,
|
|
13223
|
+
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."
|
|
13224
|
+
}
|
|
13225
|
+
]
|
|
13226
|
+
}
|
|
13227
|
+
},
|
|
13182
13228
|
{
|
|
13183
13229
|
resource: "media.libraries.assets.reprocess",
|
|
13184
13230
|
method: "create",
|
|
13185
13231
|
summary: "Reprocess asset",
|
|
13186
|
-
description: "
|
|
13232
|
+
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.",
|
|
13187
13233
|
http: "POST",
|
|
13188
13234
|
path: "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess",
|
|
13189
13235
|
streaming: "no",
|
|
@@ -13215,7 +13261,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13215
13261
|
"embedding"
|
|
13216
13262
|
],
|
|
13217
13263
|
required: false,
|
|
13218
|
-
description: "Processing tasks to rerun. Omit to retry failed tasks
|
|
13264
|
+
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."
|
|
13219
13265
|
}
|
|
13220
13266
|
]
|
|
13221
13267
|
}
|
|
@@ -13224,7 +13270,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13224
13270
|
resource: "media.libraries.assets.understandings",
|
|
13225
13271
|
method: "list",
|
|
13226
13272
|
summary: "List understandings",
|
|
13227
|
-
description: "List an asset
|
|
13273
|
+
description: "List understanding results for an asset, ordered by creation time. Use the cursor to continue; include_superseded also returns replaced records. The optional shots array contains current-version shot boundaries and per-shot captions, scene, location guesses, visible text and confidence flags; it is absent on legacy records. Location guesses and folder mismatch are unverified hints. Correction-enabled transcripts expose text_original, corrected text and a correction audit. Their timed data array remains suitable for subtitles. Reference failure is marked missing; correction failure returns the original verbatim. Model inference uses the existing metered model path.",
|
|
13228
13274
|
http: "GET",
|
|
13229
13275
|
path: "/media/v1/libraries/{library_id}/assets/{asset_id}/understandings",
|
|
13230
13276
|
streaming: "no",
|
|
@@ -13256,10 +13302,13 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13256
13302
|
"tags",
|
|
13257
13303
|
"ocr",
|
|
13258
13304
|
"transcript",
|
|
13259
|
-
"frame"
|
|
13305
|
+
"frame",
|
|
13306
|
+
"overview",
|
|
13307
|
+
"audio",
|
|
13308
|
+
"embedding"
|
|
13260
13309
|
],
|
|
13261
13310
|
required: false,
|
|
13262
|
-
description: "
|
|
13311
|
+
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."
|
|
13263
13312
|
},
|
|
13264
13313
|
{
|
|
13265
13314
|
name: "cursor",
|
|
@@ -13279,7 +13328,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13279
13328
|
resource: "media.libraries.assets",
|
|
13280
13329
|
method: "batch",
|
|
13281
13330
|
summary: "Batch assets alias",
|
|
13282
|
-
description:
|
|
13331
|
+
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.',
|
|
13283
13332
|
http: "POST",
|
|
13284
13333
|
path: "/media/v1/libraries/{library_id}/assets:batch",
|
|
13285
13334
|
streaming: "no",
|
|
@@ -13300,6 +13349,12 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13300
13349
|
type: "object",
|
|
13301
13350
|
required: true,
|
|
13302
13351
|
description: "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
|
|
13352
|
+
},
|
|
13353
|
+
{
|
|
13354
|
+
name: "reason",
|
|
13355
|
+
type: "string",
|
|
13356
|
+
required: false,
|
|
13357
|
+
description: "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
|
|
13303
13358
|
}
|
|
13304
13359
|
]
|
|
13305
13360
|
}
|
|
@@ -13308,7 +13363,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13308
13363
|
resource: "media.libraries.batches",
|
|
13309
13364
|
method: "create",
|
|
13310
13365
|
summary: "Create batch",
|
|
13311
|
-
description:
|
|
13366
|
+
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.',
|
|
13312
13367
|
http: "POST",
|
|
13313
13368
|
path: "/media/v1/libraries/{library_id}/batches",
|
|
13314
13369
|
streaming: "no",
|
|
@@ -13329,6 +13384,12 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13329
13384
|
type: "object",
|
|
13330
13385
|
required: true,
|
|
13331
13386
|
description: "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
|
|
13387
|
+
},
|
|
13388
|
+
{
|
|
13389
|
+
name: "reason",
|
|
13390
|
+
type: "string",
|
|
13391
|
+
required: false,
|
|
13392
|
+
description: "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
|
|
13332
13393
|
}
|
|
13333
13394
|
]
|
|
13334
13395
|
}
|
|
@@ -13337,7 +13398,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13337
13398
|
resource: "media.libraries.batches",
|
|
13338
13399
|
method: "retrieve",
|
|
13339
13400
|
summary: "Get batch",
|
|
13340
|
-
description: "
|
|
13401
|
+
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.",
|
|
13341
13402
|
http: "GET",
|
|
13342
13403
|
path: "/media/v1/libraries/{library_id}/batches/{job_id}",
|
|
13343
13404
|
streaming: "no",
|
|
@@ -13395,7 +13456,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13395
13456
|
resource: "media.libraries.events",
|
|
13396
13457
|
method: "list",
|
|
13397
13458
|
summary: "List events",
|
|
13398
|
-
description: "Read library events in sequence order
|
|
13459
|
+
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.",
|
|
13399
13460
|
http: "GET",
|
|
13400
13461
|
path: "/media/v1/libraries/{library_id}/events",
|
|
13401
13462
|
streaming: "no",
|
|
@@ -13442,7 +13503,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13442
13503
|
resource: "media.libraries.folders",
|
|
13443
13504
|
method: "list",
|
|
13444
13505
|
summary: "List folders",
|
|
13445
|
-
description: "
|
|
13506
|
+
description: "undefined understood_count includes ready and partial assets; failed_count includes failed assets. Both accumulate descendants. counts_complete is false during historical backfill.",
|
|
13446
13507
|
http: "GET",
|
|
13447
13508
|
path: "/media/v1/libraries/{library_id}/folders",
|
|
13448
13509
|
streaming: "no",
|
|
@@ -13467,7 +13528,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13467
13528
|
resource: "media.libraries.jobs",
|
|
13468
13529
|
method: "retrieve",
|
|
13469
13530
|
summary: "Get job alias",
|
|
13470
|
-
description: "
|
|
13531
|
+
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.",
|
|
13471
13532
|
http: "GET",
|
|
13472
13533
|
path: "/media/v1/libraries/{library_id}/jobs/{job_id}",
|
|
13473
13534
|
streaming: "no",
|
|
@@ -13490,7 +13551,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13490
13551
|
resource: "media.libraries.purge",
|
|
13491
13552
|
method: "create",
|
|
13492
13553
|
summary: "Purge library",
|
|
13493
|
-
description: "
|
|
13554
|
+
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.",
|
|
13494
13555
|
http: "POST",
|
|
13495
13556
|
path: "/media/v1/libraries/{library_id}/purge",
|
|
13496
13557
|
streaming: "no",
|
|
@@ -13508,7 +13569,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13508
13569
|
resource: "media.libraries",
|
|
13509
13570
|
method: "restore",
|
|
13510
13571
|
summary: "Restore library",
|
|
13511
|
-
description: "
|
|
13572
|
+
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.",
|
|
13512
13573
|
http: "POST",
|
|
13513
13574
|
path: "/media/v1/libraries/{library_id}/restore",
|
|
13514
13575
|
streaming: "no",
|
|
@@ -13526,7 +13587,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13526
13587
|
resource: "media.libraries.search",
|
|
13527
13588
|
method: "create",
|
|
13528
13589
|
summary: "Semantic search alias",
|
|
13529
|
-
description: "
|
|
13590
|
+
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.",
|
|
13530
13591
|
http: "POST",
|
|
13531
13592
|
path: "/media/v1/libraries/{library_id}/search",
|
|
13532
13593
|
streaming: "no",
|
|
@@ -13577,7 +13638,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13577
13638
|
resource: "media.libraries.search.expression",
|
|
13578
13639
|
method: "create",
|
|
13579
13640
|
summary: "Expression search",
|
|
13580
|
-
description: "
|
|
13641
|
+
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.",
|
|
13581
13642
|
http: "POST",
|
|
13582
13643
|
path: "/media/v1/libraries/{library_id}/search/expression",
|
|
13583
13644
|
streaming: "no",
|
|
@@ -13597,7 +13658,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13597
13658
|
name: "expression",
|
|
13598
13659
|
type: "string",
|
|
13599
13660
|
required: false,
|
|
13600
|
-
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.'
|
|
13661
|
+
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.'
|
|
13601
13662
|
},
|
|
13602
13663
|
{
|
|
13603
13664
|
name: "sort_by",
|
|
@@ -13649,7 +13710,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13649
13710
|
resource: "media.libraries.search.semantic",
|
|
13650
13711
|
method: "create",
|
|
13651
13712
|
summary: "Semantic search",
|
|
13652
|
-
description: "Search assets with a nonblank text query
|
|
13713
|
+
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.",
|
|
13653
13714
|
http: "POST",
|
|
13654
13715
|
path: "/media/v1/libraries/{library_id}/search/semantic",
|
|
13655
13716
|
streaming: "no",
|
|
@@ -13700,7 +13761,7 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13700
13761
|
resource: "media.libraries.search.visual",
|
|
13701
13762
|
method: "create",
|
|
13702
13763
|
summary: "Visual search",
|
|
13703
|
-
description: "
|
|
13764
|
+
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.",
|
|
13704
13765
|
http: "POST",
|
|
13705
13766
|
path: "/media/v1/libraries/{library_id}/search/visual",
|
|
13706
13767
|
streaming: "no",
|
|
@@ -13743,6 +13804,67 @@ The default is return=minimal: success returns HTTP 201 with an empty body. Send
|
|
|
13743
13804
|
]
|
|
13744
13805
|
}
|
|
13745
13806
|
},
|
|
13807
|
+
{
|
|
13808
|
+
resource: "media.libraries.understandings",
|
|
13809
|
+
method: "list",
|
|
13810
|
+
summary: "List understanding results across a library",
|
|
13811
|
+
description: "Read current understanding entries across one library without fetching every asset separately. Use library_id from creation or listing. folder includes descendants; kinds is a comma-separated list of output kinds. Entries are ordered by asset_id and then understanding id. Continue with next_cursor and the same folder and kinds; limit defaults to 100 and cannot exceed 100. Superseded, deleted and old-version entries are excluded. During historical backfill, this method returns 503 CAPACITY rather than incomplete pages; poll failureSummary until counts_complete is true, then start pagination. Example: GET /media/v1/libraries/lib_example/understandings?folder=travel&kinds=caption,transcript&limit=100.",
|
|
13812
|
+
http: "GET",
|
|
13813
|
+
path: "/media/v1/libraries/{library_id}/understandings",
|
|
13814
|
+
streaming: "no",
|
|
13815
|
+
pagination: true,
|
|
13816
|
+
pathParams: [
|
|
13817
|
+
{
|
|
13818
|
+
name: "library_id",
|
|
13819
|
+
sdkName: "library_id",
|
|
13820
|
+
description: "Library ID returned by creation."
|
|
13821
|
+
}
|
|
13822
|
+
],
|
|
13823
|
+
query: [
|
|
13824
|
+
{
|
|
13825
|
+
name: "folder",
|
|
13826
|
+
type: "string",
|
|
13827
|
+
required: false,
|
|
13828
|
+
description: "Folder path including all descendants; omitted or empty selects the entire library."
|
|
13829
|
+
},
|
|
13830
|
+
{
|
|
13831
|
+
name: "kinds",
|
|
13832
|
+
type: "string",
|
|
13833
|
+
required: false,
|
|
13834
|
+
description: "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
|
|
13835
|
+
},
|
|
13836
|
+
{
|
|
13837
|
+
name: "cursor",
|
|
13838
|
+
type: "string",
|
|
13839
|
+
required: false,
|
|
13840
|
+
description: "Cursor from the previous next_cursor."
|
|
13841
|
+
},
|
|
13842
|
+
{
|
|
13843
|
+
name: "limit",
|
|
13844
|
+
type: "integer",
|
|
13845
|
+
required: false,
|
|
13846
|
+
description: "Maximum entries in this page, from 1 through 100; defaults to 100."
|
|
13847
|
+
}
|
|
13848
|
+
]
|
|
13849
|
+
},
|
|
13850
|
+
{
|
|
13851
|
+
resource: "media.libraries.understandings",
|
|
13852
|
+
method: "retrieveFailureSummary",
|
|
13853
|
+
summary: "Summarize understanding failures",
|
|
13854
|
+
description: "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.",
|
|
13855
|
+
http: "GET",
|
|
13856
|
+
path: "/media/v1/libraries/{library_id}/understandings/failure_summary",
|
|
13857
|
+
streaming: "no",
|
|
13858
|
+
pagination: false,
|
|
13859
|
+
pathParams: [
|
|
13860
|
+
{
|
|
13861
|
+
name: "library_id",
|
|
13862
|
+
sdkName: "library_id",
|
|
13863
|
+
description: "Library ID returned by creation."
|
|
13864
|
+
}
|
|
13865
|
+
],
|
|
13866
|
+
query: []
|
|
13867
|
+
},
|
|
13746
13868
|
{
|
|
13747
13869
|
resource: "meta.docs",
|
|
13748
13870
|
method: "search",
|
|
@@ -14030,25 +14152,25 @@ services (model, agent, automation…); call the operation you need and read its
|
|
|
14030
14152
|
name: "model",
|
|
14031
14153
|
type: "string",
|
|
14032
14154
|
required: true,
|
|
14033
|
-
description: "
|
|
14155
|
+
description: "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix."
|
|
14034
14156
|
},
|
|
14035
14157
|
{
|
|
14036
14158
|
name: "file",
|
|
14037
14159
|
type: "string",
|
|
14038
14160
|
required: true,
|
|
14039
|
-
description: "Audio
|
|
14161
|
+
description: "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model."
|
|
14040
14162
|
},
|
|
14041
14163
|
{
|
|
14042
14164
|
name: "language",
|
|
14043
14165
|
type: "string",
|
|
14044
14166
|
required: false,
|
|
14045
|
-
description: "
|
|
14167
|
+
description: "Source language code when known; omit to let the model detect the language."
|
|
14046
14168
|
},
|
|
14047
14169
|
{
|
|
14048
14170
|
name: "prompt",
|
|
14049
14171
|
type: "string",
|
|
14050
14172
|
required: false,
|
|
14051
|
-
description: "
|
|
14173
|
+
description: "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model."
|
|
14052
14174
|
},
|
|
14053
14175
|
{
|
|
14054
14176
|
name: "response_format",
|
|
@@ -14056,20 +14178,22 @@ services (model, agent, automation…); call the operation you need and read its
|
|
|
14056
14178
|
enum: [
|
|
14057
14179
|
"json",
|
|
14058
14180
|
"text",
|
|
14059
|
-
"verbose_json"
|
|
14181
|
+
"verbose_json",
|
|
14182
|
+
"diarized_json"
|
|
14060
14183
|
],
|
|
14061
14184
|
required: false,
|
|
14062
|
-
description: "
|
|
14185
|
+
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."
|
|
14063
14186
|
},
|
|
14064
14187
|
{
|
|
14065
14188
|
name: "timestamp_granularities[]",
|
|
14066
14189
|
type: "array",
|
|
14067
14190
|
itemType: "string",
|
|
14068
14191
|
enum: [
|
|
14192
|
+
"word",
|
|
14069
14193
|
"segment"
|
|
14070
14194
|
],
|
|
14071
14195
|
required: false,
|
|
14072
|
-
description: "Timestamp levels to
|
|
14196
|
+
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."
|
|
14073
14197
|
},
|
|
14074
14198
|
{
|
|
14075
14199
|
name: "temperature",
|
|
@@ -27285,6 +27409,19 @@ var mediaCreateLibrary = (options) => (options.client ?? client).post({
|
|
|
27285
27409
|
...options.headers
|
|
27286
27410
|
}
|
|
27287
27411
|
});
|
|
27412
|
+
var mediaCreateFrameUrls = (options) => (options.client ?? client).post({
|
|
27413
|
+
security: [{
|
|
27414
|
+
key: "media-BearerAuth",
|
|
27415
|
+
scheme: "bearer",
|
|
27416
|
+
type: "http"
|
|
27417
|
+
}],
|
|
27418
|
+
url: "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
|
|
27419
|
+
...options,
|
|
27420
|
+
headers: {
|
|
27421
|
+
"Content-Type": "application/json",
|
|
27422
|
+
...options.headers
|
|
27423
|
+
}
|
|
27424
|
+
});
|
|
27288
27425
|
var mediaDeleteLibrary = (options) => (options.client ?? client).delete({
|
|
27289
27426
|
security: [{
|
|
27290
27427
|
key: "media-BearerAuth",
|
|
@@ -27549,6 +27686,24 @@ var mediaCreateDeliveryToken = (options) => (options.client ?? client).post({
|
|
|
27549
27686
|
...options.headers
|
|
27550
27687
|
}
|
|
27551
27688
|
});
|
|
27689
|
+
var mediaUnderstandingFailureSummary = (options) => (options.client ?? client).get({
|
|
27690
|
+
security: [{
|
|
27691
|
+
key: "media-BearerAuth",
|
|
27692
|
+
scheme: "bearer",
|
|
27693
|
+
type: "http"
|
|
27694
|
+
}],
|
|
27695
|
+
url: "/media/v1/libraries/{library_id}/understandings/failure_summary",
|
|
27696
|
+
...options
|
|
27697
|
+
});
|
|
27698
|
+
var mediaListUnderstandingsByLibrary = (options) => (options.client ?? client).get({
|
|
27699
|
+
security: [{
|
|
27700
|
+
key: "media-BearerAuth",
|
|
27701
|
+
scheme: "bearer",
|
|
27702
|
+
type: "http"
|
|
27703
|
+
}],
|
|
27704
|
+
url: "/media/v1/libraries/{library_id}/understandings",
|
|
27705
|
+
...options
|
|
27706
|
+
});
|
|
27552
27707
|
var getSandboxV1Sandboxes = (options) => (options?.client ?? client).get({
|
|
27553
27708
|
querySerializer: { parameters: { state: { array: { explode: false } } } },
|
|
27554
27709
|
security: [
|
|
@@ -30004,6 +30159,9 @@ function createMedia(transport) {
|
|
|
30004
30159
|
batch: bind(transport, mediaBatchAssets),
|
|
30005
30160
|
create: bind(transport, (options) => mediaUploadAsset({ ...options, bodySerializer: multipartBodySerializer, headers: { "Content-Type": null, ...options.headers } })),
|
|
30006
30161
|
delete: bind(transport, mediaDeleteAsset),
|
|
30162
|
+
frames: {
|
|
30163
|
+
create: bind(transport, mediaCreateFrameUrls)
|
|
30164
|
+
},
|
|
30007
30165
|
import: {
|
|
30008
30166
|
create: bind(transport, mediaImportAsset)
|
|
30009
30167
|
},
|
|
@@ -30053,6 +30211,10 @@ function createMedia(transport) {
|
|
|
30053
30211
|
create: bind(transport, mediaVisualSearch)
|
|
30054
30212
|
}
|
|
30055
30213
|
},
|
|
30214
|
+
understandings: {
|
|
30215
|
+
list: bindPage(transport, mediaListUnderstandingsByLibrary),
|
|
30216
|
+
retrieveFailureSummary: bind(transport, mediaUnderstandingFailureSummary)
|
|
30217
|
+
},
|
|
30056
30218
|
update: bind(transport, mediaUpdateLibrary)
|
|
30057
30219
|
}
|
|
30058
30220
|
};
|
|
@@ -33432,7 +33594,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
|
|
|
33432
33594
|
}
|
|
33433
33595
|
|
|
33434
33596
|
// src/main.ts
|
|
33435
|
-
var version = "0.2.1-dev.
|
|
33597
|
+
var version = "0.2.1-dev.da4893e";
|
|
33436
33598
|
var commands = commandTree(operations);
|
|
33437
33599
|
var manual = [...workflows.map((w) => w.words), [API_WORD]];
|
|
33438
33600
|
function route(argv) {
|