@deepraxis/sdk 0.1.1-dev.131858a → 0.1.1-dev.136df1c

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.
@@ -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 browser. 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."
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",
@@ -1160,6 +1160,35 @@ export const operations = [
1160
1160
  }
1161
1161
  ]
1162
1162
  },
1163
+ {
1164
+ "resource": "agent.computers.files.convert",
1165
+ "method": "create",
1166
+ "summary": "Convert a Computer Document to PDF",
1167
+ "description": "Convert an Office document (docx, doc, ppt, pptx, rtf, odt; up to 16 MiB) to PDF inside a platform-owned ephemeral document sandbox, whatever machine family the computer itself runs on. Returns base64 PDF bytes.\n\nPraxis extension: the preview conversion endpoint. The browser never parses an untrusted document — LibreOffice runs only inside an ephemeral document-family sandbox and the converter instance is killed after use. The file stays tenant-owned; non-convertible types answer EXTENSION_NOT_CONVERTIBLE and a failed conversion answers CONVERSION_FAILED.",
1168
+ "http": "POST",
1169
+ "path": "/agent/v1/computers/{computer_id}/files/convert",
1170
+ "streaming": "no",
1171
+ "pagination": false,
1172
+ "pathParams": [
1173
+ {
1174
+ "name": "computer_id",
1175
+ "sdkName": "computer_id",
1176
+ "description": "Computer id (cmp_...), as returned by computers.create or computers.list."
1177
+ }
1178
+ ],
1179
+ "query": [],
1180
+ "body": {
1181
+ "required": true,
1182
+ "fields": [
1183
+ {
1184
+ "name": "name",
1185
+ "type": "string",
1186
+ "required": true,
1187
+ "description": "Name of the entry or object."
1188
+ }
1189
+ ]
1190
+ }
1191
+ },
1163
1192
  {
1164
1193
  "resource": "agent.computers.leases",
1165
1194
  "method": "delete",
@@ -5987,7 +6016,7 @@ export const operations = [
5987
6016
  "allow"
5988
6017
  ],
5989
6018
  "required": false,
5990
- "description": "skip (default) skips when a previous run is still active; allow permits overlapping runs."
6019
+ "description": "skip skips while a previous run is still active; allow permits overlapping runs. When omitted, schedule triggers use skip and webhook triggers use allow."
5991
6020
  },
5992
6021
  {
5993
6022
  "name": "catchup_window_seconds",
@@ -6161,7 +6190,7 @@ export const operations = [
6161
6190
  "allow"
6162
6191
  ],
6163
6192
  "required": false,
6164
- "description": "skip (default) skips when a previous run is still active; allow permits overlapping runs."
6193
+ "description": "skip skips while a previous run is still active; allow permits overlapping runs. When omitted, schedule triggers use skip and webhook triggers use allow."
6165
6194
  },
6166
6195
  {
6167
6196
  "name": "catchup_window_seconds",
@@ -10027,6 +10056,12 @@ export const operations = [
10027
10056
  "type": "integer",
10028
10057
  "required": false,
10029
10058
  "description": "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
10059
+ },
10060
+ {
10061
+ "name": "loudness",
10062
+ "type": "object",
10063
+ "required": false,
10064
+ "description": "Loudness normalization target. Omitted, the export is normalized to -14 LUFS integrated and -1 dBTP true peak, the level short-video and streaming platforms play at; null renders without normalization. Normalization adds analysis and rendering work."
10030
10065
  }
10031
10066
  ]
10032
10067
  }
@@ -10035,7 +10070,7 @@ export const operations = [
10035
10070
  "resource": "cut.projects.frames",
10036
10071
  "method": "list",
10037
10072
  "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. FRAME_UNAVAILABLE warnings on execute mean a source preview could not be fetched and an offline tile was drawn; edits still commit, and this warning alone does not establish that the source media is broken. Decode its base64 payload to save the image. Codemode returns at most four images per call, so request at most four times when reviewing there.",
10073
+ "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
10074
  "http": "GET",
10040
10075
  "path": "/cut/v1/projects/{project_id}/frames",
10041
10076
  "streaming": "no",
@@ -10250,7 +10285,7 @@ export const operations = [
10250
10285
  "resource": "cut.projects",
10251
10286
  "method": "execute",
10252
10287
  "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. Reads see earlier writes in the same script.\n\n```ts\nGetTimeline(o?: { from?: number; to?: number; tracks?: TrackId[] }): TimelineView;\nGetItem(id: ClipId): ItemView;\nFindItems<T>(visit: (item: ItemView, ctx: { track: TrackView; index: number }) => T | undefined): T[];\nGetMedia(ref: MediaRef): MediaInfo;\nGetTranscript(ref: MediaRef, o?: { from?: number; to?: number }): Word[];\nGetAnalysis(ref: MediaRef, kind: AnalysisKind): Segment[];\nInsert(track: TrackId, item: ItemInit, o?: { ripple?: boolean }): ClipId;\nUpdate(id: ClipId, patch: ItemPatchView): void;\nDelete(id: ClipId, o?: { ripple?: boolean }): void;\nSplit(id: ClipId, at: number): ClipId;\nTrim(id: ClipId, edge: \"in\" | \"out\", delta: number, o?: { ripple?: boolean }): void;\nMove(id: ClipId, start: number, track?: TrackId): void;\nRippleDeleteRange(from: number, to: number, tracks?: TrackId[]): void;\nAddTrack(kind: \"video\" | \"audio\" | \"caption\", init?: { name?: string }, index?: number): TrackId;\nUpdateTrack(id: TrackId, patch: TrackPatch): void;\nDeleteTrack(id: TrackId): void;\nSetSettings(patch: Partial<ProjectSettingsView>): void;\nAddCaptionsFromTranscript(track: TrackId, source: ClipId, o?: { style?: Partial<CaptionStyle>; maxChars?: number }): ClipId[];\nSetMarker(at: number, label: string): string;\nPrint(...values: unknown[]): void;\nPreview(at: number[]): void;\n```\n\n| Functions | Behavior and arguments |\n| --- | --- |\n| GetTimeline, GetItem | Read compact item views: id, track, type, start, end, length, optional media, sourceIn/sourceOut, text and offline reason. GetTimeline returns duration and tracks (id, kind, name, index, locked, items); from/to and tracks narrow the read. |\n| FindItems | Visit items with their track and index; return undefined to omit an item, any other value to collect it. |\n| GetMedia | Read metadata for `{libraryId, assetId}` in a bound library: kind, dimensions, fps, hasAudio and durationUs when available. durationUs is microseconds. |\n| GetTranscript, GetAnalysis | Read available transcript words or silence/filler/scenes segments. Transcript filter from/to is seconds; returned word and segment from/to values are source microseconds (divide by 1,000,000 for editing). Words contain text and optional speaker/filler; segments may include label/confidence. Request analysis first if unavailable. |\n| Insert, Update, Delete | Insert returns the new clip ID; Update changes supplied fields; Delete removes the clip. Optional ripple on Insert/Delete closes or opens space on the track. |\n| Split, Trim, Move | Split at a timeline position and return the new right-hand clip ID. Trim changes the in or out edge by delta seconds. Move sets the timeline start and optionally a new track. |\n| RippleDeleteRange | Delete a timeline interval and close its gap on the specified tracks, or all unlocked tracks when omitted. |\n| AddTrack, UpdateTrack, DeleteTrack | Add video/audio/caption tracks; index selects layer order (0 is top). TrackPatch supports name, locked, hidden, muted, gainDb and style as appropriate to track kind. |\n| SetSettings | Supply any of width/height (pixels), fps (frames per second), background (color). |\n| AddCaptionsFromTranscript | Create captions from an audio/video clip's kept words. Optional maxChars is 1–1000, default 16; style updates the caption track. Returns caption IDs. |\n| SetMarker | Add a label at a timeline time and return its ID. |\n| Print, Preview | Print appends text to prints. Preview requests up to eight times total per execute and puts images in the result's frames. Each url is an inline PNG data URL, not an HTTP image link. Decode the base64 payload to save an image. Codemode returns at most four images per call; request at most four times there. |\n\n#### Insert fields (ItemInit)\n\nEvery item requires `type` and `start`. Times used for editing are seconds and snap to the project frame rate: start, length, sourceIn, fadeIn/fadeOut, transition length, keyframe at, reveal delay/stagger/duration. Keyframe and reveal times are relative to the clip start. Video/audio may omit length to use the remaining source duration; other types require length.\n\n| type | Required fields beyond type/start | Optional fields |\n| --- | --- | --- |\n| video | media | length, sourceIn, volumeDb, transform, fit, animate, transitionIn, transitionOut |\n| image | media, length | transform, fit, animate, transitionIn, transitionOut |\n| text | text, length | style, transform, reveal, animate, transitionIn, transitionOut |\n| color | color, length | transform, fill, animate, transitionIn, transitionOut |\n| shape | shape, length, width, height, fill | radius, stroke, transform, animate, transitionIn, transitionOut |\n| audio | media | length, sourceIn, volumeDb, fadeIn, fadeOut, transitionIn, transitionOut |\n| caption | text, length | — |\n\nVideo tracks accept video/image/text/color/shape; audio and caption tracks accept their corresponding type. Media is `{libraryId: string, assetId: string}` from a bound library. sourceIn defaults to 0, volumeDb to 0 dB, audio fades to 0 seconds. fit defaults to contain: contain fits the whole image, cover fills and crops, fill stretches, none keeps native dimensions.\n\n| Field | Value |\n| --- | --- |\n| transform | Partial `{x, y, scale, rotation, opacity, crop, blur}`. x/y are normalized canvas center coordinates (default 0.5); scale 1 is fitted size; rotation is degrees (default 0); opacity is 0–1 (default 1). crop is `{top,right,bottom,left}`. blur is 0–100 pixels at 1080-pixel frame height. |\n| style | Partial `{fontFamily, fontSize, fontWeight, color, stroke, background, align, maxWidth}`. fontFamily: Geist or Noto Sans SC (default); fontSize defaults to 48; fontWeight: 400 (default), 500 or 700; color defaults to #FFFFFF; align: left, center (default), right; maxWidth is a fraction of canvas width (default 0.9). stroke is `{color,width}`. Caption style additionally supports position (top/middle/bottom), margin (0–0.4 of canvas height), highlightColor and maxLines: 2. |\n| animate | An object keyed by x, y, scale, rotation, opacity or blur. Each value is an array of `{at: number, value: number, ease?: Ease}` sorted by at with distinct frame-snapped times. Values hold before the first and after the last keyframe, overriding the static transform. |\n| Ease | linear, in, out, inOut, `{bezier: [x1,y1,x2,y2]}` or `{spring: {stiffness, damping, mass?}}`. Easing shapes the segment arriving at that keyframe; springs may overshoot. |\n| reveal | `{by, delay?: number, stagger: number, duration: number, from: {y?, opacity?, scale?, blur?}, ease?: Ease}`. by selects char, word or line. Unit k starts at delay + k * stagger and takes duration seconds to reach its resting state; from.y is a fraction of font size. |\n| fill | A color string (#RRGGBB or #RRGGBBAA), `{linear: {angle, stops: [{at,color}, ...]}}` or `{radial: {stops: [{at,color}, ...]}}`. Stop positions are 0–1; angle is degrees, 0 left to right. On color clips, fill replaces color when supplied. |\n| shape, width, height, radius, stroke | shape is rect or ellipse. width/height are fractions of canvas width/height before scaling. radius rounds rect corners in pixels at 1080-pixel frame height. stroke is `{color: string, width: number}`. |\n| transitionIn, transitionOut | `{kind, length: number}` at the clip's beginning/end. length is seconds. fade changes opacity; dissolve blends; push_left/push_right move horizontally; wipe_left reveals horizontally. |\n\n#### Update fields (ItemPatchView)\n\nAll fields are optional; use only fields relevant to the item's type. Supported fields: start, length, sourceIn, volumeDb, transform, fit, text, style, color, fadeIn, fadeOut, animate, reveal, fill, stroke, shape, width, height, radius, transitionIn, transitionOut. Values and units match Insert. Set animate, reveal, fill, stroke, transitionIn or transitionOut to null to remove that effect; omitting a field preserves it. For example: `Update(id, {volumeDb: -12})` or `Update(id, {transitionIn: null})`.\n\n#### Script names versus HTTP response names\n\nUse camelCase inside scripts, including nested objects. HTTP request/response JSON outside script source uses snake_case. Map media.library_id → media.libraryId, media.asset_id → media.assetId, source_in → sourceIn, volume_db → volumeDb, fade_in/fade_out → fadeIn/fadeOut, transition_in/transition_out → transitionIn/transitionOut, font_family/font_size/font_weight/max_width → fontFamily/fontSize/fontWeight/maxWidth, gain_db → gainDb, highlight_color/max_lines → highlightColor/maxLines. Fields such as animate, reveal, fill, stroke, at and length retain their spelling. GetTimeline/GetItem already return camelCase compact views; the expanded retrieveTimeline HTTP response is not an Insert object.\n\nUnrecognized script fields fail with OPS_REJECTED and rejection code UNKNOWN_FIELD; snake_case mistakes suggest the corresponding camelCase name. The error message lists each rejection's #opIndex, code and reason. Correct the named fields and retry the saved edit; do not assume an ignored field applied an effect.\n",
10288
+ "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<!-- cut-reference:start -->\n### Script function, field and error reference\n\nEvery script function, clip field and error code has its own section, read one at a time:\n\n```\ncodemode.describe(\"praxis.cut.script.<Name>\") // one function: signature, arguments, return, errors, example\ncodemode.describe(\"praxis.cut.fields.<name>\") // one field: type, unit, range, default, where writable\ncodemode.describe(\"praxis.cut.errors.<CODE>\") // one code: meaning, causes, fix\ncodemode.describe(\"praxis.cut.script\") // names, one page at a time\n```\n\nPublished at https://docs.deepraxis.com/docs/developers/cut/script-reference with one anchor per entry. Names below omit the `praxis.cut.<kind>.` prefix.\n\n#### Script functions (script)\n\n- `GetTimeline` — Duration, tracks, joins; clips are under `items`.\n- `GetItem` — One clip's compact view, by id.\n- `FindItems` — Visit every clip with its track; collect results.\n- `GetMedia` — Media metadata; `durationUs` is microseconds.\n- `GetTranscript` — Transcript words in source microseconds.\n- `GetAnalysis` — Silence, filler or scene segments.\n- `ListTransitions` — Join transition kinds and parameters.\n- `ListEffects` — Visual-effect catalog and parameters.\n- `ListAnimations` — Animation presets by phase and target.\n- `ListFonts` — Font families, weights and scripts.\n- `ListTextStyles` — Text style presets for `style.preset`.\n- `ListTextTemplates` — Multi-layer templates and their slots.\n- `Insert` — Add a clip; a track never overlaps itself.\n- `Append` — Add a clip at the end of a track.\n- `Update` — Change named fields; the rest stay.\n- `SetSpeed` — Change rate, keeping source or duration.\n- `Delete` — Remove a clip. There is no `Remove`.\n- `Join` — Overlap clips; followers shift, track shortens.\n- `UpdateJoin` — Change a join's length or effect.\n- `DeleteJoin` — Remove a join; restore the butt cut.\n- `Split` — Cut a clip in two at a time.\n- `Trim` — Move one clip edge by seconds.\n- `Move` — Set a clip's start or track.\n- `RippleDeleteRange` — Cut a time range and close the gap.\n- `AddTrack` — Add a video, audio or caption track.\n- `UpdateTrack` — Change a track's name, lock, gain or role.\n- `DeleteTrack` — Remove a track and its clips.\n- `SetSettings` — Change canvas, frame rate or background.\n- `AddCaptionsFromTranscript` — Captions from a clip's kept words.\n- `InsertTemplate` — Insert a template and fill its slots.\n- `AlignCaptions` — Rebuild captions from text punctuation.\n- `ImportCaptions` — Import SRT or WebVTT onto captions.\n- `ExportCaptions` — Export captions as SRT or WebVTT.\n- `SetMarker` — Label a timeline position.\n- `Print` — Append values to the result's `prints`.\n- `Preview` — Up to 8 frames as inline PNG data URLs.\n\n#### Fields (fields)\n\n- `type` — Clip kind; decides which fields apply.\n- `start` — Clip start in seconds; snaps to frames.\n- `length` — Duration; optional for video and audio.\n- `media` — Source `{ libraryId, assetId }`.\n- `sourceIn` — First source second kept; default 0.\n- `sourceOut` — Exclusive source end; read-only.\n- `text` — Text of a text or caption clip.\n- `color` — Solid colour of a color clip.\n- `shape` — Shape clip kind: `rect` or `ellipse`.\n- `width` — Shape width, a fraction of canvas width.\n- `height` — Shape height, a fraction of canvas height.\n- `radius` — Rect corner rounding, in 1080-height px.\n- `fill` — Shape or text paint: colour or gradient.\n- `stroke` — Shape outline: colour and width.\n- `transform` — Position, scale, rotation, opacity, crop, blur.\n- `fit` — contain, cover, fill or none.\n- `blend` — Layer blend mode; null clears.\n- `style` — Text styling: font, fill, strokes, glow, position.\n- `style.position` — top, middle or bottom; omit it, never null.\n- `playback` — Rate, direction, audio policy, or freeze.\n- `volumeDb` — Audio level in dB; 0 is source level.\n- `gain` — Keyframed audio level in dB.\n- `fadeIn` — Fade-in seconds at the clip's start.\n- `fadeOut` — Fade-out seconds at the clip's end.\n- `duck` — Lower this clip while another track plays.\n- `animate` — Transform keyframes; `at` is clip-relative seconds.\n- `reveal` — Per-character, word or line reveal timing.\n- `animation` — Preset slots `{ in, out, loop }`; null clears.\n- `effects` — Effect stack, at most 8; null clears.\n- `transitionIn` — Entrance effect: kind plus seconds.\n- `transitionOut` — Exit effect: kind plus seconds.\n- `mask` — Shape, path or track matte.\n- `words` — Caption words with clip-local times.\n\n#### Error codes (errors)\n\n- `JOIN_CONFLICT` — A join is invalid or blocks this edit.\n- `INVALID_TRANSITION` — Bad transition kind, parameter or length.\n- `INVALID_STYLE` — A style value is out of range.\n- `INVALID_MASK` — A mask definition is malformed.\n- `MASK_IN_USE` — The edit would break a live mask.\n- `TOO_MANY_MASKS` — At most 16 masks per project.\n- `RATE_OUT_OF_RANGE` — A rate is outside 0.25-4.\n- `UNSUPPORTED_PLAYBACK` — Reverse without an explicit mute.\n- `INVALID_PLAYBACK` — A playback object is partial or malformed.\n- `UNKNOWN_FONT` — The family is not in `ListFonts()`.\n- `UNKNOWN_FIELD` — The field name is not accepted here.\n- `UNKNOWN_TEXT_STYLE` — `style.preset` is not in the catalog.\n- `TEXT_STYLE_TARGET_MISMATCH` — Preset on the wrong clip type.\n- `CAPTION_ALIGN_LOW_CONFIDENCE` — Alignment confidence too low; nothing changed.\n- `OVERLAP` — Two clips on one track would share time.\n- `OUT_OF_SOURCE` — The clip would read past its source.\n- `LOCKED_TRACK` — The edit targets a locked track.\n- `UNBOUND_LIBRARY` — The library is not bound to the project.\n- `TRACK_KIND_MISMATCH` — The clip type does not fit the track.\n- `NOT_FOUND` — The named id is not in this project.\n- `TOO_SHORT` — The result would be under one frame.\n- `INVALID_DUCK` — Bad `duck` level or a missing track.\n- `UNKNOWN_ANIMATION` — The preset is not in `ListAnimations()`.\n- `INVALID_ANIMATION_PARAM` — Bad slot, parameter or keyframe limit.\n- `ANIMATION_TOO_LONG` — In plus out exceed the clip length.\n- `ANIMATION_TARGET_MISMATCH` — The preset does not match the clip type.\n- `ANIMATION_PHASE_MISMATCH` — The preset is in the wrong slot.\n- `UNKNOWN_EFFECT` — The effect is not in `ListEffects()`.\n- `INVALID_EFFECT_PARAM` — Bad effect parameter or keyframe.\n- `TOO_MANY_EFFECTS` — More than 8 effects on one clip.\n- `PROJECT_NOT_FOUND` — No visible project has this id.\n- `EXPORT_NOT_FOUND` — No such export in this project.\n- `VERSION_NOT_FOUND` — No saved version has this revision.\n- `LIBRARY_NOT_FOUND` — The library is missing or invisible.\n- `BINDING_INVALID` — The binding request is malformed.\n- `BINDING_IN_USE` — Clips still use this library's assets.\n- `NOTHING_TO_UNDO` — No earlier revision to return to.\n- `NOTHING_TO_REDO` — No undone revision is waiting.\n- `UNDO_CONFLICT` — The revision to undo is no longer head.\n- `REVISION_CONFLICT` — The project moved; your revision is stale.\n- `CUT_BUSY` — The project is busy; retry.\n- `INVALID_CAPTION_FILE` — The subtitle file is malformed or too big.\n- `SCRIPT_ERROR` — The script threw or did not parse.\n- `SCRIPT_LIMIT` — An execute budget was exceeded.\n- `OPS_REJECTED` — An op failed; the whole edit rolled back.\n- `EDIT_EXPIRED` — The saved edit id is over ten minutes old.\n- `MEDIA_OFFLINE` — The asset cannot be fetched right now.\n- `MEDIA_UNAVAILABLE` — The asset is not usable for rendering.\n- `MEDIA_IMPORT_FAILED` — Importing media failed.\n- `FRAME_OUT_OF_RANGE` — The preview time is outside the project.\n- `PROJECT_TOO_LARGE` — The project exceeds the size limit.\n- `RESPONSE_TOO_LARGE` — The response would exceed its budget.\n- `EXPORT_FAILED` — The render failed; read `error.cause`.\n- `INVALID_PARAMS` — The request is malformed.\n- `PERMISSION_DENIED` — This credential may not do that here.\n- `NOT_IMPLEMENTED` — Not available on this platform yet.\n- `INTERNAL` — Unexpected failure; retry with the request id.\n<!-- cut-reference:end -->\n",
10254
10289
  "http": "POST",
10255
10290
  "path": "/cut/v1/projects/{project_id}:execute",
10256
10291
  "streaming": "no",
@@ -11492,7 +11527,7 @@ export const operations = [
11492
11527
  "resource": "file.uploads",
11493
11528
  "method": "create",
11494
11529
  "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 2 GiB (2147483648 bytes) and only user_data, assistants and vision purposes. Add parts of at most 64000000 bytes and complete within one hour. Optional part_size enables fixed-size, retryable parts. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.",
11530
+ "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
11531
  "http": "POST",
11497
11532
  "path": "/file/v1/uploads",
11498
11533
  "streaming": "no",
@@ -11506,7 +11541,7 @@ export const operations = [
11506
11541
  "name": "bytes",
11507
11542
  "type": "integer",
11508
11543
  "required": true,
11509
- "description": "Exact complete file length in bytes, from 1 through 2147483648 (2 GiB); the sum of completed parts must match."
11544
+ "description": "Exact complete file length in bytes, from 1 through 21474836480 (20 GiB); the sum of completed parts must match."
11510
11545
  },
11511
11546
  {
11512
11547
  "name": "filename",
@@ -11550,7 +11585,7 @@ export const operations = [
11550
11585
  "resource": "file.uploads",
11551
11586
  "method": "createSigned",
11552
11587
  "summary": "Create a one-time upload URL",
11553
- "description": "Upload a local file of up to 2 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), PUT each chunk to its numbered parts[].url in any order, then POST 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 3600 for multipart, at most 604800; all multipart URLs 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\"}.",
11588
+ "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
11589
  "http": "POST",
11555
11590
  "path": "/file/v1/uploads/signed",
11556
11591
  "streaming": "no",
@@ -11570,7 +11605,7 @@ export const operations = [
11570
11605
  "name": "bytes",
11571
11606
  "type": "integer",
11572
11607
  "required": true,
11573
- "description": "Exact local file size in bytes, from 1 through 2147483648 (2 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs and a completion URL. Every PUT requires its exact signed Content-Length."
11608
+ "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
11609
  },
11575
11610
  {
11576
11611
  "name": "content_type",
@@ -11593,7 +11628,7 @@ export const operations = [
11593
11628
  "name": "expires_in",
11594
11629
  "type": "integer",
11595
11630
  "required": false,
11596
- "description": "Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 3600 for multipart. All part URLs and the completion URL share one expiry. This does not set the resulting file's lifetime."
11631
+ "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
11632
  },
11598
11633
  {
11599
11634
  "name": "part_size",
@@ -11604,6 +11639,24 @@ export const operations = [
11604
11639
  ]
11605
11640
  }
11606
11641
  },
11642
+ {
11643
+ "resource": "file.uploads",
11644
+ "method": "retrieve",
11645
+ "summary": "Retrieve an upload",
11646
+ "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.",
11647
+ "http": "GET",
11648
+ "path": "/file/v1/uploads/{upload_id}",
11649
+ "streaming": "no",
11650
+ "pagination": false,
11651
+ "pathParams": [
11652
+ {
11653
+ "name": "upload_id",
11654
+ "sdkName": "upload_id",
11655
+ "description": "Upload identifier returned by create; the upload must belong to your organization."
11656
+ }
11657
+ ],
11658
+ "query": []
11659
+ },
11607
11660
  {
11608
11661
  "resource": "file.uploads",
11609
11662
  "method": "cancel",
@@ -11626,7 +11679,7 @@ export const operations = [
11626
11679
  "resource": "file.uploads",
11627
11680
  "method": "complete",
11628
11681
  "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.",
11682
+ "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
11683
  "http": "POST",
11631
11684
  "path": "/file/v1/uploads/{upload_id}/complete",
11632
11685
  "streaming": "no",
@@ -11662,7 +11715,7 @@ export const operations = [
11662
11715
  "resource": "file.uploads.parts",
11663
11716
  "method": "create",
11664
11717
  "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.",
11718
+ "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
11719
  "http": "POST",
11667
11720
  "path": "/file/v1/uploads/{upload_id}/parts",
11668
11721
  "streaming": "no",
@@ -11750,7 +11803,7 @@ export const operations = [
11750
11803
  "resource": "knowledge.vectorStores",
11751
11804
  "method": "create",
11752
11805
  "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. Each file accepts up to 52428800 bytes and 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.",
11806
+ "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
11807
  "http": "POST",
11755
11808
  "path": "/knowledge/v1/vector_stores",
11756
11809
  "streaming": "no",
@@ -11789,7 +11842,7 @@ export const operations = [
11789
11842
  "name": "chunking_strategy",
11790
11843
  "type": "object",
11791
11844
  "required": false,
11792
- "description": "auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up."
11845
+ "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
11846
  },
11794
11847
  {
11795
11848
  "name": "description",
@@ -12136,7 +12189,7 @@ export const operations = [
12136
12189
  "resource": "knowledge.vectorStores.files",
12137
12190
  "method": "create",
12138
12191
  "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. Each file accepts up to 52428800 bytes and 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.",
12192
+ "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
12193
  "http": "POST",
12141
12194
  "path": "/knowledge/v1/vector_stores/{vector_store_id}/files",
12142
12195
  "streaming": "no",
@@ -12168,7 +12221,7 @@ export const operations = [
12168
12221
  "name": "chunking_strategy",
12169
12222
  "type": "object",
12170
12223
  "required": false,
12171
- "description": "auto resolves to static with 800 estimated tokens and 400 overlap tokens. Unlike OpenAI vector stores, token counts are estimates; each Han character counts as one, and other whitespace-delimited words count as their UTF-16 length divided by four, rounded up."
12224
+ "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
12225
  }
12173
12226
  ]
12174
12227
  }
@@ -12475,11 +12528,23 @@ export const operations = [
12475
12528
  ],
12476
12529
  "query": []
12477
12530
  },
12531
+ {
12532
+ "resource": "media.generation.capabilities",
12533
+ "method": "list",
12534
+ "summary": "Get generation capabilities",
12535
+ "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.",
12536
+ "http": "GET",
12537
+ "path": "/media/v1/generation/capabilities",
12538
+ "streaming": "no",
12539
+ "pagination": false,
12540
+ "pathParams": [],
12541
+ "query": []
12542
+ },
12478
12543
  {
12479
12544
  "resource": "media.libraries",
12480
12545
  "method": "list",
12481
12546
  "summary": "List libraries",
12482
- "description": "List libraries owned by the caller, newest first. By default, deleting and deleted libraries are excluded; use status=deleting to find libraries awaiting purge. All supplied label pairs must match.",
12547
+ "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
12548
  "http": "GET",
12484
12549
  "path": "/media/v1/libraries",
12485
12550
  "streaming": "no",
@@ -12561,7 +12626,7 @@ export const operations = [
12561
12626
  "resource": "media.libraries",
12562
12627
  "method": "delete",
12563
12628
  "summary": "Delete library",
12564
- "description": "Soft-delete an active library, returning its deleting status and purge_at deadline. Asset operations and delivery become unavailable; the library can be restored before purge_at. Repeated deletion while deleting returns the current library.",
12629
+ "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
12630
  "http": "DELETE",
12566
12631
  "path": "/media/v1/libraries/{library_id}",
12567
12632
  "streaming": "no",
@@ -12579,7 +12644,7 @@ export const operations = [
12579
12644
  "resource": "media.libraries",
12580
12645
  "method": "retrieve",
12581
12646
  "summary": "Get library",
12582
- "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.",
12647
+ "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
12648
  "http": "GET",
12584
12649
  "path": "/media/v1/libraries/{library_id}",
12585
12650
  "streaming": "no",
@@ -12597,7 +12662,7 @@ export const operations = [
12597
12662
  "resource": "media.libraries",
12598
12663
  "method": "update",
12599
12664
  "summary": "Update library",
12600
- "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.",
12665
+ "description": "Update an active library. Set hotwords for spelling evidence in subsequent transcripts; [] disables inferred vocabulary. Transcript understanding calls the timestamped ASR, optional reference ASR and correction model through the existing metered model path. Reprocess assets to apply new settings to existing transcripts.",
12601
12666
  "http": "PATCH",
12602
12667
  "path": "/media/v1/libraries/{library_id}",
12603
12668
  "streaming": "no",
@@ -12651,7 +12716,7 @@ export const operations = [
12651
12716
  "resource": "media.libraries.assets",
12652
12717
  "method": "list",
12653
12718
  "summary": "List assets",
12654
- "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.",
12719
+ "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
12720
  "http": "GET",
12656
12721
  "path": "/media/v1/libraries/{library_id}/assets",
12657
12722
  "streaming": "no",
@@ -12699,7 +12764,7 @@ export const operations = [
12699
12764
  "resource": "media.libraries.assets",
12700
12765
  "method": "create",
12701
12766
  "summary": "Upload asset",
12702
- "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.",
12767
+ "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
12768
  "http": "POST",
12704
12769
  "path": "/media/v1/libraries/{library_id}/assets",
12705
12770
  "streaming": "no",
@@ -12744,7 +12809,7 @@ export const operations = [
12744
12809
  "name": "asset_folder",
12745
12810
  "type": "string",
12746
12811
  "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."
12812
+ "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
12813
  },
12749
12814
  {
12750
12815
  "name": "use_filename",
@@ -12823,7 +12888,7 @@ export const operations = [
12823
12888
  "resource": "media.libraries.assets.import",
12824
12889
  "method": "create",
12825
12890
  "summary": "Import file",
12826
- "description": "Copy source content into an active library using upload options and return the full native Asset. The imported asset is independent of the source after copying. Reusing public_id follows overwrite semantics.",
12891
+ "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
12892
  "http": "POST",
12828
12893
  "path": "/media/v1/libraries/{library_id}/assets/import",
12829
12894
  "streaming": "no",
@@ -12843,7 +12908,7 @@ export const operations = [
12843
12908
  "name": "file_id",
12844
12909
  "type": "string",
12845
12910
  "required": true,
12846
- "description": "File ID to copy into this library instead of file bytes. This independent copy defaults to public delivery; set type=authenticated for private delivery. Deleting the source File does not delete this asset."
12911
+ "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
12912
  },
12848
12913
  {
12849
12914
  "name": "public_id",
@@ -12867,7 +12932,7 @@ export const operations = [
12867
12932
  "name": "asset_folder",
12868
12933
  "type": "string",
12869
12934
  "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."
12935
+ "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
12936
  },
12872
12937
  {
12873
12938
  "name": "use_filename",
@@ -12946,7 +13011,7 @@ export const operations = [
12946
13011
  "resource": "media.libraries.assets",
12947
13012
  "method": "delete",
12948
13013
  "summary": "Delete asset",
12949
- "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.",
13014
+ "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
13015
  "http": "DELETE",
12951
13016
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
12952
13017
  "streaming": "no",
@@ -12969,7 +13034,7 @@ export const operations = [
12969
13034
  "resource": "media.libraries.assets",
12970
13035
  "method": "retrieve",
12971
13036
  "summary": "Get asset",
12972
- "description": "Read a non-deleted asset by its asset_id in an active library, including content hashes, processing progress and available previews. Missing or deleted assets return ASSET_NOT_FOUND.",
13037
+ "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
13038
  "http": "GET",
12974
13039
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
12975
13040
  "streaming": "no",
@@ -12992,7 +13057,7 @@ export const operations = [
12992
13057
  "resource": "media.libraries.assets",
12993
13058
  "method": "update",
12994
13059
  "summary": "Update asset",
12995
- "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.",
13060
+ "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
13061
  "http": "PATCH",
12997
13062
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
12998
13063
  "streaming": "no",
@@ -13023,7 +13088,7 @@ export const operations = [
13023
13088
  "name": "asset_folder",
13024
13089
  "type": "string",
13025
13090
  "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."
13091
+ "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
13092
  },
13028
13093
  {
13029
13094
  "name": "tags",
@@ -13041,11 +13106,57 @@ export const operations = [
13041
13106
  ]
13042
13107
  }
13043
13108
  },
13109
+ {
13110
+ "resource": "media.libraries.assets.frames",
13111
+ "method": "create",
13112
+ "summary": "Create frame URLs",
13113
+ "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.",
13114
+ "http": "POST",
13115
+ "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
13116
+ "streaming": "no",
13117
+ "pagination": false,
13118
+ "pathParams": [
13119
+ {
13120
+ "name": "library_id",
13121
+ "sdkName": "library_id",
13122
+ "description": "Library identifier returned by library creation or listing; must be accessible to the current credential."
13123
+ },
13124
+ {
13125
+ "name": "asset_id",
13126
+ "sdkName": "asset_id",
13127
+ "description": "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps."
13128
+ }
13129
+ ],
13130
+ "query": [],
13131
+ "body": {
13132
+ "required": true,
13133
+ "fields": [
13134
+ {
13135
+ "name": "at_micros",
13136
+ "type": "array",
13137
+ "itemType": "integer",
13138
+ "required": true,
13139
+ "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."
13140
+ },
13141
+ {
13142
+ "name": "width",
13143
+ "type": "integer",
13144
+ "enum": [
13145
+ 160,
13146
+ 320,
13147
+ 640
13148
+ ],
13149
+ "required": false,
13150
+ "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."
13151
+ }
13152
+ ]
13153
+ }
13154
+ },
13044
13155
  {
13045
13156
  "resource": "media.libraries.assets.reprocess",
13046
13157
  "method": "create",
13047
13158
  "summary": "Reprocess asset",
13048
- "description": "Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks; explicit kinds rerun applicable completed tasks. Replaced understandings become superseded, and processing finishes asynchronously.",
13159
+ "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
13160
  "http": "POST",
13050
13161
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess",
13051
13162
  "streaming": "no",
@@ -13077,7 +13188,7 @@ export const operations = [
13077
13188
  "embedding"
13078
13189
  ],
13079
13190
  "required": false,
13080
- "description": "Processing tasks to rerun. Omit to retry failed tasks only; explicit kinds rerun applicable ready, failed or unsupported tasks. Pending and running tasks are unchanged; an empty array does nothing."
13191
+ "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
13192
  }
13082
13193
  ]
13083
13194
  }
@@ -13086,7 +13197,7 @@ export const operations = [
13086
13197
  "resource": "media.libraries.assets.understandings",
13087
13198
  "method": "list",
13088
13199
  "summary": "List understandings",
13089
- "description": "List an asset’s understanding results in creation order. By default only current, non-superseded results are returned; use include_superseded=true for history or kind to select an output type.",
13200
+ "description": "List understanding results for an asset, ordered by creation time. Use the cursor to continue; include_superseded also returns replaced records. The optional shots array contains current-version shot boundaries and per-shot captions, scene, location guesses, visible text and confidence flags; it is absent on legacy records. Location guesses and folder mismatch are unverified hints. Correction-enabled transcripts expose text_original, corrected text and a correction audit. Their timed data array remains suitable for subtitles. Reference failure is marked missing; correction failure returns the original verbatim. Model inference uses the existing metered model path.",
13090
13201
  "http": "GET",
13091
13202
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/understandings",
13092
13203
  "streaming": "no",
@@ -13118,10 +13229,13 @@ export const operations = [
13118
13229
  "tags",
13119
13230
  "ocr",
13120
13231
  "transcript",
13121
- "frame"
13232
+ "frame",
13233
+ "overview",
13234
+ "audio",
13235
+ "embedding"
13122
13236
  ],
13123
13237
  "required": false,
13124
- "description": "Filter result kind: caption is a visual description, tags are recognized labels, ocr is recognized image text, transcript is speech text, and frame describes a video segment."
13238
+ "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."
13125
13239
  },
13126
13240
  {
13127
13241
  "name": "cursor",
@@ -13141,7 +13255,7 @@ export const operations = [
13141
13255
  "resource": "media.libraries.assets",
13142
13256
  "method": "batch",
13143
13257
  "summary": "Batch assets alias",
13144
- "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.",
13258
+ "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.",
13145
13259
  "http": "POST",
13146
13260
  "path": "/media/v1/libraries/{library_id}/assets:batch",
13147
13261
  "streaming": "no",
@@ -13162,6 +13276,12 @@ export const operations = [
13162
13276
  "type": "object",
13163
13277
  "required": true,
13164
13278
  "description": "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
13279
+ },
13280
+ {
13281
+ "name": "reason",
13282
+ "type": "string",
13283
+ "required": false,
13284
+ "description": "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
13165
13285
  }
13166
13286
  ]
13167
13287
  }
@@ -13170,7 +13290,7 @@ export const operations = [
13170
13290
  "resource": "media.libraries.batches",
13171
13291
  "method": "create",
13172
13292
  "summary": "Create batch",
13173
- "description": "Create an asynchronous batch for tagging, untagging, replacing context, moving or deleting assets. Select ids or an expression; selection is frozen at creation. Poll the returned job id for completion and per-item failures.",
13293
+ "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.",
13174
13294
  "http": "POST",
13175
13295
  "path": "/media/v1/libraries/{library_id}/batches",
13176
13296
  "streaming": "no",
@@ -13191,6 +13311,12 @@ export const operations = [
13191
13311
  "type": "object",
13192
13312
  "required": true,
13193
13313
  "description": "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
13314
+ },
13315
+ {
13316
+ "name": "reason",
13317
+ "type": "string",
13318
+ "required": false,
13319
+ "description": "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
13194
13320
  }
13195
13321
  ]
13196
13322
  }
@@ -13199,7 +13325,7 @@ export const operations = [
13199
13325
  "resource": "media.libraries.batches",
13200
13326
  "method": "retrieve",
13201
13327
  "summary": "Get batch",
13202
- "description": "Read a batch job’s status, successful and failed item counts, and a bounded list of failed items. Use the id returned by batch creation; a job outside this library is not found.",
13328
+ "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.",
13203
13329
  "http": "GET",
13204
13330
  "path": "/media/v1/libraries/{library_id}/batches/{job_id}",
13205
13331
  "streaming": "no",
@@ -13257,7 +13383,7 @@ export const operations = [
13257
13383
  "resource": "media.libraries.events",
13258
13384
  "method": "list",
13259
13385
  "summary": "List events",
13260
- "description": "Read library events in sequence order, including while the library is deleting. Page forward with asc and after_seq, or backward with desc and before_seq; never combine the two sequence cursors.",
13386
+ "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.",
13261
13387
  "http": "GET",
13262
13388
  "path": "/media/v1/libraries/{library_id}/events",
13263
13389
  "streaming": "no",
@@ -13304,7 +13430,7 @@ export const operations = [
13304
13430
  "resource": "media.libraries.folders",
13305
13431
  "method": "list",
13306
13432
  "summary": "List folders",
13307
- "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.",
13433
+ "description": "undefined understood_count includes ready and partial assets; failed_count includes failed assets. Both accumulate descendants. counts_complete is false during historical backfill.",
13308
13434
  "http": "GET",
13309
13435
  "path": "/media/v1/libraries/{library_id}/folders",
13310
13436
  "streaming": "no",
@@ -13326,71 +13452,12 @@ export const operations = [
13326
13452
  ]
13327
13453
  },
13328
13454
  {
13329
- "resource": "media.libraries.jobs",
13330
- "method": "retrieve",
13331
- "summary": "Get job alias",
13332
- "description": "Alias of batch retrieval. Read the job returned by a batch request, including terminal status, successful and failed counts, and individual failure codes.",
13333
- "http": "GET",
13334
- "path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
13335
- "streaming": "no",
13336
- "pagination": false,
13337
- "pathParams": [
13338
- {
13339
- "name": "library_id",
13340
- "sdkName": "library_id",
13341
- "description": "Library ID returned by creation."
13342
- },
13343
- {
13344
- "name": "job_id",
13345
- "sdkName": "job_id",
13346
- "description": "Batch identifier returned by createBatch or batchAssets; resolved within this library."
13347
- }
13348
- ],
13349
- "query": []
13350
- },
13351
- {
13352
- "resource": "media.libraries.purge",
13353
- "method": "create",
13354
- "summary": "Purge library",
13355
- "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.",
13356
- "http": "POST",
13357
- "path": "/media/v1/libraries/{library_id}/purge",
13358
- "streaming": "no",
13359
- "pagination": false,
13360
- "pathParams": [
13361
- {
13362
- "name": "library_id",
13363
- "sdkName": "library_id",
13364
- "description": "Library ID returned by creation."
13365
- }
13366
- ],
13367
- "query": []
13368
- },
13369
- {
13370
- "resource": "media.libraries",
13371
- "method": "restore",
13372
- "summary": "Restore library",
13373
- "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.",
13374
- "http": "POST",
13375
- "path": "/media/v1/libraries/{library_id}/restore",
13376
- "streaming": "no",
13377
- "pagination": false,
13378
- "pathParams": [
13379
- {
13380
- "name": "library_id",
13381
- "sdkName": "library_id",
13382
- "description": "Library ID returned by creation."
13383
- }
13384
- ],
13385
- "query": []
13386
- },
13387
- {
13388
- "resource": "media.libraries.search",
13455
+ "resource": "media.libraries.generations",
13389
13456
  "method": "create",
13390
- "summary": "Semantic search alias",
13391
- "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.",
13457
+ "summary": "Create video generation",
13458
+ "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.",
13392
13459
  "http": "POST",
13393
- "path": "/media/v1/libraries/{library_id}/search",
13460
+ "path": "/media/v1/libraries/{library_id}/generations",
13394
13461
  "streaming": "no",
13395
13462
  "pagination": false,
13396
13463
  "pathParams": [
@@ -13405,115 +13472,280 @@ export const operations = [
13405
13472
  "required": true,
13406
13473
  "fields": [
13407
13474
  {
13408
- "name": "query",
13475
+ "name": "intent",
13409
13476
  "type": "string",
13410
13477
  "required": true,
13411
- "description": "Nonblank text to search against asset content and metadata."
13478
+ "description": "Generation operation; v1 accepts only video.generate text-to-video requests."
13412
13479
  },
13413
13480
  {
13414
- "name": "filter",
13481
+ "name": "prompt",
13415
13482
  "type": "string",
13416
- "required": false,
13417
- "description": "Optional expression filter restricting eligible assets; uses the expression-search syntax."
13483
+ "required": true,
13484
+ "description": "Text prompt describing the video to generate."
13418
13485
  },
13419
13486
  {
13420
- "name": "top_k",
13487
+ "name": "count",
13421
13488
  "type": "integer",
13422
13489
  "required": false,
13423
- "description": "Maximum search hits, from 1 to 50; defaults to 20."
13490
+ "description": "Number of videos to generate; defaults to 1 and must be from 1 to 4."
13424
13491
  },
13425
13492
  {
13426
- "name": "mode",
13427
- "type": "string",
13428
- "enum": [
13429
- "hybrid",
13430
- "semantic"
13431
- ],
13493
+ "name": "duration_seconds",
13494
+ "type": "integer",
13432
13495
  "required": false,
13433
- "description": "Ranking mode: hybrid combines semantic and keyword matches; semantic uses vector similarity only. Defaults to hybrid."
13434
- }
13435
- ]
13436
- }
13437
- },
13438
- {
13439
- "resource": "media.libraries.search.expression",
13440
- "method": "create",
13441
- "summary": "Expression search",
13442
- "description": "Search active assets using the supported filter-expression syntax, sorting and cursor pagination. Empty expression matches all assets. Tags and context require with_field; inspect the exactness flags before treating counts as complete.",
13443
- "http": "POST",
13444
- "path": "/media/v1/libraries/{library_id}/search/expression",
13445
- "streaming": "no",
13446
- "pagination": false,
13447
- "pathParams": [
13448
- {
13449
- "name": "library_id",
13450
- "sdkName": "library_id",
13451
- "description": "Library ID returned by creation."
13452
- }
13453
- ],
13454
- "query": [],
13455
- "body": {
13456
- "required": true,
13457
- "fields": [
13496
+ "description": "Requested video duration in seconds; Router validates the model-specific supported durations."
13497
+ },
13458
13498
  {
13459
- "name": "expression",
13499
+ "name": "aspect_ratio",
13460
13500
  "type": "string",
13461
13501
  "required": false,
13462
- "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."
13502
+ "description": "Requested output aspect ratio; defaults to 16:9 and Router validates model support."
13463
13503
  },
13464
13504
  {
13465
- "name": "sort_by",
13466
- "type": "array",
13467
- "itemType": "object",
13505
+ "name": "model",
13506
+ "type": "string",
13468
13507
  "required": false,
13469
- "description": "Ordered list of single-field sort objects. Allowed fields are created_at, public_id, display_name, bytes and uploaded_at; directions are asc or desc. Fields cannot repeat. Defaults to created_at descending."
13508
+ "description": "Router model with video_generation capability; defaults to wan2.7-t2v."
13470
13509
  },
13471
13510
  {
13472
- "name": "max_results",
13473
- "type": "integer",
13511
+ "name": "save",
13512
+ "type": "string",
13513
+ "enum": [
13514
+ "candidate",
13515
+ "library"
13516
+ ],
13474
13517
  "required": false,
13475
- "description": "Maximum assets per page, from 1 to 500; defaults to 100."
13518
+ "description": "candidate keeps outputs temporary for explicit save calls; library saves successful outputs automatically."
13476
13519
  },
13477
13520
  {
13478
- "name": "next_cursor",
13521
+ "name": "asset_folder",
13479
13522
  "type": "string",
13480
13523
  "required": false,
13481
- "description": "Continuation token returned by the previous expression-search page. Keep sort_by unchanged when continuing."
13524
+ "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."
13482
13525
  },
13483
13526
  {
13484
- "name": "with_field",
13527
+ "name": "tags",
13485
13528
  "type": "array",
13486
13529
  "itemType": "string",
13530
+ "required": false,
13531
+ "description": "Tags applied when an output becomes a library asset."
13532
+ },
13533
+ {
13534
+ "name": "understanding",
13535
+ "type": "string",
13487
13536
  "enum": [
13488
- "tags",
13489
- "context"
13537
+ "auto",
13538
+ "skip"
13490
13539
  ],
13491
13540
  "required": false,
13492
- "description": "Additional resource fields to include: tags adds asset labels and context adds custom metadata. Both are omitted unless requested."
13541
+ "description": "Understanding behavior when a candidate is saved as an asset; defaults to auto."
13493
13542
  },
13494
13543
  {
13495
- "name": "aggregate",
13544
+ "name": "references",
13496
13545
  "type": "array",
13497
- "itemType": "string",
13498
- "enum": [
13499
- "resource_type",
13500
- "format",
13501
- "asset_folder",
13502
- "processing_state"
13503
- ],
13546
+ "itemType": "object",
13504
13547
  "required": false,
13505
- "description": "Facets to count over matching assets, returned under aggregations."
13548
+ "description": "Not supported in v1; omit this field. Only text-to-video is currently available."
13506
13549
  }
13507
13550
  ]
13508
13551
  }
13509
13552
  },
13510
13553
  {
13511
- "resource": "media.libraries.search.semantic",
13512
- "method": "create",
13513
- "summary": "Semantic search",
13514
- "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.",
13515
- "http": "POST",
13516
- "path": "/media/v1/libraries/{library_id}/search/semantic",
13554
+ "resource": "media.libraries.jobs",
13555
+ "method": "list",
13556
+ "summary": "List jobs",
13557
+ "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.",
13558
+ "http": "GET",
13559
+ "path": "/media/v1/libraries/{library_id}/jobs",
13560
+ "streaming": "no",
13561
+ "pagination": true,
13562
+ "pathParams": [
13563
+ {
13564
+ "name": "library_id",
13565
+ "sdkName": "library_id",
13566
+ "description": "Library ID returned by creation."
13567
+ }
13568
+ ],
13569
+ "query": [
13570
+ {
13571
+ "name": "status",
13572
+ "type": "string",
13573
+ "enum": [
13574
+ "queued",
13575
+ "running",
13576
+ "completed",
13577
+ "completed_with_errors",
13578
+ "failed",
13579
+ "cancelled"
13580
+ ],
13581
+ "required": false,
13582
+ "description": "Filter jobs by their current status."
13583
+ },
13584
+ {
13585
+ "name": "limit",
13586
+ "type": "integer",
13587
+ "required": false,
13588
+ "description": "Maximum entries in this page, from 1 through 100; defaults to 100."
13589
+ },
13590
+ {
13591
+ "name": "cursor",
13592
+ "type": "string",
13593
+ "required": false,
13594
+ "description": "Job id from the previous page’s next_cursor; omit for the first page."
13595
+ }
13596
+ ]
13597
+ },
13598
+ {
13599
+ "resource": "media.libraries.jobs",
13600
+ "method": "retrieve",
13601
+ "summary": "Get job",
13602
+ "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.",
13603
+ "http": "GET",
13604
+ "path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
13605
+ "streaming": "no",
13606
+ "pagination": false,
13607
+ "pathParams": [
13608
+ {
13609
+ "name": "library_id",
13610
+ "sdkName": "library_id",
13611
+ "description": "Library ID returned by creation."
13612
+ },
13613
+ {
13614
+ "name": "job_id",
13615
+ "sdkName": "job_id",
13616
+ "description": "Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library."
13617
+ }
13618
+ ],
13619
+ "query": []
13620
+ },
13621
+ {
13622
+ "resource": "media.libraries.jobs",
13623
+ "method": "cancel",
13624
+ "summary": "Cancel job",
13625
+ "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.",
13626
+ "http": "POST",
13627
+ "path": "/media/v1/libraries/{library_id}/jobs/{job_id}/cancel",
13628
+ "streaming": "no",
13629
+ "pagination": false,
13630
+ "pathParams": [
13631
+ {
13632
+ "name": "library_id",
13633
+ "sdkName": "library_id",
13634
+ "description": "Library ID returned by creation."
13635
+ },
13636
+ {
13637
+ "name": "job_id",
13638
+ "sdkName": "job_id",
13639
+ "description": "Job identifier returned by batch or generation creation; the job is resolved within the specified library."
13640
+ }
13641
+ ],
13642
+ "query": []
13643
+ },
13644
+ {
13645
+ "resource": "media.libraries.jobs.outputs.save",
13646
+ "method": "create",
13647
+ "summary": "Save generation output",
13648
+ "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.",
13649
+ "http": "POST",
13650
+ "path": "/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save",
13651
+ "streaming": "no",
13652
+ "pagination": false,
13653
+ "pathParams": [
13654
+ {
13655
+ "name": "library_id",
13656
+ "sdkName": "library_id",
13657
+ "description": "Library ID returned by creation."
13658
+ },
13659
+ {
13660
+ "name": "job_id",
13661
+ "sdkName": "job_id",
13662
+ "description": "Job identifier returned by batch or generation creation; the job is resolved within the specified library."
13663
+ },
13664
+ {
13665
+ "name": "index",
13666
+ "sdkName": "index",
13667
+ "description": "Zero-based position of the candidate in the Job outputs array."
13668
+ }
13669
+ ],
13670
+ "query": [],
13671
+ "body": {
13672
+ "required": false,
13673
+ "fields": [
13674
+ {
13675
+ "name": "public_id",
13676
+ "type": "string",
13677
+ "required": false,
13678
+ "description": "Delivery identifier for the saved asset; defaults to gen_<job_id>_<index> and is idempotent."
13679
+ },
13680
+ {
13681
+ "name": "asset_folder",
13682
+ "type": "string",
13683
+ "required": false,
13684
+ "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."
13685
+ },
13686
+ {
13687
+ "name": "tags",
13688
+ "type": "array",
13689
+ "itemType": "string",
13690
+ "required": false,
13691
+ "description": "Tags to apply to the saved asset."
13692
+ },
13693
+ {
13694
+ "name": "understanding",
13695
+ "type": "string",
13696
+ "enum": [
13697
+ "auto",
13698
+ "skip"
13699
+ ],
13700
+ "required": false,
13701
+ "description": "Understanding behavior for the saved asset; defaults to auto."
13702
+ }
13703
+ ]
13704
+ }
13705
+ },
13706
+ {
13707
+ "resource": "media.libraries.purge",
13708
+ "method": "create",
13709
+ "summary": "Purge library",
13710
+ "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.",
13711
+ "http": "POST",
13712
+ "path": "/media/v1/libraries/{library_id}/purge",
13713
+ "streaming": "no",
13714
+ "pagination": false,
13715
+ "pathParams": [
13716
+ {
13717
+ "name": "library_id",
13718
+ "sdkName": "library_id",
13719
+ "description": "Library ID returned by creation."
13720
+ }
13721
+ ],
13722
+ "query": []
13723
+ },
13724
+ {
13725
+ "resource": "media.libraries",
13726
+ "method": "restore",
13727
+ "summary": "Restore library",
13728
+ "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.",
13729
+ "http": "POST",
13730
+ "path": "/media/v1/libraries/{library_id}/restore",
13731
+ "streaming": "no",
13732
+ "pagination": false,
13733
+ "pathParams": [
13734
+ {
13735
+ "name": "library_id",
13736
+ "sdkName": "library_id",
13737
+ "description": "Library ID returned by creation."
13738
+ }
13739
+ ],
13740
+ "query": []
13741
+ },
13742
+ {
13743
+ "resource": "media.libraries.search",
13744
+ "method": "create",
13745
+ "summary": "Semantic search alias",
13746
+ "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.",
13747
+ "http": "POST",
13748
+ "path": "/media/v1/libraries/{library_id}/search",
13517
13749
  "streaming": "no",
13518
13750
  "pagination": false,
13519
13751
  "pathParams": [
@@ -13559,12 +13791,12 @@ export const operations = [
13559
13791
  }
13560
13792
  },
13561
13793
  {
13562
- "resource": "media.libraries.search.visual",
13794
+ "resource": "media.libraries.search.expression",
13563
13795
  "method": "create",
13564
- "summary": "Visual search",
13796
+ "summary": "Expression search",
13565
13797
  "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.",
13566
13798
  "http": "POST",
13567
- "path": "/media/v1/libraries/{library_id}/search/visual",
13799
+ "path": "/media/v1/libraries/{library_id}/search/expression",
13568
13800
  "streaming": "no",
13569
13801
  "pagination": false,
13570
13802
  "pathParams": [
@@ -13579,67 +13811,251 @@ export const operations = [
13579
13811
  "required": true,
13580
13812
  "fields": [
13581
13813
  {
13582
- "name": "asset_id",
13814
+ "name": "expression",
13583
13815
  "type": "string",
13584
13816
  "required": false,
13585
- "description": "Asset identifier returned by upload or asset listing; distinct from public_id and content hashes."
13817
+ "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."
13586
13818
  },
13587
13819
  {
13588
- "name": "image",
13589
- "type": "object",
13820
+ "name": "sort_by",
13821
+ "type": "array",
13822
+ "itemType": "object",
13590
13823
  "required": false,
13591
- "description": "Inline image used as the visual query; mutually exclusive with asset_id."
13824
+ "description": "Ordered list of single-field sort objects. Allowed fields are created_at, public_id, display_name, bytes and uploaded_at; directions are asc or desc. Fields cannot repeat. Defaults to created_at descending."
13592
13825
  },
13593
13826
  {
13594
- "name": "top_k",
13827
+ "name": "max_results",
13595
13828
  "type": "integer",
13596
13829
  "required": false,
13597
- "description": "Maximum visual-search hits, from 1 to 50; defaults to 20."
13830
+ "description": "Maximum assets per page, from 1 to 500; defaults to 100."
13598
13831
  },
13599
13832
  {
13600
- "name": "filter",
13833
+ "name": "next_cursor",
13601
13834
  "type": "string",
13602
13835
  "required": false,
13603
- "description": "Expression filter restricting eligible result assets."
13836
+ "description": "Continuation token returned by the previous expression-search page. Keep sort_by unchanged when continuing."
13837
+ },
13838
+ {
13839
+ "name": "with_field",
13840
+ "type": "array",
13841
+ "itemType": "string",
13842
+ "enum": [
13843
+ "tags",
13844
+ "context"
13845
+ ],
13846
+ "required": false,
13847
+ "description": "Additional resource fields to include: tags adds asset labels and context adds custom metadata. Both are omitted unless requested."
13848
+ },
13849
+ {
13850
+ "name": "aggregate",
13851
+ "type": "array",
13852
+ "itemType": "string",
13853
+ "enum": [
13854
+ "resource_type",
13855
+ "format",
13856
+ "asset_folder",
13857
+ "processing_state"
13858
+ ],
13859
+ "required": false,
13860
+ "description": "Facets to count over matching assets, returned under aggregations."
13604
13861
  }
13605
13862
  ]
13606
13863
  }
13607
13864
  },
13608
13865
  {
13609
- "resource": "meta.docs",
13610
- "method": "search",
13611
- "summary": "Search platform documentation",
13612
- "description": "Find guides and references by keyword before reading them with praxis.meta.docs.retrieve. Public; no API key required. Matches documentation titles, headings and page text without case sensitivity; all query words must occur. q is required; limit defaults to 20 and accepts 1–50. lang defaults to zh or use en for English. Returns paths, page titles, canonical URLs and short matching snippets; no matches returns an empty array.",
13613
- "http": "GET",
13614
- "path": "/meta/v1/docs/search",
13866
+ "resource": "media.libraries.search.semantic",
13867
+ "method": "create",
13868
+ "summary": "Semantic search",
13869
+ "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.",
13870
+ "http": "POST",
13871
+ "path": "/media/v1/libraries/{library_id}/search/semantic",
13615
13872
  "streaming": "no",
13616
13873
  "pagination": false,
13617
- "pathParams": [],
13618
- "query": [
13619
- {
13620
- "name": "q",
13621
- "type": "string",
13622
- "required": true,
13623
- "description": "Keywords describing the syntax or guide needed, for example export or workflow."
13624
- },
13625
- {
13626
- "name": "limit",
13627
- "type": "integer",
13628
- "required": false,
13629
- "description": "Maximum number of matching pages returned; integer 1–50, default 20."
13630
- },
13874
+ "pathParams": [
13631
13875
  {
13632
- "name": "lang",
13633
- "type": "string",
13634
- "enum": [
13635
- "zh",
13636
- "en"
13637
- ],
13638
- "required": false,
13639
- "description": "Documentation language: zh for Chinese (default), en for English."
13876
+ "name": "library_id",
13877
+ "sdkName": "library_id",
13878
+ "description": "Library ID returned by creation."
13640
13879
  }
13641
- ]
13642
- },
13880
+ ],
13881
+ "query": [],
13882
+ "body": {
13883
+ "required": true,
13884
+ "fields": [
13885
+ {
13886
+ "name": "query",
13887
+ "type": "string",
13888
+ "required": true,
13889
+ "description": "Nonblank text to search against asset content and metadata."
13890
+ },
13891
+ {
13892
+ "name": "filter",
13893
+ "type": "string",
13894
+ "required": false,
13895
+ "description": "Optional expression filter restricting eligible assets; uses the expression-search syntax."
13896
+ },
13897
+ {
13898
+ "name": "top_k",
13899
+ "type": "integer",
13900
+ "required": false,
13901
+ "description": "Maximum search hits, from 1 to 50; defaults to 20."
13902
+ },
13903
+ {
13904
+ "name": "mode",
13905
+ "type": "string",
13906
+ "enum": [
13907
+ "hybrid",
13908
+ "semantic"
13909
+ ],
13910
+ "required": false,
13911
+ "description": "Ranking mode: hybrid combines semantic and keyword matches; semantic uses vector similarity only. Defaults to hybrid."
13912
+ }
13913
+ ]
13914
+ }
13915
+ },
13916
+ {
13917
+ "resource": "media.libraries.search.visual",
13918
+ "method": "create",
13919
+ "summary": "Visual search",
13920
+ "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.",
13921
+ "http": "POST",
13922
+ "path": "/media/v1/libraries/{library_id}/search/visual",
13923
+ "streaming": "no",
13924
+ "pagination": false,
13925
+ "pathParams": [
13926
+ {
13927
+ "name": "library_id",
13928
+ "sdkName": "library_id",
13929
+ "description": "Library ID returned by creation."
13930
+ }
13931
+ ],
13932
+ "query": [],
13933
+ "body": {
13934
+ "required": true,
13935
+ "fields": [
13936
+ {
13937
+ "name": "asset_id",
13938
+ "type": "string",
13939
+ "required": false,
13940
+ "description": "Asset identifier returned by upload or asset listing; distinct from public_id and content hashes."
13941
+ },
13942
+ {
13943
+ "name": "image",
13944
+ "type": "object",
13945
+ "required": false,
13946
+ "description": "Inline image used as the visual query; mutually exclusive with asset_id."
13947
+ },
13948
+ {
13949
+ "name": "top_k",
13950
+ "type": "integer",
13951
+ "required": false,
13952
+ "description": "Maximum visual-search hits, from 1 to 50; defaults to 20."
13953
+ },
13954
+ {
13955
+ "name": "filter",
13956
+ "type": "string",
13957
+ "required": false,
13958
+ "description": "Expression filter restricting eligible result assets."
13959
+ }
13960
+ ]
13961
+ }
13962
+ },
13963
+ {
13964
+ "resource": "media.libraries.understandings",
13965
+ "method": "list",
13966
+ "summary": "List understanding results across a library",
13967
+ "description": "Read current understanding entries across one library without fetching every asset separately. Use library_id from creation or listing. folder includes descendants; kinds is a comma-separated list of output kinds. Entries are ordered by asset_id and then understanding id. Continue with next_cursor and the same folder and kinds; limit defaults to 100 and cannot exceed 100. Superseded, deleted and old-version entries are excluded. During historical backfill, this method returns 503 CAPACITY rather than incomplete pages; poll failureSummary until counts_complete is true, then start pagination. Example: GET /media/v1/libraries/lib_example/understandings?folder=travel&kinds=caption,transcript&limit=100.",
13968
+ "http": "GET",
13969
+ "path": "/media/v1/libraries/{library_id}/understandings",
13970
+ "streaming": "no",
13971
+ "pagination": true,
13972
+ "pathParams": [
13973
+ {
13974
+ "name": "library_id",
13975
+ "sdkName": "library_id",
13976
+ "description": "Library ID returned by creation."
13977
+ }
13978
+ ],
13979
+ "query": [
13980
+ {
13981
+ "name": "folder",
13982
+ "type": "string",
13983
+ "required": false,
13984
+ "description": "Folder path including all descendants; omitted or empty selects the entire library."
13985
+ },
13986
+ {
13987
+ "name": "kinds",
13988
+ "type": "string",
13989
+ "required": false,
13990
+ "description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
13991
+ },
13992
+ {
13993
+ "name": "cursor",
13994
+ "type": "string",
13995
+ "required": false,
13996
+ "description": "Cursor from the previous next_cursor."
13997
+ },
13998
+ {
13999
+ "name": "limit",
14000
+ "type": "integer",
14001
+ "required": false,
14002
+ "description": "Maximum entries in this page, from 1 through 100; defaults to 100."
14003
+ }
14004
+ ]
14005
+ },
14006
+ {
14007
+ "resource": "media.libraries.understandings",
14008
+ "method": "retrieveFailureSummary",
14009
+ "summary": "Summarize understanding failures",
14010
+ "description": "Inspect current understanding failures before retrying. Use library_id from library creation or listing. Groups include code, output kind, actual producer model, retryability and up to five sample asset IDs. At most 1024 detailed groups plus two overflow groups are returned; overflow groups separate retryable and unrecoverable entries and mark overflow=true. Unknown failure codes remain retryable. Historical counts are provisional while counts_complete is false. Example: GET /media/v1/libraries/lib_example/understandings/failure_summary.",
14011
+ "http": "GET",
14012
+ "path": "/media/v1/libraries/{library_id}/understandings/failure_summary",
14013
+ "streaming": "no",
14014
+ "pagination": false,
14015
+ "pathParams": [
14016
+ {
14017
+ "name": "library_id",
14018
+ "sdkName": "library_id",
14019
+ "description": "Library ID returned by creation."
14020
+ }
14021
+ ],
14022
+ "query": []
14023
+ },
14024
+ {
14025
+ "resource": "meta.docs",
14026
+ "method": "search",
14027
+ "summary": "Search platform documentation",
14028
+ "description": "Find guides and references by keyword before reading them with praxis.meta.docs.retrieve. Public; no API key required. Matches documentation titles, headings and page text without case sensitivity; all query words must occur. q is required; limit defaults to 20 and accepts 1–50. lang defaults to zh or use en for English. Returns paths, page titles, canonical URLs and short matching snippets; no matches returns an empty array.",
14029
+ "http": "GET",
14030
+ "path": "/meta/v1/docs/search",
14031
+ "streaming": "no",
14032
+ "pagination": false,
14033
+ "pathParams": [],
14034
+ "query": [
14035
+ {
14036
+ "name": "q",
14037
+ "type": "string",
14038
+ "required": true,
14039
+ "description": "Keywords describing the syntax or guide needed, for example export or workflow."
14040
+ },
14041
+ {
14042
+ "name": "limit",
14043
+ "type": "integer",
14044
+ "required": false,
14045
+ "description": "Maximum number of matching pages returned; integer 1–50, default 20."
14046
+ },
14047
+ {
14048
+ "name": "lang",
14049
+ "type": "string",
14050
+ "enum": [
14051
+ "zh",
14052
+ "en"
14053
+ ],
14054
+ "required": false,
14055
+ "description": "Documentation language: zh for Chinese (default), en for English."
14056
+ }
14057
+ ]
14058
+ },
13643
14059
  {
13644
14060
  "resource": "meta.docs",
13645
14061
  "method": "retrieve",
@@ -13888,25 +14304,25 @@ export const operations = [
13888
14304
  "name": "model",
13889
14305
  "type": "string",
13890
14306
  "required": true,
13891
- "description": "Transcription model id, for example `whisper-large-v3-turbo` or `qwen3-asr-flash`; list candidates with listModels?type=transcription. Router support (supported): Verified to take effect."
14307
+ "description": "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix."
13892
14308
  },
13893
14309
  {
13894
14310
  "name": "file",
13895
14311
  "type": "string",
13896
14312
  "required": true,
13897
- "description": "Audio file to transcribe, uploaded as multipart/form-data. Router support (supported): Verified to take effect."
14313
+ "description": "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model."
13898
14314
  },
13899
14315
  {
13900
14316
  "name": "language",
13901
14317
  "type": "string",
13902
14318
  "required": false,
13903
- "description": "Language of the audio as an ISO-639-1 code such as `en` or `zh`. Router support (partial): Both models accept ISO language codes. qwen3-asr-flash may translate output to that language; whisper-large-v3-turbo treats it as an input hint. Non-ISO names may return 502."
14319
+ "description": "Source language code when known; omit to let the model detect the language."
13904
14320
  },
13905
14321
  {
13906
14322
  "name": "prompt",
13907
14323
  "type": "string",
13908
14324
  "required": false,
13909
- "description": "Text that primes the model with vocabulary or context. Router support (partial): Vocabulary hints work on whisper-large-v3-turbo only; qwen3-asr-flash returns 400."
14325
+ "description": "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model."
13910
14326
  },
13911
14327
  {
13912
14328
  "name": "response_format",
@@ -13914,20 +14330,22 @@ export const operations = [
13914
14330
  "enum": [
13915
14331
  "json",
13916
14332
  "text",
13917
- "verbose_json"
14333
+ "verbose_json",
14334
+ "diarized_json"
13918
14335
  ],
13919
14336
  "required": false,
13920
- "description": "Format of the response body. `json` and `text` are the commonly supported formats. Router support (partial): json/text work on both; verbose_json works only on whisper-large-v3-turbo. srt/vtt return 400."
14337
+ "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."
13921
14338
  },
13922
14339
  {
13923
14340
  "name": "timestamp_granularities[]",
13924
14341
  "type": "array",
13925
14342
  "itemType": "string",
13926
14343
  "enum": [
14344
+ "word",
13927
14345
  "segment"
13928
14346
  ],
13929
14347
  "required": false,
13930
- "description": "Timestamp levels to include with `verbose_json`; only `segment` exists in this schema. Router support (partial): Only whisper-large-v3-turbo supports segment with verbose_json. word returns 400; qwen3-asr-flash does not support timestamps."
14348
+ "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."
13931
14349
  },
13932
14350
  {
13933
14351
  "name": "temperature",
@@ -15574,48 +15992,736 @@ export const operations = [
15574
15992
  "query": []
15575
15993
  },
15576
15994
  {
15577
- "resource": "model.responses",
15578
- "method": "cancel",
15579
- "summary": "Cancel Response",
15580
- "description": "Cancel an in-progress background response using its id from creation. Unlike OpenAI, cancellation cannot guarantee that upstream compute stops; usage is settled for the output received. Repeating cancellation returns the terminal response; a synchronous response can return 400 native_responses_operation_unsupported or 404 if absent.",
15581
- "http": "POST",
15582
- "path": "/model/v1/responses/{response_id}/cancel",
15995
+ "resource": "model.responses",
15996
+ "method": "cancel",
15997
+ "summary": "Cancel Response",
15998
+ "description": "Cancel an in-progress background response using its id from creation. Unlike OpenAI, cancellation cannot guarantee that upstream compute stops; usage is settled for the output received. Repeating cancellation returns the terminal response; a synchronous response can return 400 native_responses_operation_unsupported or 404 if absent.",
15999
+ "http": "POST",
16000
+ "path": "/model/v1/responses/{response_id}/cancel",
16001
+ "streaming": "no",
16002
+ "pagination": false,
16003
+ "pathParams": [
16004
+ {
16005
+ "name": "response_id",
16006
+ "sdkName": "response_id",
16007
+ "description": "Id of the stored response, the `id` returned by createResponse (it looks like resp_...). An unknown id, a response created with store false, an expired response and another tenant's response all answer 404."
16008
+ }
16009
+ ],
16010
+ "query": []
16011
+ },
16012
+ {
16013
+ "resource": "model.responses.inputItems",
16014
+ "method": "list",
16015
+ "summary": "List Response Input Items",
16016
+ "description": "Read the input items of a stored response using its id from creation. Use the returned items to inspect the input that produced that response.",
16017
+ "http": "GET",
16018
+ "path": "/model/v1/responses/{response_id}/input_items",
16019
+ "streaming": "no",
16020
+ "pagination": false,
16021
+ "pathParams": [
16022
+ {
16023
+ "name": "response_id",
16024
+ "sdkName": "response_id",
16025
+ "description": "Id of the stored response, the `id` returned by createResponse (it looks like resp_...). An unknown id, a response created with store false, an expired response and another tenant's response all answer 404."
16026
+ }
16027
+ ],
16028
+ "query": []
16029
+ },
16030
+ {
16031
+ "resource": "model.systemone",
16032
+ "method": "create",
16033
+ "summary": "Ask structured decision questions",
16034
+ "description": "Ask typed questions about a state and get calibrated probabilities instead of generated text. Same request and response as TypeSafe System One. Use model ids from model.models.list declaring typesafe.systemone. Send one or more noul, choice or score questions; answers use the same question ids. Input tokens are charged at the catalog input price; output tokens are free. usage.cost and X-Praxis-Cost-Usd expose the same customer charge in USD. box questions and assets are unsupported and return 400: images are not supported. Unknown top-level fields pass unchanged to the native upstream.",
16035
+ "http": "POST",
16036
+ "path": "/model/v1/systemone",
16037
+ "streaming": "no",
16038
+ "pagination": false,
16039
+ "pathParams": [],
16040
+ "query": [],
16041
+ "body": {
16042
+ "required": true,
16043
+ "fields": [
16044
+ {
16045
+ "name": "model",
16046
+ "type": "string",
16047
+ "required": true,
16048
+ "description": "Published model id from model.models.list with supported_apis containing typesafe.systemone; returned unchanged in the response."
16049
+ },
16050
+ {
16051
+ "name": "state",
16052
+ "type": "object",
16053
+ "required": true,
16054
+ "description": "Shared content evaluated by every question, supplied as text, a JSON object or an array."
16055
+ },
16056
+ {
16057
+ "name": "questions",
16058
+ "type": "object",
16059
+ "required": true,
16060
+ "description": "Non-empty map of caller-chosen question ids to typed questions; answers preserve these ids. noul evaluates yes/no, choice selects a named option, score rates ordered levels. box is unsupported."
16061
+ },
16062
+ {
16063
+ "name": "assets",
16064
+ "type": "object",
16065
+ "required": false,
16066
+ "description": "Unsupported image assets. Supplying this field, including null or an empty collection, returns 400: images are not supported."
16067
+ }
16068
+ ]
16069
+ }
16070
+ },
16071
+ {
16072
+ "resource": "model.videos",
16073
+ "method": "list",
16074
+ "summary": "List videos",
16075
+ "description": "OpenAI video API with OpenRouter request and response extensions.",
16076
+ "http": "GET",
16077
+ "path": "/model/v1/videos",
16078
+ "streaming": "no",
16079
+ "pagination": false,
16080
+ "pathParams": [],
16081
+ "query": [
16082
+ {
16083
+ "name": "after",
16084
+ "type": "string",
16085
+ "required": false,
16086
+ "description": "Cursor: the id of the video job after which the page starts, normally the `last_id` of the previous page. It must refer to an existing job of yours, otherwise the call fails."
16087
+ },
16088
+ {
16089
+ "name": "limit",
16090
+ "type": "integer",
16091
+ "required": false,
16092
+ "description": "Maximum number of jobs per page, from 1 to 100; defaults to 20."
16093
+ },
16094
+ {
16095
+ "name": "order",
16096
+ "type": "string",
16097
+ "enum": [
16098
+ "asc",
16099
+ "desc"
16100
+ ],
16101
+ "required": false,
16102
+ "description": "Sort order by creation time: desc (default) lists the newest job first, asc the oldest first."
16103
+ }
16104
+ ]
16105
+ },
16106
+ {
16107
+ "resource": "model.videos",
16108
+ "method": "create",
16109
+ "summary": "Create video",
16110
+ "description": "OpenAI video API with OpenRouter request and response extensions.",
16111
+ "http": "POST",
16112
+ "path": "/model/v1/videos",
16113
+ "streaming": "no",
16114
+ "pagination": false,
16115
+ "multipart": true,
16116
+ "pathParams": [],
16117
+ "query": [],
16118
+ "body": {
16119
+ "required": true,
16120
+ "fields": [
16121
+ {
16122
+ "name": "model",
16123
+ "type": "string",
16124
+ "required": false,
16125
+ "description": "Video model id, for example `wan2.7-t2v`; list candidates with listModels?type=video. Router support (partial): Select a registered video model explicitly, for example wan2.7-t2v (size=1280x720, seconds=4). Capability preflight errors are reported before creation."
16126
+ },
16127
+ {
16128
+ "name": "prompt",
16129
+ "type": "string",
16130
+ "required": true,
16131
+ "description": "Text description of the video, at least 1 character. Router support (supported): Controls video content; missing or empty values return 400."
16132
+ },
16133
+ {
16134
+ "name": "seconds",
16135
+ "type": "object",
16136
+ "required": false,
16137
+ "description": "Takes precedence over duration."
16138
+ },
16139
+ {
16140
+ "name": "duration",
16141
+ "type": "integer",
16142
+ "required": false,
16143
+ "description": "Length of the video in whole seconds. `seconds` takes precedence when both are given."
16144
+ },
16145
+ {
16146
+ "name": "size",
16147
+ "type": "string",
16148
+ "required": false,
16149
+ "description": "Output resolution as `WIDTHxHEIGHT`, for example `1280x720`. Router support (partial): Subject to model capability preflight. Earlier wan2.7-t2v samples always produced 1280x720; accepted sizes are not guaranteed pixel-for-pixel."
16150
+ },
16151
+ {
16152
+ "name": "input_reference",
16153
+ "type": "object",
16154
+ "required": false,
16155
+ "description": "Reference image for image-to-video: a URL or base64 data URL, an object with `image_url`, or an uploaded image file (multipart, at most 20 MiB)."
16156
+ },
16157
+ {
16158
+ "name": "input_references",
16159
+ "type": "array",
16160
+ "itemType": "object",
16161
+ "required": false,
16162
+ "description": "Several reference images; each entry is a URL or base64 data URL, or an object with `image_url`."
16163
+ },
16164
+ {
16165
+ "name": "frame_images",
16166
+ "type": "array",
16167
+ "itemType": "object",
16168
+ "required": false,
16169
+ "description": "Images that pin the first and last frame; at most 2 entries."
16170
+ },
16171
+ {
16172
+ "name": "resolution",
16173
+ "type": "string",
16174
+ "required": false,
16175
+ "description": "Output resolution label such as `720p`, for models that take a label instead of `size`."
16176
+ },
16177
+ {
16178
+ "name": "aspect_ratio",
16179
+ "type": "string",
16180
+ "required": false,
16181
+ "description": "Aspect ratio of the video such as `16:9`."
16182
+ },
16183
+ {
16184
+ "name": "generate_audio",
16185
+ "type": "boolean",
16186
+ "required": false,
16187
+ "description": "Whether the video carries a generated audio track. Router support (supported): false produces no audio track on wan2.7-t2v; the default output includes audio."
16188
+ },
16189
+ {
16190
+ "name": "seed",
16191
+ "type": "integer",
16192
+ "required": false,
16193
+ "description": "Seed for reproducible generation, on models that support it."
16194
+ },
16195
+ {
16196
+ "name": "callback_url",
16197
+ "type": "string",
16198
+ "required": false,
16199
+ "description": "HTTP or HTTPS callback URL, forwarded to models that support completion callbacks."
16200
+ },
16201
+ {
16202
+ "name": "quality",
16203
+ "type": "string",
16204
+ "required": false,
16205
+ "description": "Provider-specific quality setting."
16206
+ }
16207
+ ]
16208
+ }
16209
+ },
16210
+ {
16211
+ "resource": "model.videos",
16212
+ "method": "delete",
16213
+ "summary": "Delete video",
16214
+ "description": "OpenAI video API with OpenRouter request and response extensions.",
16215
+ "http": "DELETE",
16216
+ "path": "/model/v1/videos/{video_id}",
16217
+ "streaming": "no",
16218
+ "pagination": false,
16219
+ "pathParams": [
16220
+ {
16221
+ "name": "video_id",
16222
+ "sdkName": "video_id",
16223
+ "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
16224
+ }
16225
+ ],
16226
+ "query": []
16227
+ },
16228
+ {
16229
+ "resource": "model.videos",
16230
+ "method": "retrieve",
16231
+ "summary": "Retrieve video",
16232
+ "description": "OpenAI video API with OpenRouter request and response extensions.",
16233
+ "http": "GET",
16234
+ "path": "/model/v1/videos/{video_id}",
16235
+ "streaming": "no",
16236
+ "pagination": false,
16237
+ "pathParams": [
16238
+ {
16239
+ "name": "video_id",
16240
+ "sdkName": "video_id",
16241
+ "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
16242
+ }
16243
+ ],
16244
+ "query": []
16245
+ },
16246
+ {
16247
+ "resource": "model.videos",
16248
+ "method": "retrieveContent",
16249
+ "summary": "Download video",
16250
+ "description": "OpenAI video API with OpenRouter request and response extensions.",
16251
+ "http": "GET",
16252
+ "path": "/model/v1/videos/{video_id}/content",
16253
+ "streaming": "no",
16254
+ "pagination": false,
16255
+ "pathParams": [
16256
+ {
16257
+ "name": "video_id",
16258
+ "sdkName": "video_id",
16259
+ "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
16260
+ }
16261
+ ],
16262
+ "query": [
16263
+ {
16264
+ "name": "variant",
16265
+ "type": "string",
16266
+ "enum": [
16267
+ "video",
16268
+ "thumbnail",
16269
+ "spritesheet"
16270
+ ],
16271
+ "required": false,
16272
+ "description": "Spritesheet is not available in this release (400)."
16273
+ },
16274
+ {
16275
+ "name": "index",
16276
+ "type": "integer",
16277
+ "required": false,
16278
+ "description": "Output index; this release produces index 0. variant takes precedence."
16279
+ }
16280
+ ]
16281
+ },
16282
+ {
16283
+ "resource": "model.videos",
16284
+ "method": "remix",
16285
+ "summary": "Remix video",
16286
+ "description": "Not supported in this release; always returns 400.",
16287
+ "http": "POST",
16288
+ "path": "/model/v1/videos/{video_id}/remix",
16289
+ "streaming": "no",
16290
+ "pagination": false,
16291
+ "pathParams": [
16292
+ {
16293
+ "name": "video_id",
16294
+ "sdkName": "video_id",
16295
+ "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
16296
+ }
16297
+ ],
16298
+ "query": []
16299
+ },
16300
+ {
16301
+ "resource": "ontology.changesets",
16302
+ "method": "create",
16303
+ "summary": "Apply changeset",
16304
+ "description": "Apply a batch of node, relation and invalidation operations as one transaction, when a mirror has several records to write together and a partial write would leave the graph inconsistent. Every operation succeeds or none is applied. Send an Idempotency-Key header; the same key with the same content replays the first result, and the same key with different content is ONTOLOGY_CONFLICT.",
16305
+ "http": "POST",
16306
+ "path": "/ontology/v1/changesets",
16307
+ "streaming": "no",
16308
+ "pagination": false,
16309
+ "pathParams": [],
16310
+ "query": [],
16311
+ "body": {
16312
+ "required": true,
16313
+ "fields": [
16314
+ {
16315
+ "name": "at",
16316
+ "type": "string",
16317
+ "required": true,
16318
+ "description": "World time the batch describes, in ISO 8601 UTC; operations without their own time are dated by it."
16319
+ },
16320
+ {
16321
+ "name": "scope",
16322
+ "type": "string",
16323
+ "required": false,
16324
+ "description": "Scope the batch came from, normally the session id it was observed in; it is stored with the operations for later reading."
16325
+ },
16326
+ {
16327
+ "name": "ops",
16328
+ "type": "array",
16329
+ "itemType": "object",
16330
+ "required": true,
16331
+ "description": "At most 500 operations, applied in order; each names its kind in op and the fields that kind requires."
16332
+ }
16333
+ ]
16334
+ }
16335
+ },
16336
+ {
16337
+ "resource": "ontology.nodes",
16338
+ "method": "list",
16339
+ "summary": "List nodes",
16340
+ "description": "Discover the entities in this organization's graph and obtain node ids for retrieval, updates and relations. Filter by type, by free text over names, aliases, descriptions and facts, or by owner; limit is 1–100 and defaults to 50. Omit cursor for the first page, then copy next_cursor into the next request until it is null. A node whose content belongs to somebody else comes back as a restricted entry carrying only its id, type and name.",
16341
+ "http": "GET",
16342
+ "path": "/ontology/v1/nodes",
16343
+ "streaming": "no",
16344
+ "pagination": true,
16345
+ "pathParams": [],
16346
+ "query": [
16347
+ {
16348
+ "name": "type",
16349
+ "type": "array",
16350
+ "itemType": "string",
16351
+ "required": false,
16352
+ "description": "Repeat to filter to any of several registered node type names, for example type=file&type=ticket; omit to list every type."
16353
+ },
16354
+ {
16355
+ "name": "q",
16356
+ "type": "string",
16357
+ "required": false,
16358
+ "description": "Free text matched against node names, aliases and descriptions; omit to list without a text filter."
16359
+ },
16360
+ {
16361
+ "name": "owner",
16362
+ "type": "string",
16363
+ "required": false,
16364
+ "description": "Filter to nodes owned by this member id, or omit to list nodes of every owner; organization-wide nodes carry no owner."
16365
+ },
16366
+ {
16367
+ "name": "as_of",
16368
+ "type": "string",
16369
+ "required": false,
16370
+ "description": "ISO 8601 timestamp; return the graph as it was then, so a node recorded later is absent. Omit to read current state."
16371
+ },
16372
+ {
16373
+ "name": "limit",
16374
+ "type": "integer",
16375
+ "required": false,
16376
+ "description": "Maximum items to return per page, from 1 to 100; defaults to 50 when omitted. Values above 100 are clamped to 100."
16377
+ },
16378
+ {
16379
+ "name": "cursor",
16380
+ "type": "string",
16381
+ "required": false,
16382
+ "description": "Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null."
16383
+ }
16384
+ ]
16385
+ },
16386
+ {
16387
+ "resource": "ontology.nodes",
16388
+ "method": "create",
16389
+ "summary": "Create node",
16390
+ "description": "Record one entity in the graph, for a system mirroring a record it owns. type must already be registered and ref, when given, must match that type's ref_prefix. Send an Idempotency-Key header; repeating the same key with the same content returns the first result instead of creating a second node. This writes structure only — to give an agent something to remember, use POST /agent/v1/agents/{agent_id}/consolidations.",
16391
+ "http": "POST",
16392
+ "path": "/ontology/v1/nodes",
16393
+ "streaming": "no",
16394
+ "pagination": false,
16395
+ "pathParams": [],
16396
+ "query": [],
16397
+ "body": {
16398
+ "required": true,
16399
+ "fields": [
16400
+ {
16401
+ "name": "type",
16402
+ "type": "string",
16403
+ "required": true,
16404
+ "description": "Registered node type name from types.list; an unregistered name is refused and nothing is written."
16405
+ },
16406
+ {
16407
+ "name": "ref",
16408
+ "type": "string",
16409
+ "required": false,
16410
+ "description": "Id of the mirrored record in the owning service, which must start with the type's ref_prefix; omit or null for a concept with no external record."
16411
+ },
16412
+ {
16413
+ "name": "name",
16414
+ "type": "string",
16415
+ "required": true,
16416
+ "description": "Display name of the entity, at most 200 characters."
16417
+ },
16418
+ {
16419
+ "name": "aliases",
16420
+ "type": "array",
16421
+ "itemType": "string",
16422
+ "required": false,
16423
+ "description": "Other names this entity is known by; they are matched by search alongside the name."
16424
+ },
16425
+ {
16426
+ "name": "description",
16427
+ "type": "string",
16428
+ "required": false,
16429
+ "description": "Profile of the entity, at most 500 characters; omit or null for none."
16430
+ },
16431
+ {
16432
+ "name": "owner",
16433
+ "type": "string",
16434
+ "required": false,
16435
+ "description": "Member id whose content this is, restricting it to that member; omit or null to make it readable organization-wide."
16436
+ }
16437
+ ]
16438
+ }
16439
+ },
16440
+ {
16441
+ "resource": "ontology.nodes",
16442
+ "method": "retrieve",
16443
+ "summary": "Retrieve node",
16444
+ "description": "Read one node's content and, with expand=relations, every relation on and around it. as_of reads the node as it was at that time. A node id from another organization, or one that never existed, answers ONTOLOGY_NODE_NOT_FOUND; a node you may reach but not read returns restricted true with its name only.",
16445
+ "http": "GET",
16446
+ "path": "/ontology/v1/nodes/{node_id}",
16447
+ "streaming": "no",
16448
+ "pagination": false,
16449
+ "pathParams": [
16450
+ {
16451
+ "name": "node_id",
16452
+ "sdkName": "node_id",
16453
+ "description": "Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted."
16454
+ }
16455
+ ],
16456
+ "query": [
16457
+ {
16458
+ "name": "expand",
16459
+ "type": "string",
16460
+ "enum": [
16461
+ "relations"
16462
+ ],
16463
+ "required": false,
16464
+ "description": "Set to relations to include the node's incoming and outgoing relations in the same response; omit for the node alone."
16465
+ },
16466
+ {
16467
+ "name": "as_of",
16468
+ "type": "string",
16469
+ "required": false,
16470
+ "description": "ISO 8601 timestamp; read the node and its relations as they were then, including relations invalidated since. Omit to read current state."
16471
+ }
16472
+ ]
16473
+ },
16474
+ {
16475
+ "resource": "ontology.nodes",
16476
+ "method": "update",
16477
+ "summary": "Update node",
16478
+ "description": "Change a node's name, aliases or description when the mirrored record was renamed, without touching its type or identity. Send only the fields to change; omitted fields keep their current values and an explicitly null description clears it. Repeating the same edit converges on the same node, so this needs no Idempotency-Key.",
16479
+ "http": "PATCH",
16480
+ "path": "/ontology/v1/nodes/{node_id}",
16481
+ "streaming": "no",
16482
+ "pagination": false,
16483
+ "pathParams": [
16484
+ {
16485
+ "name": "node_id",
16486
+ "sdkName": "node_id",
16487
+ "description": "Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted."
16488
+ }
16489
+ ],
16490
+ "query": [],
16491
+ "body": {
16492
+ "required": true,
16493
+ "fields": [
16494
+ {
16495
+ "name": "name",
16496
+ "type": "string",
16497
+ "required": false,
16498
+ "description": "New display name, at most 200 characters; omit to keep the current name."
16499
+ },
16500
+ {
16501
+ "name": "aliases",
16502
+ "type": "array",
16503
+ "itemType": "string",
16504
+ "required": false,
16505
+ "description": "Replacement alias list; an empty array clears the aliases and omitting the field keeps them."
16506
+ },
16507
+ {
16508
+ "name": "description",
16509
+ "type": "string",
16510
+ "required": false,
16511
+ "description": "Replacement profile, at most 500 characters; an explicit null clears it and omitting the field keeps it."
16512
+ }
16513
+ ]
16514
+ }
16515
+ },
16516
+ {
16517
+ "resource": "ontology.nodes.merge",
16518
+ "method": "create",
16519
+ "summary": "Merge node",
16520
+ "description": "Fold a duplicate node into the node that should survive, when two records are discovered to be the same entity. The merged node's relations and aliases move to the survivor and later reads of the duplicate resolve to it. Send an Idempotency-Key header; repeating the same key replays the first result. Reversal is a staff operation, not available here.",
16521
+ "http": "POST",
16522
+ "path": "/ontology/v1/nodes/{node_id}/merge",
16523
+ "streaming": "no",
16524
+ "pagination": false,
16525
+ "pathParams": [
16526
+ {
16527
+ "name": "node_id",
16528
+ "sdkName": "node_id",
16529
+ "description": "Node id returned by nodes.list, nodes.create or a changeset, in the form ond_ followed by 32 lowercase letters or digits; a name or an external record id is not accepted."
16530
+ }
16531
+ ],
16532
+ "query": [],
16533
+ "body": {
16534
+ "required": true,
16535
+ "fields": [
16536
+ {
16537
+ "name": "into",
16538
+ "type": "string",
16539
+ "required": true,
16540
+ "description": "Node id that should survive, from nodes.list or search; the merged node's relations and aliases move to it."
16541
+ }
16542
+ ]
16543
+ }
16544
+ },
16545
+ {
16546
+ "resource": "ontology.relations",
16547
+ "method": "list",
16548
+ "summary": "List relations",
16549
+ "description": "Read the facts in the graph and obtain relation ids for retrieval, invalidation or spreading. Filter by endpoint node, by type and by direction; as_of reads the relations as they were then. Invalidated relations are omitted unless include_invalid is true. limit is 1–100 and defaults to 50; follow next_cursor until it is null.",
16550
+ "http": "GET",
16551
+ "path": "/ontology/v1/relations",
16552
+ "streaming": "no",
16553
+ "pagination": true,
16554
+ "pathParams": [],
16555
+ "query": [
16556
+ {
16557
+ "name": "node",
16558
+ "type": "string",
16559
+ "required": false,
16560
+ "description": "A node id from nodes.list or nodes.create; returns the relations this node takes part in, narrowed by direction. Omit to list relations between every node."
16561
+ },
16562
+ {
16563
+ "name": "type",
16564
+ "type": "array",
16565
+ "itemType": "string",
16566
+ "required": false,
16567
+ "description": "Repeat to filter to any of several registered relation type names, for example type=references&type=serves; omit to list every type."
16568
+ },
16569
+ {
16570
+ "name": "direction",
16571
+ "type": "string",
16572
+ "enum": [
16573
+ "out",
16574
+ "in",
16575
+ "both"
16576
+ ],
16577
+ "required": false,
16578
+ "description": "Which side of node to follow; out returns relations the node is the source of, in returns those it is the target of. Only meaningful together with node."
16579
+ },
16580
+ {
16581
+ "name": "as_of",
16582
+ "type": "string",
16583
+ "required": false,
16584
+ "description": "ISO 8601 timestamp; read relations as they were then, so one recorded or invalidated later is judged by that time. Omit to read current state."
16585
+ },
16586
+ {
16587
+ "name": "include_invalid",
16588
+ "type": "boolean",
16589
+ "required": false,
16590
+ "description": "Set true to include relations whose invalid_at has passed, which is how a relation that stopped being true stays readable. Omit or false for currently valid relations only."
16591
+ },
16592
+ {
16593
+ "name": "limit",
16594
+ "type": "integer",
16595
+ "required": false,
16596
+ "description": "Maximum items to return per page, from 1 to 100; defaults to 50 when omitted. Values above 100 are clamped to 100."
16597
+ },
16598
+ {
16599
+ "name": "cursor",
16600
+ "type": "string",
16601
+ "required": false,
16602
+ "description": "Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null."
16603
+ }
16604
+ ]
16605
+ },
16606
+ {
16607
+ "resource": "ontology.relations",
16608
+ "method": "create",
16609
+ "summary": "Create relation",
16610
+ "description": "Record one fact between two existing nodes, for a system mirroring a relationship it owns. type must be registered and must admit these endpoints; fact states the relationship in one sentence. Send an Idempotency-Key header; repeating the same key returns the first result instead of writing a second relation. This writes structure only — to give an agent something to remember, use POST /agent/v1/agents/{agent_id}/consolidations.",
16611
+ "http": "POST",
16612
+ "path": "/ontology/v1/relations",
16613
+ "streaming": "no",
16614
+ "pagination": false,
16615
+ "pathParams": [],
16616
+ "query": [],
16617
+ "body": {
16618
+ "required": true,
16619
+ "fields": [
16620
+ {
16621
+ "name": "type",
16622
+ "type": "string",
16623
+ "required": true,
16624
+ "description": "Registered relation type name from types.list; it must admit both endpoints or the write is refused."
16625
+ },
16626
+ {
16627
+ "name": "source",
16628
+ "type": "string",
16629
+ "required": true,
16630
+ "description": "Node id the fact starts from, from nodes.list or nodes.create."
16631
+ },
16632
+ {
16633
+ "name": "target",
16634
+ "type": "string",
16635
+ "required": true,
16636
+ "description": "Node id the fact points at, from nodes.list or nodes.create."
16637
+ },
16638
+ {
16639
+ "name": "fact",
16640
+ "type": "string",
16641
+ "required": true,
16642
+ "description": "The relationship in one sentence, at most 280 characters, written to read back on its own."
16643
+ },
16644
+ {
16645
+ "name": "valid_at",
16646
+ "type": "string",
16647
+ "required": false,
16648
+ "description": "World time the fact became true, when the mirrored record dates it; omit to leave it undated."
16649
+ },
16650
+ {
16651
+ "name": "owner",
16652
+ "type": "string",
16653
+ "required": false,
16654
+ "description": "Member id whose content this fact is, restricting it to that member; omit or null for organization-wide."
16655
+ }
16656
+ ]
16657
+ }
16658
+ },
16659
+ {
16660
+ "resource": "ontology.relations",
16661
+ "method": "retrieve",
16662
+ "summary": "Retrieve relation",
16663
+ "description": "Read one relation's fact and both of its clocks — valid_at and invalid_at for when it was true in the world, created_at and expired_at for when it was recorded and retired. An id from another organization, or one that never existed, answers ONTOLOGY_EDGE_NOT_FOUND.",
16664
+ "http": "GET",
16665
+ "path": "/ontology/v1/relations/{relation_id}",
15583
16666
  "streaming": "no",
15584
16667
  "pagination": false,
15585
16668
  "pathParams": [
15586
16669
  {
15587
- "name": "response_id",
15588
- "sdkName": "response_id",
15589
- "description": "Id of the stored response, the `id` returned by createResponse (it looks like resp_...). An unknown id, a response created with store false, an expired response and another tenant's response all answer 404."
16670
+ "name": "relation_id",
16671
+ "sdkName": "relation_id",
16672
+ "description": "Relation id returned by relations.list, relations.create or a changeset, in the form oed_ followed by 32 lowercase letters or digits; a node id is not accepted."
15590
16673
  }
15591
16674
  ],
15592
16675
  "query": []
15593
16676
  },
15594
16677
  {
15595
- "resource": "model.responses.inputItems",
15596
- "method": "list",
15597
- "summary": "List Response Input Items",
15598
- "description": "Read the input items of a stored response using its id from creation. Use the returned items to inspect the input that produced that response.",
15599
- "http": "GET",
15600
- "path": "/model/v1/responses/{response_id}/input_items",
16678
+ "resource": "ontology.relations.invalidate",
16679
+ "method": "create",
16680
+ "summary": "Invalidate relation",
16681
+ "description": "Mark a relation as no longer true from a world time, when the mirrored record changed. The relation is kept — invalid_at moves and the relation still reads at an earlier as_of, so history stays answerable. Send an Idempotency-Key header; repeating the same key replays the first result. There is no delete.",
16682
+ "http": "POST",
16683
+ "path": "/ontology/v1/relations/{relation_id}/invalidate",
15601
16684
  "streaming": "no",
15602
16685
  "pagination": false,
15603
16686
  "pathParams": [
15604
16687
  {
15605
- "name": "response_id",
15606
- "sdkName": "response_id",
15607
- "description": "Id of the stored response, the `id` returned by createResponse (it looks like resp_...). An unknown id, a response created with store false, an expired response and another tenant's response all answer 404."
16688
+ "name": "relation_id",
16689
+ "sdkName": "relation_id",
16690
+ "description": "Relation id returned by relations.list, relations.create or a changeset, in the form oed_ followed by 32 lowercase letters or digits; a node id is not accepted."
15608
16691
  }
15609
16692
  ],
15610
- "query": []
16693
+ "query": [],
16694
+ "body": {
16695
+ "required": true,
16696
+ "fields": [
16697
+ {
16698
+ "name": "invalid_at",
16699
+ "type": "string",
16700
+ "required": true,
16701
+ "description": "World time the fact stopped being true, in ISO 8601 UTC; reads at an earlier as_of still return the relation."
16702
+ },
16703
+ {
16704
+ "name": "superseded_by",
16705
+ "type": "string",
16706
+ "required": false,
16707
+ "description": "Relation id that replaces this one, when a successor was recorded; omit or null when nothing replaced it."
16708
+ },
16709
+ {
16710
+ "name": "reason",
16711
+ "type": "string",
16712
+ "required": false,
16713
+ "description": "Why it stopped being true, for people reading the history later; not enforced and safe to omit."
16714
+ }
16715
+ ]
16716
+ }
15611
16717
  },
15612
16718
  {
15613
- "resource": "model.systemone",
16719
+ "resource": "ontology.search",
15614
16720
  "method": "create",
15615
- "summary": "Ask structured decision questions",
15616
- "description": "Ask typed questions about a state and get calibrated probabilities instead of generated text. Same request and response as TypeSafe System One. Use model ids from model.models.list declaring typesafe.systemone. Send one or more noul, choice or score questions; answers use the same question ids. Input tokens are charged at the catalog input price; output tokens are free. usage.cost and X-Praxis-Cost-Usd expose the same customer charge in USD. box questions and assets are unsupported and return 400: images are not supported. Unknown top-level fields pass unchanged to the native upstream.",
16721
+ "summary": "Search nodes",
16722
+ "description": "Resolve text to the nodes it most likely names, when a mirror holds a name and needs the node id it corresponds to. Results are ranked candidates, not an answer, each reporting whether the match came from the node's name, an alias, its description or a relation's fact. Narrow with types, and cap the result count with limit (1–50, default 20). This reads structure; it is not an agent recall — agents recall through POST /agent/v1/agents/{agent_id}/consolidations.",
15617
16723
  "http": "POST",
15618
- "path": "/model/v1/systemone",
16724
+ "path": "/ontology/v1/search",
15619
16725
  "streaming": "no",
15620
16726
  "pagination": false,
15621
16727
  "pathParams": [],
@@ -15624,257 +16730,102 @@ export const operations = [
15624
16730
  "required": true,
15625
16731
  "fields": [
15626
16732
  {
15627
- "name": "model",
16733
+ "name": "text",
15628
16734
  "type": "string",
15629
16735
  "required": true,
15630
- "description": "Published model id from model.models.list with supported_apis containing typesafe.systemone; returned unchanged in the response."
16736
+ "description": "Text to find nodes for, matched against names, aliases, descriptions and relation facts; an empty string is refused."
15631
16737
  },
15632
16738
  {
15633
- "name": "state",
15634
- "type": "object",
15635
- "required": true,
15636
- "description": "Shared content evaluated by every question, supplied as text, a JSON object or an array."
16739
+ "name": "types",
16740
+ "type": "array",
16741
+ "itemType": "string",
16742
+ "required": false,
16743
+ "description": "Registered node type names to search within; omit to search every type."
15637
16744
  },
15638
16745
  {
15639
- "name": "questions",
16746
+ "name": "window",
15640
16747
  "type": "object",
15641
- "required": true,
15642
- "description": "Non-empty map of caller-chosen question ids to typed questions; answers preserve these ids. noul evaluates yes/no, choice selects a named option, score rates ordered levels. box is unsupported."
16748
+ "required": false,
16749
+ "description": "Restrict matches to facts recorded within a period; omit to search all time."
15643
16750
  },
15644
16751
  {
15645
- "name": "assets",
15646
- "type": "object",
16752
+ "name": "limit",
16753
+ "type": "integer",
15647
16754
  "required": false,
15648
- "description": "Unsupported image assets. Supplying this field, including null or an empty collection, returns 400: images are not supported."
16755
+ "description": "Maximum candidate nodes to return, from 1 to 50; defaults to 20 when omitted."
15649
16756
  }
15650
16757
  ]
15651
16758
  }
15652
16759
  },
15653
16760
  {
15654
- "resource": "model.videos",
16761
+ "resource": "ontology.types",
15655
16762
  "method": "list",
15656
- "summary": "List videos",
15657
- "description": "OpenAI video API with OpenRouter request and response extensions.",
16763
+ "summary": "List types",
16764
+ "description": "Read the node and relation types registered for this organization before writing, so a create names a type the graph accepts. Each entry is one registrant's registration with its owner, version and definitions. Types cannot be created at runtime; they are registered by the owning service at deploy time, so a type missing here is not available to write.",
15658
16765
  "http": "GET",
15659
- "path": "/model/v1/videos",
16766
+ "path": "/ontology/v1/types",
15660
16767
  "streaming": "no",
15661
16768
  "pagination": false,
15662
16769
  "pathParams": [],
15663
- "query": [
15664
- {
15665
- "name": "after",
15666
- "type": "string",
15667
- "required": false,
15668
- "description": "Cursor: the id of the video job after which the page starts, normally the `last_id` of the previous page. It must refer to an existing job of yours, otherwise the call fails."
15669
- },
15670
- {
15671
- "name": "limit",
15672
- "type": "integer",
15673
- "required": false,
15674
- "description": "Maximum number of jobs per page, from 1 to 100; defaults to 20."
15675
- },
15676
- {
15677
- "name": "order",
15678
- "type": "string",
15679
- "enum": [
15680
- "asc",
15681
- "desc"
15682
- ],
15683
- "required": false,
15684
- "description": "Sort order by creation time: desc (default) lists the newest job first, asc the oldest first."
15685
- }
15686
- ]
16770
+ "query": []
15687
16771
  },
15688
16772
  {
15689
- "resource": "model.videos",
16773
+ "resource": "ontology.types",
15690
16774
  "method": "create",
15691
- "summary": "Create video",
15692
- "description": "OpenAI video API with OpenRouter request and response extensions.",
16775
+ "summary": "Register type",
16776
+ "description": "Register a node or relation type for this organization. Not open yet — this call currently answers 501 NOT_IMPLEMENTED and writes nothing, because a registration is checked and stored by the deploy gate that ships the registering service, not by a runtime call. Until it opens, read the types already in force with praxis.ontology.types.list and create records only of those types.",
15693
16777
  "http": "POST",
15694
- "path": "/model/v1/videos",
16778
+ "path": "/ontology/v1/types",
15695
16779
  "streaming": "no",
15696
16780
  "pagination": false,
15697
- "multipart": true,
15698
16781
  "pathParams": [],
15699
16782
  "query": [],
15700
16783
  "body": {
15701
16784
  "required": true,
15702
16785
  "fields": [
15703
16786
  {
15704
- "name": "model",
15705
- "type": "string",
15706
- "required": false,
15707
- "description": "Video model id, for example `wan2.7-t2v`; list candidates with listModels?type=video. Router support (partial): Select a registered video model explicitly, for example wan2.7-t2v (size=1280x720, seconds=4). Capability preflight errors are reported before creation."
15708
- },
15709
- {
15710
- "name": "prompt",
16787
+ "name": "owner",
15711
16788
  "type": "string",
15712
16789
  "required": true,
15713
- "description": "Text description of the video, at least 1 character. Router support (supported): Controls video content; missing or empty values return 400."
15714
- },
15715
- {
15716
- "name": "seconds",
15717
- "type": "object",
15718
- "required": false,
15719
- "description": "Takes precedence over duration."
16790
+ "description": "Service that registered these types, for example file or ticket; it is the registrant a later change to a type is checked against."
15720
16791
  },
15721
16792
  {
15722
- "name": "duration",
16793
+ "name": "version",
15723
16794
  "type": "integer",
15724
- "required": false,
15725
- "description": "Length of the video in whole seconds. `seconds` takes precedence when both are given."
15726
- },
15727
- {
15728
- "name": "size",
15729
- "type": "string",
15730
- "required": false,
15731
- "description": "Output resolution as `WIDTHxHEIGHT`, for example `1280x720`. Router support (partial): Subject to model capability preflight. Earlier wan2.7-t2v samples always produced 1280x720; accepted sizes are not guaranteed pixel-for-pixel."
15732
- },
15733
- {
15734
- "name": "input_reference",
15735
- "type": "object",
15736
- "required": false,
15737
- "description": "Reference image for image-to-video: a URL or base64 data URL, an object with `image_url`, or an uploaded image file (multipart, at most 20 MiB)."
16795
+ "required": true,
16796
+ "description": "Monotonic version of this owner's registration; a later registration must extend this one without removing or narrowing anything."
15738
16797
  },
15739
16798
  {
15740
- "name": "input_references",
16799
+ "name": "nodes",
15741
16800
  "type": "array",
15742
16801
  "itemType": "object",
15743
- "required": false,
15744
- "description": "Several reference images; each entry is a URL or base64 data URL, or an object with `image_url`."
16802
+ "required": true,
16803
+ "description": "Node types this owner registers."
15745
16804
  },
15746
16805
  {
15747
- "name": "frame_images",
16806
+ "name": "edges",
15748
16807
  "type": "array",
15749
16808
  "itemType": "object",
15750
- "required": false,
15751
- "description": "Images that pin the first and last frame; at most 2 entries."
15752
- },
15753
- {
15754
- "name": "resolution",
15755
- "type": "string",
15756
- "required": false,
15757
- "description": "Output resolution label such as `720p`, for models that take a label instead of `size`."
15758
- },
15759
- {
15760
- "name": "aspect_ratio",
15761
- "type": "string",
15762
- "required": false,
15763
- "description": "Aspect ratio of the video such as `16:9`."
15764
- },
15765
- {
15766
- "name": "generate_audio",
15767
- "type": "boolean",
15768
- "required": false,
15769
- "description": "Whether the video carries a generated audio track. Router support (supported): false produces no audio track on wan2.7-t2v; the default output includes audio."
15770
- },
15771
- {
15772
- "name": "seed",
15773
- "type": "integer",
15774
- "required": false,
15775
- "description": "Seed for reproducible generation, on models that support it."
15776
- },
15777
- {
15778
- "name": "callback_url",
15779
- "type": "string",
15780
- "required": false,
15781
- "description": "HTTP or HTTPS callback URL, forwarded to models that support completion callbacks."
15782
- },
15783
- {
15784
- "name": "quality",
15785
- "type": "string",
15786
- "required": false,
15787
- "description": "Provider-specific quality setting."
16809
+ "required": true,
16810
+ "description": "Relation types this owner registers."
15788
16811
  }
15789
16812
  ]
15790
16813
  }
15791
16814
  },
15792
16815
  {
15793
- "resource": "model.videos",
15794
- "method": "delete",
15795
- "summary": "Delete video",
15796
- "description": "OpenAI video API with OpenRouter request and response extensions.",
15797
- "http": "DELETE",
15798
- "path": "/model/v1/videos/{video_id}",
15799
- "streaming": "no",
15800
- "pagination": false,
15801
- "pathParams": [
15802
- {
15803
- "name": "video_id",
15804
- "sdkName": "video_id",
15805
- "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
15806
- }
15807
- ],
15808
- "query": []
15809
- },
15810
- {
15811
- "resource": "model.videos",
16816
+ "resource": "ontology.types",
15812
16817
  "method": "retrieve",
15813
- "summary": "Retrieve video",
15814
- "description": "OpenAI video API with OpenRouter request and response extensions.",
15815
- "http": "GET",
15816
- "path": "/model/v1/videos/{video_id}",
15817
- "streaming": "no",
15818
- "pagination": false,
15819
- "pathParams": [
15820
- {
15821
- "name": "video_id",
15822
- "sdkName": "video_id",
15823
- "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
15824
- }
15825
- ],
15826
- "query": []
15827
- },
15828
- {
15829
- "resource": "model.videos",
15830
- "method": "retrieveContent",
15831
- "summary": "Download video",
15832
- "description": "OpenAI video API with OpenRouter request and response extensions.",
16818
+ "summary": "Retrieve type",
16819
+ "description": "Read one registered type's definition before writing a record of it, to learn whether it is a node or an edge, which endpoints an edge type admits, and which origins it accepts. The name comes from types.list; a name that is not registered answers ONTOLOGY_TYPE_UNKNOWN, and writes of that type are refused.",
15833
16820
  "http": "GET",
15834
- "path": "/model/v1/videos/{video_id}/content",
15835
- "streaming": "no",
15836
- "pagination": false,
15837
- "pathParams": [
15838
- {
15839
- "name": "video_id",
15840
- "sdkName": "video_id",
15841
- "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
15842
- }
15843
- ],
15844
- "query": [
15845
- {
15846
- "name": "variant",
15847
- "type": "string",
15848
- "enum": [
15849
- "video",
15850
- "thumbnail",
15851
- "spritesheet"
15852
- ],
15853
- "required": false,
15854
- "description": "Spritesheet is not available in this release (400)."
15855
- },
15856
- {
15857
- "name": "index",
15858
- "type": "integer",
15859
- "required": false,
15860
- "description": "Output index; this release produces index 0. variant takes precedence."
15861
- }
15862
- ]
15863
- },
15864
- {
15865
- "resource": "model.videos",
15866
- "method": "remix",
15867
- "summary": "Remix video",
15868
- "description": "Not supported in this release; always returns 400.",
15869
- "http": "POST",
15870
- "path": "/model/v1/videos/{video_id}/remix",
16821
+ "path": "/ontology/v1/types/{name}",
15871
16822
  "streaming": "no",
15872
16823
  "pagination": false,
15873
16824
  "pathParams": [
15874
16825
  {
15875
- "name": "video_id",
15876
- "sdkName": "video_id",
15877
- "description": "Id of the video job whose output you want, the `id` returned by createVideo. The job must be completed; before that the call answers 400."
16826
+ "name": "name",
16827
+ "sdkName": "name",
16828
+ "description": "A type name from types.list, with its dots preserved — a display label is not accepted."
15878
16829
  }
15879
16830
  ],
15880
16831
  "query": []
@@ -18592,7 +19543,7 @@ export const operations = [
18592
19543
  "resource": "ticket.labels",
18593
19544
  "method": "create",
18594
19545
  "summary": "Create or add labels",
18595
- "description": "Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
19546
+ "description": "Create or add labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
18596
19547
  "http": "POST",
18597
19548
  "path": "/ticket/v1/labels",
18598
19549
  "streaming": "no",
@@ -18634,7 +19585,7 @@ export const operations = [
18634
19585
  "resource": "ticket.labels",
18635
19586
  "method": "delete",
18636
19587
  "summary": "Remove labels",
18637
- "description": "Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
19588
+ "description": "Remove labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
18638
19589
  "http": "DELETE",
18639
19590
  "path": "/ticket/v1/labels/{name}",
18640
19591
  "streaming": "no",
@@ -18659,7 +19610,7 @@ export const operations = [
18659
19610
  "resource": "ticket.labels",
18660
19611
  "method": "update",
18661
19612
  "summary": "Update labels",
18662
- "description": "Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Organization owner or admin authority is required for this write; API keys without role information act as members.",
19613
+ "description": "Update labels within the authenticated organization. Obtain resource identifiers from the corresponding list or create response. Writes complete synchronously; read the returned resource to observe the result. Service authorization applies to the verified human subject.",
18663
19614
  "http": "PATCH",
18664
19615
  "path": "/ticket/v1/labels/{name}",
18665
19616
  "streaming": "no",
@@ -18955,7 +19906,7 @@ export const operations = [
18955
19906
  "name": "filter",
18956
19907
  "type": "string",
18957
19908
  "required": false,
18958
- "description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
19909
+ "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."
18959
19910
  }
18960
19911
  ]
18961
19912
  },
@@ -20061,7 +21012,7 @@ export const operations = [
20061
21012
  "resource": "vault.vaults",
20062
21013
  "method": "create",
20063
21014
  "summary": "Create vault",
20064
- "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. Unlike Anthropic, Agent sessions do not accept nonempty vault_ids; storing a credential or adding its ID to metadata does not enable vault-backed MCP authentication. 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.",
21015
+ "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.",
20065
21016
  "http": "POST",
20066
21017
  "path": "/vault/v1/vaults",
20067
21018
  "streaming": "no",