@deepraxis/sdk 0.1.1-dev.41a24b1 → 0.1.1-dev.4421e6c
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/METHODS.md +14 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +96 -42
- package/dist/generated/sdk.gen.js +123 -41
- package/dist/generated/types.gen.d.ts +860 -109
- package/dist/operations.generated.d.ts +159 -54
- package/dist/operations.generated.js +189 -53
- package/dist/resources.generated.d.ts +13 -0
- package/dist/resources.generated.js +7 -0
- package/package.json +1 -1
|
@@ -9827,7 +9827,7 @@ export const operations = [
|
|
|
9827
9827
|
"resource": "cut.projects.analysis",
|
|
9828
9828
|
"method": "create",
|
|
9829
9829
|
"summary": "Analyze project media",
|
|
9830
|
-
"description": "Request silence, filler-word or scene analysis for selected bound assets before editing. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible.",
|
|
9830
|
+
"description": "Request silence, filler-word or scene analysis for selected bound assets before editing. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible. Silence measures transcript-based speech pauses, not music or loudness. A completed transcript without words returns ready with empty segments and reason no_speech; no completed transcript returns unsupported with reason no_transcript. A failed transcription remains failed.",
|
|
9831
9831
|
"http": "POST",
|
|
9832
9832
|
"path": "/cut/v1/projects/{project_id}/analysis",
|
|
9833
9833
|
"streaming": "no",
|
|
@@ -9998,6 +9998,18 @@ export const operations = [
|
|
|
9998
9998
|
"body": {
|
|
9999
9999
|
"required": true,
|
|
10000
10000
|
"fields": [
|
|
10001
|
+
{
|
|
10002
|
+
"name": "folder",
|
|
10003
|
+
"type": "string",
|
|
10004
|
+
"required": false,
|
|
10005
|
+
"description": "Optional destination path within the bound media library; omitted uses its default folder."
|
|
10006
|
+
},
|
|
10007
|
+
{
|
|
10008
|
+
"name": "name",
|
|
10009
|
+
"type": "string",
|
|
10010
|
+
"required": false,
|
|
10011
|
+
"description": "Nonempty display name, frozen with the export. Path separators and control characters become hyphens; limited to 200 characters. Omitted uses project name and timestamp."
|
|
10012
|
+
},
|
|
10001
10013
|
{
|
|
10002
10014
|
"name": "output",
|
|
10003
10015
|
"type": "object",
|
|
@@ -10023,7 +10035,7 @@ export const operations = [
|
|
|
10023
10035
|
"resource": "cut.projects.frames",
|
|
10024
10036
|
"method": "list",
|
|
10025
10037
|
"summary": "Render preview frames",
|
|
10026
|
-
"description": "Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Request at most eight times. Each returned url is an inline PNG data URL (data:image/png;base64,...), not a hosted HTTP image link. Decode
|
|
10038
|
+
"description": "Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Request at most eight times. Each returned url is an inline PNG data URL (data:image/png;base64,...), not a hosted HTTP image link. The default scale is 0.25; use 0.5 for subtitle layout inspection (1080×1920 renders at 540×960). The maximum is 0.5; values above it return INVALID_PARAMS. Actual width and height are returned per frame. PNGs above 2 MiB or responses above 4 MiB return RESPONSE_TOO_LARGE without silently lowering resolution. The response always includes warnings; FRAME_UNAVAILABLE means a source preview could not be obtained and an offline tile was drawn. Its message identifies a timeout, delivery capacity limit, or unavailable source and contains no source URL. Decode each image's base64 payload to save it. Codemode returns at most four images per call, so request at most four times when reviewing there.",
|
|
10027
10039
|
"http": "GET",
|
|
10028
10040
|
"path": "/cut/v1/projects/{project_id}/frames",
|
|
10029
10041
|
"streaming": "no",
|
|
@@ -10046,7 +10058,7 @@ export const operations = [
|
|
|
10046
10058
|
"name": "scale",
|
|
10047
10059
|
"type": "number",
|
|
10048
10060
|
"required": false,
|
|
10049
|
-
"description": "
|
|
10061
|
+
"description": "Image size multiplier, default 0.25, greater than zero and at most 0.5. Larger values return INVALID_PARAMS; pixel-area limits may reduce actual dimensions, reported as width and height."
|
|
10050
10062
|
},
|
|
10051
10063
|
{
|
|
10052
10064
|
"name": "revision",
|
|
@@ -10238,7 +10250,7 @@ export const operations = [
|
|
|
10238
10250
|
"resource": "cut.projects",
|
|
10239
10251
|
"method": "execute",
|
|
10240
10252
|
"summary": "Execute editing script",
|
|
10241
|
-
"description": "Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project: `const t = AddTrack(\"video\"); Insert(t, {type: \"color\", color: \"#123456\", start: 0, length: 3}); Print(t);`\n\n### Script function reference\n\nFunctions are synchronous globals; do not import them. `project` is the current project ID. TrackId and ClipId are strings returned by AddTrack and Insert or read from GetTimeline. Reads see earlier writes in the same script.\n\n```ts\nGetTimeline(o?: { from?: number; to?: number; tracks?: TrackId[] }): TimelineView;\nGetItem(id: ClipId): ItemView;\nFindItems<T>(visit: (item: ItemView, ctx: { track: TrackView; index: number }) => T | undefined): T[];\nGetMedia(ref: MediaRef): MediaInfo;\nGetTranscript(ref: MediaRef, o?: { from?: number; to?: number }): Word[];\nGetAnalysis(ref: MediaRef, kind: AnalysisKind): Segment[];\nInsert(track: TrackId, item: ItemInit, o?: { ripple?: boolean }): ClipId;\nUpdate(id: ClipId, patch: ItemPatchView): void;\nDelete(id: ClipId, o?: { ripple?: boolean }): void;\nSplit(id: ClipId, at: number): ClipId;\nTrim(id: ClipId, edge: \"in\" | \"out\", delta: number, o?: { ripple?: boolean }): void;\nMove(id: ClipId, start: number, track?: TrackId): void;\nRippleDeleteRange(from: number, to: number, tracks?: TrackId[]): void;\nAddTrack(kind: \"video\" | \"audio\" | \"caption\", init?: { name?: string }, index?: number): TrackId;\nUpdateTrack(id: TrackId, patch: TrackPatch): void;\nDeleteTrack(id: TrackId): void;\nSetSettings(patch: Partial<ProjectSettingsView>): void;\nAddCaptionsFromTranscript(track: TrackId, source: ClipId, o?: { style?: Partial<CaptionStyle>; maxChars?: number }): ClipId[];\nSetMarker(at: number, label: string): string;\nPrint(...values: unknown[]): void;\nPreview(at: number[]): void;\n```\n\n| Functions | Behavior and arguments |\n| --- | --- |\n| GetTimeline, GetItem | Read compact item views: id, track, type, start, end, length, optional media, sourceIn/sourceOut, text and offline reason. GetTimeline returns duration and tracks (id, kind, name, index, locked, items); from/to and tracks narrow the read. |\n| FindItems | Visit items with their track and index; return undefined to omit an item, any other value to collect it. |\n| GetMedia | Read metadata for `{libraryId, assetId}` in a bound library: kind, dimensions, fps, hasAudio and durationUs when available. durationUs is microseconds. |\n| GetTranscript, GetAnalysis | Read available transcript words or silence/filler/scenes segments. Transcript filter from/to is seconds; returned word and segment from/to values are source microseconds (divide by 1,000,000 for editing). Words contain text and optional speaker/filler; segments may include label/confidence. Request analysis first if unavailable. |\n| Insert, Update, Delete | Insert returns the new clip ID; Update changes supplied fields; Delete removes the clip. Optional ripple on Insert/Delete closes or opens space on the track. |\n| Split, Trim, Move | Split at a timeline position and return the new right-hand clip ID. Trim changes the in or out edge by delta seconds. Move sets the timeline start and optionally a new track. |\n| RippleDeleteRange | Delete a timeline interval and close its gap on the specified tracks, or all unlocked tracks when omitted. |\n| AddTrack, UpdateTrack, DeleteTrack | Add video/audio/caption tracks; index selects layer order (0 is top). TrackPatch supports name, locked, hidden, muted, gainDb and style as appropriate to track kind. |\n| SetSettings | Supply any of width/height (pixels), fps (frames per second), background (color). |\n| AddCaptionsFromTranscript | Create captions from an audio/video clip's kept words. Optional maxChars is 1–1000, default 16; style updates the caption track. Returns caption IDs. |\n| SetMarker | Add a label at a timeline time and return its ID. |\n| Print, Preview | Print appends text to prints. Preview requests up to eight times total per execute and puts images in the result's frames. Each url is an inline PNG data URL, not an HTTP image link. Decode the base64 payload to save an image. Codemode returns at most four images per call; request at most four times there. |\n\n#### Insert fields (ItemInit)\n\nEvery item requires `type` and `start`. Times used for editing are seconds and snap to the project frame rate: start, length, sourceIn, fadeIn/fadeOut, transition length, keyframe at, reveal delay/stagger/duration. Keyframe and reveal times are relative to the clip start. Video/audio may omit length to use the remaining source duration; other types require length.\n\n| type | Required fields beyond type/start | Optional fields |\n| --- | --- | --- |\n| video | media | length, sourceIn, volumeDb, transform, fit, animate, transitionIn, transitionOut |\n| image | media, length | transform, fit, animate, transitionIn, transitionOut |\n| text | text, length | style, transform, reveal, animate, transitionIn, transitionOut |\n| color | color, length | transform, fill, animate, transitionIn, transitionOut |\n| shape | shape, length, width, height, fill | radius, stroke, transform, animate, transitionIn, transitionOut |\n| audio | media | length, sourceIn, volumeDb, fadeIn, fadeOut, transitionIn, transitionOut |\n| caption | text, length | — |\n\nVideo tracks accept video/image/text/color/shape; audio and caption tracks accept their corresponding type. Media is `{libraryId: string, assetId: string}` from a bound library. sourceIn defaults to 0, volumeDb to 0 dB, audio fades to 0 seconds. fit defaults to contain: contain fits the whole image, cover fills and crops, fill stretches, none keeps native dimensions.\n\n| Field | Value |\n| --- | --- |\n| transform | Partial `{x, y, scale, rotation, opacity, crop, blur}`. x/y are normalized canvas center coordinates (default 0.5); scale 1 is fitted size; rotation is degrees (default 0); opacity is 0–1 (default 1). crop is `{top,right,bottom,left}`. blur is 0–100 pixels at 1080-pixel frame height. |\n| style | Partial `{fontFamily, fontSize, fontWeight, color, stroke, background, align, maxWidth}`. fontFamily: Geist or Noto Sans SC (default); fontSize defaults to 48; fontWeight: 400 (default), 500 or 700; color defaults to #FFFFFF; align: left, center (default), right; maxWidth is a fraction of canvas width (default 0.9). stroke is `{color,width}`. Caption style additionally supports position (top/middle/bottom), margin (0–0.4 of canvas height), highlightColor and maxLines: 2. |\n| animate | An object keyed by x, y, scale, rotation, opacity or blur. Each value is an array of `{at: number, value: number, ease?: Ease}` sorted by at with distinct frame-snapped times. Values hold before the first and after the last keyframe, overriding the static transform. |\n| Ease | linear, in, out, inOut, `{bezier: [x1,y1,x2,y2]}` or `{spring: {stiffness, damping, mass?}}`. Easing shapes the segment arriving at that keyframe; springs may overshoot. |\n| reveal | `{by, delay?: number, stagger: number, duration: number, from: {y?, opacity?, scale?, blur?}, ease?: Ease}`. by selects char, word or line. Unit k starts at delay + k * stagger and takes duration seconds to reach its resting state; from.y is a fraction of font size. |\n| fill | A color string (#RRGGBB or #RRGGBBAA), `{linear: {angle, stops: [{at,color}, ...]}}` or `{radial: {stops: [{at,color}, ...]}}`. Stop positions are 0–1; angle is degrees, 0 left to right. On color clips, fill replaces color when supplied. |\n| shape, width, height, radius, stroke | shape is rect or ellipse. width/height are fractions of canvas width/height before scaling. radius rounds rect corners in pixels at 1080-pixel frame height. stroke is `{color: string, width: number}`. |\n| transitionIn, transitionOut | `{kind, length: number}` at the clip's beginning/end. length is seconds. fade changes opacity; dissolve blends; push_left/push_right move horizontally; wipe_left reveals horizontally. |\n\n#### Update fields (ItemPatchView)\n\nAll fields are optional; use only fields relevant to the item's type. Supported fields: start, length, sourceIn, volumeDb, transform, fit, text, style, color, fadeIn, fadeOut, animate, reveal, fill, stroke, shape, width, height, radius, transitionIn, transitionOut. Values and units match Insert. Set animate, reveal, fill, stroke, transitionIn or transitionOut to null to remove that effect; omitting a field preserves it. For example: `Update(id, {volumeDb: -12})` or `Update(id, {transitionIn: null})`.\n\n#### Script names versus HTTP response names\n\nUse camelCase inside scripts, including nested objects. HTTP request/response JSON outside script source uses snake_case. Map media.library_id → media.libraryId, media.asset_id → media.assetId, source_in → sourceIn, volume_db → volumeDb, fade_in/fade_out → fadeIn/fadeOut, transition_in/transition_out → transitionIn/transitionOut, font_family/font_size/font_weight/max_width → fontFamily/fontSize/fontWeight/maxWidth, gain_db → gainDb, highlight_color/max_lines → highlightColor/maxLines. Fields such as animate, reveal, fill, stroke, at and length retain their spelling. GetTimeline/GetItem already return camelCase compact views; the expanded retrieveTimeline HTTP response is not an Insert object.\n\nUnrecognized script fields fail with OPS_REJECTED and rejection code UNKNOWN_FIELD; snake_case mistakes suggest the corresponding camelCase name. The error message lists each rejection's #opIndex, code and reason. Correct the named fields and retry the saved edit; do not assume an ignored field applied an effect.\n",
|
|
10253
|
+
"description": "Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project: `const t = AddTrack(\"video\"); Insert(t, {type: \"color\", color: \"#123456\", start: 0, length: 3}); Print(t);`\n\n### Script function reference\n\nFunctions are synchronous globals; do not import them. `project` is the current project ID. TrackId and ClipId are strings returned by AddTrack and Insert or read from GetTimeline. JoinId is the string returned by Join or read from GetTimeline().joins. Reads see earlier writes in the same script.\n\n```ts\nGetTimeline(o?: { from?: number; to?: number; tracks?: TrackId[] }): TimelineView;\nGetItem(id: ClipId): ItemView;\nFindItems<T>(visit: (item: ItemView, ctx: { track: TrackView; index: number }) => T | undefined): T[];\nGetMedia(ref: MediaRef): MediaInfo;\nGetTranscript(ref: MediaRef, o?: { from?: number; to?: number }): Word[];\nGetAnalysis(ref: MediaRef, kind: AnalysisKind): Segment[];\nListTransitions(): TransitionInfo[];\nListAnimations(): { id: string; version: number; phase: \"in\" | \"out\" | \"loop\"; target: \"any\" | \"text\"; name: string; description: string; defaultDuration: number; params: { name: string; type: string; values?: string[]; default?: string | number; min?: number; max?: number; description: string }[] }[];\nListFonts(): { family: string; weights: number[]; scripts: (\"latin\"|\"cjk\")[]; source: \"bundled\"|\"catalog\" }[];\nInsert(track: TrackId, item: ItemInit, o?: { ripple?: boolean }): ClipId;\nUpdate(id: ClipId, patch: ItemPatchView): void;\nSetSpeed(id: ClipId, rate: number, o: { keep: \"source\" | \"duration\"; ripple?: boolean }): { length: number; sourceOut: number };\nDelete(id: ClipId, o?: { ripple?: boolean }): void;\nJoin(left: ClipId, right: ClipId, o: { length?: number; effect: TransitionInput }): JoinId;\nUpdateJoin(id: JoinId, patch: { length?: number; effect?: TransitionInput }): void;\nDeleteJoin(id: JoinId): void;\nSplit(id: ClipId, at: number): ClipId;\nTrim(id: ClipId, edge: \"in\" | \"out\", delta: number, o?: { ripple?: boolean }): void;\nMove(id: ClipId, start: number, track?: TrackId): void;\nRippleDeleteRange(from: number, to: number, tracks?: TrackId[]): void;\nAddTrack(kind: \"video\" | \"audio\" | \"caption\", init?: { name?: string }, index?: number): TrackId;\nUpdateTrack(id: TrackId, patch: TrackPatch): void;\nDeleteTrack(id: TrackId): void;\nSetSettings(patch: Partial<ProjectSettingsView>): void;\nAddCaptionsFromTranscript(track: TrackId, source: ClipId, o?: { style?: Partial<CaptionStyle>; maxChars?: number }): ClipId[];\nSetMarker(at: number, label: string): string;\nPrint(...values: unknown[]): void;\nPreview(at: number[]): void;\n```\n\n| Functions | Behavior and arguments |\n| --- | --- |\n| GetTimeline, GetItem | Read compact item views: id, track, type, start, end, length, optional media, playback, sourceIn/sourceOut, text and offline reason. GetTimeline returns duration, tracks (id, kind, name, index, locked, items), and joins (id, track, left, right, length in seconds, normalized effect). from/to and tracks narrow the items and joins; joins are selected by their overlap window. |\n| ListTransitions | Discover the shared validation catalog: each entry contains kind (effect ID), name, description and params. Each parameter has name, type (enum/number/integer), default, description, enum values or numeric min/max. Use the returned kind and parameter names inside effect. |\n| ListAnimations | Discover animation presets. Each entry has id, version, phase (`in`, `out`, `loop`), target (`any`, `text`), name, description, defaultDuration (seconds), and params (name, type, values/default/min/max/description as applicable). A slot use is `{preset, duration?, ...params}`; duration is seconds. |\n| FindItems | Visit items with their track and index; return undefined to omit an item, any other value to collect it. |\n| GetMedia | Read metadata for `{libraryId, assetId}` in a bound library: kind, dimensions, fps, hasAudio and durationUs when available. durationUs is microseconds. |\n| GetTranscript, GetAnalysis | Read available transcript words or silence/filler/scenes segments. Transcript filter from/to is seconds; returned word and segment from/to values are source microseconds (divide by 1,000,000 for editing). Words contain text and optional speaker/filler; segments may include label/confidence. Request analysis first if unavailable. |\n| Insert, Update, Delete | Insert returns the new clip ID; Update changes supplied fields; Delete removes the clip. Optional ripple on Insert/Delete closes or opens space on the track. |\n| SetSpeed | Change video/audio rate in 0.25–4; keep is required. source preserves consumed source and changes length, duration preserves output length. Returns actual length and sourceOut in seconds. Optional ripple explicitly shifts same-track followers when keeping source; otherwise overlaps are rejected. |\n| Join, UpdateJoin, DeleteJoin | Join creates an overlap between two butt-adjacent visual clips on the same track and returns its ID. length defaults to 0.5 seconds; effect is required. The right clip and all same-track followers move left by length, shortening that track and potentially the project. UpdateJoin moves those followers by the difference in length; omitted fields are preserved. DeleteJoin moves them right to restore the butt cut. Other tracks stay in place. |\n| Split, Trim, Move | Split at a timeline position and return the new right-hand clip ID. Trim changes the in or out edge by delta seconds. Move sets the timeline start and optionally a new track. |\n| RippleDeleteRange | Delete a timeline interval and close its gap on the specified tracks, or all unlocked tracks when omitted. |\n| AddTrack, UpdateTrack, DeleteTrack | Add video/audio/caption tracks; index selects layer order (0 is top). TrackPatch supports name, locked, hidden, muted, gainDb and style as appropriate to track kind. |\n| SetSettings | Supply any of width/height (pixels), fps (frames per second), background (color). |\n| AddCaptionsFromTranscript | Create captions from an audio/video clip's kept words. Optional maxChars is 1–1000, default 16; style updates the caption track. Returns caption IDs. |\n| SetMarker | Add a label at a timeline time and return its ID. |\n| Print, Preview | Print appends text to prints. Preview requests up to eight times total per execute and puts images in the result's frames. Each url is an inline PNG data URL, not an HTTP image link. Decode the base64 payload to save an image. Codemode returns at most four images per call; request at most four times there. |\n\n#### Joins between clips\n\nEndpoints may be video, image, text, color or shape; audio and caption are rejected. Require 0 < length < each endpoint's length. Each clip allows at most one incoming and one outgoing join; their summed lengths cannot exceed its length. Three-input overlaps, nonadjacent endpoints and cross-track joins are rejected with OPS_REJECTED. Read the rejection's code and message, shorten or remove conflicting joins, and retry the saved edit.\n\nTransitionInput is an object with kind plus the parameters returned by ListTransitions; omitted parameters use catalog defaults. Unknown kinds and invalid parameters return INVALID_TRANSITION_PARAM with available parameters. Effects: dissolve; dip color black/white default black; push and wipe direction left/right/up/down default left; wipe softness 0–1 default 0; iris centerX/centerY 0–1 default 0.5; blinds integer count 2–64 default 8 and orientation vertical/horizontal default vertical; blur radius 0–100 pixels at 1080-pixel frame height default 24; zoom direction in/out default in, amount 0.1–3 default 1, blur 0–1 default 0.5; clock direction clockwise/counterclockwise default clockwise, startAngle 0–360 degrees default 0 (twelve o'clock), softness 0–1 default 0; flash color white/black default white, intensity 0–1 default 1. Zoom blur uses up to eight radial samples per shot and is slower on server rendering. Join options and UpdateJoin patches accept only length and effect. Effect updates replace the effect object and apply defaults for omitted parameters.\n\nMinimal example on an existing visual track with adjacent clips left and right: `Print(ListTransitions()); const j = Join(left, right, {length: 0.5, effect: {kind: \"dissolve\"}}); Print(GetTimeline().joins); Preview([GetItem(right).start + 0.25]);` Use `UpdateJoin(j, {length: 0.8})` to adjust it in a later edit or `DeleteJoin(j)` to restore the cut. Preview uses server-rendered frames and includes joins. Per-clip transitionIn/transitionOut remain separate entrance/exit effects.\n\n#### Insert fields (ItemInit)\n\nEvery item requires `type` and `start`. Times used for editing are seconds and snap to the project frame rate: start, length, sourceIn, fadeIn/fadeOut, transition length, keyframe at, reveal delay/stagger/duration. Keyframe and reveal times are relative to the clip start. Video/audio may omit length to use the remaining source duration; other types require length.\n\n| type | Required fields beyond type/start | Optional fields |\n| --- | --- | --- |\n| video | media | length, sourceIn, playback, volumeDb, transform, fit, animate, animation, transitionIn, transitionOut |\n| image | media, length | transform, fit, animate, animation, transitionIn, transitionOut |\n| text | text, length | style, transform, reveal, animate, animation, transitionIn, transitionOut |\n| color | color, length | transform, fill, animate, animation, transitionIn, transitionOut |\n| shape | shape, length, width, height, fill | radius, stroke, transform, animate, animation, transitionIn, transitionOut |\n| audio | media | length, sourceIn, playback, volumeDb, fadeIn, fadeOut |\n| caption | text, length | — |\n\nVideo tracks accept video/image/text/color/shape; audio and caption tracks accept their corresponding type. Media is `{libraryId: string, assetId: string}` from a bound library. sourceIn defaults to 0, volumeDb to 0 dB, audio fades to 0 seconds. fit defaults to contain: contain fits the whole image, cover fills and crops, fill stretches, none keeps native dimensions.\n\n| Field | Value |\n| --- | --- |\n| transform | Partial `{x, y, scale, rotation, opacity, crop, blur}`. x/y are normalized canvas center coordinates (default 0.5); scale 1 is fitted size; rotation is degrees (default 0); opacity is 0–1 (default 1). crop is `{top,right,bottom,left}`. blur is 0–100 pixels at 1080-pixel frame height. |\n| style | Partial `{fontFamily, fontSize, fontWeight, color, fill, stroke, strokes, shadows, glow, background, align, maxWidth, position, margin}`. fill accepts a color or linear/radial gradient across the entire text bounding box. strokes draw outside to inside; at most 4, width 0–40. shadows accepts at most 4 `{color,x,y,blur}` entries; blur is 0–100. glow is `{color,radius,strength}` with radius 0–100 and strength 0–1. All dimensions use pixels at 1080 frame height and scale with the text. Glow and large shadow blur increase render time. Invalid colors or ranges return actionable INVALID_STYLE errors. `ListFonts()` discovers family, available weights, scripts and bundled/catalog source. Text and captions share the style fields; caption style additionally supports highlightColor and maxLines: 2. |\n| animate | An object keyed by x, y, scale, rotation, opacity or blur. Each value is an array of `{at: number, value: number, ease?: Ease}` sorted by at with distinct frame-snapped times. Values hold before the first and after the last keyframe, overriding the static transform. |\n| animation | `{in?: AnimationUse, out?: AnimationUse, loop?: AnimationUse}` on visual clips. Each use is `{preset: string, duration?: number, ...params}`; duration and parameter units follow `ListAnimations()`. Presets replace existing animate and reveal when applied. Update accepts `animation: null` to clear the preset and its generated effects. |\n| Ease | linear, in, out, inOut, `{bezier: [x1,y1,x2,y2]}` or `{spring: {stiffness, damping, mass?}}`. Easing shapes the segment arriving at that keyframe; springs may overshoot. |\n| reveal | `{by, delay?: number, stagger: number, duration: number, from: {y?, opacity?, scale?, blur?}, ease?: Ease}`. by selects char, word or line. Unit k starts at delay + k * stagger and takes duration seconds to reach its resting state; from.y is a fraction of font size. |\n| fill | A color string (#RRGGBB or #RRGGBBAA), `{linear: {angle, stops: [{at,color}, ...]}}` or `{radial: {stops: [{at,color}, ...]}}`. Stop positions are 0–1; angle is degrees, 0 left to right. On color clips, fill replaces color when supplied. |\n| shape, width, height, radius, stroke | shape is rect or ellipse. width/height are fractions of canvas width/height before scaling. radius rounds rect corners in pixels at 1080-pixel frame height. stroke is `{color: string, width: number}`. |\n| transitionIn, transitionOut | `{kind, length: number}` at the clip's beginning/end. length is seconds. fade changes opacity; dissolve blends; push_left/push_right move horizontally; wipe_left reveals horizontally. |\n\n#### Update fields (ItemPatchView)\n\nAll fields are optional; use only fields relevant to the item's type. Supported fields: start, length, sourceIn, playback, volumeDb, transform, fit, text, style, color, fadeIn, fadeOut, animate, reveal, animation, fill, stroke, shape, width, height, radius, transitionIn, transitionOut. Values and units match Insert. Set animation to null to clear the preset; set animate or reveal to null to remove that effect. Applying a preset replaces existing animate/reveal. Do not set animation together with animate or reveal in one Insert/Update call. Omit a field to preserve it.\n\n#### Animation presets\n\nDiscover the catalog with `ListAnimations()`. Its entries contain id, version, phase (`in`, `out`, `loop`), target (`any` or `text`), name, description, defaultDuration in seconds, and params. Slots may combine one in, one out and one loop preset. A loop runs only in the interval between in and out; if the same property is animated by multiple slots, loop occupies only that middle interval. Text-target presets are entrances. Their duration controls the rhythm per character/word/line, not the total reveal time. Out and loop presets apply to the whole clip, not per text unit.\n\nPresets replace the clip's existing animate and reveal when applied. The source preset is retained, so changing clip length or transform automatically regenerates its keyframes/reveal. If a clip becomes shorter, in/out durations shrink proportionally; when it grows, the requested durations are restored. Split keeps in on the left, out on the right, and loop on both. Writing animate or reveal directly detaches the preset; setting animation to null clears both source and generated effects. Insert/Update reject a call that supplies animation together with animate or reveal.\n\nErrors: UNKNOWN_ANIMATION (unknown preset), INVALID_ANIMATION_PARAM (invalid slot/parameter or frame/keyframe limit), ANIMATION_TOO_LONG (in+out exceed clip length), ANIMATION_TARGET_MISMATCH (text-only preset on a non-text or preset on non-visual clip), ANIMATION_PHASE_MISMATCH (preset in the wrong slot). Each animated property is limited to 600 keyframes; loop duration must be at least 4 frames. `ANIMATION_TOO_LONG` is avoided during later length changes by proportional fitting.\n\n#### Speed, reverse and freeze\n\nVideo/audio Insert and Update accept playback as `{kind: \"rate\", rate: number, direction: \"forward\" | \"reverse\", audio: \"preservePitch\" | \"resample\" | \"mute\"}` or `{kind: \"freeze\"}`. Rate is finite and inclusive 0.25–4. Omitted playback defaults to 1× forward with preservePitch; supply the complete rate object when changing playback. preservePitch keeps pitch, resample changes pitch with speed, mute removes audio. Reverse requires explicit audio: \"mute\"; preservePitch/resample are rejected with UNSUPPORTED_PLAYBACK rather than silently muted. Freeze holds sourceIn and is silent. GetItem/GetTimeline echo playback and the source interval in seconds; sourceOut is exclusive even for reverse and equals sourceIn for freeze.\n\nUpdate of playback keeps output length unless length is also supplied. SetSpeed preserves direction/audio, rejects frozen and non-video/audio clips, and requires keep: \"source\" or \"duration\". keep: \"source\" computes round(consumed source / new rate × fps) frames, falling back to floor if rounding would exceed the source end; the returned length/sourceOut are actual frame-rounded seconds. keep: \"duration\" keeps output length and changes source consumption. Length conflicts fail with OVERLAP; move/shorten the conflicting clip, keep duration, or explicitly use ripple: true to shift following clips on the same track. Source overflow fails with OUT_OF_SOURCE; rate limits fail with RATE_OUT_OF_RANGE. Unknown playback fields and SetSpeed options are rejected with UNKNOWN_FIELD; options only accept keep and boolean ripple.\n\nExample for an existing four-second video/audio clip id: `Print(SetSpeed(id, 0.5, {keep: \"source\"})); Print(SetSpeed(id, 2, {keep: \"source\"}));` returns lengths 8 then 2, keeping the same source interval. Reverse: `Update(id, {playback: {kind: \"rate\", rate: 1, direction: \"reverse\", audio: \"mute\"}})`. Freeze: `Update(id, {playback: {kind: \"freeze\"}})`. Ensure enough source remains for the chosen length/rate. Browser reverse playback currently displays a placeholder; server-rendered Preview/frames and exports support reverse normally. Speed-adjusted audio is generated asynchronously after the edit transaction commits; exports wait for that audio before rendering.\n\n#### Script names versus HTTP response names\n\nUse camelCase inside scripts, including nested objects. HTTP request/response JSON outside script source uses snake_case. Map media.library_id → media.libraryId, media.asset_id → media.assetId, source_in → sourceIn, volume_db → volumeDb, fade_in/fade_out → fadeIn/fadeOut, transition_in/transition_out → transitionIn/transitionOut, font_family/font_size/font_weight/max_width → fontFamily/fontSize/fontWeight/maxWidth, gain_db → gainDb, highlight_color/max_lines → highlightColor/maxLines. Fields such as animate, reveal, fill, stroke, at and length retain their spelling. GetTimeline/GetItem already return camelCase compact views; the expanded retrieveTimeline HTTP response is not an Insert object.\n\nUnrecognized script fields fail with OPS_REJECTED and rejection code UNKNOWN_FIELD; snake_case mistakes suggest the corresponding camelCase name. The error message lists each rejection's #opIndex, code and reason. Correct the named fields and retry the saved edit; do not assume an ignored field applied an effect.\n",
|
|
10242
10254
|
"http": "POST",
|
|
10243
10255
|
"path": "/cut/v1/projects/{project_id}:execute",
|
|
10244
10256
|
"streaming": "no",
|
|
@@ -11422,7 +11434,7 @@ export const operations = [
|
|
|
11422
11434
|
"resource": "file.files.contentLinks",
|
|
11423
11435
|
"method": "revoke",
|
|
11424
11436
|
"summary": "Revoke a file content link",
|
|
11425
|
-
"description": "Stop a previously issued content link from reading a file. Obtain the link with files.contentUrl.create. Use file_id from file creation or listing and the token path component from a content URL (/c/<token>), not the complete URL. The caller must own the file and have write access; a read-only binding is refused. Revocation propagates through the capability deny list within
|
|
11437
|
+
"description": "Stop a previously issued content link from reading a file. Obtain the link with files.contentUrl.create. Use file_id from file creation or listing and the token path component from a content URL (/c/<token>), not the complete URL. The caller must own the file and have write access; a read-only binding is refused. Revocation propagates through the capability deny list within 15 minutes; the file and other links remain available. Only current IAM capability tokens can be revoked; legacy content links expire at the migration deadline. Example body: {\"token\":\"<token from /c/>\"}.",
|
|
11426
11438
|
"http": "POST",
|
|
11427
11439
|
"path": "/file/v1/files/{file_id}/content_links:revoke",
|
|
11428
11440
|
"streaming": "no",
|
|
@@ -11451,7 +11463,7 @@ export const operations = [
|
|
|
11451
11463
|
"resource": "file.files.contentUrl",
|
|
11452
11464
|
"method": "create",
|
|
11453
11465
|
"summary": "Create a download URL",
|
|
11454
|
-
"description": "Download a file's bytes to a local disk from a coding agent without sending them through the model. Use file_id from file creation or listing, then run curl -fsSL -o <filename> '<url>' locally with the returned URL; GET needs no Authorization header. The link is reusable until expiry and supports a single byte Range (for example Range: bytes=0-9 returns 206). Revoke it with files.contentLinks.revoke, passing the token after /c/ in the URL. Expired, revoked, invalid or cross-organization URLs return 404. Lifetime defaults to
|
|
11466
|
+
"description": "Download a file's bytes to a local disk from a coding agent without sending them through the model. Use file_id from file creation or listing, then run curl -fsSL -o <filename> '<url>' locally with the returned URL; GET needs no Authorization header. The link is reusable until expiry and supports a single byte Range (for example Range: bytes=0-9 returns 206). Revoke it with files.contentLinks.revoke, passing the token after /c/ in the URL. Expired, revoked, invalid or cross-organization URLs return 404. Lifetime defaults to 900 seconds and is at most 604800 seconds. Issuance requires the same credential and file-read access as files.retrieveContent; a processing file returns 409 FILE_NOT_READY, so poll files.retrieve until active before retrying. A missing, expired or other-organization file returns 404. Each issuance creates a new link. OpenAI Files has no signed download URL; this follows S3 presigned GET semantics. Example body: {\"ttl_seconds\":3600}.",
|
|
11455
11467
|
"http": "POST",
|
|
11456
11468
|
"path": "/file/v1/files/{file_id}/content_url",
|
|
11457
11469
|
"streaming": "no",
|
|
@@ -11471,7 +11483,7 @@ export const operations = [
|
|
|
11471
11483
|
"name": "ttl_seconds",
|
|
11472
11484
|
"type": "integer",
|
|
11473
11485
|
"required": false,
|
|
11474
|
-
"description": "Download link lifetime in seconds, from 1 through 604800; omitted means
|
|
11486
|
+
"description": "Download link lifetime in seconds, from 1 through 604800; omitted means 900. This does not change the file's own expiry."
|
|
11475
11487
|
}
|
|
11476
11488
|
]
|
|
11477
11489
|
}
|
|
@@ -11738,7 +11750,7 @@ export const operations = [
|
|
|
11738
11750
|
"resource": "knowledge.vectorStores",
|
|
11739
11751
|
"method": "create",
|
|
11740
11752
|
"summary": "Create knowledge base",
|
|
11741
|
-
"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.
|
|
11753
|
+
"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\"}.",
|
|
11742
11754
|
"http": "POST",
|
|
11743
11755
|
"path": "/knowledge/v1/vector_stores",
|
|
11744
11756
|
"streaming": "no",
|
|
@@ -11777,7 +11789,7 @@ export const operations = [
|
|
|
11777
11789
|
"name": "chunking_strategy",
|
|
11778
11790
|
"type": "object",
|
|
11779
11791
|
"required": false,
|
|
11780
|
-
"description": "auto
|
|
11792
|
+
"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."
|
|
11781
11793
|
},
|
|
11782
11794
|
{
|
|
11783
11795
|
"name": "description",
|
|
@@ -12124,7 +12136,7 @@ export const operations = [
|
|
|
12124
12136
|
"resource": "knowledge.vectorStores.files",
|
|
12125
12137
|
"method": "create",
|
|
12126
12138
|
"summary": "Add file",
|
|
12127
|
-
"description": "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching.
|
|
12139
|
+
"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.",
|
|
12128
12140
|
"http": "POST",
|
|
12129
12141
|
"path": "/knowledge/v1/vector_stores/{vector_store_id}/files",
|
|
12130
12142
|
"streaming": "no",
|
|
@@ -12156,7 +12168,7 @@ export const operations = [
|
|
|
12156
12168
|
"name": "chunking_strategy",
|
|
12157
12169
|
"type": "object",
|
|
12158
12170
|
"required": false,
|
|
12159
|
-
"description": "auto
|
|
12171
|
+
"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."
|
|
12160
12172
|
}
|
|
12161
12173
|
]
|
|
12162
12174
|
}
|
|
@@ -12467,7 +12479,7 @@ export const operations = [
|
|
|
12467
12479
|
"resource": "media.libraries",
|
|
12468
12480
|
"method": "list",
|
|
12469
12481
|
"summary": "List libraries",
|
|
12470
|
-
"description": "
|
|
12482
|
+
"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.",
|
|
12471
12483
|
"http": "GET",
|
|
12472
12484
|
"path": "/media/v1/libraries",
|
|
12473
12485
|
"streaming": "no",
|
|
@@ -12549,7 +12561,7 @@ export const operations = [
|
|
|
12549
12561
|
"resource": "media.libraries",
|
|
12550
12562
|
"method": "delete",
|
|
12551
12563
|
"summary": "Delete library",
|
|
12552
|
-
"description": "
|
|
12564
|
+
"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.",
|
|
12553
12565
|
"http": "DELETE",
|
|
12554
12566
|
"path": "/media/v1/libraries/{library_id}",
|
|
12555
12567
|
"streaming": "no",
|
|
@@ -12567,7 +12579,7 @@ export const operations = [
|
|
|
12567
12579
|
"resource": "media.libraries",
|
|
12568
12580
|
"method": "retrieve",
|
|
12569
12581
|
"summary": "Get library",
|
|
12570
|
-
"description": "
|
|
12582
|
+
"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.",
|
|
12571
12583
|
"http": "GET",
|
|
12572
12584
|
"path": "/media/v1/libraries/{library_id}",
|
|
12573
12585
|
"streaming": "no",
|
|
@@ -12585,7 +12597,7 @@ export const operations = [
|
|
|
12585
12597
|
"resource": "media.libraries",
|
|
12586
12598
|
"method": "update",
|
|
12587
12599
|
"summary": "Update library",
|
|
12588
|
-
"description": "Update an active library
|
|
12600
|
+
"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.",
|
|
12589
12601
|
"http": "PATCH",
|
|
12590
12602
|
"path": "/media/v1/libraries/{library_id}",
|
|
12591
12603
|
"streaming": "no",
|
|
@@ -12639,7 +12651,7 @@ export const operations = [
|
|
|
12639
12651
|
"resource": "media.libraries.assets",
|
|
12640
12652
|
"method": "list",
|
|
12641
12653
|
"summary": "List assets",
|
|
12642
|
-
"description": "
|
|
12654
|
+
"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.",
|
|
12643
12655
|
"http": "GET",
|
|
12644
12656
|
"path": "/media/v1/libraries/{library_id}/assets",
|
|
12645
12657
|
"streaming": "no",
|
|
@@ -12687,7 +12699,7 @@ export const operations = [
|
|
|
12687
12699
|
"resource": "media.libraries.assets",
|
|
12688
12700
|
"method": "create",
|
|
12689
12701
|
"summary": "Upload asset",
|
|
12690
|
-
"description": "
|
|
12702
|
+
"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.",
|
|
12691
12703
|
"http": "POST",
|
|
12692
12704
|
"path": "/media/v1/libraries/{library_id}/assets",
|
|
12693
12705
|
"streaming": "no",
|
|
@@ -12732,7 +12744,7 @@ export const operations = [
|
|
|
12732
12744
|
"name": "asset_folder",
|
|
12733
12745
|
"type": "string",
|
|
12734
12746
|
"required": false,
|
|
12735
|
-
"description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
|
|
12747
|
+
"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."
|
|
12736
12748
|
},
|
|
12737
12749
|
{
|
|
12738
12750
|
"name": "use_filename",
|
|
@@ -12811,7 +12823,7 @@ export const operations = [
|
|
|
12811
12823
|
"resource": "media.libraries.assets.import",
|
|
12812
12824
|
"method": "create",
|
|
12813
12825
|
"summary": "Import file",
|
|
12814
|
-
"description": "Copy
|
|
12826
|
+
"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.",
|
|
12815
12827
|
"http": "POST",
|
|
12816
12828
|
"path": "/media/v1/libraries/{library_id}/assets/import",
|
|
12817
12829
|
"streaming": "no",
|
|
@@ -12831,7 +12843,7 @@ export const operations = [
|
|
|
12831
12843
|
"name": "file_id",
|
|
12832
12844
|
"type": "string",
|
|
12833
12845
|
"required": true,
|
|
12834
|
-
"description": "File ID to copy into this library instead of file bytes. This independent copy defaults to
|
|
12846
|
+
"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."
|
|
12835
12847
|
},
|
|
12836
12848
|
{
|
|
12837
12849
|
"name": "public_id",
|
|
@@ -12855,7 +12867,7 @@ export const operations = [
|
|
|
12855
12867
|
"name": "asset_folder",
|
|
12856
12868
|
"type": "string",
|
|
12857
12869
|
"required": false,
|
|
12858
|
-
"description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
|
|
12870
|
+
"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."
|
|
12859
12871
|
},
|
|
12860
12872
|
{
|
|
12861
12873
|
"name": "use_filename",
|
|
@@ -12934,7 +12946,7 @@ export const operations = [
|
|
|
12934
12946
|
"resource": "media.libraries.assets",
|
|
12935
12947
|
"method": "delete",
|
|
12936
12948
|
"summary": "Delete asset",
|
|
12937
|
-
"description": "
|
|
12949
|
+
"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.",
|
|
12938
12950
|
"http": "DELETE",
|
|
12939
12951
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
12940
12952
|
"streaming": "no",
|
|
@@ -12957,7 +12969,7 @@ export const operations = [
|
|
|
12957
12969
|
"resource": "media.libraries.assets",
|
|
12958
12970
|
"method": "retrieve",
|
|
12959
12971
|
"summary": "Get asset",
|
|
12960
|
-
"description": "
|
|
12972
|
+
"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.",
|
|
12961
12973
|
"http": "GET",
|
|
12962
12974
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
12963
12975
|
"streaming": "no",
|
|
@@ -12980,7 +12992,7 @@ export const operations = [
|
|
|
12980
12992
|
"resource": "media.libraries.assets",
|
|
12981
12993
|
"method": "update",
|
|
12982
12994
|
"summary": "Update asset",
|
|
12983
|
-
"description": "
|
|
12995
|
+
"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.",
|
|
12984
12996
|
"http": "PATCH",
|
|
12985
12997
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
12986
12998
|
"streaming": "no",
|
|
@@ -13011,7 +13023,7 @@ export const operations = [
|
|
|
13011
13023
|
"name": "asset_folder",
|
|
13012
13024
|
"type": "string",
|
|
13013
13025
|
"required": false,
|
|
13014
|
-
"description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
|
|
13026
|
+
"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."
|
|
13015
13027
|
},
|
|
13016
13028
|
{
|
|
13017
13029
|
"name": "tags",
|
|
@@ -13029,11 +13041,57 @@ export const operations = [
|
|
|
13029
13041
|
]
|
|
13030
13042
|
}
|
|
13031
13043
|
},
|
|
13044
|
+
{
|
|
13045
|
+
"resource": "media.libraries.assets.frames",
|
|
13046
|
+
"method": "create",
|
|
13047
|
+
"summary": "Create frame URLs",
|
|
13048
|
+
"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.",
|
|
13049
|
+
"http": "POST",
|
|
13050
|
+
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
|
|
13051
|
+
"streaming": "no",
|
|
13052
|
+
"pagination": false,
|
|
13053
|
+
"pathParams": [
|
|
13054
|
+
{
|
|
13055
|
+
"name": "library_id",
|
|
13056
|
+
"sdkName": "library_id",
|
|
13057
|
+
"description": "Library identifier returned by library creation or listing; must be accessible to the current credential."
|
|
13058
|
+
},
|
|
13059
|
+
{
|
|
13060
|
+
"name": "asset_id",
|
|
13061
|
+
"sdkName": "asset_id",
|
|
13062
|
+
"description": "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps."
|
|
13063
|
+
}
|
|
13064
|
+
],
|
|
13065
|
+
"query": [],
|
|
13066
|
+
"body": {
|
|
13067
|
+
"required": true,
|
|
13068
|
+
"fields": [
|
|
13069
|
+
{
|
|
13070
|
+
"name": "at_micros",
|
|
13071
|
+
"type": "array",
|
|
13072
|
+
"itemType": "integer",
|
|
13073
|
+
"required": true,
|
|
13074
|
+
"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."
|
|
13075
|
+
},
|
|
13076
|
+
{
|
|
13077
|
+
"name": "width",
|
|
13078
|
+
"type": "integer",
|
|
13079
|
+
"enum": [
|
|
13080
|
+
160,
|
|
13081
|
+
320,
|
|
13082
|
+
640
|
|
13083
|
+
],
|
|
13084
|
+
"required": false,
|
|
13085
|
+
"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."
|
|
13086
|
+
}
|
|
13087
|
+
]
|
|
13088
|
+
}
|
|
13089
|
+
},
|
|
13032
13090
|
{
|
|
13033
13091
|
"resource": "media.libraries.assets.reprocess",
|
|
13034
13092
|
"method": "create",
|
|
13035
13093
|
"summary": "Reprocess asset",
|
|
13036
|
-
"description": "
|
|
13094
|
+
"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.",
|
|
13037
13095
|
"http": "POST",
|
|
13038
13096
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess",
|
|
13039
13097
|
"streaming": "no",
|
|
@@ -13065,7 +13123,7 @@ export const operations = [
|
|
|
13065
13123
|
"embedding"
|
|
13066
13124
|
],
|
|
13067
13125
|
"required": false,
|
|
13068
|
-
"description": "Processing tasks to rerun. Omit to retry failed tasks
|
|
13126
|
+
"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."
|
|
13069
13127
|
}
|
|
13070
13128
|
]
|
|
13071
13129
|
}
|
|
@@ -13074,7 +13132,7 @@ export const operations = [
|
|
|
13074
13132
|
"resource": "media.libraries.assets.understandings",
|
|
13075
13133
|
"method": "list",
|
|
13076
13134
|
"summary": "List understandings",
|
|
13077
|
-
"description": "List an asset
|
|
13135
|
+
"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.",
|
|
13078
13136
|
"http": "GET",
|
|
13079
13137
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}/understandings",
|
|
13080
13138
|
"streaming": "no",
|
|
@@ -13106,10 +13164,13 @@ export const operations = [
|
|
|
13106
13164
|
"tags",
|
|
13107
13165
|
"ocr",
|
|
13108
13166
|
"transcript",
|
|
13109
|
-
"frame"
|
|
13167
|
+
"frame",
|
|
13168
|
+
"overview",
|
|
13169
|
+
"audio",
|
|
13170
|
+
"embedding"
|
|
13110
13171
|
],
|
|
13111
13172
|
"required": false,
|
|
13112
|
-
"description": "
|
|
13173
|
+
"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."
|
|
13113
13174
|
},
|
|
13114
13175
|
{
|
|
13115
13176
|
"name": "cursor",
|
|
@@ -13129,7 +13190,7 @@ export const operations = [
|
|
|
13129
13190
|
"resource": "media.libraries.assets",
|
|
13130
13191
|
"method": "batch",
|
|
13131
13192
|
"summary": "Batch assets alias",
|
|
13132
|
-
"description": "
|
|
13193
|
+
"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.",
|
|
13133
13194
|
"http": "POST",
|
|
13134
13195
|
"path": "/media/v1/libraries/{library_id}/assets:batch",
|
|
13135
13196
|
"streaming": "no",
|
|
@@ -13150,6 +13211,12 @@ export const operations = [
|
|
|
13150
13211
|
"type": "object",
|
|
13151
13212
|
"required": true,
|
|
13152
13213
|
"description": "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
|
|
13214
|
+
},
|
|
13215
|
+
{
|
|
13216
|
+
"name": "reason",
|
|
13217
|
+
"type": "string",
|
|
13218
|
+
"required": false,
|
|
13219
|
+
"description": "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
|
|
13153
13220
|
}
|
|
13154
13221
|
]
|
|
13155
13222
|
}
|
|
@@ -13158,7 +13225,7 @@ export const operations = [
|
|
|
13158
13225
|
"resource": "media.libraries.batches",
|
|
13159
13226
|
"method": "create",
|
|
13160
13227
|
"summary": "Create batch",
|
|
13161
|
-
"description": "
|
|
13228
|
+
"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.",
|
|
13162
13229
|
"http": "POST",
|
|
13163
13230
|
"path": "/media/v1/libraries/{library_id}/batches",
|
|
13164
13231
|
"streaming": "no",
|
|
@@ -13179,6 +13246,12 @@ export const operations = [
|
|
|
13179
13246
|
"type": "object",
|
|
13180
13247
|
"required": true,
|
|
13181
13248
|
"description": "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
|
|
13249
|
+
},
|
|
13250
|
+
{
|
|
13251
|
+
"name": "reason",
|
|
13252
|
+
"type": "string",
|
|
13253
|
+
"required": false,
|
|
13254
|
+
"description": "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
|
|
13182
13255
|
}
|
|
13183
13256
|
]
|
|
13184
13257
|
}
|
|
@@ -13187,7 +13260,7 @@ export const operations = [
|
|
|
13187
13260
|
"resource": "media.libraries.batches",
|
|
13188
13261
|
"method": "retrieve",
|
|
13189
13262
|
"summary": "Get batch",
|
|
13190
|
-
"description": "
|
|
13263
|
+
"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.",
|
|
13191
13264
|
"http": "GET",
|
|
13192
13265
|
"path": "/media/v1/libraries/{library_id}/batches/{job_id}",
|
|
13193
13266
|
"streaming": "no",
|
|
@@ -13210,7 +13283,7 @@ export const operations = [
|
|
|
13210
13283
|
"resource": "media.libraries.deliveryTokens",
|
|
13211
13284
|
"method": "create",
|
|
13212
13285
|
"summary": "Create delivery token",
|
|
13213
|
-
"description": "Issue a time-limited bearer token for originals and transformed authenticated assets in an active library. Use library_id from library creation or listing; read access is sufficient. Append token as the __cld_token__ query parameter on a matching delivery URL. The default ACL covers this library and the default lifetime is
|
|
13286
|
+
"description": "Issue a time-limited bearer token for originals and transformed authenticated assets in an active library. Use library_id from library creation or listing; read access is sufficient. Append token as the __cld_token__ query parameter on a matching delivery URL. The default ACL covers this library and the default lifetime is 900 seconds; narrow acl and expires_in before sharing. Anyone holding the token can read matching paths until expires_at.",
|
|
13214
13287
|
"http": "POST",
|
|
13215
13288
|
"path": "/media/v1/libraries/{library_id}/delivery_tokens",
|
|
13216
13289
|
"streaming": "no",
|
|
@@ -13236,7 +13309,7 @@ export const operations = [
|
|
|
13236
13309
|
"name": "expires_in",
|
|
13237
13310
|
"type": "integer",
|
|
13238
13311
|
"required": false,
|
|
13239
|
-
"description": "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to
|
|
13312
|
+
"description": "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 900."
|
|
13240
13313
|
}
|
|
13241
13314
|
]
|
|
13242
13315
|
}
|
|
@@ -13245,7 +13318,7 @@ export const operations = [
|
|
|
13245
13318
|
"resource": "media.libraries.events",
|
|
13246
13319
|
"method": "list",
|
|
13247
13320
|
"summary": "List events",
|
|
13248
|
-
"description": "Read library events in sequence order
|
|
13321
|
+
"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.",
|
|
13249
13322
|
"http": "GET",
|
|
13250
13323
|
"path": "/media/v1/libraries/{library_id}/events",
|
|
13251
13324
|
"streaming": "no",
|
|
@@ -13292,7 +13365,7 @@ export const operations = [
|
|
|
13292
13365
|
"resource": "media.libraries.folders",
|
|
13293
13366
|
"method": "list",
|
|
13294
13367
|
"summary": "List folders",
|
|
13295
|
-
"description": "
|
|
13368
|
+
"description": "undefined understood_count includes ready and partial assets; failed_count includes failed assets. Both accumulate descendants. counts_complete is false during historical backfill.",
|
|
13296
13369
|
"http": "GET",
|
|
13297
13370
|
"path": "/media/v1/libraries/{library_id}/folders",
|
|
13298
13371
|
"streaming": "no",
|
|
@@ -13317,7 +13390,7 @@ export const operations = [
|
|
|
13317
13390
|
"resource": "media.libraries.jobs",
|
|
13318
13391
|
"method": "retrieve",
|
|
13319
13392
|
"summary": "Get job alias",
|
|
13320
|
-
"description": "
|
|
13393
|
+
"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.",
|
|
13321
13394
|
"http": "GET",
|
|
13322
13395
|
"path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
|
|
13323
13396
|
"streaming": "no",
|
|
@@ -13340,7 +13413,7 @@ export const operations = [
|
|
|
13340
13413
|
"resource": "media.libraries.purge",
|
|
13341
13414
|
"method": "create",
|
|
13342
13415
|
"summary": "Purge library",
|
|
13343
|
-
"description": "
|
|
13416
|
+
"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.",
|
|
13344
13417
|
"http": "POST",
|
|
13345
13418
|
"path": "/media/v1/libraries/{library_id}/purge",
|
|
13346
13419
|
"streaming": "no",
|
|
@@ -13358,7 +13431,7 @@ export const operations = [
|
|
|
13358
13431
|
"resource": "media.libraries",
|
|
13359
13432
|
"method": "restore",
|
|
13360
13433
|
"summary": "Restore library",
|
|
13361
|
-
"description": "
|
|
13434
|
+
"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.",
|
|
13362
13435
|
"http": "POST",
|
|
13363
13436
|
"path": "/media/v1/libraries/{library_id}/restore",
|
|
13364
13437
|
"streaming": "no",
|
|
@@ -13376,7 +13449,7 @@ export const operations = [
|
|
|
13376
13449
|
"resource": "media.libraries.search",
|
|
13377
13450
|
"method": "create",
|
|
13378
13451
|
"summary": "Semantic search alias",
|
|
13379
|
-
"description": "
|
|
13452
|
+
"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.",
|
|
13380
13453
|
"http": "POST",
|
|
13381
13454
|
"path": "/media/v1/libraries/{library_id}/search",
|
|
13382
13455
|
"streaming": "no",
|
|
@@ -13427,7 +13500,7 @@ export const operations = [
|
|
|
13427
13500
|
"resource": "media.libraries.search.expression",
|
|
13428
13501
|
"method": "create",
|
|
13429
13502
|
"summary": "Expression search",
|
|
13430
|
-
"description": "
|
|
13503
|
+
"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.",
|
|
13431
13504
|
"http": "POST",
|
|
13432
13505
|
"path": "/media/v1/libraries/{library_id}/search/expression",
|
|
13433
13506
|
"streaming": "no",
|
|
@@ -13447,7 +13520,7 @@ export const operations = [
|
|
|
13447
13520
|
"name": "expression",
|
|
13448
13521
|
"type": "string",
|
|
13449
13522
|
"required": false,
|
|
13450
|
-
"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."
|
|
13523
|
+
"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."
|
|
13451
13524
|
},
|
|
13452
13525
|
{
|
|
13453
13526
|
"name": "sort_by",
|
|
@@ -13499,7 +13572,7 @@ export const operations = [
|
|
|
13499
13572
|
"resource": "media.libraries.search.semantic",
|
|
13500
13573
|
"method": "create",
|
|
13501
13574
|
"summary": "Semantic search",
|
|
13502
|
-
"description": "Search assets with a nonblank text query
|
|
13575
|
+
"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.",
|
|
13503
13576
|
"http": "POST",
|
|
13504
13577
|
"path": "/media/v1/libraries/{library_id}/search/semantic",
|
|
13505
13578
|
"streaming": "no",
|
|
@@ -13550,7 +13623,7 @@ export const operations = [
|
|
|
13550
13623
|
"resource": "media.libraries.search.visual",
|
|
13551
13624
|
"method": "create",
|
|
13552
13625
|
"summary": "Visual search",
|
|
13553
|
-
"description": "
|
|
13626
|
+
"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.",
|
|
13554
13627
|
"http": "POST",
|
|
13555
13628
|
"path": "/media/v1/libraries/{library_id}/search/visual",
|
|
13556
13629
|
"streaming": "no",
|
|
@@ -13593,6 +13666,67 @@ export const operations = [
|
|
|
13593
13666
|
]
|
|
13594
13667
|
}
|
|
13595
13668
|
},
|
|
13669
|
+
{
|
|
13670
|
+
"resource": "media.libraries.understandings",
|
|
13671
|
+
"method": "list",
|
|
13672
|
+
"summary": "List understanding results across a library",
|
|
13673
|
+
"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.",
|
|
13674
|
+
"http": "GET",
|
|
13675
|
+
"path": "/media/v1/libraries/{library_id}/understandings",
|
|
13676
|
+
"streaming": "no",
|
|
13677
|
+
"pagination": true,
|
|
13678
|
+
"pathParams": [
|
|
13679
|
+
{
|
|
13680
|
+
"name": "library_id",
|
|
13681
|
+
"sdkName": "library_id",
|
|
13682
|
+
"description": "Library ID returned by creation."
|
|
13683
|
+
}
|
|
13684
|
+
],
|
|
13685
|
+
"query": [
|
|
13686
|
+
{
|
|
13687
|
+
"name": "folder",
|
|
13688
|
+
"type": "string",
|
|
13689
|
+
"required": false,
|
|
13690
|
+
"description": "Folder path including all descendants; omitted or empty selects the entire library."
|
|
13691
|
+
},
|
|
13692
|
+
{
|
|
13693
|
+
"name": "kinds",
|
|
13694
|
+
"type": "string",
|
|
13695
|
+
"required": false,
|
|
13696
|
+
"description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
|
|
13697
|
+
},
|
|
13698
|
+
{
|
|
13699
|
+
"name": "cursor",
|
|
13700
|
+
"type": "string",
|
|
13701
|
+
"required": false,
|
|
13702
|
+
"description": "Cursor from the previous next_cursor."
|
|
13703
|
+
},
|
|
13704
|
+
{
|
|
13705
|
+
"name": "limit",
|
|
13706
|
+
"type": "integer",
|
|
13707
|
+
"required": false,
|
|
13708
|
+
"description": "Maximum entries in this page, from 1 through 100; defaults to 100."
|
|
13709
|
+
}
|
|
13710
|
+
]
|
|
13711
|
+
},
|
|
13712
|
+
{
|
|
13713
|
+
"resource": "media.libraries.understandings",
|
|
13714
|
+
"method": "retrieveFailureSummary",
|
|
13715
|
+
"summary": "Summarize understanding failures",
|
|
13716
|
+
"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.",
|
|
13717
|
+
"http": "GET",
|
|
13718
|
+
"path": "/media/v1/libraries/{library_id}/understandings/failure_summary",
|
|
13719
|
+
"streaming": "no",
|
|
13720
|
+
"pagination": false,
|
|
13721
|
+
"pathParams": [
|
|
13722
|
+
{
|
|
13723
|
+
"name": "library_id",
|
|
13724
|
+
"sdkName": "library_id",
|
|
13725
|
+
"description": "Library ID returned by creation."
|
|
13726
|
+
}
|
|
13727
|
+
],
|
|
13728
|
+
"query": []
|
|
13729
|
+
},
|
|
13596
13730
|
{
|
|
13597
13731
|
"resource": "meta.docs",
|
|
13598
13732
|
"method": "search",
|
|
@@ -13876,25 +14010,25 @@ export const operations = [
|
|
|
13876
14010
|
"name": "model",
|
|
13877
14011
|
"type": "string",
|
|
13878
14012
|
"required": true,
|
|
13879
|
-
"description": "
|
|
14013
|
+
"description": "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix."
|
|
13880
14014
|
},
|
|
13881
14015
|
{
|
|
13882
14016
|
"name": "file",
|
|
13883
14017
|
"type": "string",
|
|
13884
14018
|
"required": true,
|
|
13885
|
-
"description": "Audio
|
|
14019
|
+
"description": "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model."
|
|
13886
14020
|
},
|
|
13887
14021
|
{
|
|
13888
14022
|
"name": "language",
|
|
13889
14023
|
"type": "string",
|
|
13890
14024
|
"required": false,
|
|
13891
|
-
"description": "
|
|
14025
|
+
"description": "Source language code when known; omit to let the model detect the language."
|
|
13892
14026
|
},
|
|
13893
14027
|
{
|
|
13894
14028
|
"name": "prompt",
|
|
13895
14029
|
"type": "string",
|
|
13896
14030
|
"required": false,
|
|
13897
|
-
"description": "
|
|
14031
|
+
"description": "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model."
|
|
13898
14032
|
},
|
|
13899
14033
|
{
|
|
13900
14034
|
"name": "response_format",
|
|
@@ -13902,20 +14036,22 @@ export const operations = [
|
|
|
13902
14036
|
"enum": [
|
|
13903
14037
|
"json",
|
|
13904
14038
|
"text",
|
|
13905
|
-
"verbose_json"
|
|
14039
|
+
"verbose_json",
|
|
14040
|
+
"diarized_json"
|
|
13906
14041
|
],
|
|
13907
14042
|
"required": false,
|
|
13908
|
-
"description": "
|
|
14043
|
+
"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."
|
|
13909
14044
|
},
|
|
13910
14045
|
{
|
|
13911
14046
|
"name": "timestamp_granularities[]",
|
|
13912
14047
|
"type": "array",
|
|
13913
14048
|
"itemType": "string",
|
|
13914
14049
|
"enum": [
|
|
14050
|
+
"word",
|
|
13915
14051
|
"segment"
|
|
13916
14052
|
],
|
|
13917
14053
|
"required": false,
|
|
13918
|
-
"description": "Timestamp levels to
|
|
14054
|
+
"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."
|
|
13919
14055
|
},
|
|
13920
14056
|
{
|
|
13921
14057
|
"name": "temperature",
|
|
@@ -18943,7 +19079,7 @@ export const operations = [
|
|
|
18943
19079
|
"name": "filter",
|
|
18944
19080
|
"type": "string",
|
|
18945
19081
|
"required": false,
|
|
18946
|
-
"description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort;
|
|
19082
|
+
"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."
|
|
18947
19083
|
}
|
|
18948
19084
|
]
|
|
18949
19085
|
},
|