@deepraxis/sdk 0.1.1-dev.7d20ab6 → 0.1.1-dev.7e14834
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 +28 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +118 -47
- package/dist/generated/sdk.gen.js +185 -46
- package/dist/generated/types.gen.d.ts +1422 -141
- package/dist/operations.generated.d.ts +299 -56
- package/dist/operations.generated.js +368 -54
- package/dist/resources.generated.d.ts +34 -8
- package/dist/resources.generated.js +19 -0
- package/package.json +1 -1
|
@@ -135,7 +135,7 @@ export const operations = [
|
|
|
135
135
|
"type": "array",
|
|
136
136
|
"itemType": "object",
|
|
137
137
|
"required": false,
|
|
138
|
-
"description": "Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search or
|
|
138
|
+
"description": "Platform resources and services this service agent's codemode may reach, as one list of typed bindings. Only kind=service accepts a nonempty list; general and personal agents return 400. There are two kinds. A resource binding names one resource with id and access: database (id db_..., read_only or read_write), vector_store (id vs_..., read_only or read_write), file (id file- plus 24 letters or digits, as the File API returns it; read_only), media_library (any id without ':' or whitespace, read_only or read_write), model (a model catalog id, invoke), workflow and script (id <namespace>/<name>, invoke). A service binding opens a whole service and carries only enabled: search, browser, ticket, crm, canvas or cut. There is no binding by default; enabling one opens every public method of that service. At most 20 bindings per type, no repeated type and id, and each service type at most once. A session is authorized by the agent version it runs: newly added bindings apply only to new sessions, and a version saved with apply=false changes no access until it is applied. Applying a version that disables, removes or downgrades a binding revokes it immediately in running sessions on older versions. A resource that is not bound returns 404, a service that is not opened returns 403, and a write to a resource bound read_only returns 403 BINDING_READ_ONLY. Unknown types, fields on the wrong kind (id, access or instructions on a service binding), wrong access and malformed ids return 400. The former databases, vector_stores and files fields are removed and return 400. Omit on create for no bindings. Saving checks added or changed database, vector_store, media_library and file bindings in the organization: unknown or deleted ids return 400. If an owner is unavailable or takes more than 3 seconds, saving succeeds with verified=false for the affected bindings. Unchanged bindings keep their previous verification result and are not rechecked. workflow and script ids are not verified at save time."
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
141
|
"name": "kind",
|
|
@@ -10027,6 +10027,12 @@ export const operations = [
|
|
|
10027
10027
|
"type": "integer",
|
|
10028
10028
|
"required": false,
|
|
10029
10029
|
"description": "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
|
|
10030
|
+
},
|
|
10031
|
+
{
|
|
10032
|
+
"name": "loudness",
|
|
10033
|
+
"type": "object",
|
|
10034
|
+
"required": false,
|
|
10035
|
+
"description": "Optional loudness normalization target; normalization adds analysis and rendering work."
|
|
10030
10036
|
}
|
|
10031
10037
|
]
|
|
10032
10038
|
}
|
|
@@ -10035,7 +10041,7 @@ export const operations = [
|
|
|
10035
10041
|
"resource": "cut.projects.frames",
|
|
10036
10042
|
"method": "list",
|
|
10037
10043
|
"summary": "Render preview frames",
|
|
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.
|
|
10044
|
+
"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.",
|
|
10039
10045
|
"http": "GET",
|
|
10040
10046
|
"path": "/cut/v1/projects/{project_id}/frames",
|
|
10041
10047
|
"streaming": "no",
|
|
@@ -10250,7 +10256,7 @@ export const operations = [
|
|
|
10250
10256
|
"resource": "cut.projects",
|
|
10251
10257
|
"method": "execute",
|
|
10252
10258
|
"summary": "Execute editing script",
|
|
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[];\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| 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 the catalog defaults. Unknown kinds and unknown or invalid parameters are rejected. Effects: dissolve (no parameters); dip (color black/white, default black); push and wipe (direction left/right/up/down, default left); wipe also has softness 0–1, default 0; iris has centerX/centerY 0–1, both default 0.5; blinds has integer count 2–64, default 8, and orientation vertical/horizontal, default vertical; blur has radius 0–100 pixels at 1080-pixel frame height, default 24. 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, 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, 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, stroke, background, align, maxWidth, position, margin}`. 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}`. Text and captions support position (top/middle/bottom; box centers at 12%/50%/85% of height without margin) and optional margin (0–0.4 of canvas height, box edge distance for top/bottom; middle ignores it). Omitted position preserves the text transform (center by default); explicit position controls vertical placement, so omit it for y animation. Caption style additionally supports highlightColor and maxLines: 2. GetItem and GetTimeline return text style and current caption track style. Caption tracks only accept captions; use AddCaptionsFromTranscript, and place text on video tracks. |\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, playback, 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#### 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",
|
|
10259
|
+
"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[];\nListEffects(): EffectInfo[];\nListTextStyles(): TextStylePreset[];\nListTextTemplates(): TextTemplate[];\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 | { curve: { at: number; rate: number; ease?: Ease }[]; audio?: \"mute\" | \"resample\" }, 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; role?: \"voice\" | \"music\" | \"sfx\" }, 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> & { preset?: string }; maxChars?: number }): ClipId[];\nInsertTemplate(track: TrackId, o: { template: string; start: number; slots?: Record<string, string> }): ClipId[];\nAlignCaptions(trackId: TrackId, script: string, options?: { resplit?: boolean; maxChars?: number }): { replaced: number; added: number; deleted: number };\nImportCaptions(trackId: TrackId, text: string, o?: { format?: \"srt\" | \"vtt\"; offset?: number }): ClipId[];\nExportCaptions(trackId: TrackId, o: { format: \"srt\" | \"vtt\" }): string;\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, effects, blend 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| ListEffects | Discover the shared visual-effect catalog with parameter types, ranges, defaults, cost and bounds. Effects are supported only on visual clips. |\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. A `{curve: [{at, rate, ease?}, ...], audio?: \"mute\" | \"resample\"}` rate is forward-only and holds output duration fixed; pitch preservation is unavailable. Scalar rates: 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, audio role (`voice`, `music`, `sfx`) 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| ImportCaptions, ExportCaptions | Import SRT or WebVTT text onto a caption track and export it back. format is inferred from a WEBVTT header when omitted. offset shifts imported cues in seconds. Import rejects more than 100000 bytes, more than 5000 cues, malformed or overlapping file cues with INVALID_CAPTION_FILE; overlap with existing timeline clips uses the normal OVERLAP rejection. Export sorts by timeline start and writes millisecond timecodes. |\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, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| image | media, length | transform, fit, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| text | text, length | style, transform, blend, reveal, animate, animation, effects, mask, transitionIn, transitionOut |\n| color | color, length | transform, fill, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| shape | shape, length, width, height, fill | radius, stroke, transform, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| audio | media | length, sourceIn, playback, volumeDb, gain, fadeIn, fadeOut, duck |\n| caption | text, length | — |\n\nVisual Insert/Update also accepts `blend`: `normal` (default), `screen`, `multiply`, `overlay`, or `add`; set it to null in Update to clear it. During a Join overlap, both inputs render with normal blending. Video 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#### Visual effects\n\n`effects` is an ordered stack of at most 8 catalog entries. Call `ListEffects()` to discover the catalog; unknown kinds return `UNKNOWN_EFFECT`, invalid names/values/keyframes return `INVALID_EFFECT_PARAM`, and stacks over 8 return `TOO_MANY_EFFECTS`. Entries include blur, color adjustment, vignette, film grain, chromatic aberration, pixelate, glitch, shake, flash, light leak and built-in `lut` looks; user `.cube` LUTs are not supported. `speed` is cycles per second. Effects run on CPU during export and increase render time. Parameters are discovered with ListEffects(). Catalog entries expose their own parameters through ListEffects(), including `blur` (`radius` 0–100, default 24) and `color_adjust`: `brightness`, `contrast`, `temperature`, and `tint` each range -1–1 (default 0), while `saturation` ranges 0–2 (default 1). Disabled entries are skipped. `color_adjust` uses an SDR-only Rec.709 adjustment matrix with no color management.\n\nNumeric and integer effect parameters accept `keyframes: {parameter: [{at, value, ease?}, ...]}`; times are seconds relative to the clip, snap to frames like `animate`, must be strictly increasing and within clip duration, and values follow that parameter's catalog range. Omitted parameters use catalog defaults. Trim and Split preserve effect keyframes with the same clip-local behavior as `animate`. There are no custom shaders.\n\n`blend` applies to the completed visual layer after its content, effects and `transform.blur`; `add` maps to Skia Plus. The default `normal` path adds no blend layer. During Join overlaps, blending is forced to normal because each input is composed on transparency.\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, duck, animate, reveal, animation, fill, stroke, shape, width, height, radius, transitionIn, transitionOut, effects, blend, mask, gain. Values and units match Insert; set effects or blend to null to clear them. 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",
|
|
10254
10260
|
"http": "POST",
|
|
10255
10261
|
"path": "/cut/v1/projects/{project_id}:execute",
|
|
10256
10262
|
"streaming": "no",
|
|
@@ -11492,7 +11498,7 @@ export const operations = [
|
|
|
11492
11498
|
"resource": "file.uploads",
|
|
11493
11499
|
"method": "create",
|
|
11494
11500
|
"summary": "Create an upload",
|
|
11495
|
-
"description": "Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most
|
|
11501
|
+
"description": "Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most 20 GiB (21474836480 bytes) and only user_data, assistants and vision purposes. Send parts of at most 64000000 bytes; an unfinished upload waits for them for 7 days, so a client can create → send parts → query GET /file/v1/uploads/{upload_id} → resend only the missing parts → complete. Optional part_size fixes every part length and makes each numbered part retryable with identical bytes. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.",
|
|
11496
11502
|
"http": "POST",
|
|
11497
11503
|
"path": "/file/v1/uploads",
|
|
11498
11504
|
"streaming": "no",
|
|
@@ -11506,7 +11512,7 @@ export const operations = [
|
|
|
11506
11512
|
"name": "bytes",
|
|
11507
11513
|
"type": "integer",
|
|
11508
11514
|
"required": true,
|
|
11509
|
-
"description": "Exact complete file length in bytes, from 1 through
|
|
11515
|
+
"description": "Exact complete file length in bytes, from 1 through 21474836480 (20 GiB); the sum of completed parts must match."
|
|
11510
11516
|
},
|
|
11511
11517
|
{
|
|
11512
11518
|
"name": "filename",
|
|
@@ -11550,7 +11556,7 @@ export const operations = [
|
|
|
11550
11556
|
"resource": "file.uploads",
|
|
11551
11557
|
"method": "createSigned",
|
|
11552
11558
|
"summary": "Create a one-time upload URL",
|
|
11553
|
-
"description": "Upload a local file of up to
|
|
11559
|
+
"description": "Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide basename, exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.",
|
|
11554
11560
|
"http": "POST",
|
|
11555
11561
|
"path": "/file/v1/uploads/signed",
|
|
11556
11562
|
"streaming": "no",
|
|
@@ -11570,7 +11576,7 @@ export const operations = [
|
|
|
11570
11576
|
"name": "bytes",
|
|
11571
11577
|
"type": "integer",
|
|
11572
11578
|
"required": true,
|
|
11573
|
-
"description": "Exact local file size in bytes, from 1 through
|
|
11579
|
+
"description": "Exact local file size in bytes, from 1 through 21474836480 (20 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs, a completion URL and a status URL. Every PUT requires its exact signed Content-Length."
|
|
11574
11580
|
},
|
|
11575
11581
|
{
|
|
11576
11582
|
"name": "content_type",
|
|
@@ -11593,7 +11599,7 @@ export const operations = [
|
|
|
11593
11599
|
"name": "expires_in",
|
|
11594
11600
|
"type": "integer",
|
|
11595
11601
|
"required": false,
|
|
11596
|
-
"description": "Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or
|
|
11602
|
+
"description": "Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 604800 (7 days) for multipart. All part URLs, the status URL and the completion URL share one expiry. This does not set the resulting file's lifetime."
|
|
11597
11603
|
},
|
|
11598
11604
|
{
|
|
11599
11605
|
"name": "part_size",
|
|
@@ -11604,6 +11610,24 @@ export const operations = [
|
|
|
11604
11610
|
]
|
|
11605
11611
|
}
|
|
11606
11612
|
},
|
|
11613
|
+
{
|
|
11614
|
+
"resource": "file.uploads",
|
|
11615
|
+
"method": "retrieve",
|
|
11616
|
+
"summary": "Retrieve an upload",
|
|
11617
|
+
"description": "Read the state of an unfinished upload — its status, declared bytes, fixed part_size and the parts it already holds (received_parts, each with part_number, bytes and sha256). After a break or a failed part, call it to resend only the missing numbers, then complete. A cancelled or expired upload is refused; a completed one returns its file. A missing or other-organization upload returns 404.",
|
|
11618
|
+
"http": "GET",
|
|
11619
|
+
"path": "/file/v1/uploads/{upload_id}",
|
|
11620
|
+
"streaming": "no",
|
|
11621
|
+
"pagination": false,
|
|
11622
|
+
"pathParams": [
|
|
11623
|
+
{
|
|
11624
|
+
"name": "upload_id",
|
|
11625
|
+
"sdkName": "upload_id",
|
|
11626
|
+
"description": "Upload identifier returned by create; the upload must belong to your organization."
|
|
11627
|
+
}
|
|
11628
|
+
],
|
|
11629
|
+
"query": []
|
|
11630
|
+
},
|
|
11607
11631
|
{
|
|
11608
11632
|
"resource": "file.uploads",
|
|
11609
11633
|
"method": "cancel",
|
|
@@ -11626,7 +11650,7 @@ export const operations = [
|
|
|
11626
11650
|
"resource": "file.uploads",
|
|
11627
11651
|
"method": "complete",
|
|
11628
11652
|
"summary": "Complete an upload",
|
|
11629
|
-
"description": "Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.",
|
|
11653
|
+
"description": "Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. When parts were lost, query GET /file/v1/uploads/{upload_id} and resend them before completing. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.",
|
|
11630
11654
|
"http": "POST",
|
|
11631
11655
|
"path": "/file/v1/uploads/{upload_id}/complete",
|
|
11632
11656
|
"streaming": "no",
|
|
@@ -11662,7 +11686,7 @@ export const operations = [
|
|
|
11662
11686
|
"resource": "file.uploads.parts",
|
|
11663
11687
|
"method": "create",
|
|
11664
11688
|
"summary": "Add an upload part",
|
|
11665
|
-
"description": "Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.",
|
|
11689
|
+
"description": "Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID, and query GET /file/v1/uploads/{upload_id} to see which numbers already arrived. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.",
|
|
11666
11690
|
"http": "POST",
|
|
11667
11691
|
"path": "/file/v1/uploads/{upload_id}/parts",
|
|
11668
11692
|
"streaming": "no",
|
|
@@ -11750,7 +11774,7 @@ export const operations = [
|
|
|
11750
11774
|
"resource": "knowledge.vectorStores",
|
|
11751
11775
|
"method": "create",
|
|
11752
11776
|
"summary": "Create knowledge base",
|
|
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.
|
|
11777
|
+
"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\"}.",
|
|
11754
11778
|
"http": "POST",
|
|
11755
11779
|
"path": "/knowledge/v1/vector_stores",
|
|
11756
11780
|
"streaming": "no",
|
|
@@ -11789,7 +11813,7 @@ export const operations = [
|
|
|
11789
11813
|
"name": "chunking_strategy",
|
|
11790
11814
|
"type": "object",
|
|
11791
11815
|
"required": false,
|
|
11792
|
-
"description": "auto
|
|
11816
|
+
"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."
|
|
11793
11817
|
},
|
|
11794
11818
|
{
|
|
11795
11819
|
"name": "description",
|
|
@@ -12136,7 +12160,7 @@ export const operations = [
|
|
|
12136
12160
|
"resource": "knowledge.vectorStores.files",
|
|
12137
12161
|
"method": "create",
|
|
12138
12162
|
"summary": "Add file",
|
|
12139
|
-
"description": "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching.
|
|
12163
|
+
"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.",
|
|
12140
12164
|
"http": "POST",
|
|
12141
12165
|
"path": "/knowledge/v1/vector_stores/{vector_store_id}/files",
|
|
12142
12166
|
"streaming": "no",
|
|
@@ -12168,7 +12192,7 @@ export const operations = [
|
|
|
12168
12192
|
"name": "chunking_strategy",
|
|
12169
12193
|
"type": "object",
|
|
12170
12194
|
"required": false,
|
|
12171
|
-
"description": "auto
|
|
12195
|
+
"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."
|
|
12172
12196
|
}
|
|
12173
12197
|
]
|
|
12174
12198
|
}
|
|
@@ -12475,11 +12499,23 @@ export const operations = [
|
|
|
12475
12499
|
],
|
|
12476
12500
|
"query": []
|
|
12477
12501
|
},
|
|
12502
|
+
{
|
|
12503
|
+
"resource": "media.generation.capabilities",
|
|
12504
|
+
"method": "list",
|
|
12505
|
+
"summary": "Get generation capabilities",
|
|
12506
|
+
"description": "Read supported text-to-video intent, default model, duration and aspect-ratio limits, per-library concurrency and candidate retention. Generation is charged per second; unsaved candidates expire after 7 days.",
|
|
12507
|
+
"http": "GET",
|
|
12508
|
+
"path": "/media/v1/generation/capabilities",
|
|
12509
|
+
"streaming": "no",
|
|
12510
|
+
"pagination": false,
|
|
12511
|
+
"pathParams": [],
|
|
12512
|
+
"query": []
|
|
12513
|
+
},
|
|
12478
12514
|
{
|
|
12479
12515
|
"resource": "media.libraries",
|
|
12480
12516
|
"method": "list",
|
|
12481
12517
|
"summary": "List libraries",
|
|
12482
|
-
"description": "
|
|
12518
|
+
"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.",
|
|
12483
12519
|
"http": "GET",
|
|
12484
12520
|
"path": "/media/v1/libraries",
|
|
12485
12521
|
"streaming": "no",
|
|
@@ -12561,7 +12597,7 @@ export const operations = [
|
|
|
12561
12597
|
"resource": "media.libraries",
|
|
12562
12598
|
"method": "delete",
|
|
12563
12599
|
"summary": "Delete library",
|
|
12564
|
-
"description": "
|
|
12600
|
+
"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.",
|
|
12565
12601
|
"http": "DELETE",
|
|
12566
12602
|
"path": "/media/v1/libraries/{library_id}",
|
|
12567
12603
|
"streaming": "no",
|
|
@@ -12579,7 +12615,7 @@ export const operations = [
|
|
|
12579
12615
|
"resource": "media.libraries",
|
|
12580
12616
|
"method": "retrieve",
|
|
12581
12617
|
"summary": "Get library",
|
|
12582
|
-
"description": "
|
|
12618
|
+
"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.",
|
|
12583
12619
|
"http": "GET",
|
|
12584
12620
|
"path": "/media/v1/libraries/{library_id}",
|
|
12585
12621
|
"streaming": "no",
|
|
@@ -12651,7 +12687,7 @@ export const operations = [
|
|
|
12651
12687
|
"resource": "media.libraries.assets",
|
|
12652
12688
|
"method": "list",
|
|
12653
12689
|
"summary": "List assets",
|
|
12654
|
-
"description": "
|
|
12690
|
+
"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.",
|
|
12655
12691
|
"http": "GET",
|
|
12656
12692
|
"path": "/media/v1/libraries/{library_id}/assets",
|
|
12657
12693
|
"streaming": "no",
|
|
@@ -12699,7 +12735,7 @@ export const operations = [
|
|
|
12699
12735
|
"resource": "media.libraries.assets",
|
|
12700
12736
|
"method": "create",
|
|
12701
12737
|
"summary": "Upload asset",
|
|
12702
|
-
"description": "
|
|
12738
|
+
"description": " For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
|
|
12703
12739
|
"http": "POST",
|
|
12704
12740
|
"path": "/media/v1/libraries/{library_id}/assets",
|
|
12705
12741
|
"streaming": "no",
|
|
@@ -12744,7 +12780,7 @@ export const operations = [
|
|
|
12744
12780
|
"name": "asset_folder",
|
|
12745
12781
|
"type": "string",
|
|
12746
12782
|
"required": false,
|
|
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."
|
|
12783
|
+
"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."
|
|
12748
12784
|
},
|
|
12749
12785
|
{
|
|
12750
12786
|
"name": "use_filename",
|
|
@@ -12823,7 +12859,7 @@ export const operations = [
|
|
|
12823
12859
|
"resource": "media.libraries.assets.import",
|
|
12824
12860
|
"method": "create",
|
|
12825
12861
|
"summary": "Import file",
|
|
12826
|
-
"description": "Copy a File into an independent Media asset.
|
|
12862
|
+
"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 or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
|
|
12827
12863
|
"http": "POST",
|
|
12828
12864
|
"path": "/media/v1/libraries/{library_id}/assets/import",
|
|
12829
12865
|
"streaming": "no",
|
|
@@ -12843,7 +12879,7 @@ export const operations = [
|
|
|
12843
12879
|
"name": "file_id",
|
|
12844
12880
|
"type": "string",
|
|
12845
12881
|
"required": true,
|
|
12846
|
-
"description": "File ID to copy into this library instead of file bytes. This independent copy defaults to
|
|
12882
|
+
"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."
|
|
12847
12883
|
},
|
|
12848
12884
|
{
|
|
12849
12885
|
"name": "public_id",
|
|
@@ -12867,7 +12903,7 @@ export const operations = [
|
|
|
12867
12903
|
"name": "asset_folder",
|
|
12868
12904
|
"type": "string",
|
|
12869
12905
|
"required": false,
|
|
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."
|
|
12906
|
+
"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."
|
|
12871
12907
|
},
|
|
12872
12908
|
{
|
|
12873
12909
|
"name": "use_filename",
|
|
@@ -12946,7 +12982,7 @@ export const operations = [
|
|
|
12946
12982
|
"resource": "media.libraries.assets",
|
|
12947
12983
|
"method": "delete",
|
|
12948
12984
|
"summary": "Delete asset",
|
|
12949
|
-
"description": "
|
|
12985
|
+
"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.",
|
|
12950
12986
|
"http": "DELETE",
|
|
12951
12987
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
12952
12988
|
"streaming": "no",
|
|
@@ -12969,7 +13005,7 @@ export const operations = [
|
|
|
12969
13005
|
"resource": "media.libraries.assets",
|
|
12970
13006
|
"method": "retrieve",
|
|
12971
13007
|
"summary": "Get asset",
|
|
12972
|
-
"description": "
|
|
13008
|
+
"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.",
|
|
12973
13009
|
"http": "GET",
|
|
12974
13010
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
12975
13011
|
"streaming": "no",
|
|
@@ -12992,7 +13028,7 @@ export const operations = [
|
|
|
12992
13028
|
"resource": "media.libraries.assets",
|
|
12993
13029
|
"method": "update",
|
|
12994
13030
|
"summary": "Update asset",
|
|
12995
|
-
"description": "
|
|
13031
|
+
"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.",
|
|
12996
13032
|
"http": "PATCH",
|
|
12997
13033
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
|
|
12998
13034
|
"streaming": "no",
|
|
@@ -13023,7 +13059,7 @@ export const operations = [
|
|
|
13023
13059
|
"name": "asset_folder",
|
|
13024
13060
|
"type": "string",
|
|
13025
13061
|
"required": false,
|
|
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."
|
|
13062
|
+
"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."
|
|
13027
13063
|
},
|
|
13028
13064
|
{
|
|
13029
13065
|
"name": "tags",
|
|
@@ -13041,11 +13077,57 @@ export const operations = [
|
|
|
13041
13077
|
]
|
|
13042
13078
|
}
|
|
13043
13079
|
},
|
|
13080
|
+
{
|
|
13081
|
+
"resource": "media.libraries.assets.frames",
|
|
13082
|
+
"method": "create",
|
|
13083
|
+
"summary": "Create frame URLs",
|
|
13084
|
+
"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.",
|
|
13085
|
+
"http": "POST",
|
|
13086
|
+
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
|
|
13087
|
+
"streaming": "no",
|
|
13088
|
+
"pagination": false,
|
|
13089
|
+
"pathParams": [
|
|
13090
|
+
{
|
|
13091
|
+
"name": "library_id",
|
|
13092
|
+
"sdkName": "library_id",
|
|
13093
|
+
"description": "Library identifier returned by library creation or listing; must be accessible to the current credential."
|
|
13094
|
+
},
|
|
13095
|
+
{
|
|
13096
|
+
"name": "asset_id",
|
|
13097
|
+
"sdkName": "asset_id",
|
|
13098
|
+
"description": "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps."
|
|
13099
|
+
}
|
|
13100
|
+
],
|
|
13101
|
+
"query": [],
|
|
13102
|
+
"body": {
|
|
13103
|
+
"required": true,
|
|
13104
|
+
"fields": [
|
|
13105
|
+
{
|
|
13106
|
+
"name": "at_micros",
|
|
13107
|
+
"type": "array",
|
|
13108
|
+
"itemType": "integer",
|
|
13109
|
+
"required": true,
|
|
13110
|
+
"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."
|
|
13111
|
+
},
|
|
13112
|
+
{
|
|
13113
|
+
"name": "width",
|
|
13114
|
+
"type": "integer",
|
|
13115
|
+
"enum": [
|
|
13116
|
+
160,
|
|
13117
|
+
320,
|
|
13118
|
+
640
|
|
13119
|
+
],
|
|
13120
|
+
"required": false,
|
|
13121
|
+
"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."
|
|
13122
|
+
}
|
|
13123
|
+
]
|
|
13124
|
+
}
|
|
13125
|
+
},
|
|
13044
13126
|
{
|
|
13045
13127
|
"resource": "media.libraries.assets.reprocess",
|
|
13046
13128
|
"method": "create",
|
|
13047
13129
|
"summary": "Reprocess asset",
|
|
13048
|
-
"description": "
|
|
13130
|
+
"description": " For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
|
|
13049
13131
|
"http": "POST",
|
|
13050
13132
|
"path": "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess",
|
|
13051
13133
|
"streaming": "no",
|
|
@@ -13077,7 +13159,7 @@ export const operations = [
|
|
|
13077
13159
|
"embedding"
|
|
13078
13160
|
],
|
|
13079
13161
|
"required": false,
|
|
13080
|
-
"description": "Processing tasks to rerun. Omit to retry failed tasks
|
|
13162
|
+
"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."
|
|
13081
13163
|
}
|
|
13082
13164
|
]
|
|
13083
13165
|
}
|
|
@@ -13120,10 +13202,11 @@ export const operations = [
|
|
|
13120
13202
|
"transcript",
|
|
13121
13203
|
"frame",
|
|
13122
13204
|
"overview",
|
|
13205
|
+
"audio",
|
|
13123
13206
|
"embedding"
|
|
13124
13207
|
],
|
|
13125
13208
|
"required": false,
|
|
13126
|
-
"description": "Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, and embedding reports a failed embedding step."
|
|
13209
|
+
"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."
|
|
13127
13210
|
},
|
|
13128
13211
|
{
|
|
13129
13212
|
"name": "cursor",
|
|
@@ -13143,7 +13226,7 @@ export const operations = [
|
|
|
13143
13226
|
"resource": "media.libraries.assets",
|
|
13144
13227
|
"method": "batch",
|
|
13145
13228
|
"summary": "Batch assets alias",
|
|
13146
|
-
"description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps rerun. Omit kinds to inspect all
|
|
13229
|
+
"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 or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
|
|
13147
13230
|
"http": "POST",
|
|
13148
13231
|
"path": "/media/v1/libraries/{library_id}/assets:batch",
|
|
13149
13232
|
"streaming": "no",
|
|
@@ -13178,7 +13261,7 @@ export const operations = [
|
|
|
13178
13261
|
"resource": "media.libraries.batches",
|
|
13179
13262
|
"method": "create",
|
|
13180
13263
|
"summary": "Create batch",
|
|
13181
|
-
"description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps rerun. Omit kinds to inspect all
|
|
13264
|
+
"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 or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
|
|
13182
13265
|
"http": "POST",
|
|
13183
13266
|
"path": "/media/v1/libraries/{library_id}/batches",
|
|
13184
13267
|
"streaming": "no",
|
|
@@ -13213,7 +13296,7 @@ export const operations = [
|
|
|
13213
13296
|
"resource": "media.libraries.batches",
|
|
13214
13297
|
"method": "retrieve",
|
|
13215
13298
|
"summary": "Get batch",
|
|
13216
|
-
"description": "
|
|
13299
|
+
"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.",
|
|
13217
13300
|
"http": "GET",
|
|
13218
13301
|
"path": "/media/v1/libraries/{library_id}/batches/{job_id}",
|
|
13219
13302
|
"streaming": "no",
|
|
@@ -13271,7 +13354,7 @@ export const operations = [
|
|
|
13271
13354
|
"resource": "media.libraries.events",
|
|
13272
13355
|
"method": "list",
|
|
13273
13356
|
"summary": "List events",
|
|
13274
|
-
"description": "Read library events in sequence order
|
|
13357
|
+
"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.",
|
|
13275
13358
|
"http": "GET",
|
|
13276
13359
|
"path": "/media/v1/libraries/{library_id}/events",
|
|
13277
13360
|
"streaming": "no",
|
|
@@ -13339,11 +13422,155 @@ export const operations = [
|
|
|
13339
13422
|
}
|
|
13340
13423
|
]
|
|
13341
13424
|
},
|
|
13425
|
+
{
|
|
13426
|
+
"resource": "media.libraries.generations",
|
|
13427
|
+
"method": "create",
|
|
13428
|
+
"summary": "Create video generation",
|
|
13429
|
+
"description": "Create a video.generate job. Generation is charged per second. The response is 202 with a queued Job; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until terminal, then save successful outputs. Unsaved candidate Files expire after 7 days.",
|
|
13430
|
+
"http": "POST",
|
|
13431
|
+
"path": "/media/v1/libraries/{library_id}/generations",
|
|
13432
|
+
"streaming": "no",
|
|
13433
|
+
"pagination": false,
|
|
13434
|
+
"pathParams": [
|
|
13435
|
+
{
|
|
13436
|
+
"name": "library_id",
|
|
13437
|
+
"sdkName": "library_id",
|
|
13438
|
+
"description": "Library ID returned by creation."
|
|
13439
|
+
}
|
|
13440
|
+
],
|
|
13441
|
+
"query": [],
|
|
13442
|
+
"body": {
|
|
13443
|
+
"required": true,
|
|
13444
|
+
"fields": [
|
|
13445
|
+
{
|
|
13446
|
+
"name": "intent",
|
|
13447
|
+
"type": "string",
|
|
13448
|
+
"required": true,
|
|
13449
|
+
"description": "Generation operation; v1 accepts only video.generate text-to-video requests."
|
|
13450
|
+
},
|
|
13451
|
+
{
|
|
13452
|
+
"name": "prompt",
|
|
13453
|
+
"type": "string",
|
|
13454
|
+
"required": true,
|
|
13455
|
+
"description": "Text prompt describing the video to generate."
|
|
13456
|
+
},
|
|
13457
|
+
{
|
|
13458
|
+
"name": "count",
|
|
13459
|
+
"type": "integer",
|
|
13460
|
+
"required": false,
|
|
13461
|
+
"description": "Number of videos to generate; defaults to 1 and must be from 1 to 4."
|
|
13462
|
+
},
|
|
13463
|
+
{
|
|
13464
|
+
"name": "duration_seconds",
|
|
13465
|
+
"type": "integer",
|
|
13466
|
+
"required": false,
|
|
13467
|
+
"description": "Requested video duration in seconds; Router validates the model-specific supported durations."
|
|
13468
|
+
},
|
|
13469
|
+
{
|
|
13470
|
+
"name": "aspect_ratio",
|
|
13471
|
+
"type": "string",
|
|
13472
|
+
"required": false,
|
|
13473
|
+
"description": "Requested output aspect ratio; defaults to 16:9 and Router validates model support."
|
|
13474
|
+
},
|
|
13475
|
+
{
|
|
13476
|
+
"name": "model",
|
|
13477
|
+
"type": "string",
|
|
13478
|
+
"required": false,
|
|
13479
|
+
"description": "Router model with video_generation capability; defaults to wan2.7-t2v."
|
|
13480
|
+
},
|
|
13481
|
+
{
|
|
13482
|
+
"name": "save",
|
|
13483
|
+
"type": "string",
|
|
13484
|
+
"enum": [
|
|
13485
|
+
"candidate",
|
|
13486
|
+
"library"
|
|
13487
|
+
],
|
|
13488
|
+
"required": false,
|
|
13489
|
+
"description": "candidate keeps outputs temporary for explicit save calls; library saves successful outputs automatically."
|
|
13490
|
+
},
|
|
13491
|
+
{
|
|
13492
|
+
"name": "asset_folder",
|
|
13493
|
+
"type": "string",
|
|
13494
|
+
"required": false,
|
|
13495
|
+
"description": "Folder for assets saved automatically or by later save calls; defaults to the library root. 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."
|
|
13496
|
+
},
|
|
13497
|
+
{
|
|
13498
|
+
"name": "tags",
|
|
13499
|
+
"type": "array",
|
|
13500
|
+
"itemType": "string",
|
|
13501
|
+
"required": false,
|
|
13502
|
+
"description": "Tags applied when an output becomes a library asset."
|
|
13503
|
+
},
|
|
13504
|
+
{
|
|
13505
|
+
"name": "understanding",
|
|
13506
|
+
"type": "string",
|
|
13507
|
+
"enum": [
|
|
13508
|
+
"auto",
|
|
13509
|
+
"skip"
|
|
13510
|
+
],
|
|
13511
|
+
"required": false,
|
|
13512
|
+
"description": "Understanding behavior when a candidate is saved as an asset; defaults to auto."
|
|
13513
|
+
},
|
|
13514
|
+
{
|
|
13515
|
+
"name": "references",
|
|
13516
|
+
"type": "array",
|
|
13517
|
+
"itemType": "object",
|
|
13518
|
+
"required": false,
|
|
13519
|
+
"description": "Not supported in v1; omit this field. Only text-to-video is currently available."
|
|
13520
|
+
}
|
|
13521
|
+
]
|
|
13522
|
+
}
|
|
13523
|
+
},
|
|
13524
|
+
{
|
|
13525
|
+
"resource": "media.libraries.jobs",
|
|
13526
|
+
"method": "list",
|
|
13527
|
+
"summary": "List jobs",
|
|
13528
|
+
"description": "List batch and video-generation jobs in a library. Filter by status and continue with next_cursor. Poll a generation Job until terminal, then save successful candidate outputs before they expire after 7 days.",
|
|
13529
|
+
"http": "GET",
|
|
13530
|
+
"path": "/media/v1/libraries/{library_id}/jobs",
|
|
13531
|
+
"streaming": "no",
|
|
13532
|
+
"pagination": true,
|
|
13533
|
+
"pathParams": [
|
|
13534
|
+
{
|
|
13535
|
+
"name": "library_id",
|
|
13536
|
+
"sdkName": "library_id",
|
|
13537
|
+
"description": "Library ID returned by creation."
|
|
13538
|
+
}
|
|
13539
|
+
],
|
|
13540
|
+
"query": [
|
|
13541
|
+
{
|
|
13542
|
+
"name": "status",
|
|
13543
|
+
"type": "string",
|
|
13544
|
+
"enum": [
|
|
13545
|
+
"queued",
|
|
13546
|
+
"running",
|
|
13547
|
+
"completed",
|
|
13548
|
+
"completed_with_errors",
|
|
13549
|
+
"failed",
|
|
13550
|
+
"cancelled"
|
|
13551
|
+
],
|
|
13552
|
+
"required": false,
|
|
13553
|
+
"description": "Filter jobs by their current status."
|
|
13554
|
+
},
|
|
13555
|
+
{
|
|
13556
|
+
"name": "limit",
|
|
13557
|
+
"type": "integer",
|
|
13558
|
+
"required": false,
|
|
13559
|
+
"description": "Maximum entries in this page, from 1 through 100; defaults to 100."
|
|
13560
|
+
},
|
|
13561
|
+
{
|
|
13562
|
+
"name": "cursor",
|
|
13563
|
+
"type": "string",
|
|
13564
|
+
"required": false,
|
|
13565
|
+
"description": "Job id from the previous page’s next_cursor; omit for the first page."
|
|
13566
|
+
}
|
|
13567
|
+
]
|
|
13568
|
+
},
|
|
13342
13569
|
{
|
|
13343
13570
|
"resource": "media.libraries.jobs",
|
|
13344
13571
|
"method": "retrieve",
|
|
13345
|
-
"summary": "Get job
|
|
13346
|
-
"description": "
|
|
13572
|
+
"summary": "Get job",
|
|
13573
|
+
"description": "Read the current batch or video-generation Job status and progress. For generation, inspect outputs and failures, then save successful candidates before their preview and save window expires after 7 days.",
|
|
13347
13574
|
"http": "GET",
|
|
13348
13575
|
"path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
|
|
13349
13576
|
"streaming": "no",
|
|
@@ -13357,16 +13584,101 @@ export const operations = [
|
|
|
13357
13584
|
{
|
|
13358
13585
|
"name": "job_id",
|
|
13359
13586
|
"sdkName": "job_id",
|
|
13360
|
-
"description": "
|
|
13587
|
+
"description": "Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library."
|
|
13588
|
+
}
|
|
13589
|
+
],
|
|
13590
|
+
"query": []
|
|
13591
|
+
},
|
|
13592
|
+
{
|
|
13593
|
+
"resource": "media.libraries.jobs",
|
|
13594
|
+
"method": "cancel",
|
|
13595
|
+
"summary": "Cancel job",
|
|
13596
|
+
"description": "Cancel a queued or running generation job. Already completed outputs remain available to save; poll or read the returned Job to confirm its status.",
|
|
13597
|
+
"http": "POST",
|
|
13598
|
+
"path": "/media/v1/libraries/{library_id}/jobs/{job_id}/cancel",
|
|
13599
|
+
"streaming": "no",
|
|
13600
|
+
"pagination": false,
|
|
13601
|
+
"pathParams": [
|
|
13602
|
+
{
|
|
13603
|
+
"name": "library_id",
|
|
13604
|
+
"sdkName": "library_id",
|
|
13605
|
+
"description": "Library ID returned by creation."
|
|
13606
|
+
},
|
|
13607
|
+
{
|
|
13608
|
+
"name": "job_id",
|
|
13609
|
+
"sdkName": "job_id",
|
|
13610
|
+
"description": "Job identifier returned by batch or generation creation; the job is resolved within the specified library."
|
|
13361
13611
|
}
|
|
13362
13612
|
],
|
|
13363
13613
|
"query": []
|
|
13364
13614
|
},
|
|
13615
|
+
{
|
|
13616
|
+
"resource": "media.libraries.jobs.outputs.save",
|
|
13617
|
+
"method": "create",
|
|
13618
|
+
"summary": "Save generation output",
|
|
13619
|
+
"description": "Save a successful candidate as a library asset. Candidate outputs expire after 7 days; save before expiry. Generation is charged per second when the job runs, not when an output is saved.",
|
|
13620
|
+
"http": "POST",
|
|
13621
|
+
"path": "/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save",
|
|
13622
|
+
"streaming": "no",
|
|
13623
|
+
"pagination": false,
|
|
13624
|
+
"pathParams": [
|
|
13625
|
+
{
|
|
13626
|
+
"name": "library_id",
|
|
13627
|
+
"sdkName": "library_id",
|
|
13628
|
+
"description": "Library ID returned by creation."
|
|
13629
|
+
},
|
|
13630
|
+
{
|
|
13631
|
+
"name": "job_id",
|
|
13632
|
+
"sdkName": "job_id",
|
|
13633
|
+
"description": "Job identifier returned by batch or generation creation; the job is resolved within the specified library."
|
|
13634
|
+
},
|
|
13635
|
+
{
|
|
13636
|
+
"name": "index",
|
|
13637
|
+
"sdkName": "index",
|
|
13638
|
+
"description": "Zero-based position of the candidate in the Job outputs array."
|
|
13639
|
+
}
|
|
13640
|
+
],
|
|
13641
|
+
"query": [],
|
|
13642
|
+
"body": {
|
|
13643
|
+
"required": false,
|
|
13644
|
+
"fields": [
|
|
13645
|
+
{
|
|
13646
|
+
"name": "public_id",
|
|
13647
|
+
"type": "string",
|
|
13648
|
+
"required": false,
|
|
13649
|
+
"description": "Delivery identifier for the saved asset; defaults to gen_<job_id>_<index> and is idempotent."
|
|
13650
|
+
},
|
|
13651
|
+
{
|
|
13652
|
+
"name": "asset_folder",
|
|
13653
|
+
"type": "string",
|
|
13654
|
+
"required": false,
|
|
13655
|
+
"description": "Destination folder for the saved asset; defaults to the library root. 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."
|
|
13656
|
+
},
|
|
13657
|
+
{
|
|
13658
|
+
"name": "tags",
|
|
13659
|
+
"type": "array",
|
|
13660
|
+
"itemType": "string",
|
|
13661
|
+
"required": false,
|
|
13662
|
+
"description": "Tags to apply to the saved asset."
|
|
13663
|
+
},
|
|
13664
|
+
{
|
|
13665
|
+
"name": "understanding",
|
|
13666
|
+
"type": "string",
|
|
13667
|
+
"enum": [
|
|
13668
|
+
"auto",
|
|
13669
|
+
"skip"
|
|
13670
|
+
],
|
|
13671
|
+
"required": false,
|
|
13672
|
+
"description": "Understanding behavior for the saved asset; defaults to auto."
|
|
13673
|
+
}
|
|
13674
|
+
]
|
|
13675
|
+
}
|
|
13676
|
+
},
|
|
13365
13677
|
{
|
|
13366
13678
|
"resource": "media.libraries.purge",
|
|
13367
13679
|
"method": "create",
|
|
13368
13680
|
"summary": "Purge library",
|
|
13369
|
-
"description": "
|
|
13681
|
+
"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.",
|
|
13370
13682
|
"http": "POST",
|
|
13371
13683
|
"path": "/media/v1/libraries/{library_id}/purge",
|
|
13372
13684
|
"streaming": "no",
|
|
@@ -13384,7 +13696,7 @@ export const operations = [
|
|
|
13384
13696
|
"resource": "media.libraries",
|
|
13385
13697
|
"method": "restore",
|
|
13386
13698
|
"summary": "Restore library",
|
|
13387
|
-
"description": "
|
|
13699
|
+
"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.",
|
|
13388
13700
|
"http": "POST",
|
|
13389
13701
|
"path": "/media/v1/libraries/{library_id}/restore",
|
|
13390
13702
|
"streaming": "no",
|
|
@@ -13402,7 +13714,7 @@ export const operations = [
|
|
|
13402
13714
|
"resource": "media.libraries.search",
|
|
13403
13715
|
"method": "create",
|
|
13404
13716
|
"summary": "Semantic search alias",
|
|
13405
|
-
"description": "
|
|
13717
|
+
"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.",
|
|
13406
13718
|
"http": "POST",
|
|
13407
13719
|
"path": "/media/v1/libraries/{library_id}/search",
|
|
13408
13720
|
"streaming": "no",
|
|
@@ -13453,7 +13765,7 @@ export const operations = [
|
|
|
13453
13765
|
"resource": "media.libraries.search.expression",
|
|
13454
13766
|
"method": "create",
|
|
13455
13767
|
"summary": "Expression search",
|
|
13456
|
-
"description": "
|
|
13768
|
+
"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.",
|
|
13457
13769
|
"http": "POST",
|
|
13458
13770
|
"path": "/media/v1/libraries/{library_id}/search/expression",
|
|
13459
13771
|
"streaming": "no",
|
|
@@ -13473,7 +13785,7 @@ export const operations = [
|
|
|
13473
13785
|
"name": "expression",
|
|
13474
13786
|
"type": "string",
|
|
13475
13787
|
"required": false,
|
|
13476
|
-
"description": "Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: [\"context\"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial."
|
|
13788
|
+
"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."
|
|
13477
13789
|
},
|
|
13478
13790
|
{
|
|
13479
13791
|
"name": "sort_by",
|
|
@@ -13525,7 +13837,7 @@ export const operations = [
|
|
|
13525
13837
|
"resource": "media.libraries.search.semantic",
|
|
13526
13838
|
"method": "create",
|
|
13527
13839
|
"summary": "Semantic search",
|
|
13528
|
-
"description": "Search assets with a nonblank text query
|
|
13840
|
+
"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.",
|
|
13529
13841
|
"http": "POST",
|
|
13530
13842
|
"path": "/media/v1/libraries/{library_id}/search/semantic",
|
|
13531
13843
|
"streaming": "no",
|
|
@@ -13576,7 +13888,7 @@ export const operations = [
|
|
|
13576
13888
|
"resource": "media.libraries.search.visual",
|
|
13577
13889
|
"method": "create",
|
|
13578
13890
|
"summary": "Visual search",
|
|
13579
|
-
"description": "
|
|
13891
|
+
"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.",
|
|
13580
13892
|
"http": "POST",
|
|
13581
13893
|
"path": "/media/v1/libraries/{library_id}/search/visual",
|
|
13582
13894
|
"streaming": "no",
|
|
@@ -13646,7 +13958,7 @@ export const operations = [
|
|
|
13646
13958
|
"name": "kinds",
|
|
13647
13959
|
"type": "string",
|
|
13648
13960
|
"required": false,
|
|
13649
|
-
"description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, embedding. Omit or empty to include every kind."
|
|
13961
|
+
"description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
|
|
13650
13962
|
},
|
|
13651
13963
|
{
|
|
13652
13964
|
"name": "cursor",
|
|
@@ -13963,25 +14275,25 @@ export const operations = [
|
|
|
13963
14275
|
"name": "model",
|
|
13964
14276
|
"type": "string",
|
|
13965
14277
|
"required": true,
|
|
13966
|
-
"description": "
|
|
14278
|
+
"description": "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix."
|
|
13967
14279
|
},
|
|
13968
14280
|
{
|
|
13969
14281
|
"name": "file",
|
|
13970
14282
|
"type": "string",
|
|
13971
14283
|
"required": true,
|
|
13972
|
-
"description": "Audio
|
|
14284
|
+
"description": "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model."
|
|
13973
14285
|
},
|
|
13974
14286
|
{
|
|
13975
14287
|
"name": "language",
|
|
13976
14288
|
"type": "string",
|
|
13977
14289
|
"required": false,
|
|
13978
|
-
"description": "
|
|
14290
|
+
"description": "Source language code when known; omit to let the model detect the language."
|
|
13979
14291
|
},
|
|
13980
14292
|
{
|
|
13981
14293
|
"name": "prompt",
|
|
13982
14294
|
"type": "string",
|
|
13983
14295
|
"required": false,
|
|
13984
|
-
"description": "
|
|
14296
|
+
"description": "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model."
|
|
13985
14297
|
},
|
|
13986
14298
|
{
|
|
13987
14299
|
"name": "response_format",
|
|
@@ -13989,20 +14301,22 @@ export const operations = [
|
|
|
13989
14301
|
"enum": [
|
|
13990
14302
|
"json",
|
|
13991
14303
|
"text",
|
|
13992
|
-
"verbose_json"
|
|
14304
|
+
"verbose_json",
|
|
14305
|
+
"diarized_json"
|
|
13993
14306
|
],
|
|
13994
14307
|
"required": false,
|
|
13995
|
-
"description": "
|
|
14308
|
+
"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."
|
|
13996
14309
|
},
|
|
13997
14310
|
{
|
|
13998
14311
|
"name": "timestamp_granularities[]",
|
|
13999
14312
|
"type": "array",
|
|
14000
14313
|
"itemType": "string",
|
|
14001
14314
|
"enum": [
|
|
14315
|
+
"word",
|
|
14002
14316
|
"segment"
|
|
14003
14317
|
],
|
|
14004
14318
|
"required": false,
|
|
14005
|
-
"description": "Timestamp levels to
|
|
14319
|
+
"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."
|
|
14006
14320
|
},
|
|
14007
14321
|
{
|
|
14008
14322
|
"name": "temperature",
|
|
@@ -19030,7 +19344,7 @@ export const operations = [
|
|
|
19030
19344
|
"name": "filter",
|
|
19031
19345
|
"type": "string",
|
|
19032
19346
|
"required": false,
|
|
19033
|
-
"description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort;
|
|
19347
|
+
"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."
|
|
19034
19348
|
}
|
|
19035
19349
|
]
|
|
19036
19350
|
},
|
|
@@ -20136,7 +20450,7 @@ export const operations = [
|
|
|
20136
20450
|
"resource": "vault.vaults",
|
|
20137
20451
|
"method": "create",
|
|
20138
20452
|
"summary": "Create vault",
|
|
20139
|
-
"description": "Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations.
|
|
20453
|
+
"description": "Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Agent sessions and deployments accept up to 50 vault_ids and match their credentials against the session's MCP servers, so a stored static or oauth credential does serve as vault-backed MCP authentication; only environment_variable credentials are not yet placed, because the egress proxy ADR-058 §6 gives them is not built. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.",
|
|
20140
20454
|
"http": "POST",
|
|
20141
20455
|
"path": "/vault/v1/vaults",
|
|
20142
20456
|
"streaming": "no",
|