@deepraxis/sdk 0.1.1-dev.7bc135e → 0.1.1-dev.7e14834

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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",
@@ -185,7 +185,7 @@ export const operations = [
185
185
  "name": "settings",
186
186
  "type": "object",
187
187
  "required": false,
188
- "description": "Praxis extension: managed settings saved with the configuration revision. Omit to preserve; null clears. Configuration storage only; these switches and hooks are not applied to runtime yet. /agent/v1 only."
188
+ "description": "Agent runtime settings follow Claude Code managed settings. Praxis freezes output-style selection for each new session; inline output_styles extend file-based styles. Omit settings to keep saved settings; null clears them."
189
189
  },
190
190
  {
191
191
  "name": "models",
@@ -222,6 +222,13 @@ export const operations = [
222
222
  ],
223
223
  "required": false,
224
224
  "description": "Optional tool preset. minimal enables read, glob, grep and ask_user_question; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor."
225
+ },
226
+ {
227
+ "name": "output_styles",
228
+ "type": "array",
229
+ "itemType": "object",
230
+ "required": false,
231
+ "description": "Inline custom output styles, including for agents without a computer. Omit to keep the saved list; null or [] clears it. Same-name precedence is inline, project files, personal files, then plugins. Selection is settings.outputStyle; styles apply to main conversations and are frozen per session."
225
232
  }
226
233
  ]
227
234
  }
@@ -401,7 +408,7 @@ export const operations = [
401
408
  "name": "settings",
402
409
  "type": "object",
403
410
  "required": false,
404
- "description": "Praxis extension: managed settings saved with the configuration revision. Omit to preserve; null clears. Configuration storage only; these switches and hooks are not applied to runtime yet. /agent/v1 only."
411
+ "description": "Agent runtime settings follow Claude Code managed settings. Praxis freezes output-style selection for each new session; inline output_styles extend file-based styles. Omit settings to keep saved settings; null clears them."
405
412
  },
406
413
  {
407
414
  "name": "models",
@@ -438,6 +445,13 @@ export const operations = [
438
445
  ],
439
446
  "required": false,
440
447
  "description": "Optional tool preset. minimal enables read, glob, grep and ask_user_question; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor."
448
+ },
449
+ {
450
+ "name": "output_styles",
451
+ "type": "array",
452
+ "itemType": "object",
453
+ "required": false,
454
+ "description": "Inline custom output styles, including for agents without a computer. Omit to keep the saved list; null or [] clears it. Same-name precedence is inline, project files, personal files, then plugins. Selection is settings.outputStyle; styles apply to main conversations and are frozen per session."
441
455
  }
442
456
  ]
443
457
  }
@@ -3967,7 +3981,7 @@ export const operations = [
3967
3981
  "name": "timeout_ms",
3968
3982
  "type": "number",
3969
3983
  "required": false,
3970
- "description": "Positive integer milliseconds; code defaults to and is capped at 30,000. container/shell are not yet available."
3984
+ "description": "Positive integer milliseconds; code defaults to and is capped at 300,000. container/shell are not yet available."
3971
3985
  },
3972
3986
  {
3973
3987
  "name": "implementation",
@@ -4017,7 +4031,7 @@ export const operations = [
4017
4031
  "resource": "automation.actions",
4018
4032
  "method": "update",
4019
4033
  "summary": "Update an action",
4020
- "description": "Update after checking compatibility against the current and five recent revisions. Widening inputs and narrowing outputs are compatible, including length, item count, property count, type (integer/number), and multipleOf (the new input factor divides the old one; the reverse holds for outputs). dry_run=true returns only CompatResult and may omit If-Match; a supplied header is still checked, and * matches any existing representation. Normal updates require If-Match and return ActionDef with ETag; previews return no ETag. Omitted optional fields retain their existing values only for description and labels; when constructing a new revision, errors defaults to [], omitted annotations keys to false, timeout_ms to 30000, and message to null. Incompatible normal updates return 422 SCHEMA_INCOMPATIBLE with issues; unchanged contents retain the existing revision.",
4034
+ "description": "Update after checking compatibility against the current and five recent revisions. Widening inputs and narrowing outputs are compatible, including length, item count, property count, type (integer/number), and multipleOf (the new input factor divides the old one; the reverse holds for outputs). dry_run=true returns only CompatResult and may omit If-Match; a supplied header is still checked, and * matches any existing representation. Normal updates require If-Match and return ActionDef with ETag; previews return no ETag. Omitted optional fields retain their existing values only for description and labels; when constructing a new revision, errors defaults to [], omitted annotations keys to false, timeout_ms to 300000, and message to null. Incompatible normal updates return 422 SCHEMA_INCOMPATIBLE with issues; unchanged contents retain the existing revision.",
4021
4035
  "http": "PUT",
4022
4036
  "path": "/automation/v1/actions/{ns}/{name}",
4023
4037
  "streaming": "no",
@@ -4086,7 +4100,7 @@ export const operations = [
4086
4100
  "name": "timeout_ms",
4087
4101
  "type": "number",
4088
4102
  "required": false,
4089
- "description": "Positive integer milliseconds; code defaults to and is capped at 30,000. container/shell are not yet available."
4103
+ "description": "Positive integer milliseconds; code defaults to and is capped at 300,000. container/shell are not yet available."
4090
4104
  },
4091
4105
  {
4092
4106
  "name": "implementation",
@@ -4761,7 +4775,7 @@ export const operations = [
4761
4775
  "resource": "automation.runs",
4762
4776
  "method": "create",
4763
4777
  "summary": "Run a published target or execute draft source",
4764
- "description": "Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call(\"ocr\", { document: { type: \"file\", file_id } }); return result; }`; send it as source with language=\"ts\", input={\"file_id\":\"<uploaded file ID>\"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: \"glm-ocr\", document: { type: \"file\", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke(\"namespace/name\", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 30 s (run-sandbox after 10 min); scripts have a 5 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 30 days. Each run can start at most 100 child runs, with at most 20 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. With language=yaml, source is a workflow YAML: the run input is . in the first step, and the shape is described in create workflow. Error details are in errors[] (pointer, detail, hint). New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.",
4778
+ "description": "Execute a published script or workflow with target, or test unpublished code directly with source and language (ts for TypeScript, yaml for workflow YAML), without first saving or publishing a definition. Minimal script: `export default async ({ file_id }: { file_id: string }) => { const result = await call(\"ocr\", { document: { type: \"file\", file_id } }); return result; }`; send it as source with language=\"ts\", input={\"file_id\":\"<uploaded file ID>\"} and wait=0, using a PDF or image already uploaded to your account. To call a platform API directly in the same script, use the praxis SDK object, for example `praxis.model.ocr.create({ body: { model: \"glm-ocr\", document: { type: \"file\", file_id } } })`; Action IDs are strings passed to call(), not SDK methods such as praxis.ocr(...). praxis, call, invoke, console and codemode are module-scope bindings, not on globalThis, and need no import; invoke(\"namespace/name\", input) starts a child run. target and source are mutually exclusive; target accepts ns/name@version, @tag or @range and defaults to latest when @ is omitted. Source/input validation precedes run creation, so a separate validate call is optional. input defaults to {} and must match the input schema and fit within 1 MiB. wait is 0–60 seconds (default 0): a terminal run returns 200, otherwise 202. Use the returned id with praxis.automation.runs.retrieve and inspect status, output and error; acceptance does not mean successful completion. For long-running, background or batch work, use wait: 0 and poll the run, or split work into child runs or a workflow; wait only controls the response wait and does not extend execution limits. Actions time out after 5 min (run-sandbox after 6 h); scripts have a 30 min wall-clock limit and a 30 s CPU limit; workflows default to 24 h and allow up to 30 days. Each run can start at most 1,000 child runs, with at most 100 active at once; nesting depth is limited to 10. Idempotency-Key is scoped to tenant, method and path for 24 hours, excluding wait from the fingerprint; replay returns the current run with Idempotent-Replayed: true, changed contents return 422 and an in-flight request returns 409. With language=yaml, source is a workflow YAML: the run input is . in the first step, and the shape is described in create workflow. Error details are in errors[] (pointer, detail, hint). New non-deterministic run IDs contain 78 characters, compared with 46 for legacy random IDs; treat IDs as opaque strings. Historical and deterministic IDs remain valid; same-millisecond order is not guaranteed.",
4765
4779
  "http": "POST",
4766
4780
  "path": "/automation/v1/runs",
4767
4781
  "streaming": "no",
@@ -5509,6 +5523,96 @@ export const operations = [
5509
5523
  "fields": []
5510
5524
  }
5511
5525
  },
5526
+ {
5527
+ "resource": "automation.scripts.vaults",
5528
+ "method": "list",
5529
+ "summary": "List script vault bindings",
5530
+ "description": "Inspect the whole vaults attached to a saved script, including archived definitions, without reading secret values. Obtain ns and name from automation.scripts.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.",
5531
+ "http": "GET",
5532
+ "path": "/automation/v1/scripts/{ns}/{name}/vaults",
5533
+ "streaming": "no",
5534
+ "pagination": false,
5535
+ "pathParams": [
5536
+ {
5537
+ "name": "ns",
5538
+ "sdkName": "ns",
5539
+ "description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
5540
+ },
5541
+ {
5542
+ "name": "name",
5543
+ "sdkName": "name",
5544
+ "description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
5545
+ }
5546
+ ],
5547
+ "query": []
5548
+ },
5549
+ {
5550
+ "resource": "automation.scripts.vaults",
5551
+ "method": "delete",
5552
+ "summary": "Delete a script vault binding",
5553
+ "description": "Remove the vault assignment from this saved script without deleting the vault or its secrets. Obtain aliases from automation.scripts.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.",
5554
+ "http": "DELETE",
5555
+ "path": "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
5556
+ "streaming": "no",
5557
+ "pagination": false,
5558
+ "pathParams": [
5559
+ {
5560
+ "name": "ns",
5561
+ "sdkName": "ns",
5562
+ "description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
5563
+ },
5564
+ {
5565
+ "name": "name",
5566
+ "sdkName": "name",
5567
+ "description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
5568
+ },
5569
+ {
5570
+ "name": "alias",
5571
+ "sdkName": "alias",
5572
+ "description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
5573
+ }
5574
+ ],
5575
+ "query": []
5576
+ },
5577
+ {
5578
+ "resource": "automation.scripts.vaults",
5579
+ "method": "set",
5580
+ "summary": "Set a script vault binding",
5581
+ "description": "Attach an entire active vault in your organization to a saved script, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {\"vault\":\"Production\"}.",
5582
+ "http": "PUT",
5583
+ "path": "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
5584
+ "streaming": "no",
5585
+ "pagination": false,
5586
+ "pathParams": [
5587
+ {
5588
+ "name": "ns",
5589
+ "sdkName": "ns",
5590
+ "description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
5591
+ },
5592
+ {
5593
+ "name": "name",
5594
+ "sdkName": "name",
5595
+ "description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
5596
+ },
5597
+ {
5598
+ "name": "alias",
5599
+ "sdkName": "alias",
5600
+ "description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
5601
+ }
5602
+ ],
5603
+ "query": [],
5604
+ "body": {
5605
+ "required": true,
5606
+ "fields": [
5607
+ {
5608
+ "name": "vault",
5609
+ "type": "string",
5610
+ "required": true,
5611
+ "description": "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
5612
+ }
5613
+ ]
5614
+ }
5615
+ },
5512
5616
  {
5513
5617
  "resource": "automation.scripts.versions",
5514
5618
  "method": "list",
@@ -6309,7 +6413,7 @@ export const operations = [
6309
6413
  "resource": "automation.workflows",
6310
6414
  "method": "create",
6311
6415
  "summary": "Create a workflow",
6312
- "description": "Workflow syntax reference: https://deepraxis.com/docs/developers/automation/reference/workflow-syntax. Save a YAML workflow as an editable draft; this does not validate, publish or run it, so check it with validate (kind=workflow) first. Minimal draft: document with dsl (\"1.0.3\"), namespace, name and version, plus a do list of steps, for example document: {dsl: \"1.0.3\", namespace: demo, name: add, version: \"1.0.0\"} and do: [{first: {call: demo/add-one, with: {n: \"${ .n }\"}}}]. call: <ns/name> calls an Action directly (bare name for built-ins such as ocr) and with is the Action input; the input contract is at current_revision.input_schema in the get-action response. run: starts a saved script or child workflow. The run input is . in the first step, and expressions are jq written as a whole ${ ... } string. Limits: Action 30 s (run-sandbox 10 min), workflow 24 h by default and 30 days at most, payload 1 MiB. Test the draft by sending its source and language=yaml to praxis.automation.runs.create. To pause for a person, call praxis/approval (it opens a human task; the step output is the decision); agents answer with praxis.automation.humanTasks.respond on behalf of their user. Guide: /docs/developers/automation/guides/approvals Guide: /docs/developers/automation/guides/write-workflow. Error details are in the errors[] of the response (pointer, detail, hint). Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.",
6416
+ "description": "Workflow syntax reference: https://deepraxis.com/docs/developers/automation/reference/workflow-syntax. Save a YAML workflow as an editable draft; this does not validate, publish or run it, so check it with validate (kind=workflow) first. Minimal draft: document with dsl (\"1.0.3\"), namespace, name and version, plus a do list of steps, for example document: {dsl: \"1.0.3\", namespace: demo, name: add, version: \"1.0.0\"} and do: [{first: {call: demo/add-one, with: {n: \"${ .n }\"}}}]. call: <ns/name> calls an Action directly (bare name for built-ins such as ocr) and with is the Action input; the input contract is at current_revision.input_schema in the get-action response. run: starts a saved script or child workflow. The run input is . in the first step, and expressions are jq written as a whole ${ ... } string. Limits: Action 5 min (run-sandbox 6 h), workflow 24 h by default and 30 days at most, payload 1 MiB. Test the draft by sending its source and language=yaml to praxis.automation.runs.create. To pause for a person, call praxis/approval (it opens a human task; the step output is the decision); agents answer with praxis.automation.humanTasks.respond on behalf of their user. Guide: /docs/developers/automation/guides/approvals Guide: /docs/developers/automation/guides/write-workflow. Error details are in the errors[] of the response (pointer, detail, hint). Choose your own namespace without registering it first; praxis is reserved for built-in Actions. Scripts and workflows share names within the tenant; a duplicate returns NAME_TAKEN. run.workflow accepts ns/name@range or {namespace, name, version, input}; run.script uses the same reference shape as a platform extension. Object namespace, name and version are required; version accepts an exact version, dist-tag or range, locked at publication. Object input defaults to {} and supports expressions; string references retain task-level with. run.await defaults to true and returns the child output. With false, the child uses detach and the task immediately returns {run_id}; parent cancellation does not cascade. Inline script.code returns DEFINITION_INVALID with a detail asking you to save a script and reference it first. raise.error retains its type URI, status, title and detail in the run error.",
6313
6417
  "http": "POST",
6314
6418
  "path": "/automation/v1/workflows",
6315
6419
  "streaming": "no",
@@ -6565,6 +6669,96 @@ export const operations = [
6565
6669
  "fields": []
6566
6670
  }
6567
6671
  },
6672
+ {
6673
+ "resource": "automation.workflows.vaults",
6674
+ "method": "list",
6675
+ "summary": "List workflow vault bindings",
6676
+ "description": "Inspect the whole vaults attached to a saved workflow, including archived definitions, without reading secret values. Obtain ns and name from automation.workflows.list. Bindings belong to the definition rather than a published version. When vault or secret metadata cannot be read, the binding remains visible with secrets: [] and secrets_unavailable: true.",
6677
+ "http": "GET",
6678
+ "path": "/automation/v1/workflows/{ns}/{name}/vaults",
6679
+ "streaming": "no",
6680
+ "pagination": false,
6681
+ "pathParams": [
6682
+ {
6683
+ "name": "ns",
6684
+ "sdkName": "ns",
6685
+ "description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
6686
+ },
6687
+ {
6688
+ "name": "name",
6689
+ "sdkName": "name",
6690
+ "description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
6691
+ }
6692
+ ],
6693
+ "query": []
6694
+ },
6695
+ {
6696
+ "resource": "automation.workflows.vaults",
6697
+ "method": "delete",
6698
+ "summary": "Delete a workflow vault binding",
6699
+ "description": "Remove the vault assignment from this saved workflow without deleting the vault or its secrets. Obtain aliases from automation.workflows.vaults.list. Repeating deletion of an absent alias on an existing definition succeeds. Bindings also disappear when the definition is permanently deleted, while archival retains them.",
6700
+ "http": "DELETE",
6701
+ "path": "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
6702
+ "streaming": "no",
6703
+ "pagination": false,
6704
+ "pathParams": [
6705
+ {
6706
+ "name": "ns",
6707
+ "sdkName": "ns",
6708
+ "description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
6709
+ },
6710
+ {
6711
+ "name": "name",
6712
+ "sdkName": "name",
6713
+ "description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
6714
+ },
6715
+ {
6716
+ "name": "alias",
6717
+ "sdkName": "alias",
6718
+ "description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
6719
+ }
6720
+ ],
6721
+ "query": []
6722
+ },
6723
+ {
6724
+ "resource": "automation.workflows.vaults",
6725
+ "method": "set",
6726
+ "summary": "Set a workflow vault binding",
6727
+ "description": "Attach an entire active vault in your organization to a saved workflow, or replace the vault at an existing alias. Obtain the vault ID or display name from praxis.vault.vaults.list; ambiguous names require an ID. Bindings are independent of published versions and survive archival. The same vault cannot be assigned to two aliases on one definition. Repeating the same assignment is idempotent. Example body: {\"vault\":\"Production\"}.",
6728
+ "http": "PUT",
6729
+ "path": "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
6730
+ "streaming": "no",
6731
+ "pagination": false,
6732
+ "pathParams": [
6733
+ {
6734
+ "name": "ns",
6735
+ "sdkName": "ns",
6736
+ "description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
6737
+ },
6738
+ {
6739
+ "name": "name",
6740
+ "sdkName": "name",
6741
+ "description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
6742
+ },
6743
+ {
6744
+ "name": "alias",
6745
+ "sdkName": "alias",
6746
+ "description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
6747
+ }
6748
+ ],
6749
+ "query": [],
6750
+ "body": {
6751
+ "required": true,
6752
+ "fields": [
6753
+ {
6754
+ "name": "vault",
6755
+ "type": "string",
6756
+ "required": true,
6757
+ "description": "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
6758
+ }
6759
+ ]
6760
+ }
6761
+ },
6568
6762
  {
6569
6763
  "resource": "automation.workflows.versions",
6570
6764
  "method": "list",
@@ -7314,6 +7508,12 @@ export const operations = [
7314
7508
  "type": "string",
7315
7509
  "required": false,
7316
7510
  "description": "Opaque next_cursor from the preceding list response; omit for the first page and stop when next_cursor is null."
7511
+ },
7512
+ {
7513
+ "name": "collection_id",
7514
+ "type": "string",
7515
+ "required": false,
7516
+ "description": "Filter to a collection id from collections.list, or the literal none for uncategorized canvases. Omit to list all canvases; keep the same filter when following next_cursor."
7317
7517
  }
7318
7518
  ]
7319
7519
  },
@@ -7376,6 +7576,41 @@ export const operations = [
7376
7576
  ],
7377
7577
  "query": []
7378
7578
  },
7579
+ {
7580
+ "resource": "canvas.canvases",
7581
+ "method": "update",
7582
+ "summary": "Update canvas",
7583
+ "description": "Rename a canvas or move it to a collection without editing its design content. Use a canvas id from canvases.list and a collection id from collections.list. Send collection_id=null to make it uncategorized; omit either field to preserve its current value. A canvas belongs to at most one collection. The destination must belong to your organization. Renaming keeps the canvas version unchanged.",
7584
+ "http": "PATCH",
7585
+ "path": "/canvas/v1/canvases/{canvas_id}",
7586
+ "streaming": "no",
7587
+ "pagination": false,
7588
+ "pathParams": [
7589
+ {
7590
+ "name": "canvas_id",
7591
+ "sdkName": "canvas_id",
7592
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
7593
+ }
7594
+ ],
7595
+ "query": [],
7596
+ "body": {
7597
+ "required": true,
7598
+ "fields": [
7599
+ {
7600
+ "name": "name",
7601
+ "type": "string",
7602
+ "required": false,
7603
+ "description": "New canvas display name; surrounding whitespace is trimmed, blank names use Untitled, and omission preserves the current name."
7604
+ },
7605
+ {
7606
+ "name": "collection_id",
7607
+ "type": "string",
7608
+ "required": false,
7609
+ "description": "Move to this collection id from collections.list; null removes the canvas from its collection. Omission preserves the current assignment."
7610
+ }
7611
+ ]
7612
+ }
7613
+ },
7379
7614
  {
7380
7615
  "resource": "canvas.canvases.images",
7381
7616
  "method": "list",
@@ -7393,6 +7628,12 @@ export const operations = [
7393
7628
  }
7394
7629
  ],
7395
7630
  "query": [
7631
+ {
7632
+ "name": "version",
7633
+ "type": "string",
7634
+ "required": false,
7635
+ "description": "Decimal version from versions.list, or its earliest_restorable_version, for a read-only historical snapshot; omit to read current state. Unavailable versions return VERSION_NOT_FOUND."
7636
+ },
7396
7637
  {
7397
7638
  "name": "ids",
7398
7639
  "type": "string",
@@ -7433,6 +7674,12 @@ export const operations = [
7433
7674
  }
7434
7675
  ],
7435
7676
  "query": [
7677
+ {
7678
+ "name": "version",
7679
+ "type": "string",
7680
+ "required": false,
7681
+ "description": "Decimal version from versions.list, or its earliest_restorable_version, for a read-only historical snapshot; omit to read current state. Unavailable versions return VERSION_NOT_FOUND."
7682
+ },
7436
7683
  {
7437
7684
  "name": "ids",
7438
7685
  "type": "string",
@@ -7447,11 +7694,42 @@ export const operations = [
7447
7694
  }
7448
7695
  ]
7449
7696
  },
7697
+ {
7698
+ "resource": "canvas.canvases.versions",
7699
+ "method": "list",
7700
+ "summary": "List canvas versions",
7701
+ "description": "Inspect retained edits before restoring a canvas or reading historical nodes and images. Supply a canvas_id from canvases.list or create. Results include successful execute, import and restore commits since history was enabled, newest first. limit is 1–100 and defaults to 30; pass next_cursor as cursor until it is null. All versions from the last 30 days are retained unless the 256 MiB history budget requires pruning; the newest 100 versions are always retained regardless of age or size. earliest_restorable_version is the oldest readable and restorable version, including the state immediately before the first retained commit; null means no history has been recorded. Listing does not change the canvas.",
7702
+ "http": "GET",
7703
+ "path": "/canvas/v1/canvases/{canvas_id}/versions",
7704
+ "streaming": "no",
7705
+ "pagination": false,
7706
+ "pathParams": [
7707
+ {
7708
+ "name": "canvas_id",
7709
+ "sdkName": "canvas_id",
7710
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
7711
+ }
7712
+ ],
7713
+ "query": [
7714
+ {
7715
+ "name": "limit",
7716
+ "type": "integer",
7717
+ "required": false,
7718
+ "description": "Maximum commits to return, from 1 to 100 inclusive; omission uses 30."
7719
+ },
7720
+ {
7721
+ "name": "cursor",
7722
+ "type": "string",
7723
+ "required": false,
7724
+ "description": "Copy next_cursor from the preceding page to continue toward older commits; omit for the first page."
7725
+ }
7726
+ ]
7727
+ },
7450
7728
  {
7451
7729
  "resource": "canvas.canvases",
7452
7730
  "method": "execute",
7453
7731
  "summary": "Execute canvas script",
7454
- "description": "Draw or edit a canvas atomically with a synchronous Pencil execute script. First create a canvas with praxis.canvas.canvases.create and use its id as canvas_id; inspect an existing canvas with retrieve before modifying it. Send exactly one of script (new source) or edit_id (a failed script to patch using edits). Unlike Figma REST, :execute writes design content; nodes use Pencil .pen schema 2.21 (frame/group/rectangle/ellipse/polygon/path/text/icon/ref/note), not Figma node fields.\n\nThe root variable is document. Synchronous functions are Insert / Copy / Update / Replace / Move / Delete / SetVariables / Get / GetVariables / FindEmptySpace / Print / TakeScreenshot; globals persist for the next call. A first frame needs only this body.script:\n\n```js\nconst f = Insert(document, { type: \"frame\", name: \"Hero\", width: 1200, layout: \"vertical\", padding: 48, fill: \"#FFFFFF\" }); Insert(f, { type: \"text\", content: \"Hello\", fontSize: 32, fill: \"#111111\" }); Print(f)\n```\n\nUse viewer_url to watch the result in Console. TakeScreenshot records node ids in screenshots; call images.list with those ids to fetch PNG data URLs. See the [Canvas execute reference](https://deepraxis.com/en/docs/api/native/canvas/execute) for request fields and results, and the [Canvas node reference](https://deepraxis.com/en/docs/developers/canvas/nodes) for node content.\n\nA successful write increments version by one. Optionally set expected_version to the version from retrieve or nodes.list; on 409 REVISION_CONFLICT read again, merge your intent and retry with the current version. Every script failure rolls back all writes. On 400 SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED, use error.details.edit_id plus edits to repair and rerun the stored source without resending the entire script; details may include line, column and rejection. On 400 EDIT_EXPIRED the saved script is older than ten minutes: submit a corrected new script. On 429 CANVAS_BUSY, more than four calls are queued for this canvas: wait for pending calls before retrying.\n",
7732
+ "description": "Draw or edit a canvas atomically with a synchronous Pencil execute script. First create a canvas with praxis.canvas.canvases.create and use its id as canvas_id; inspect an existing canvas with retrieve before modifying it. Send exactly one of script (new source) or edit_id (a failed script to patch using edits). Unlike Figma REST, :execute writes design content; nodes use Pencil .pen schema 2.21 (frame/group/rectangle/ellipse/polygon/path/text/icon/ref/note), not Figma node fields.\n\nThe root variable is document. Synchronous functions are Insert / Copy / Update / Replace / Move / Delete / SetVariables / Get / GetVariables / FindEmptySpace / Print / TakeScreenshot; globals persist for the next call. A first frame needs only this body.script:\n\n```js\nconst f = Insert(document, { type: \"frame\", name: \"Hero\", width: 1200, layout: \"vertical\", padding: 48, fill: \"#FFFFFF\" }); Insert(f, { type: \"text\", content: \"Hello\", fontSize: 32, fill: \"#111111\" }); Print(f)\n```\n\nInsert/Copy return the new node id; read the copy with Get(id) — copied descendants get new ids, so change them through Copy's third argument `descendants` keyed by the source node ids. To copy a page and change its title in the same script:\n\n```js canvas-example=\"copy-page\"\nconst page = Insert(document, {type:\"frame\",name:\"Original\",width:320,height:160,layout:\"vertical\",padding:16});\nconst title = Insert(page, {type:\"text\",name:\"Title\",content:\"Original\",fontSize:24});\nconst copy = Copy(page, document, {name:\"Copy\",x:360,descendants:{[title]:{content:\"Updated\"}}});\nPrint(copy); Print(Get(copy).children[0].content);\n```\n\nUse viewer_url to watch the result in Console. TakeScreenshot records node ids in screenshots; call images.list with those ids to fetch PNG data URLs. See the [Canvas execute reference](https://deepraxis.com/en/docs/api/native/canvas/execute) for request fields and results, and the [Canvas node reference](https://deepraxis.com/en/docs/developers/canvas/nodes) for node content.\n\nA successful write increments version by one. Optionally set expected_version to the version from retrieve or nodes.list; on 409 REVISION_CONFLICT read again, merge your intent and retry with the current version. Every script failure rolls back all writes. On 400 SCRIPT_ERROR, SCRIPT_LIMIT or OPS_REJECTED, use error.details.edit_id plus edits to repair and rerun the stored source without resending the entire script; details may include line, column and rejection. On 400 EDIT_EXPIRED the saved script is older than ten minutes: submit a corrected new script. On 429 CANVAS_BUSY, more than four calls are queued for this canvas: wait for pending calls before retrying.\n\nExecution errors include error.details.prints containing output printed before failure, with the same string-array shape and output limit as successful prints; rolled-back writes still create no version.\n",
7455
7733
  "http": "POST",
7456
7734
  "path": "/canvas/v1/canvases/{canvas_id}:execute",
7457
7735
  "streaming": "no",
@@ -7496,43 +7774,1889 @@ export const operations = [
7496
7774
  }
7497
7775
  },
7498
7776
  {
7499
- "resource": "cut.exports",
7500
- "method": "retrieve",
7501
- "summary": "Retrieve video export",
7502
- "description": "Poll an export id returned by projects.exports.create or list to observe render progress. queued, fetching, rendering, stitching and saving are in progress; done provides asset in the target library, failed provides error, and canceled means the job stopped. Only done confirms a usable output asset.",
7503
- "http": "GET",
7504
- "path": "/cut/v1/exports/{export_id}",
7777
+ "resource": "canvas.canvases",
7778
+ "method": "restore",
7779
+ "summary": "Restore canvas version",
7780
+ "description": "Recover a canvas after an unwanted edit by restoring a retained version from versions.list or its earliest_restorable_version. This replaces current nodes, variables and themes with the target state and creates one new version; history remains available, so restoring can itself be undone with another restore. Restoring the current version succeeds without creating a version. Optionally guard the write with expected_version from retrieve or nodes.list; if it is stale, inspect current state and retry with the new value. Repeating an unguarded request after another edit can create another restore version. Versions from before history was enabled or outside retention cannot be recovered. Connected viewers resync after a successful restore.",
7781
+ "http": "POST",
7782
+ "path": "/canvas/v1/canvases/{canvas_id}:restore",
7505
7783
  "streaming": "no",
7506
7784
  "pagination": false,
7507
7785
  "pathParams": [
7508
7786
  {
7509
- "name": "export_id",
7510
- "sdkName": "export_id",
7511
- "description": "Export identifier returned by its create or list operation; use the id, not a display name."
7787
+ "name": "canvas_id",
7788
+ "sdkName": "canvas_id",
7789
+ "description": "Canvas id returned by create or list, in the form cvs_ followed by 16 lowercase letters or digits; a display name is not accepted."
7512
7790
  }
7513
7791
  ],
7514
- "query": []
7792
+ "query": [],
7793
+ "body": {
7794
+ "required": true,
7795
+ "fields": [
7796
+ {
7797
+ "name": "version",
7798
+ "type": "string",
7799
+ "required": true,
7800
+ "description": "Historical target from versions.list or earliest_restorable_version; restoring the current version creates no new commit."
7801
+ },
7802
+ {
7803
+ "name": "expected_version",
7804
+ "type": "string",
7805
+ "required": false,
7806
+ "description": "Current version from retrieve or nodes.list to guard against concurrent edits; omission applies the restore to whichever version is current."
7807
+ }
7808
+ ]
7809
+ }
7515
7810
  },
7516
7811
  {
7517
- "resource": "cut.exports",
7518
- "method": "cancel",
7519
- "summary": "Cancel video export",
7520
- "description": "Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.",
7521
- "http": "POST",
7522
- "path": "/cut/v1/exports/{export_id}:cancel",
7812
+ "resource": "canvas.collections",
7813
+ "method": "list",
7814
+ "summary": "List collections",
7815
+ "description": "Find collections and ids for filtering or moving canvases. All organization collections are returned in name order in one response; next_cursor is always null. canvas_count excludes deleted canvases. total_count counts all live canvases, rather than collections, and uncategorized_count counts live canvases without a collection. Use canvases.list with collection_id to read a collection or none to read uncategorized canvases.",
7816
+ "http": "GET",
7817
+ "path": "/canvas/v1/collections",
7523
7818
  "streaming": "no",
7524
7819
  "pagination": false,
7525
- "pathParams": [
7526
- {
7527
- "name": "export_id",
7528
- "sdkName": "export_id",
7529
- "description": "Export identifier returned by its create or list operation; use the id, not a display name."
7530
- }
7531
- ],
7820
+ "pathParams": [],
7532
7821
  "query": []
7533
7822
  },
7534
7823
  {
7535
- "resource": "cut.projects",
7824
+ "resource": "canvas.collections",
7825
+ "method": "create",
7826
+ "summary": "Create collection",
7827
+ "description": "Organize canvases by creating a one-level collection in your organization. Send a name of 1–100 characters after trimming; duplicate names are allowed. Each call creates a new collection, initially containing no canvases. Use canvases.update with its id as collection_id to move existing canvases into it. Collections cannot be nested and an organization can have at most 200.",
7828
+ "http": "POST",
7829
+ "path": "/canvas/v1/collections",
7830
+ "streaming": "no",
7831
+ "pagination": false,
7832
+ "pathParams": [],
7833
+ "query": [],
7834
+ "body": {
7835
+ "required": true,
7836
+ "fields": [
7837
+ {
7838
+ "name": "name",
7839
+ "type": "string",
7840
+ "required": true,
7841
+ "description": "Collection display name, 1–100 characters after trimming surrounding whitespace; duplicate names within the organization are allowed."
7842
+ }
7843
+ ]
7844
+ }
7845
+ },
7846
+ {
7847
+ "resource": "canvas.collections",
7848
+ "method": "delete",
7849
+ "summary": "Delete collection",
7850
+ "description": "Remove a collection using an id from collections.list. All its canvases are preserved and become uncategorized, with collection_id set to null; read them using canvases.list with collection_id=none. The removed collection cannot be retrieved again, and repeating deletion returns COLLECTION_NOT_FOUND.",
7851
+ "http": "DELETE",
7852
+ "path": "/canvas/v1/collections/{collection_id}",
7853
+ "streaming": "no",
7854
+ "pagination": false,
7855
+ "pathParams": [
7856
+ {
7857
+ "name": "collection_id",
7858
+ "sdkName": "collection_id",
7859
+ "description": "Collection id from collections.create or collections.list, in the form col_ followed by 16 lowercase letters or digits; a display name is not an identifier."
7860
+ }
7861
+ ],
7862
+ "query": []
7863
+ },
7864
+ {
7865
+ "resource": "canvas.collections",
7866
+ "method": "retrieve",
7867
+ "summary": "Retrieve collection",
7868
+ "description": "Inspect one collection and its current live canvas count using an id from collections.list or collections.create. The collection must belong to the API key organization. To read its canvases, pass the same id as collection_id to canvases.list; this response contains collection metadata only.",
7869
+ "http": "GET",
7870
+ "path": "/canvas/v1/collections/{collection_id}",
7871
+ "streaming": "no",
7872
+ "pagination": false,
7873
+ "pathParams": [
7874
+ {
7875
+ "name": "collection_id",
7876
+ "sdkName": "collection_id",
7877
+ "description": "Collection id from collections.create or collections.list, in the form col_ followed by 16 lowercase letters or digits; a display name is not an identifier."
7878
+ }
7879
+ ],
7880
+ "query": []
7881
+ },
7882
+ {
7883
+ "resource": "canvas.collections",
7884
+ "method": "update",
7885
+ "summary": "Rename collection",
7886
+ "description": "Change the display name of a collection from collections.list without changing its id or canvas assignments. Names contain 1–100 characters after trimming and may match another collection name. This operation does not move canvases; use canvases.update with collection_id for that.",
7887
+ "http": "PATCH",
7888
+ "path": "/canvas/v1/collections/{collection_id}",
7889
+ "streaming": "no",
7890
+ "pagination": false,
7891
+ "pathParams": [
7892
+ {
7893
+ "name": "collection_id",
7894
+ "sdkName": "collection_id",
7895
+ "description": "Collection id from collections.create or collections.list, in the form col_ followed by 16 lowercase letters or digits; a display name is not an identifier."
7896
+ }
7897
+ ],
7898
+ "query": [],
7899
+ "body": {
7900
+ "required": true,
7901
+ "fields": [
7902
+ {
7903
+ "name": "name",
7904
+ "type": "string",
7905
+ "required": true,
7906
+ "description": "Collection display name, 1–100 characters after trimming surrounding whitespace; duplicate names within the organization are allowed."
7907
+ }
7908
+ ]
7909
+ }
7910
+ },
7911
+ {
7912
+ "resource": "crm.changes",
7913
+ "method": "revert",
7914
+ "summary": "Revert change set",
7915
+ "description": "Reverse property changes made by one earlier request. Unlike HubSpot, CRM exposes change-set reversal because agents need to undo a whole recorded action rather than manually reconstructing individual values. Supply the changeSetId recorded in property history. A later conflicting value prevents reversal with HTTP 409 CONFLICT; inspect current records before resolving the conflict. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
7916
+ "http": "POST",
7917
+ "path": "/crm/v1/changes/{changeSetId}:revert",
7918
+ "streaming": "no",
7919
+ "pagination": false,
7920
+ "pathParams": [
7921
+ {
7922
+ "name": "changeSetId",
7923
+ "sdkName": "changeSetId",
7924
+ "description": "Change-set identifier recorded for the original write in property history; one request forms one change set."
7925
+ }
7926
+ ],
7927
+ "query": []
7928
+ },
7929
+ {
7930
+ "resource": "crm.layouts",
7931
+ "method": "retrieve",
7932
+ "summary": "Retrieve record layout",
7933
+ "description": "Read the shared record-page layout for an object type from schemas.list. Unlike HubSpot, CRM exposes this presentation as an API resource so people and agents can share the same record layout instead of relying on interface-only settings. The response orders summary tiles, sidebar properties and main-column sections.",
7934
+ "http": "GET",
7935
+ "path": "/crm/v1/layouts/{objectType}",
7936
+ "streaming": "no",
7937
+ "pagination": false,
7938
+ "pathParams": [
7939
+ {
7940
+ "name": "objectType",
7941
+ "sdkName": "objectType",
7942
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
7943
+ }
7944
+ ],
7945
+ "query": []
7946
+ },
7947
+ {
7948
+ "resource": "crm.layouts",
7949
+ "method": "update",
7950
+ "summary": "Update record layout",
7951
+ "description": "Replace the shared record-page layout for an object type from schemas.list. Unlike HubSpot, CRM exposes this presentation as an API resource so agents can configure the same record view used by people. Send the complete layout with at most three summary tiles and property names from properties.list; omitted prior sections are removed. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
7952
+ "http": "PUT",
7953
+ "path": "/crm/v1/layouts/{objectType}",
7954
+ "streaming": "no",
7955
+ "pagination": false,
7956
+ "pathParams": [
7957
+ {
7958
+ "name": "objectType",
7959
+ "sdkName": "objectType",
7960
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
7961
+ }
7962
+ ],
7963
+ "query": [],
7964
+ "body": {
7965
+ "required": true,
7966
+ "fields": [
7967
+ {
7968
+ "name": "objectType",
7969
+ "type": "string",
7970
+ "required": true,
7971
+ "description": "Object type whose record page uses this layout, matching the path parameter."
7972
+ },
7973
+ {
7974
+ "name": "summary",
7975
+ "type": "array",
7976
+ "itemType": "object",
7977
+ "required": true,
7978
+ "description": "Ordered statistic tiles below the record header, with at most three tiles."
7979
+ },
7980
+ {
7981
+ "name": "sidebar",
7982
+ "type": "array",
7983
+ "itemType": "string",
7984
+ "required": true,
7985
+ "description": "Ordered internal property names shown in the record property sidebar."
7986
+ },
7987
+ {
7988
+ "name": "sections",
7989
+ "type": "array",
7990
+ "itemType": "string",
7991
+ "required": true,
7992
+ "description": "Ordered main-column sections for activity, relationships, tables and property groups."
7993
+ }
7994
+ ]
7995
+ }
7996
+ },
7997
+ {
7998
+ "resource": "crm.leads",
7999
+ "method": "qualify",
8000
+ "summary": "Qualify lead",
8001
+ "description": "Qualify a lead with explicit contact, company and optional deal choices in one operation. Unlike HubSpot, CRM exposes these decisions as a single action because qualification coordinates several related record edits rather than editing only the lead stage. Obtain leadId from objects.list for leads and qualifiedStageId from its pipeline; choose a won stage and satisfy its required properties. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8002
+ "http": "POST",
8003
+ "path": "/crm/v1/leads/{leadId}:qualify",
8004
+ "streaming": "no",
8005
+ "pagination": false,
8006
+ "pathParams": [
8007
+ {
8008
+ "name": "leadId",
8009
+ "sdkName": "leadId",
8010
+ "description": "Lead record identifier from objects.list or objects.search with objectType=leads."
8011
+ }
8012
+ ],
8013
+ "query": [],
8014
+ "body": {
8015
+ "required": true,
8016
+ "fields": [
8017
+ {
8018
+ "name": "contact",
8019
+ "type": "object",
8020
+ "required": true,
8021
+ "description": "Keep the existing contact, or merge it into the chosen contact record."
8022
+ },
8023
+ {
8024
+ "name": "company",
8025
+ "type": "object",
8026
+ "required": true,
8027
+ "description": "Leave company unchanged, associate an existing company, or create one with explicit properties."
8028
+ },
8029
+ {
8030
+ "name": "deal",
8031
+ "type": "object",
8032
+ "required": false,
8033
+ "description": "Optional deal to create as part of qualification; omit to qualify without creating a deal."
8034
+ },
8035
+ {
8036
+ "name": "qualifiedStageId",
8037
+ "type": "string",
8038
+ "required": true,
8039
+ "description": "Lead stage id with praxis_category=won, obtained from the leads pipeline."
8040
+ }
8041
+ ]
8042
+ }
8043
+ },
8044
+ {
8045
+ "resource": "crm.objects",
8046
+ "method": "list",
8047
+ "summary": "List records",
8048
+ "description": "Browse records of one object type and obtain ids for retrieval or edits. Discover objectType with schemas.list; select properties by internal names from properties.list. Omit after for the first page, then copy paging.next.after until no next page is returned. archived defaults to false; use objects.search for property filters.",
8049
+ "http": "GET",
8050
+ "path": "/crm/v1/objects/{objectType}",
8051
+ "streaming": "no",
8052
+ "pagination": false,
8053
+ "pathParams": [
8054
+ {
8055
+ "name": "objectType",
8056
+ "sdkName": "objectType",
8057
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8058
+ }
8059
+ ],
8060
+ "query": [
8061
+ {
8062
+ "name": "after",
8063
+ "type": "string",
8064
+ "required": false,
8065
+ "description": "The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results."
8066
+ },
8067
+ {
8068
+ "name": "archived",
8069
+ "type": "boolean",
8070
+ "required": false,
8071
+ "description": "Whether to return only results that have been archived."
8072
+ },
8073
+ {
8074
+ "name": "associations",
8075
+ "type": "array",
8076
+ "itemType": "string",
8077
+ "required": false,
8078
+ "description": "A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored."
8079
+ },
8080
+ {
8081
+ "name": "limit",
8082
+ "type": "integer",
8083
+ "required": false,
8084
+ "description": "The maximum number of results to display per page."
8085
+ },
8086
+ {
8087
+ "name": "properties",
8088
+ "type": "array",
8089
+ "itemType": "string",
8090
+ "required": false,
8091
+ "description": "A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored."
8092
+ },
8093
+ {
8094
+ "name": "propertiesWithHistory",
8095
+ "type": "array",
8096
+ "itemType": "string",
8097
+ "required": false,
8098
+ "description": "A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request."
8099
+ }
8100
+ ]
8101
+ },
8102
+ {
8103
+ "resource": "crm.objects",
8104
+ "method": "create",
8105
+ "summary": "Create record",
8106
+ "description": "Create a customer record with property values and optional initial associations. Discover objectType with schemas.list and allowed property names with properties.list; save the returned id for subsequent calls. Each call creates a record. Example for contacts: {\"properties\":{\"email\":\"person@example.com\"}}. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8107
+ "http": "POST",
8108
+ "path": "/crm/v1/objects/{objectType}",
8109
+ "streaming": "no",
8110
+ "pagination": false,
8111
+ "pathParams": [
8112
+ {
8113
+ "name": "objectType",
8114
+ "sdkName": "objectType",
8115
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8116
+ }
8117
+ ],
8118
+ "query": [],
8119
+ "body": {
8120
+ "required": true,
8121
+ "fields": [
8122
+ {
8123
+ "name": "associations",
8124
+ "type": "array",
8125
+ "itemType": "object",
8126
+ "required": true,
8127
+ "description": "Initial relationships to existing records; choose destination ids and association type ids before creating the record."
8128
+ },
8129
+ {
8130
+ "name": "properties",
8131
+ "type": "object",
8132
+ "required": true,
8133
+ "description": "Key-value pairs for setting properties for the new object."
8134
+ }
8135
+ ]
8136
+ }
8137
+ },
8138
+ {
8139
+ "resource": "crm.objects.batch",
8140
+ "method": "archive",
8141
+ "summary": "Batch archive records",
8142
+ "description": "Archive known records of one object type using inputs[].id from objects.list or objects.search. Archived records leave active lists but retain their history; confirm all ids before calling. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.",
8143
+ "http": "POST",
8144
+ "path": "/crm/v1/objects/{objectType}/batch/archive",
8145
+ "streaming": "no",
8146
+ "pagination": false,
8147
+ "pathParams": [
8148
+ {
8149
+ "name": "objectType",
8150
+ "sdkName": "objectType",
8151
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8152
+ }
8153
+ ],
8154
+ "query": [],
8155
+ "body": {
8156
+ "required": true,
8157
+ "fields": [
8158
+ {
8159
+ "name": "inputs",
8160
+ "type": "array",
8161
+ "itemType": "object",
8162
+ "required": true,
8163
+ "description": "Records to process in this batch, each using the identifiers and properties described by its item schema."
8164
+ }
8165
+ ]
8166
+ }
8167
+ },
8168
+ {
8169
+ "resource": "crm.objects.batch",
8170
+ "method": "create",
8171
+ "summary": "Batch create records",
8172
+ "description": "Create several records of one object type using inputs with properties and optional associations. Obtain property names from properties.list; each successful input creates a record, so inspect per-item errors before resubmitting failed inputs. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8173
+ "http": "POST",
8174
+ "path": "/crm/v1/objects/{objectType}/batch/create",
8175
+ "streaming": "no",
8176
+ "pagination": false,
8177
+ "pathParams": [
8178
+ {
8179
+ "name": "objectType",
8180
+ "sdkName": "objectType",
8181
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8182
+ }
8183
+ ],
8184
+ "query": [],
8185
+ "body": {
8186
+ "required": true,
8187
+ "fields": [
8188
+ {
8189
+ "name": "inputs",
8190
+ "type": "array",
8191
+ "itemType": "object",
8192
+ "required": true,
8193
+ "description": "Records to process in this batch, each using the identifiers and properties described by its item schema."
8194
+ }
8195
+ ]
8196
+ }
8197
+ },
8198
+ {
8199
+ "resource": "crm.objects.batch",
8200
+ "method": "read",
8201
+ "summary": "Batch read records",
8202
+ "description": "Read a set of known record ids in one call; use objects.search to discover ids first. Supply inputs with ids plus requested properties; set idProperty only when the inputs use unique-property values rather than record ids.",
8203
+ "http": "POST",
8204
+ "path": "/crm/v1/objects/{objectType}/batch/read",
8205
+ "streaming": "no",
8206
+ "pagination": false,
8207
+ "pathParams": [
8208
+ {
8209
+ "name": "objectType",
8210
+ "sdkName": "objectType",
8211
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8212
+ }
8213
+ ],
8214
+ "query": [
8215
+ {
8216
+ "name": "archived",
8217
+ "type": "boolean",
8218
+ "required": false,
8219
+ "description": "Whether to return only results that have been archived."
8220
+ }
8221
+ ],
8222
+ "body": {
8223
+ "required": true,
8224
+ "fields": [
8225
+ {
8226
+ "name": "idProperty",
8227
+ "type": "string",
8228
+ "required": false,
8229
+ "description": "When using a custom unique value property to retrieve records, the name of the property. Do not include this parameter if retrieving by record ID."
8230
+ },
8231
+ {
8232
+ "name": "inputs",
8233
+ "type": "array",
8234
+ "itemType": "object",
8235
+ "required": true,
8236
+ "description": "Records to process in this batch, each using the identifiers and properties described by its item schema."
8237
+ },
8238
+ {
8239
+ "name": "properties",
8240
+ "type": "array",
8241
+ "itemType": "string",
8242
+ "required": true,
8243
+ "description": "Internal property names to include in each returned record; obtain them from properties.list."
8244
+ },
8245
+ {
8246
+ "name": "propertiesWithHistory",
8247
+ "type": "array",
8248
+ "itemType": "string",
8249
+ "required": true,
8250
+ "description": "Internal property names whose previous values should be returned with each record; use an empty array when no history is needed."
8251
+ }
8252
+ ]
8253
+ }
8254
+ },
8255
+ {
8256
+ "resource": "crm.objects.batch",
8257
+ "method": "update",
8258
+ "summary": "Batch update records",
8259
+ "description": "Apply distinct property patches to existing records identified by inputs[].id. Obtain ids from objects.list or objects.search and property names from properties.list. Omitted properties retain their values; inspect results and errors for each input. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8260
+ "http": "POST",
8261
+ "path": "/crm/v1/objects/{objectType}/batch/update",
8262
+ "streaming": "no",
8263
+ "pagination": false,
8264
+ "pathParams": [
8265
+ {
8266
+ "name": "objectType",
8267
+ "sdkName": "objectType",
8268
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8269
+ }
8270
+ ],
8271
+ "query": [],
8272
+ "body": {
8273
+ "required": true,
8274
+ "fields": [
8275
+ {
8276
+ "name": "inputs",
8277
+ "type": "array",
8278
+ "itemType": "object",
8279
+ "required": true,
8280
+ "description": "Records to process in this batch, each using the identifiers and properties described by its item schema."
8281
+ }
8282
+ ]
8283
+ }
8284
+ },
8285
+ {
8286
+ "resource": "crm.objects.batch",
8287
+ "method": "upsert",
8288
+ "summary": "Batch upsert records",
8289
+ "description": "Create records that do not yet exist or update matches using a unique property. Provide idProperty and its value in each input, plus properties; choose a property with hasUniqueValue from properties.list. Inspect each result to determine whether it was newly created. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8290
+ "http": "POST",
8291
+ "path": "/crm/v1/objects/{objectType}/batch/upsert",
8292
+ "streaming": "no",
8293
+ "pagination": false,
8294
+ "pathParams": [
8295
+ {
8296
+ "name": "objectType",
8297
+ "sdkName": "objectType",
8298
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8299
+ }
8300
+ ],
8301
+ "query": [],
8302
+ "body": {
8303
+ "required": true,
8304
+ "fields": [
8305
+ {
8306
+ "name": "inputs",
8307
+ "type": "array",
8308
+ "itemType": "object",
8309
+ "required": true,
8310
+ "description": "Records to process in this batch, each using the identifiers and properties described by its item schema."
8311
+ }
8312
+ ]
8313
+ }
8314
+ },
8315
+ {
8316
+ "resource": "crm.objects",
8317
+ "method": "search",
8318
+ "summary": "Search records",
8319
+ "description": "Find records using text query, property filters and sort order rather than scanning a list. Obtain objectType from schemas.list and filter propertyName values from properties.list. Supply filterGroups, sorts, properties, limit and after; use empty arrays for no filters, sorts or property selection, and an empty after for the first page. Copy paging.next.after with the same query to continue. This operation reads records without changing them.",
8320
+ "http": "POST",
8321
+ "path": "/crm/v1/objects/{objectType}/search",
8322
+ "streaming": "no",
8323
+ "pagination": false,
8324
+ "pathParams": [
8325
+ {
8326
+ "name": "objectType",
8327
+ "sdkName": "objectType",
8328
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8329
+ }
8330
+ ],
8331
+ "query": [],
8332
+ "body": {
8333
+ "required": true,
8334
+ "fields": [
8335
+ {
8336
+ "name": "after",
8337
+ "type": "string",
8338
+ "required": true,
8339
+ "description": "A paging cursor token for retrieving subsequent pages."
8340
+ },
8341
+ {
8342
+ "name": "filterGroups",
8343
+ "type": "array",
8344
+ "itemType": "object",
8345
+ "required": true,
8346
+ "description": "Up to 6 groups of filters defining additional query criteria."
8347
+ },
8348
+ {
8349
+ "name": "limit",
8350
+ "type": "integer",
8351
+ "required": true,
8352
+ "description": "The maximum results to return, up to 200 objects."
8353
+ },
8354
+ {
8355
+ "name": "properties",
8356
+ "type": "array",
8357
+ "itemType": "string",
8358
+ "required": true,
8359
+ "description": "Internal property names to include in each returned record; obtain them from properties.list."
8360
+ },
8361
+ {
8362
+ "name": "query",
8363
+ "type": "string",
8364
+ "required": false,
8365
+ "description": "The search query string, up to 3000 characters."
8366
+ },
8367
+ {
8368
+ "name": "sorts",
8369
+ "type": "array",
8370
+ "itemType": "string",
8371
+ "required": true,
8372
+ "description": "Property names controlling ordering; prefix a property name with a minus sign for descending order."
8373
+ }
8374
+ ]
8375
+ }
8376
+ },
8377
+ {
8378
+ "resource": "crm.objects",
8379
+ "method": "archive",
8380
+ "summary": "Archive record",
8381
+ "description": "Archive a record selected from objects.list or objects.search when it should leave active results. This removes it from normal lists without deleting its history; archived=true can be used to read archived records. Confirm objectType and objectId before calling. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.",
8382
+ "http": "DELETE",
8383
+ "path": "/crm/v1/objects/{objectType}/{objectId}",
8384
+ "streaming": "no",
8385
+ "pagination": false,
8386
+ "pathParams": [
8387
+ {
8388
+ "name": "objectType",
8389
+ "sdkName": "objectType",
8390
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8391
+ },
8392
+ {
8393
+ "name": "objectId",
8394
+ "sdkName": "objectId",
8395
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8396
+ }
8397
+ ],
8398
+ "query": []
8399
+ },
8400
+ {
8401
+ "resource": "crm.objects",
8402
+ "method": "retrieve",
8403
+ "summary": "Retrieve record",
8404
+ "description": "Read one record by id from objects.list, objects.search or objects.create. Select property names with properties and associated object types with associations; use idProperty only when objectId is a value of that unique property. Use archived=true to inspect an archived record.",
8405
+ "http": "GET",
8406
+ "path": "/crm/v1/objects/{objectType}/{objectId}",
8407
+ "streaming": "no",
8408
+ "pagination": false,
8409
+ "pathParams": [
8410
+ {
8411
+ "name": "objectType",
8412
+ "sdkName": "objectType",
8413
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8414
+ },
8415
+ {
8416
+ "name": "objectId",
8417
+ "sdkName": "objectId",
8418
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8419
+ }
8420
+ ],
8421
+ "query": [
8422
+ {
8423
+ "name": "archived",
8424
+ "type": "boolean",
8425
+ "required": false,
8426
+ "description": "Whether to return only results that have been archived."
8427
+ },
8428
+ {
8429
+ "name": "associations",
8430
+ "type": "array",
8431
+ "itemType": "string",
8432
+ "required": false,
8433
+ "description": "A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored."
8434
+ },
8435
+ {
8436
+ "name": "idProperty",
8437
+ "type": "string",
8438
+ "required": false,
8439
+ "description": "The name of a property whose values are unique for this object"
8440
+ },
8441
+ {
8442
+ "name": "properties",
8443
+ "type": "array",
8444
+ "itemType": "string",
8445
+ "required": false,
8446
+ "description": "A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored."
8447
+ },
8448
+ {
8449
+ "name": "propertiesWithHistory",
8450
+ "type": "array",
8451
+ "itemType": "string",
8452
+ "required": false,
8453
+ "description": "A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored."
8454
+ }
8455
+ ]
8456
+ },
8457
+ {
8458
+ "resource": "crm.objects",
8459
+ "method": "update",
8460
+ "summary": "Update record",
8461
+ "description": "Change only the supplied properties of a record selected from objects.list or objects.search. Omitted properties retain their values. Use property names from properties.list and valid stage ids from pipelines.retrieve. Stage-entry requirements must be satisfied by the resulting record; inspect 400 errors before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8462
+ "http": "PATCH",
8463
+ "path": "/crm/v1/objects/{objectType}/{objectId}",
8464
+ "streaming": "no",
8465
+ "pagination": false,
8466
+ "pathParams": [
8467
+ {
8468
+ "name": "objectType",
8469
+ "sdkName": "objectType",
8470
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8471
+ },
8472
+ {
8473
+ "name": "objectId",
8474
+ "sdkName": "objectId",
8475
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8476
+ }
8477
+ ],
8478
+ "query": [
8479
+ {
8480
+ "name": "idProperty",
8481
+ "type": "string",
8482
+ "required": false,
8483
+ "description": "The name of a property whose values are unique for this object"
8484
+ }
8485
+ ],
8486
+ "body": {
8487
+ "required": true,
8488
+ "fields": [
8489
+ {
8490
+ "name": "properties",
8491
+ "type": "object",
8492
+ "required": true,
8493
+ "description": "Key value pairs representing the properties of the object."
8494
+ }
8495
+ ]
8496
+ }
8497
+ },
8498
+ {
8499
+ "resource": "crm.associations",
8500
+ "method": "createDefault",
8501
+ "summary": "Create default association",
8502
+ "description": "Link two existing records with the default unlabelled association. Obtain each record id from objects.list or objects.search for its type. No request body is required; use associations.create to choose explicit association labels. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8503
+ "http": "PUT",
8504
+ "path": "/crm/v1/objects/{objectType}/{objectId}/associations/default/{toObjectType}/{toObjectId}",
8505
+ "streaming": "no",
8506
+ "pagination": false,
8507
+ "pathParams": [
8508
+ {
8509
+ "name": "objectType",
8510
+ "sdkName": "objectType",
8511
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8512
+ },
8513
+ {
8514
+ "name": "objectId",
8515
+ "sdkName": "objectId",
8516
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8517
+ },
8518
+ {
8519
+ "name": "toObjectType",
8520
+ "sdkName": "toObjectType",
8521
+ "description": "Destination object type from schemas.list; use the type of the record being linked."
8522
+ },
8523
+ {
8524
+ "name": "toObjectId",
8525
+ "sdkName": "toObjectId",
8526
+ "description": "Destination record identifier from objects.list or objects.search for toObjectType."
8527
+ }
8528
+ ],
8529
+ "query": []
8530
+ },
8531
+ {
8532
+ "resource": "crm.associations",
8533
+ "method": "list",
8534
+ "summary": "List record associations",
8535
+ "description": "Read records linked to a source record, including association labels and type ids. Obtain source and destination object types from schemas.list and objectId from objects.list or objects.search. Follow paging.next.after to continue reading associated records.",
8536
+ "http": "GET",
8537
+ "path": "/crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}",
8538
+ "streaming": "no",
8539
+ "pagination": false,
8540
+ "pathParams": [
8541
+ {
8542
+ "name": "objectType",
8543
+ "sdkName": "objectType",
8544
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8545
+ },
8546
+ {
8547
+ "name": "objectId",
8548
+ "sdkName": "objectId",
8549
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8550
+ },
8551
+ {
8552
+ "name": "toObjectType",
8553
+ "sdkName": "toObjectType",
8554
+ "description": "Destination object type from schemas.list; use the type of the record being linked."
8555
+ }
8556
+ ],
8557
+ "query": [
8558
+ {
8559
+ "name": "after",
8560
+ "type": "string",
8561
+ "required": false,
8562
+ "description": "The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results."
8563
+ },
8564
+ {
8565
+ "name": "limit",
8566
+ "type": "integer",
8567
+ "required": false,
8568
+ "description": "The maximum number of results to display per page."
8569
+ }
8570
+ ]
8571
+ },
8572
+ {
8573
+ "resource": "crm.associations",
8574
+ "method": "remove",
8575
+ "summary": "Remove association",
8576
+ "description": "Remove the association between two existing records without archiving either record. Obtain the linked destination id from associations.list and confirm the source and destination object types before calling. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.",
8577
+ "http": "DELETE",
8578
+ "path": "/crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}",
8579
+ "streaming": "no",
8580
+ "pagination": false,
8581
+ "pathParams": [
8582
+ {
8583
+ "name": "objectType",
8584
+ "sdkName": "objectType",
8585
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8586
+ },
8587
+ {
8588
+ "name": "objectId",
8589
+ "sdkName": "objectId",
8590
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8591
+ },
8592
+ {
8593
+ "name": "toObjectType",
8594
+ "sdkName": "toObjectType",
8595
+ "description": "Destination object type from schemas.list; use the type of the record being linked."
8596
+ },
8597
+ {
8598
+ "name": "toObjectId",
8599
+ "sdkName": "toObjectId",
8600
+ "description": "Destination record identifier from objects.list or objects.search for toObjectType."
8601
+ }
8602
+ ],
8603
+ "query": []
8604
+ },
8605
+ {
8606
+ "resource": "crm.associations",
8607
+ "method": "create",
8608
+ "summary": "Create labelled association",
8609
+ "description": "Associate two existing records using the requested association category and type id. Obtain record ids from objects.list or objects.search; reuse known association type ids from associations.list. Send the association-spec array as the body; use associations.createDefault when no label is needed. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
8610
+ "http": "PUT",
8611
+ "path": "/crm/v1/objects/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}",
8612
+ "streaming": "no",
8613
+ "pagination": false,
8614
+ "pathParams": [
8615
+ {
8616
+ "name": "objectType",
8617
+ "sdkName": "objectType",
8618
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8619
+ },
8620
+ {
8621
+ "name": "objectId",
8622
+ "sdkName": "objectId",
8623
+ "description": "Record id from objects.list, objects.search or objects.create for this objectType."
8624
+ },
8625
+ {
8626
+ "name": "toObjectType",
8627
+ "sdkName": "toObjectType",
8628
+ "description": "Destination object type from schemas.list; use the type of the record being linked."
8629
+ },
8630
+ {
8631
+ "name": "toObjectId",
8632
+ "sdkName": "toObjectId",
8633
+ "description": "Destination record identifier from objects.list or objects.search for toObjectType."
8634
+ }
8635
+ ],
8636
+ "query": [],
8637
+ "body": {
8638
+ "required": true,
8639
+ "fields": []
8640
+ }
8641
+ },
8642
+ {
8643
+ "resource": "crm.pipelines",
8644
+ "method": "list",
8645
+ "summary": "List pipelines",
8646
+ "description": "Discover pipelines and stage ids for records of one object type from schemas.list. Reuse pipeline and stage ids in record property updates or lead qualification. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8647
+ "http": "GET",
8648
+ "path": "/crm/v1/pipelines/{objectType}",
8649
+ "streaming": "no",
8650
+ "pagination": false,
8651
+ "pathParams": [
8652
+ {
8653
+ "name": "objectType",
8654
+ "sdkName": "objectType",
8655
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8656
+ }
8657
+ ],
8658
+ "query": []
8659
+ },
8660
+ {
8661
+ "resource": "crm.pipelines",
8662
+ "method": "create",
8663
+ "summary": "Create pipeline",
8664
+ "description": "Create a pipeline with its ordered stages for an object type from schemas.list. Provide a display label, displayOrder and initial stages, then use the returned ids when assigning records. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8665
+ "http": "POST",
8666
+ "path": "/crm/v1/pipelines/{objectType}",
8667
+ "streaming": "no",
8668
+ "pagination": false,
8669
+ "pathParams": [
8670
+ {
8671
+ "name": "objectType",
8672
+ "sdkName": "objectType",
8673
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8674
+ }
8675
+ ],
8676
+ "query": [],
8677
+ "body": {
8678
+ "required": true,
8679
+ "fields": [
8680
+ {
8681
+ "name": "displayOrder",
8682
+ "type": "integer",
8683
+ "required": true,
8684
+ "description": "An integer indicating the order in which the pipeline appears relative to other pipelines."
8685
+ },
8686
+ {
8687
+ "name": "label",
8688
+ "type": "string",
8689
+ "required": true,
8690
+ "description": "A string representing the name or title of the pipeline."
8691
+ },
8692
+ {
8693
+ "name": "pipelineId",
8694
+ "type": "string",
8695
+ "required": false,
8696
+ "description": "A string that uniquely identifies the pipeline. This property is optional when creating a new pipeline."
8697
+ },
8698
+ {
8699
+ "name": "stages",
8700
+ "type": "array",
8701
+ "itemType": "object",
8702
+ "required": true,
8703
+ "description": "An array of PipelineStageInput objects, each representing a stage within the pipeline."
8704
+ }
8705
+ ]
8706
+ }
8707
+ },
8708
+ {
8709
+ "resource": "crm.pipelines",
8710
+ "method": "archive",
8711
+ "summary": "Archive pipeline",
8712
+ "description": "Archive a pipeline selected from pipelines.list when records no longer depend on it. Check current records and stage usage first; resolve references reported by validation before retrying. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8713
+ "http": "DELETE",
8714
+ "path": "/crm/v1/pipelines/{objectType}/{pipelineId}",
8715
+ "streaming": "no",
8716
+ "pagination": false,
8717
+ "pathParams": [
8718
+ {
8719
+ "name": "objectType",
8720
+ "sdkName": "objectType",
8721
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8722
+ },
8723
+ {
8724
+ "name": "pipelineId",
8725
+ "sdkName": "pipelineId",
8726
+ "description": "Pipeline identifier from pipelines.list for this objectType."
8727
+ }
8728
+ ],
8729
+ "query": [
8730
+ {
8731
+ "name": "validateDealStageUsagesBeforeDelete",
8732
+ "type": "boolean",
8733
+ "required": false,
8734
+ "description": "A boolean indicating whether to validate deal stage usages before deleting the pipeline. Defaults to true."
8735
+ },
8736
+ {
8737
+ "name": "validateReferencesBeforeDelete",
8738
+ "type": "boolean",
8739
+ "required": false,
8740
+ "description": "A boolean indicating whether to validate references before deleting the pipeline. Defaults to true."
8741
+ }
8742
+ ]
8743
+ },
8744
+ {
8745
+ "resource": "crm.pipelines",
8746
+ "method": "retrieve",
8747
+ "summary": "Retrieve pipeline",
8748
+ "description": "Inspect the stage ids and metadata of a pipeline before moving a record or editing its workflow. Obtain pipelineId from pipelines.list and use the returned stages array to select a destination. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8749
+ "http": "GET",
8750
+ "path": "/crm/v1/pipelines/{objectType}/{pipelineId}",
8751
+ "streaming": "no",
8752
+ "pagination": false,
8753
+ "pathParams": [
8754
+ {
8755
+ "name": "objectType",
8756
+ "sdkName": "objectType",
8757
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8758
+ },
8759
+ {
8760
+ "name": "pipelineId",
8761
+ "sdkName": "pipelineId",
8762
+ "description": "Pipeline identifier from pipelines.list for this objectType."
8763
+ }
8764
+ ],
8765
+ "query": []
8766
+ },
8767
+ {
8768
+ "resource": "crm.pipelines",
8769
+ "method": "update",
8770
+ "summary": "Update pipeline",
8771
+ "description": "Change editable pipeline settings selected by pipelineId from pipelines.list. Omit settings that should remain unchanged and inspect current stages with pipelines.retrieve before modifying the workflow. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8772
+ "http": "PATCH",
8773
+ "path": "/crm/v1/pipelines/{objectType}/{pipelineId}",
8774
+ "streaming": "no",
8775
+ "pagination": false,
8776
+ "pathParams": [
8777
+ {
8778
+ "name": "objectType",
8779
+ "sdkName": "objectType",
8780
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8781
+ },
8782
+ {
8783
+ "name": "pipelineId",
8784
+ "sdkName": "pipelineId",
8785
+ "description": "Pipeline identifier from pipelines.list for this objectType."
8786
+ }
8787
+ ],
8788
+ "query": [
8789
+ {
8790
+ "name": "validateDealStageUsagesBeforeDelete",
8791
+ "type": "boolean",
8792
+ "required": false,
8793
+ "description": "A boolean indicating whether to validate deal stage usages before deleting. Defaults to true."
8794
+ },
8795
+ {
8796
+ "name": "validateReferencesBeforeDelete",
8797
+ "type": "boolean",
8798
+ "required": false,
8799
+ "description": "A boolean indicating whether to validate references before deleting. Defaults to true."
8800
+ }
8801
+ ],
8802
+ "body": {
8803
+ "required": true,
8804
+ "fields": [
8805
+ {
8806
+ "name": "archived",
8807
+ "type": "boolean",
8808
+ "required": false,
8809
+ "description": "A boolean value that indicates whether the pipeline is archived."
8810
+ },
8811
+ {
8812
+ "name": "displayOrder",
8813
+ "type": "integer",
8814
+ "required": false,
8815
+ "description": "An integer indicating the position of the pipeline in a list, which determines its display order."
8816
+ },
8817
+ {
8818
+ "name": "label",
8819
+ "type": "string",
8820
+ "required": false,
8821
+ "description": "The name of the pipeline, represented as a string."
8822
+ }
8823
+ ]
8824
+ }
8825
+ },
8826
+ {
8827
+ "resource": "crm.pipelines.stages",
8828
+ "method": "create",
8829
+ "summary": "Create pipeline stage",
8830
+ "description": "Add an ordered stage to a pipeline from pipelines.list. Provide its display label, displayOrder and metadata; save the returned stage id for record updates. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8831
+ "http": "POST",
8832
+ "path": "/crm/v1/pipelines/{objectType}/{pipelineId}/stages",
8833
+ "streaming": "no",
8834
+ "pagination": false,
8835
+ "pathParams": [
8836
+ {
8837
+ "name": "objectType",
8838
+ "sdkName": "objectType",
8839
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8840
+ },
8841
+ {
8842
+ "name": "pipelineId",
8843
+ "sdkName": "pipelineId",
8844
+ "description": "Pipeline identifier from pipelines.list for this objectType."
8845
+ }
8846
+ ],
8847
+ "query": [],
8848
+ "body": {
8849
+ "required": true,
8850
+ "fields": [
8851
+ {
8852
+ "name": "displayOrder",
8853
+ "type": "integer",
8854
+ "required": true,
8855
+ "description": "An integer indicating the position of this stage within the pipeline. Lower numbers indicate earlier stages."
8856
+ },
8857
+ {
8858
+ "name": "label",
8859
+ "type": "string",
8860
+ "required": true,
8861
+ "description": "The name of the pipeline stage. It is a string that provides a human-readable identifier for the stage."
8862
+ },
8863
+ {
8864
+ "name": "metadata",
8865
+ "type": "object",
8866
+ "required": true,
8867
+ "description": "String-valued stage settings, including transition and entry requirements. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying."
8868
+ },
8869
+ {
8870
+ "name": "stageId",
8871
+ "type": "string",
8872
+ "required": false,
8873
+ "description": "A string that uniquely identifies the stage within the pipeline."
8874
+ }
8875
+ ]
8876
+ }
8877
+ },
8878
+ {
8879
+ "resource": "crm.pipelines.stages",
8880
+ "method": "archive",
8881
+ "summary": "Archive pipeline stage",
8882
+ "description": "Archive a stage selected from pipelines.retrieve after checking record usage. A stage that still has records cannot be archived without resolving their assignment; move those records to an allowed stage first. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8883
+ "http": "DELETE",
8884
+ "path": "/crm/v1/pipelines/{objectType}/{pipelineId}/stages/{stageId}",
8885
+ "streaming": "no",
8886
+ "pagination": false,
8887
+ "pathParams": [
8888
+ {
8889
+ "name": "objectType",
8890
+ "sdkName": "objectType",
8891
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8892
+ },
8893
+ {
8894
+ "name": "pipelineId",
8895
+ "sdkName": "pipelineId",
8896
+ "description": "Pipeline identifier from pipelines.list for this objectType."
8897
+ },
8898
+ {
8899
+ "name": "stageId",
8900
+ "sdkName": "stageId",
8901
+ "description": "Stage identifier from the stages array returned by pipelines.retrieve for this pipeline."
8902
+ }
8903
+ ],
8904
+ "query": [
8905
+ {
8906
+ "name": "validateReferencesBeforeDelete",
8907
+ "type": "boolean",
8908
+ "required": false,
8909
+ "description": "A boolean flag indicating whether to validate references before deleting the stage. Defaults to true."
8910
+ }
8911
+ ]
8912
+ },
8913
+ {
8914
+ "resource": "crm.pipelines.stages",
8915
+ "method": "update",
8916
+ "summary": "Update pipeline stage",
8917
+ "description": "Change the label, order or metadata of a stage selected from pipelines.retrieve. Existing records must satisfy entry rules when subsequently moved; omitted settings retain their values. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Example metadata: {\"praxis_category\":\"open\",\"praxis_terminal\":\"false\",\"praxis_allowed_next\":\"[\\\"proposal\\\",\\\"lost\\\"]\",\"praxis_required\":\"[\\\"budget\\\",\\\"decision_maker\\\"]\"}.",
8918
+ "http": "PATCH",
8919
+ "path": "/crm/v1/pipelines/{objectType}/{pipelineId}/stages/{stageId}",
8920
+ "streaming": "no",
8921
+ "pagination": false,
8922
+ "pathParams": [
8923
+ {
8924
+ "name": "objectType",
8925
+ "sdkName": "objectType",
8926
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8927
+ },
8928
+ {
8929
+ "name": "pipelineId",
8930
+ "sdkName": "pipelineId",
8931
+ "description": "Pipeline identifier from pipelines.list for this objectType."
8932
+ },
8933
+ {
8934
+ "name": "stageId",
8935
+ "sdkName": "stageId",
8936
+ "description": "Stage identifier from the stages array returned by pipelines.retrieve for this pipeline."
8937
+ }
8938
+ ],
8939
+ "query": [],
8940
+ "body": {
8941
+ "required": true,
8942
+ "fields": [
8943
+ {
8944
+ "name": "archived",
8945
+ "type": "boolean",
8946
+ "required": false,
8947
+ "description": "A boolean indicating whether the pipeline stage is archived."
8948
+ },
8949
+ {
8950
+ "name": "displayOrder",
8951
+ "type": "integer",
8952
+ "required": false,
8953
+ "description": "An integer specifying the order in which the stage appears relative to other stages."
8954
+ },
8955
+ {
8956
+ "name": "label",
8957
+ "type": "string",
8958
+ "required": false,
8959
+ "description": "A string representing the name or title of the pipeline stage."
8960
+ },
8961
+ {
8962
+ "name": "metadata",
8963
+ "type": "object",
8964
+ "required": true,
8965
+ "description": "String-valued stage settings, including transition and entry requirements. Stage rules are string values in stage.metadata: praxis_category is open (active), won (successful) or lost (unsuccessful); praxis_terminal is \"true\" (no further transition) or \"false\" (transitions allowed); praxis_allowed_next is a JSON-encoded array string of permitted next stage ids, with the string \"null\" meaning unrestricted; praxis_required is a JSON-encoded array string of property names (\"[]\" means none) that must be non-empty on entry (boolean properties must be \"true\"). Rule violations return HTTP 400 VALIDATION_ERROR; errors[0].context.properties lists missing required property names. Correct those values or choose an allowed stage before retrying."
8966
+ }
8967
+ ]
8968
+ }
8969
+ },
8970
+ {
8971
+ "resource": "crm.properties",
8972
+ "method": "list",
8973
+ "summary": "List properties",
8974
+ "description": "Inspect the property definitions available for an object type before writing or filtering records. Obtain objectType from schemas.list; reuse each immutable name in record properties and filters. archived defaults to false.",
8975
+ "http": "GET",
8976
+ "path": "/crm/v1/properties/{objectType}",
8977
+ "streaming": "no",
8978
+ "pagination": false,
8979
+ "pathParams": [
8980
+ {
8981
+ "name": "objectType",
8982
+ "sdkName": "objectType",
8983
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
8984
+ }
8985
+ ],
8986
+ "query": [
8987
+ {
8988
+ "name": "archived",
8989
+ "type": "boolean",
8990
+ "required": false,
8991
+ "description": "Whether to return only results that have been archived."
8992
+ },
8993
+ {
8994
+ "name": "dataSensitivity",
8995
+ "type": "string",
8996
+ "enum": [
8997
+ "highly_sensitive",
8998
+ "non_sensitive",
8999
+ "sensitive"
9000
+ ],
9001
+ "required": false,
9002
+ "description": "Filter properties based on data sensitivity level. Valid values are 'non_sensitive', 'sensitive', and 'highly_sensitive'. Defaults to 'non_sensitive'."
9003
+ },
9004
+ {
9005
+ "name": "locale",
9006
+ "type": "string",
9007
+ "required": false,
9008
+ "description": "Specify the locale to retrieve properties in a particular language or regional format."
9009
+ },
9010
+ {
9011
+ "name": "properties",
9012
+ "type": "string",
9013
+ "required": false,
9014
+ "description": "A comma-separated list of property names to include in the response."
9015
+ }
9016
+ ]
9017
+ },
9018
+ {
9019
+ "resource": "crm.properties",
9020
+ "method": "create",
9021
+ "summary": "Create property",
9022
+ "description": "Define a property before setting its values on records. Choose objectType from schemas.list and groupName from properties.groups.list; provide an immutable internal name, display label, type and fieldType. Enumeration properties require their valid options. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
9023
+ "http": "POST",
9024
+ "path": "/crm/v1/properties/{objectType}",
9025
+ "streaming": "no",
9026
+ "pagination": false,
9027
+ "pathParams": [
9028
+ {
9029
+ "name": "objectType",
9030
+ "sdkName": "objectType",
9031
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
9032
+ }
9033
+ ],
9034
+ "query": [],
9035
+ "body": {
9036
+ "required": true,
9037
+ "fields": [
9038
+ {
9039
+ "name": "calculationFormula",
9040
+ "type": "string",
9041
+ "required": false,
9042
+ "description": "Represents a formula that is used to compute a calculated property."
9043
+ },
9044
+ {
9045
+ "name": "currencyPropertyName",
9046
+ "type": "string",
9047
+ "required": false,
9048
+ "description": "A string representing the name of the currency property."
9049
+ },
9050
+ {
9051
+ "name": "dataSensitivity",
9052
+ "type": "string",
9053
+ "enum": [
9054
+ "highly_sensitive",
9055
+ "non_sensitive",
9056
+ "sensitive"
9057
+ ],
9058
+ "required": false,
9059
+ "description": "Indicates the sensitivity level of the property, with options: highly_sensitive, non_sensitive, or sensitive."
9060
+ },
9061
+ {
9062
+ "name": "description",
9063
+ "type": "string",
9064
+ "required": false,
9065
+ "description": "A description of the property that will be shown as help text in CRM."
9066
+ },
9067
+ {
9068
+ "name": "displayOrder",
9069
+ "type": "integer",
9070
+ "required": false,
9071
+ "description": "Properties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property to be displayed after any positive values."
9072
+ },
9073
+ {
9074
+ "name": "externalOptions",
9075
+ "type": "boolean",
9076
+ "required": false,
9077
+ "description": "Applicable only for 'enumeration' type properties. Should be set to true in conjunction with a 'referencedObjectType' of 'OWNER'. Otherwise false."
9078
+ },
9079
+ {
9080
+ "name": "fieldType",
9081
+ "type": "string",
9082
+ "enum": [
9083
+ "booleancheckbox",
9084
+ "calculation_equation",
9085
+ "checkbox",
9086
+ "date",
9087
+ "file",
9088
+ "html",
9089
+ "number",
9090
+ "phonenumber",
9091
+ "radio",
9092
+ "select",
9093
+ "text",
9094
+ "textarea"
9095
+ ],
9096
+ "required": true,
9097
+ "description": "Controls how the property appears in CRM."
9098
+ },
9099
+ {
9100
+ "name": "formField",
9101
+ "type": "boolean",
9102
+ "required": false,
9103
+ "description": "Whether or not the property can be used in a CRM form."
9104
+ },
9105
+ {
9106
+ "name": "groupName",
9107
+ "type": "string",
9108
+ "required": true,
9109
+ "description": "The name of the property group the property belongs to."
9110
+ },
9111
+ {
9112
+ "name": "hasUniqueValue",
9113
+ "type": "boolean",
9114
+ "required": false,
9115
+ "description": "Whether or not the property's value must be unique. Once set, this can't be changed."
9116
+ },
9117
+ {
9118
+ "name": "hidden",
9119
+ "type": "boolean",
9120
+ "required": false,
9121
+ "description": "If true, the property won't be visible and can't be used in CRM."
9122
+ },
9123
+ {
9124
+ "name": "label",
9125
+ "type": "string",
9126
+ "required": true,
9127
+ "description": "A human-readable property label that will be shown in CRM."
9128
+ },
9129
+ {
9130
+ "name": "name",
9131
+ "type": "string",
9132
+ "required": true,
9133
+ "description": "The internal property name, which must be used when referencing the property via the API."
9134
+ },
9135
+ {
9136
+ "name": "numberDisplayHint",
9137
+ "type": "string",
9138
+ "enum": [
9139
+ "currency",
9140
+ "duration",
9141
+ "formatted",
9142
+ "percentage",
9143
+ "probability",
9144
+ "unformatted"
9145
+ ],
9146
+ "required": false,
9147
+ "description": "A string providing a hint on how to display numbers. Valid values include 'unformatted', 'formatted', 'currency', 'percentage', 'duration', 'probability'."
9148
+ },
9149
+ {
9150
+ "name": "options",
9151
+ "type": "array",
9152
+ "itemType": "object",
9153
+ "required": false,
9154
+ "description": "A list of valid options for the property. This field is required for enumerated properties."
9155
+ },
9156
+ {
9157
+ "name": "referencedObjectType",
9158
+ "type": "string",
9159
+ "required": false,
9160
+ "description": "Should be set to 'OWNER' when 'externalOptions' is true, which causes the property to dynamically pull option values from the current CRM users."
9161
+ },
9162
+ {
9163
+ "name": "showCurrencySymbol",
9164
+ "type": "boolean",
9165
+ "required": false,
9166
+ "description": "A boolean indicating whether to show the currency symbol for currency fields."
9167
+ },
9168
+ {
9169
+ "name": "textDisplayHint",
9170
+ "type": "string",
9171
+ "enum": [
9172
+ "domain_name",
9173
+ "email",
9174
+ "ip_address",
9175
+ "multi_line",
9176
+ "phone_number",
9177
+ "physical_address",
9178
+ "postal_code",
9179
+ "unformatted_single_line"
9180
+ ],
9181
+ "required": false,
9182
+ "description": "A string providing a hint on how to display text. Valid values include 'unformatted_single_line', 'multi_line', 'email', 'phone_number', 'domain_name', 'ip_address', 'physical_address', 'postal_code'."
9183
+ },
9184
+ {
9185
+ "name": "type",
9186
+ "type": "string",
9187
+ "enum": [
9188
+ "bool",
9189
+ "date",
9190
+ "datetime",
9191
+ "enumeration",
9192
+ "number",
9193
+ "phone_number",
9194
+ "string"
9195
+ ],
9196
+ "required": true,
9197
+ "description": "The data type of the property."
9198
+ }
9199
+ ]
9200
+ }
9201
+ },
9202
+ {
9203
+ "resource": "crm.properties.groups",
9204
+ "method": "list",
9205
+ "summary": "List property groups",
9206
+ "description": "Discover property groups for an object type before creating or organizing property definitions. Obtain objectType from schemas.list and reuse a group name as groupName in properties.create or properties.update.",
9207
+ "http": "GET",
9208
+ "path": "/crm/v1/properties/{objectType}/groups",
9209
+ "streaming": "no",
9210
+ "pagination": false,
9211
+ "pathParams": [
9212
+ {
9213
+ "name": "objectType",
9214
+ "sdkName": "objectType",
9215
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
9216
+ }
9217
+ ],
9218
+ "query": [
9219
+ {
9220
+ "name": "locale",
9221
+ "type": "string",
9222
+ "required": false,
9223
+ "description": "The language locale to use for property group labels. This can help in displaying labels in the preferred language."
9224
+ }
9225
+ ]
9226
+ },
9227
+ {
9228
+ "resource": "crm.properties.groups",
9229
+ "method": "create",
9230
+ "summary": "Create property group",
9231
+ "description": "Create a named group for related property definitions of one object type. Obtain objectType from schemas.list; choose a unique internal name and display label, then reuse the returned name as groupName when creating properties. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
9232
+ "http": "POST",
9233
+ "path": "/crm/v1/properties/{objectType}/groups",
9234
+ "streaming": "no",
9235
+ "pagination": false,
9236
+ "pathParams": [
9237
+ {
9238
+ "name": "objectType",
9239
+ "sdkName": "objectType",
9240
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
9241
+ }
9242
+ ],
9243
+ "query": [],
9244
+ "body": {
9245
+ "required": true,
9246
+ "fields": [
9247
+ {
9248
+ "name": "displayOrder",
9249
+ "type": "integer",
9250
+ "required": false,
9251
+ "description": "Property groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values."
9252
+ },
9253
+ {
9254
+ "name": "label",
9255
+ "type": "string",
9256
+ "required": true,
9257
+ "description": "A human-readable label that will be shown in CRM."
9258
+ },
9259
+ {
9260
+ "name": "name",
9261
+ "type": "string",
9262
+ "required": true,
9263
+ "description": "The internal property group name, which must be used when referencing the property group via the API."
9264
+ }
9265
+ ]
9266
+ }
9267
+ },
9268
+ {
9269
+ "resource": "crm.properties",
9270
+ "method": "archive",
9271
+ "summary": "Archive property",
9272
+ "description": "Archive a property definition selected by internal name from properties.list. Confirm that record entry and search flows no longer depend on it; archived definitions are excluded from normal property lists. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations. Unlike HubSpot, this own-face archive returns HTTP 200 with a JSON refs body instead of HTTP 204.",
9273
+ "http": "DELETE",
9274
+ "path": "/crm/v1/properties/{objectType}/{propertyName}",
9275
+ "streaming": "no",
9276
+ "pagination": false,
9277
+ "pathParams": [
9278
+ {
9279
+ "name": "objectType",
9280
+ "sdkName": "objectType",
9281
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
9282
+ },
9283
+ {
9284
+ "name": "propertyName",
9285
+ "sdkName": "propertyName",
9286
+ "description": "Immutable internal property name from properties.list; do not pass the display label."
9287
+ }
9288
+ ],
9289
+ "query": []
9290
+ },
9291
+ {
9292
+ "resource": "crm.properties",
9293
+ "method": "retrieve",
9294
+ "summary": "Retrieve property",
9295
+ "description": "Inspect the type, options and modification restrictions of a property before changing its definition or record values. Obtain propertyName from properties.list; it is the immutable internal name rather than the label.",
9296
+ "http": "GET",
9297
+ "path": "/crm/v1/properties/{objectType}/{propertyName}",
9298
+ "streaming": "no",
9299
+ "pagination": false,
9300
+ "pathParams": [
9301
+ {
9302
+ "name": "objectType",
9303
+ "sdkName": "objectType",
9304
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
9305
+ },
9306
+ {
9307
+ "name": "propertyName",
9308
+ "sdkName": "propertyName",
9309
+ "description": "Immutable internal property name from properties.list; do not pass the display label."
9310
+ }
9311
+ ],
9312
+ "query": [
9313
+ {
9314
+ "name": "archived",
9315
+ "type": "boolean",
9316
+ "required": false,
9317
+ "description": "Whether to return only results that have been archived."
9318
+ },
9319
+ {
9320
+ "name": "dataSensitivity",
9321
+ "type": "string",
9322
+ "enum": [
9323
+ "highly_sensitive",
9324
+ "non_sensitive",
9325
+ "sensitive"
9326
+ ],
9327
+ "required": false,
9328
+ "description": "The level of data sensitivity to filter properties by. Valid values are 'non_sensitive', 'sensitive', and 'highly_sensitive'. Defaults to 'non_sensitive'."
9329
+ },
9330
+ {
9331
+ "name": "locale",
9332
+ "type": "string",
9333
+ "required": false,
9334
+ "description": "The locale to use for property labels and descriptions."
9335
+ },
9336
+ {
9337
+ "name": "properties",
9338
+ "type": "string",
9339
+ "required": false,
9340
+ "description": "A comma-separated list of property names to include in the response."
9341
+ }
9342
+ ]
9343
+ },
9344
+ {
9345
+ "resource": "crm.properties",
9346
+ "method": "update",
9347
+ "summary": "Update property",
9348
+ "description": "Change editable settings of a property selected from properties.list, such as its label, group or options. Preserve the immutable internal name; inspect modificationMetadata before editing system-managed definitions. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
9349
+ "http": "PATCH",
9350
+ "path": "/crm/v1/properties/{objectType}/{propertyName}",
9351
+ "streaming": "no",
9352
+ "pagination": false,
9353
+ "pathParams": [
9354
+ {
9355
+ "name": "objectType",
9356
+ "sdkName": "objectType",
9357
+ "description": "Object type name from schemas.list, such as contacts, companies, deals or a custom p_<name>."
9358
+ },
9359
+ {
9360
+ "name": "propertyName",
9361
+ "sdkName": "propertyName",
9362
+ "description": "Immutable internal property name from properties.list; do not pass the display label."
9363
+ }
9364
+ ],
9365
+ "query": [],
9366
+ "body": {
9367
+ "required": true,
9368
+ "fields": [
9369
+ {
9370
+ "name": "calculationFormula",
9371
+ "type": "string",
9372
+ "required": false,
9373
+ "description": "Represents a formula that is used to compute a calculated property."
9374
+ },
9375
+ {
9376
+ "name": "currencyPropertyName",
9377
+ "type": "string",
9378
+ "required": false,
9379
+ "description": "A string specifying the name of the property that holds the currency information, applicable when showCurrencySymbol is true."
9380
+ },
9381
+ {
9382
+ "name": "description",
9383
+ "type": "string",
9384
+ "required": false,
9385
+ "description": "A description of the property that will be shown as help text in CRM."
9386
+ },
9387
+ {
9388
+ "name": "displayOrder",
9389
+ "type": "integer",
9390
+ "required": false,
9391
+ "description": "Properties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the Property to be displayed after any positive values."
9392
+ },
9393
+ {
9394
+ "name": "fieldType",
9395
+ "type": "string",
9396
+ "enum": [
9397
+ "booleancheckbox",
9398
+ "calculation_equation",
9399
+ "checkbox",
9400
+ "date",
9401
+ "file",
9402
+ "html",
9403
+ "number",
9404
+ "phonenumber",
9405
+ "radio",
9406
+ "select",
9407
+ "text",
9408
+ "textarea"
9409
+ ],
9410
+ "required": false,
9411
+ "description": "Controls how the property appears in CRM."
9412
+ },
9413
+ {
9414
+ "name": "formField",
9415
+ "type": "boolean",
9416
+ "required": false,
9417
+ "description": "Whether or not the property can be used in a CRM form."
9418
+ },
9419
+ {
9420
+ "name": "groupName",
9421
+ "type": "string",
9422
+ "required": false,
9423
+ "description": "The name of the property group the property belongs to."
9424
+ },
9425
+ {
9426
+ "name": "hidden",
9427
+ "type": "boolean",
9428
+ "required": false,
9429
+ "description": "If true, the property won't be visible and can't be used in CRM."
9430
+ },
9431
+ {
9432
+ "name": "label",
9433
+ "type": "string",
9434
+ "required": false,
9435
+ "description": "A human-readable property label that will be shown in CRM."
9436
+ },
9437
+ {
9438
+ "name": "numberDisplayHint",
9439
+ "type": "string",
9440
+ "enum": [
9441
+ "currency",
9442
+ "duration",
9443
+ "formatted",
9444
+ "percentage",
9445
+ "probability",
9446
+ "unformatted"
9447
+ ],
9448
+ "required": false,
9449
+ "description": "A string providing a hint for displaying number values. Valid values include 'unformatted', 'formatted', 'currency', 'percentage', 'duration', and 'probability'."
9450
+ },
9451
+ {
9452
+ "name": "options",
9453
+ "type": "array",
9454
+ "itemType": "object",
9455
+ "required": false,
9456
+ "description": "A list of valid options for the property."
9457
+ },
9458
+ {
9459
+ "name": "showCurrencySymbol",
9460
+ "type": "boolean",
9461
+ "required": false,
9462
+ "description": "A boolean indicating whether to display a currency symbol for number fields formatted as currency."
9463
+ },
9464
+ {
9465
+ "name": "textDisplayHint",
9466
+ "type": "string",
9467
+ "enum": [
9468
+ "domain_name",
9469
+ "email",
9470
+ "ip_address",
9471
+ "multi_line",
9472
+ "phone_number",
9473
+ "physical_address",
9474
+ "postal_code",
9475
+ "unformatted_single_line"
9476
+ ],
9477
+ "required": false,
9478
+ "description": "A string providing a hint for displaying text values. Valid values include 'unformatted_single_line', 'multi_line', 'email', 'phone_number', 'domain_name', 'ip_address', 'physical_address', and 'postal_code'."
9479
+ },
9480
+ {
9481
+ "name": "type",
9482
+ "type": "string",
9483
+ "enum": [
9484
+ "bool",
9485
+ "date",
9486
+ "datetime",
9487
+ "enumeration",
9488
+ "number",
9489
+ "phone_number",
9490
+ "string"
9491
+ ],
9492
+ "required": false,
9493
+ "description": "The data type of the property."
9494
+ }
9495
+ ]
9496
+ }
9497
+ },
9498
+ {
9499
+ "resource": "crm.schemas",
9500
+ "method": "list",
9501
+ "summary": "List object schemas",
9502
+ "description": "Discover available object schemas, display labels, property definitions and association definitions. Reuse the object type identifier or name in record, property and pipeline operations. archived defaults to false; the include parameters control the definition and audit details returned.",
9503
+ "http": "GET",
9504
+ "path": "/crm/v1/schemas",
9505
+ "streaming": "no",
9506
+ "pagination": false,
9507
+ "pathParams": [],
9508
+ "query": [
9509
+ {
9510
+ "name": "archived",
9511
+ "type": "boolean",
9512
+ "required": false,
9513
+ "description": "Whether to return only results that have been archived."
9514
+ },
9515
+ {
9516
+ "name": "includeAssociationDefinitions",
9517
+ "type": "boolean",
9518
+ "required": false,
9519
+ "description": "Whether to include association definitions in the response. Defaults to true."
9520
+ },
9521
+ {
9522
+ "name": "includeAuditMetadata",
9523
+ "type": "boolean",
9524
+ "required": false,
9525
+ "description": "Whether to include audit metadata in the response. Defaults to true."
9526
+ },
9527
+ {
9528
+ "name": "includePropertyDefinitions",
9529
+ "type": "boolean",
9530
+ "required": false,
9531
+ "description": "Whether to include property definitions in the response. Defaults to true."
9532
+ }
9533
+ ]
9534
+ },
9535
+ {
9536
+ "resource": "crm.schemas",
9537
+ "method": "create",
9538
+ "summary": "Create object schema",
9539
+ "description": "Define a custom CRM object type before creating its records. Provide its immutable name, singular and plural labels, primaryDisplayProperty, properties and associated object types. Save the returned object type identifier for subsequent record and property operations. Writes return refs (ResourceRef[]) for entity cards and optional property changes in conversations.",
9540
+ "http": "POST",
9541
+ "path": "/crm/v1/schemas",
9542
+ "streaming": "no",
9543
+ "pagination": false,
9544
+ "pathParams": [],
9545
+ "query": [],
9546
+ "body": {
9547
+ "required": true,
9548
+ "fields": [
9549
+ {
9550
+ "name": "allowsSensitiveProperties",
9551
+ "type": "boolean",
9552
+ "required": true,
9553
+ "description": "Determines if the object type can include properties that are marked as sensitive."
9554
+ },
9555
+ {
9556
+ "name": "associatedObjects",
9557
+ "type": "array",
9558
+ "itemType": "string",
9559
+ "required": true,
9560
+ "description": "Associations defined for this object type."
9561
+ },
9562
+ {
9563
+ "name": "description",
9564
+ "type": "string",
9565
+ "required": false,
9566
+ "description": "A brief explanation of the object type."
9567
+ },
9568
+ {
9569
+ "name": "labels",
9570
+ "type": "object",
9571
+ "required": true
9572
+ },
9573
+ {
9574
+ "name": "name",
9575
+ "type": "string",
9576
+ "required": true,
9577
+ "description": "A unique name for this object. For internal use only."
9578
+ },
9579
+ {
9580
+ "name": "primaryDisplayProperty",
9581
+ "type": "string",
9582
+ "required": false,
9583
+ "description": "The name of the primary property for this object. This will be displayed as primary on the CRM record page for this object type."
9584
+ },
9585
+ {
9586
+ "name": "properties",
9587
+ "type": "array",
9588
+ "itemType": "object",
9589
+ "required": true,
9590
+ "description": "Properties defined for this object type."
9591
+ },
9592
+ {
9593
+ "name": "requiredProperties",
9594
+ "type": "array",
9595
+ "itemType": "string",
9596
+ "required": true,
9597
+ "description": "The names of properties that should be **required** when creating an object of this type."
9598
+ },
9599
+ {
9600
+ "name": "searchableProperties",
9601
+ "type": "array",
9602
+ "itemType": "string",
9603
+ "required": true,
9604
+ "description": "Names of properties that will be indexed for this object type in by CRM's product search."
9605
+ },
9606
+ {
9607
+ "name": "secondaryDisplayProperties",
9608
+ "type": "array",
9609
+ "itemType": "string",
9610
+ "required": true,
9611
+ "description": "The names of secondary properties for this object. These will be displayed as secondary on the CRM record page for this object type."
9612
+ },
9613
+ {
9614
+ "name": "shouldCreateSameObjectAssociation",
9615
+ "type": "boolean",
9616
+ "required": true,
9617
+ "description": "A boolean indicating whether associations should be created between objects of the same type."
9618
+ }
9619
+ ]
9620
+ }
9621
+ },
9622
+ {
9623
+ "resource": "cut.exports",
9624
+ "method": "retrieve",
9625
+ "summary": "Retrieve video export",
9626
+ "description": "Poll an export id returned by projects.exports.create or list to observe render progress. queued, fetching, rendering, stitching and saving are in progress; done provides asset in the target library, failed provides error, and canceled means the job stopped. Only done confirms a usable output asset.",
9627
+ "http": "GET",
9628
+ "path": "/cut/v1/exports/{export_id}",
9629
+ "streaming": "no",
9630
+ "pagination": false,
9631
+ "pathParams": [
9632
+ {
9633
+ "name": "export_id",
9634
+ "sdkName": "export_id",
9635
+ "description": "Export identifier returned by its create or list operation; use the id, not a display name."
9636
+ }
9637
+ ],
9638
+ "query": []
9639
+ },
9640
+ {
9641
+ "resource": "cut.exports",
9642
+ "method": "cancel",
9643
+ "summary": "Cancel video export",
9644
+ "description": "Request cancellation of an export obtained from projects.exports.create or list when its output is no longer needed. Read the returned job status and retrieve it to confirm the terminal outcome; do not interpret a cancellation request as successful rendering.",
9645
+ "http": "POST",
9646
+ "path": "/cut/v1/exports/{export_id}:cancel",
9647
+ "streaming": "no",
9648
+ "pagination": false,
9649
+ "pathParams": [
9650
+ {
9651
+ "name": "export_id",
9652
+ "sdkName": "export_id",
9653
+ "description": "Export identifier returned by its create or list operation; use the id, not a display name."
9654
+ }
9655
+ ],
9656
+ "query": []
9657
+ },
9658
+ {
9659
+ "resource": "cut.projects",
7536
9660
  "method": "list",
7537
9661
  "summary": "List projects",
7538
9662
  "description": "Discover projects owned by the API key organization and obtain project_id values. Results default to active projects ordered by updateTime descending; use filter state = \"deleted\" to find retained deleted projects for undelete. Continue with next_page_token as page_token until the token is absent.",
@@ -7703,7 +9827,7 @@ export const operations = [
7703
9827
  "resource": "cut.projects.analysis",
7704
9828
  "method": "create",
7705
9829
  "summary": "Analyze project media",
7706
- "description": "Request silence, filler-word or scene analysis for selected bound assets before editing. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible.",
9830
+ "description": "Request silence, filler-word or scene analysis for selected bound assets before editing. Omit media to select project sources; ranges returned in segments use source seconds. A pending result is not completion: use retry_after_sec before checking again, and inspect failed or unsupported asset results before deciding which edits are possible. Silence measures transcript-based speech pauses, not music or loudness. A completed transcript without words returns ready with empty segments and reason no_speech; no completed transcript returns unsupported with reason no_transcript. A failed transcription remains failed.",
7707
9831
  "http": "POST",
7708
9832
  "path": "/cut/v1/projects/{project_id}/analysis",
7709
9833
  "streaming": "no",
@@ -7874,6 +9998,18 @@ export const operations = [
7874
9998
  "body": {
7875
9999
  "required": true,
7876
10000
  "fields": [
10001
+ {
10002
+ "name": "folder",
10003
+ "type": "string",
10004
+ "required": false,
10005
+ "description": "Optional destination path within the bound media library; omitted uses its default folder."
10006
+ },
10007
+ {
10008
+ "name": "name",
10009
+ "type": "string",
10010
+ "required": false,
10011
+ "description": "Nonempty display name, frozen with the export. Path separators and control characters become hyphens; limited to 200 characters. Omitted uses project name and timestamp."
10012
+ },
7877
10013
  {
7878
10014
  "name": "output",
7879
10015
  "type": "object",
@@ -7891,6 +10027,12 @@ export const operations = [
7891
10027
  "type": "integer",
7892
10028
  "required": false,
7893
10029
  "description": "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
10030
+ },
10031
+ {
10032
+ "name": "loudness",
10033
+ "type": "object",
10034
+ "required": false,
10035
+ "description": "Optional loudness normalization target; normalization adds analysis and rendering work."
7894
10036
  }
7895
10037
  ]
7896
10038
  }
@@ -7899,7 +10041,7 @@ export const operations = [
7899
10041
  "resource": "cut.projects.frames",
7900
10042
  "method": "list",
7901
10043
  "summary": "Render preview frames",
7902
- "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. Fetch the returned image URLs before expires_at; render again when they expire.",
10044
+ "description": "Review the visual result at one or more project times without creating an export. Pass comma-separated seconds in at, such as 12,15.5; scale changes preview size and revision selects a committed project revision. Request at most eight times. Each returned url is an inline PNG data URL (data:image/png;base64,...), not a hosted HTTP image link. The default scale is 0.25; use 0.5 for subtitle layout inspection (1080×1920 renders at 540×960). The maximum is 0.5; values above it return INVALID_PARAMS. Actual width and height are returned per frame. PNGs above 2 MiB or responses above 4 MiB return RESPONSE_TOO_LARGE without silently lowering resolution. The response always includes warnings; FRAME_UNAVAILABLE means a source preview could not be obtained and an offline tile was drawn. Its message identifies a timeout, delivery capacity limit, or unavailable source and contains no source URL. Decode each image's base64 payload to save it. Codemode returns at most four images per call, so request at most four times when reviewing there.",
7903
10045
  "http": "GET",
7904
10046
  "path": "/cut/v1/projects/{project_id}/frames",
7905
10047
  "streaming": "no",
@@ -7922,7 +10064,7 @@ export const operations = [
7922
10064
  "name": "scale",
7923
10065
  "type": "number",
7924
10066
  "required": false,
7925
- "description": "Positive image size multiplier; 0.5 renders at half the project dimensions."
10067
+ "description": "Image size multiplier, default 0.25, greater than zero and at most 0.5. Larger values return INVALID_PARAMS; pixel-area limits may reduce actual dimensions, reported as width and height."
7926
10068
  },
7927
10069
  {
7928
10070
  "name": "revision",
@@ -8114,7 +10256,7 @@ export const operations = [
8114
10256
  "resource": "cut.projects",
8115
10257
  "method": "execute",
8116
10258
  "summary": "Execute editing script",
8117
- "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. Use AddTrack, Insert, Update, Delete, Split, Trim, Move, RippleDeleteRange, UpdateTrack, DeleteTrack, SetSettings, AddCaptionsFromTranscript and SetMarker for writes; GetTimeline, GetItem, FindItems, GetMedia, GetTranscript and GetAnalysis read editing context; Print emits text and Preview requests frame previews. All script times are seconds; script object fields use camelCase, for example `media: {libraryId, assetId}`. 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:\n\n```js\nconst t = AddTrack(\"video\");\nInsert(t, {type: \"color\", color: \"#123456\", start: 0, length: 3});\nPrint(t);\n```",
10259
+ "description": "Edit the current timeline atomically using synchronous JavaScript source. Read state or timeline first, then pass its revision as expected_revision to detect concurrent changes. Unlike Shotstack, execute applies script edits to a persistent project in one transaction. Provide script or a saved edit_id with literal edits, never both; failures roll back writes. A revision conflict while preparing the response may follow a committed edit: retrieve state before retrying. Minimal script after creating a project: `const t = AddTrack(\"video\"); Insert(t, {type: \"color\", color: \"#123456\", start: 0, length: 3}); Print(t);`\n\n### Script function reference\n\nFunctions are synchronous globals; do not import them. `project` is the current project ID. TrackId and ClipId are strings returned by AddTrack and Insert or read from GetTimeline. JoinId is the string returned by Join or read from GetTimeline().joins. Reads see earlier writes in the same script.\n\n```ts\nGetTimeline(o?: { from?: number; to?: number; tracks?: TrackId[] }): TimelineView;\nGetItem(id: ClipId): ItemView;\nFindItems<T>(visit: (item: ItemView, ctx: { track: TrackView; index: number }) => T | undefined): T[];\nGetMedia(ref: MediaRef): MediaInfo;\nGetTranscript(ref: MediaRef, o?: { from?: number; to?: number }): Word[];\nGetAnalysis(ref: MediaRef, kind: AnalysisKind): Segment[];\nListTransitions(): TransitionInfo[];\nListEffects(): EffectInfo[];\nListTextStyles(): TextStylePreset[];\nListTextTemplates(): TextTemplate[];\nListAnimations(): { id: string; version: number; phase: \"in\" | \"out\" | \"loop\"; target: \"any\" | \"text\"; name: string; description: string; defaultDuration: number; params: { name: string; type: string; values?: string[]; default?: string | number; min?: number; max?: number; description: string }[] }[];\nListFonts(): { family: string; weights: number[]; scripts: (\"latin\"|\"cjk\")[]; source: \"bundled\"|\"catalog\" }[];\nInsert(track: TrackId, item: ItemInit, o?: { ripple?: boolean }): ClipId;\nUpdate(id: ClipId, patch: ItemPatchView): void;\nSetSpeed(id: ClipId, rate: number | { curve: { at: number; rate: number; ease?: Ease }[]; audio?: \"mute\" | \"resample\" }, o: { keep: \"source\" | \"duration\"; ripple?: boolean }): { length: number; sourceOut: number };\nDelete(id: ClipId, o?: { ripple?: boolean }): void;\nJoin(left: ClipId, right: ClipId, o: { length?: number; effect: TransitionInput }): JoinId;\nUpdateJoin(id: JoinId, patch: { length?: number; effect?: TransitionInput }): void;\nDeleteJoin(id: JoinId): void;\nSplit(id: ClipId, at: number): ClipId;\nTrim(id: ClipId, edge: \"in\" | \"out\", delta: number, o?: { ripple?: boolean }): void;\nMove(id: ClipId, start: number, track?: TrackId): void;\nRippleDeleteRange(from: number, to: number, tracks?: TrackId[]): void;\nAddTrack(kind: \"video\" | \"audio\" | \"caption\", init?: { name?: string; role?: \"voice\" | \"music\" | \"sfx\" }, index?: number): TrackId;\nUpdateTrack(id: TrackId, patch: TrackPatch): void;\nDeleteTrack(id: TrackId): void;\nSetSettings(patch: Partial<ProjectSettingsView>): void;\nAddCaptionsFromTranscript(track: TrackId, source: ClipId, o?: { style?: Partial<CaptionStyle> & { preset?: string }; maxChars?: number }): ClipId[];\nInsertTemplate(track: TrackId, o: { template: string; start: number; slots?: Record<string, string> }): ClipId[];\nAlignCaptions(trackId: TrackId, script: string, options?: { resplit?: boolean; maxChars?: number }): { replaced: number; added: number; deleted: number };\nImportCaptions(trackId: TrackId, text: string, o?: { format?: \"srt\" | \"vtt\"; offset?: number }): ClipId[];\nExportCaptions(trackId: TrackId, o: { format: \"srt\" | \"vtt\" }): string;\nSetMarker(at: number, label: string): string;\nPrint(...values: unknown[]): void;\nPreview(at: number[]): void;\n```\n\n| Functions | Behavior and arguments |\n| --- | --- |\n| GetTimeline, GetItem | Read compact item views: id, track, type, start, end, length, optional media, playback, sourceIn/sourceOut, text, effects, blend and offline reason. GetTimeline returns duration, tracks (id, kind, name, index, locked, items), and joins (id, track, left, right, length in seconds, normalized effect). from/to and tracks narrow the items and joins; joins are selected by their overlap window. |\n| ListEffects | Discover the shared visual-effect catalog with parameter types, ranges, defaults, cost and bounds. Effects are supported only on visual clips. |\n| ListTransitions | Discover the shared validation catalog: each entry contains kind (effect ID), name, description and params. Each parameter has name, type (enum/number/integer), default, description, enum values or numeric min/max. Use the returned kind and parameter names inside effect. |\n| ListAnimations | Discover animation presets. Each entry has id, version, phase (`in`, `out`, `loop`), target (`any`, `text`), name, description, defaultDuration (seconds), and params (name, type, values/default/min/max/description as applicable). A slot use is `{preset, duration?, ...params}`; duration is seconds. |\n| FindItems | Visit items with their track and index; return undefined to omit an item, any other value to collect it. |\n| GetMedia | Read metadata for `{libraryId, assetId}` in a bound library: kind, dimensions, fps, hasAudio and durationUs when available. durationUs is microseconds. |\n| GetTranscript, GetAnalysis | Read available transcript words or silence/filler/scenes segments. Transcript filter from/to is seconds; returned word and segment from/to values are source microseconds (divide by 1,000,000 for editing). Words contain text and optional speaker/filler; segments may include label/confidence. Request analysis first if unavailable. |\n| Insert, Update, Delete | Insert returns the new clip ID; Update changes supplied fields; Delete removes the clip. Optional ripple on Insert/Delete closes or opens space on the track. |\n| SetSpeed | Change video/audio rate in 0.25–4; keep is required. A `{curve: [{at, rate, ease?}, ...], audio?: \"mute\" | \"resample\"}` rate is forward-only and holds output duration fixed; pitch preservation is unavailable. Scalar rates: source preserves consumed source and changes length; duration preserves output length. Returns actual length and sourceOut in seconds. Optional ripple explicitly shifts same-track followers when keeping source; otherwise overlaps are rejected. |\n| Join, UpdateJoin, DeleteJoin | Join creates an overlap between two butt-adjacent visual clips on the same track and returns its ID. length defaults to 0.5 seconds; effect is required. The right clip and all same-track followers move left by length, shortening that track and potentially the project. UpdateJoin moves those followers by the difference in length; omitted fields are preserved. DeleteJoin moves them right to restore the butt cut. Other tracks stay in place. |\n| Split, Trim, Move | Split at a timeline position and return the new right-hand clip ID. Trim changes the in or out edge by delta seconds. Move sets the timeline start and optionally a new track. |\n| RippleDeleteRange | Delete a timeline interval and close its gap on the specified tracks, or all unlocked tracks when omitted. |\n| AddTrack, UpdateTrack, DeleteTrack | Add video/audio/caption tracks; index selects layer order (0 is top). TrackPatch supports name, locked, hidden, muted, gainDb, audio role (`voice`, `music`, `sfx`) and style as appropriate to track kind. |\n| SetSettings | Supply any of width/height (pixels), fps (frames per second), background (color). |\n| AddCaptionsFromTranscript | Create captions from an audio/video clip's kept words. Optional maxChars is 1–1000, default 16; style updates the caption track. Returns caption IDs. |\n| ImportCaptions, ExportCaptions | Import SRT or WebVTT text onto a caption track and export it back. format is inferred from a WEBVTT header when omitted. offset shifts imported cues in seconds. Import rejects more than 100000 bytes, more than 5000 cues, malformed or overlapping file cues with INVALID_CAPTION_FILE; overlap with existing timeline clips uses the normal OVERLAP rejection. Export sorts by timeline start and writes millisecond timecodes. |\n| SetMarker | Add a label at a timeline time and return its ID. |\n| Print, Preview | Print appends text to prints. Preview requests up to eight times total per execute and puts images in the result's frames. Each url is an inline PNG data URL, not an HTTP image link. Decode the base64 payload to save an image. Codemode returns at most four images per call; request at most four times there. |\n\n#### Joins between clips\n\nEndpoints may be video, image, text, color or shape; audio and caption are rejected. Require 0 < length < each endpoint's length. Each clip allows at most one incoming and one outgoing join; their summed lengths cannot exceed its length. Three-input overlaps, nonadjacent endpoints and cross-track joins are rejected with OPS_REJECTED. Read the rejection's code and message, shorten or remove conflicting joins, and retry the saved edit.\n\nTransitionInput is an object with kind plus the parameters returned by ListTransitions; omitted parameters use catalog defaults. Unknown kinds and invalid parameters return INVALID_TRANSITION_PARAM with available parameters. Effects: dissolve; dip color black/white default black; push and wipe direction left/right/up/down default left; wipe softness 0–1 default 0; iris centerX/centerY 0–1 default 0.5; blinds integer count 2–64 default 8 and orientation vertical/horizontal default vertical; blur radius 0–100 pixels at 1080-pixel frame height default 24; zoom direction in/out default in, amount 0.1–3 default 1, blur 0–1 default 0.5; clock direction clockwise/counterclockwise default clockwise, startAngle 0–360 degrees default 0 (twelve o'clock), softness 0–1 default 0; flash color white/black default white, intensity 0–1 default 1. Zoom blur uses up to eight radial samples per shot and is slower on server rendering. Join options and UpdateJoin patches accept only length and effect. Effect updates replace the effect object and apply defaults for omitted parameters.\n\nMinimal example on an existing visual track with adjacent clips left and right: `Print(ListTransitions()); const j = Join(left, right, {length: 0.5, effect: {kind: \"dissolve\"}}); Print(GetTimeline().joins); Preview([GetItem(right).start + 0.25]);` Use `UpdateJoin(j, {length: 0.8})` to adjust it in a later edit or `DeleteJoin(j)` to restore the cut. Preview uses server-rendered frames and includes joins. Per-clip transitionIn/transitionOut remain separate entrance/exit effects.\n\n#### Insert fields (ItemInit)\n\nEvery item requires `type` and `start`. Times used for editing are seconds and snap to the project frame rate: start, length, sourceIn, fadeIn/fadeOut, transition length, keyframe at, reveal delay/stagger/duration. Keyframe and reveal times are relative to the clip start. Video/audio may omit length to use the remaining source duration; other types require length.\n\n| type | Required fields beyond type/start | Optional fields |\n| --- | --- | --- |\n| video | media | length, sourceIn, playback, volumeDb, transform, fit, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| image | media, length | transform, fit, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| text | text, length | style, transform, blend, reveal, animate, animation, effects, mask, transitionIn, transitionOut |\n| color | color, length | transform, fill, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| shape | shape, length, width, height, fill | radius, stroke, transform, blend, animate, animation, effects, mask, transitionIn, transitionOut |\n| audio | media | length, sourceIn, playback, volumeDb, gain, fadeIn, fadeOut, duck |\n| caption | text, length | — |\n\nVisual Insert/Update also accepts `blend`: `normal` (default), `screen`, `multiply`, `overlay`, or `add`; set it to null in Update to clear it. During a Join overlap, both inputs render with normal blending. Video tracks accept video/image/text/color/shape; audio and caption tracks accept their corresponding type. Media is `{libraryId: string, assetId: string}` from a bound library. sourceIn defaults to 0, volumeDb to 0 dB, audio fades to 0 seconds. fit defaults to contain: contain fits the whole image, cover fills and crops, fill stretches, none keeps native dimensions.\n\n| Field | Value |\n| --- | --- |\n| transform | Partial `{x, y, scale, rotation, opacity, crop, blur}`. x/y are normalized canvas center coordinates (default 0.5); scale 1 is fitted size; rotation is degrees (default 0); opacity is 0–1 (default 1). crop is `{top,right,bottom,left}`. blur is 0–100 pixels at 1080-pixel frame height. |\n| style | Partial `{fontFamily, fontSize, fontWeight, color, fill, stroke, strokes, shadows, glow, background, align, maxWidth, position, margin}`. fill accepts a color or linear/radial gradient across the entire text bounding box. strokes draw outside to inside; at most 4, width 0–40. shadows accepts at most 4 `{color,x,y,blur}` entries; blur is 0–100. glow is `{color,radius,strength}` with radius 0–100 and strength 0–1. All dimensions use pixels at 1080 frame height and scale with the text. Glow and large shadow blur increase render time. Invalid colors or ranges return actionable INVALID_STYLE errors. `ListFonts()` discovers family, available weights, scripts and bundled/catalog source. Text and captions share the style fields; caption style additionally supports highlightColor and maxLines: 2. |\n| animate | An object keyed by x, y, scale, rotation, opacity or blur. Each value is an array of `{at: number, value: number, ease?: Ease}` sorted by at with distinct frame-snapped times. Values hold before the first and after the last keyframe, overriding the static transform. |\n| animation | `{in?: AnimationUse, out?: AnimationUse, loop?: AnimationUse}` on visual clips. Each use is `{preset: string, duration?: number, ...params}`; duration and parameter units follow `ListAnimations()`. Presets replace existing animate and reveal when applied. Update accepts `animation: null` to clear the preset and its generated effects. |\n| Ease | linear, in, out, inOut, `{bezier: [x1,y1,x2,y2]}` or `{spring: {stiffness, damping, mass?}}`. Easing shapes the segment arriving at that keyframe; springs may overshoot. |\n| reveal | `{by, delay?: number, stagger: number, duration: number, from: {y?, opacity?, scale?, blur?}, ease?: Ease}`. by selects char, word or line. Unit k starts at delay + k * stagger and takes duration seconds to reach its resting state; from.y is a fraction of font size. |\n| fill | A color string (#RRGGBB or #RRGGBBAA), `{linear: {angle, stops: [{at,color}, ...]}}` or `{radial: {stops: [{at,color}, ...]}}`. Stop positions are 0–1; angle is degrees, 0 left to right. On color clips, fill replaces color when supplied. |\n| shape, width, height, radius, stroke | shape is rect or ellipse. width/height are fractions of canvas width/height before scaling. radius rounds rect corners in pixels at 1080-pixel frame height. stroke is `{color: string, width: number}`. |\n| transitionIn, transitionOut | `{kind, length: number}` at the clip's beginning/end. length is seconds. fade changes opacity; dissolve blends; push_left/push_right move horizontally; wipe_left reveals horizontally. |\n\n#### Visual effects\n\n`effects` is an ordered stack of at most 8 catalog entries. Call `ListEffects()` to discover the catalog; unknown kinds return `UNKNOWN_EFFECT`, invalid names/values/keyframes return `INVALID_EFFECT_PARAM`, and stacks over 8 return `TOO_MANY_EFFECTS`. Entries include blur, color adjustment, vignette, film grain, chromatic aberration, pixelate, glitch, shake, flash, light leak and built-in `lut` looks; user `.cube` LUTs are not supported. `speed` is cycles per second. Effects run on CPU during export and increase render time. Parameters are discovered with ListEffects(). Catalog entries expose their own parameters through ListEffects(), including `blur` (`radius` 0–100, default 24) and `color_adjust`: `brightness`, `contrast`, `temperature`, and `tint` each range -1–1 (default 0), while `saturation` ranges 0–2 (default 1). Disabled entries are skipped. `color_adjust` uses an SDR-only Rec.709 adjustment matrix with no color management.\n\nNumeric and integer effect parameters accept `keyframes: {parameter: [{at, value, ease?}, ...]}`; times are seconds relative to the clip, snap to frames like `animate`, must be strictly increasing and within clip duration, and values follow that parameter's catalog range. Omitted parameters use catalog defaults. Trim and Split preserve effect keyframes with the same clip-local behavior as `animate`. There are no custom shaders.\n\n`blend` applies to the completed visual layer after its content, effects and `transform.blur`; `add` maps to Skia Plus. The default `normal` path adds no blend layer. During Join overlaps, blending is forced to normal because each input is composed on transparency.\n\n#### Update fields (ItemPatchView)\n\nAll fields are optional; use only fields relevant to the item's type. Supported fields: start, length, sourceIn, playback, volumeDb, transform, fit, text, style, color, fadeIn, fadeOut, duck, animate, reveal, animation, fill, stroke, shape, width, height, radius, transitionIn, transitionOut, effects, blend, mask, gain. Values and units match Insert; set effects or blend to null to clear them. Set animation to null to clear the preset; set animate or reveal to null to remove that effect. Applying a preset replaces existing animate/reveal. Do not set animation together with animate or reveal in one Insert/Update call. Omit a field to preserve it.\n\n#### Animation presets\n\nDiscover the catalog with `ListAnimations()`. Its entries contain id, version, phase (`in`, `out`, `loop`), target (`any` or `text`), name, description, defaultDuration in seconds, and params. Slots may combine one in, one out and one loop preset. A loop runs only in the interval between in and out; if the same property is animated by multiple slots, loop occupies only that middle interval. Text-target presets are entrances. Their duration controls the rhythm per character/word/line, not the total reveal time. Out and loop presets apply to the whole clip, not per text unit.\n\nPresets replace the clip's existing animate and reveal when applied. The source preset is retained, so changing clip length or transform automatically regenerates its keyframes/reveal. If a clip becomes shorter, in/out durations shrink proportionally; when it grows, the requested durations are restored. Split keeps in on the left, out on the right, and loop on both. Writing animate or reveal directly detaches the preset; setting animation to null clears both source and generated effects. Insert/Update reject a call that supplies animation together with animate or reveal.\n\nErrors: UNKNOWN_ANIMATION (unknown preset), INVALID_ANIMATION_PARAM (invalid slot/parameter or frame/keyframe limit), ANIMATION_TOO_LONG (in+out exceed clip length), ANIMATION_TARGET_MISMATCH (text-only preset on a non-text or preset on non-visual clip), ANIMATION_PHASE_MISMATCH (preset in the wrong slot). Each animated property is limited to 600 keyframes; loop duration must be at least 4 frames. `ANIMATION_TOO_LONG` is avoided during later length changes by proportional fitting.\n\n#### Speed, reverse and freeze\n\nVideo/audio Insert and Update accept playback as `{kind: \"rate\", rate: number, direction: \"forward\" | \"reverse\", audio: \"preservePitch\" | \"resample\" | \"mute\"}` or `{kind: \"freeze\"}`. Rate is finite and inclusive 0.25–4. Omitted playback defaults to 1× forward with preservePitch; supply the complete rate object when changing playback. preservePitch keeps pitch, resample changes pitch with speed, mute removes audio. Reverse requires explicit audio: \"mute\"; preservePitch/resample are rejected with UNSUPPORTED_PLAYBACK rather than silently muted. Freeze holds sourceIn and is silent. GetItem/GetTimeline echo playback and the source interval in seconds; sourceOut is exclusive even for reverse and equals sourceIn for freeze.\n\nUpdate of playback keeps output length unless length is also supplied. SetSpeed preserves direction/audio, rejects frozen and non-video/audio clips, and requires keep: \"source\" or \"duration\". keep: \"source\" computes round(consumed source / new rate × fps) frames, falling back to floor if rounding would exceed the source end; the returned length/sourceOut are actual frame-rounded seconds. keep: \"duration\" keeps output length and changes source consumption. Length conflicts fail with OVERLAP; move/shorten the conflicting clip, keep duration, or explicitly use ripple: true to shift following clips on the same track. Source overflow fails with OUT_OF_SOURCE; rate limits fail with RATE_OUT_OF_RANGE. Unknown playback fields and SetSpeed options are rejected with UNKNOWN_FIELD; options only accept keep and boolean ripple.\n\nExample for an existing four-second video/audio clip id: `Print(SetSpeed(id, 0.5, {keep: \"source\"})); Print(SetSpeed(id, 2, {keep: \"source\"}));` returns lengths 8 then 2, keeping the same source interval. Reverse: `Update(id, {playback: {kind: \"rate\", rate: 1, direction: \"reverse\", audio: \"mute\"}})`. Freeze: `Update(id, {playback: {kind: \"freeze\"}})`. Ensure enough source remains for the chosen length/rate. Browser reverse playback currently displays a placeholder; server-rendered Preview/frames and exports support reverse normally. Speed-adjusted audio is generated asynchronously after the edit transaction commits; exports wait for that audio before rendering.\n\n#### Script names versus HTTP response names\n\nUse camelCase inside scripts, including nested objects. HTTP request/response JSON outside script source uses snake_case. Map media.library_id → media.libraryId, media.asset_id → media.assetId, source_in → sourceIn, volume_db → volumeDb, fade_in/fade_out → fadeIn/fadeOut, transition_in/transition_out → transitionIn/transitionOut, font_family/font_size/font_weight/max_width → fontFamily/fontSize/fontWeight/maxWidth, gain_db → gainDb, highlight_color/max_lines → highlightColor/maxLines. Fields such as animate, reveal, fill, stroke, at and length retain their spelling. GetTimeline/GetItem already return camelCase compact views; the expanded retrieveTimeline HTTP response is not an Insert object.\n\nUnrecognized script fields fail with OPS_REJECTED and rejection code UNKNOWN_FIELD; snake_case mistakes suggest the corresponding camelCase name. The error message lists each rejection's #opIndex, code and reason. Correct the named fields and retry the saved edit; do not assume an ignored field applied an effect.\n",
8118
10260
  "http": "POST",
8119
10261
  "path": "/cut/v1/projects/{project_id}:execute",
8120
10262
  "streaming": "no",
@@ -9203,7 +11345,7 @@ export const operations = [
9203
11345
  "resource": "file.files",
9204
11346
  "method": "create",
9205
11347
  "summary": "Upload file",
9206
- "description": "Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 100000000 bytes, and only user_data and vision purposes are accepted. Send file bytes as a multipart file part, not a filename or file ID; in the SDK use a File or Blob, for example new File([\"Return within 23 days.\"], \"policy.txt\", { type: \"text/plain\" }). Content determines the MIME type. Supported uploads include PDF, DOCX/XLSX/PPTX, PNG/JPEG/GIF/WebP, MP3/WAV/FLAC/OGG/M4A, MP4/WebM, and UTF-8 JSON/NDJSON/CSV/Markdown/plain text; empty, unsupported, oversized files and unsupported purposes return 400. Use Uploads for larger files. The purpose vision accepts only PNG, JPEG, GIF and WebP, while conversation images require user_data. The returned ID belongs to your tenant; upload alone does not ingest the file into Knowledge. Knowledge attachment has a lower limit of 100000000 bytes. Optionally set expires_after[anchor]=created_at with expires_after[seconds] (3600–7776000). Without expiry, the file persists until deleted.",
11348
+ "description": "Upload a file to reuse in conversations or attach to a knowledge base. Unlike OpenAI Files, uploads must be nonempty and at most 100000000 bytes, and only user_data, assistants and vision purposes are accepted. Send file bytes as a multipart file part, not a filename or file ID; in the SDK use a File or Blob, for example new File([\"Return within 23 days.\"], \"policy.txt\", { type: \"text/plain\" }). Content determines the MIME type. Supported uploads include PDF, DOCX/XLSX/PPTX, PNG/JPEG/GIF/WebP, MP3/WAV/FLAC/OGG/M4A, MP4/WebM, and UTF-8 JSON/NDJSON/CSV/Markdown/plain text; empty, unsupported, oversized files and unsupported purposes return 400. Use Uploads for larger files. The purpose vision accepts only PNG, JPEG, GIF and WebP, while conversation images require user_data. The returned ID belongs to your tenant; upload alone does not ingest the file into Knowledge. Knowledge attachment has a lower limit of 100000000 bytes. Optionally set expires_after[anchor]=created_at with expires_after[seconds] (3600–7776000). Without expiry, the file persists until deleted.",
9207
11349
  "http": "POST",
9208
11350
  "path": "/file/v1/files",
9209
11351
  "streaming": "no",
@@ -9225,10 +11367,11 @@ export const operations = [
9225
11367
  "type": "string",
9226
11368
  "enum": [
9227
11369
  "user_data",
11370
+ "assistants",
9228
11371
  "vision"
9229
11372
  ],
9230
11373
  "required": true,
9231
- "description": "Purpose label stored with the file: user_data or vision. The vision purpose accepts only PNG, JPEG, GIF and WebP images. Conversation image references require user_data."
11374
+ "description": "Purpose label stored with the file: user_data, assistants or vision. The label is stored and returned unchanged; assistants follows the same rules as user_data. The vision purpose accepts only PNG, JPEG, GIF and WebP images. Conversation image references require user_data."
9232
11375
  },
9233
11376
  {
9234
11377
  "name": "expires_after",
@@ -9293,13 +11436,129 @@ export const operations = [
9293
11436
  ],
9294
11437
  "query": []
9295
11438
  },
11439
+ {
11440
+ "resource": "file.files.contentLinks",
11441
+ "method": "revoke",
11442
+ "summary": "Revoke a file content link",
11443
+ "description": "Stop a previously issued content link from reading a file. Obtain the link with files.contentUrl.create. Use file_id from file creation or listing and the token path component from a content URL (/c/<token>), not the complete URL. The caller must own the file and have write access; a read-only binding is refused. Revocation propagates through the capability deny list within 15 minutes; the file and other links remain available. Only current IAM capability tokens can be revoked; legacy content links expire at the migration deadline. Example body: {\"token\":\"<token from /c/>\"}.",
11444
+ "http": "POST",
11445
+ "path": "/file/v1/files/{file_id}/content_links:revoke",
11446
+ "streaming": "no",
11447
+ "pagination": false,
11448
+ "pathParams": [
11449
+ {
11450
+ "name": "file_id",
11451
+ "sdkName": "file_id",
11452
+ "description": "Tenant-owned file identifier returned by file creation or listing; the token must name this same file."
11453
+ }
11454
+ ],
11455
+ "query": [],
11456
+ "body": {
11457
+ "required": true,
11458
+ "fields": [
11459
+ {
11460
+ "name": "token",
11461
+ "type": "string",
11462
+ "required": true,
11463
+ "description": "Signed token taken from the /c/ path component of a previously issued file content URL, without the host or /c/ prefix."
11464
+ }
11465
+ ]
11466
+ }
11467
+ },
11468
+ {
11469
+ "resource": "file.files.contentUrl",
11470
+ "method": "create",
11471
+ "summary": "Create a download URL",
11472
+ "description": "Download a file's bytes to a local disk from a coding agent without sending them through the model. Use file_id from file creation or listing, then run curl -fsSL -o <filename> '<url>' locally with the returned URL; GET needs no Authorization header. The link is reusable until expiry and supports a single byte Range (for example Range: bytes=0-9 returns 206). Revoke it with files.contentLinks.revoke, passing the token after /c/ in the URL. Expired, revoked, invalid or cross-organization URLs return 404. Lifetime defaults to 900 seconds and is at most 604800 seconds. Issuance requires the same credential and file-read access as files.retrieveContent; a processing file returns 409 FILE_NOT_READY, so poll files.retrieve until active before retrying. A missing, expired or other-organization file returns 404. Each issuance creates a new link. OpenAI Files has no signed download URL; this follows S3 presigned GET semantics. Example body: {\"ttl_seconds\":3600}.",
11473
+ "http": "POST",
11474
+ "path": "/file/v1/files/{file_id}/content_url",
11475
+ "streaming": "no",
11476
+ "pagination": false,
11477
+ "pathParams": [
11478
+ {
11479
+ "name": "file_id",
11480
+ "sdkName": "file_id",
11481
+ "description": "Tenant-owned live file identifier from file creation or listing; the file must be active to issue a download URL."
11482
+ }
11483
+ ],
11484
+ "query": [],
11485
+ "body": {
11486
+ "required": false,
11487
+ "fields": [
11488
+ {
11489
+ "name": "ttl_seconds",
11490
+ "type": "integer",
11491
+ "required": false,
11492
+ "description": "Download link lifetime in seconds, from 1 through 604800; omitted means 900. This does not change the file's own expiry."
11493
+ }
11494
+ ]
11495
+ }
11496
+ },
11497
+ {
11498
+ "resource": "file.uploads",
11499
+ "method": "create",
11500
+ "summary": "Create an upload",
11501
+ "description": "Start a multipart upload for a file larger than the 100000000-byte direct-upload limit. Supply the exact byte length, filename, MIME type and purpose. Unlike OpenAI, uploads accept at most 20 GiB (21474836480 bytes) and only user_data, assistants and vision purposes. Send parts of at most 64000000 bytes; an unfinished upload waits for them for 7 days, so a client can create → send parts → query GET /file/v1/uploads/{upload_id} → resend only the missing parts → complete. Optional part_size fixes every part length and makes each numbered part retryable with identical bytes. expires_after applies to the resulting file (3600–7776000 seconds on this own face); without it the file persists until deleted.",
11502
+ "http": "POST",
11503
+ "path": "/file/v1/uploads",
11504
+ "streaming": "no",
11505
+ "pagination": false,
11506
+ "pathParams": [],
11507
+ "query": [],
11508
+ "body": {
11509
+ "required": true,
11510
+ "fields": [
11511
+ {
11512
+ "name": "bytes",
11513
+ "type": "integer",
11514
+ "required": true,
11515
+ "description": "Exact complete file length in bytes, from 1 through 21474836480 (20 GiB); the sum of completed parts must match."
11516
+ },
11517
+ {
11518
+ "name": "filename",
11519
+ "type": "string",
11520
+ "required": true,
11521
+ "description": "Filename for the resulting file, at most 255 UTF-8 bytes."
11522
+ },
11523
+ {
11524
+ "name": "mime_type",
11525
+ "type": "string",
11526
+ "required": true,
11527
+ "description": "Declared MIME type; validated against the assembled content."
11528
+ },
11529
+ {
11530
+ "name": "purpose",
11531
+ "type": "string",
11532
+ "enum": [
11533
+ "user_data",
11534
+ "assistants",
11535
+ "vision"
11536
+ ],
11537
+ "required": true,
11538
+ "description": "Use user_data for conversation attachments, assistants for assistant files, or vision for PNG, JPEG, GIF and WebP images."
11539
+ },
11540
+ {
11541
+ "name": "expires_after",
11542
+ "type": "object",
11543
+ "required": false,
11544
+ "description": "Optional expiry policy for the resulting file; omission retains the file until deletion."
11545
+ },
11546
+ {
11547
+ "name": "part_size",
11548
+ "type": "integer",
11549
+ "required": false,
11550
+ "description": "Optional fixed part size in bytes, 5242880–64000000. Requires part_number on every part; retries of identical bytes at the same number return the same part. Omit to use arbitrary-sized parts."
11551
+ }
11552
+ ]
11553
+ }
11554
+ },
9296
11555
  {
9297
11556
  "resource": "file.uploads",
9298
- "method": "create",
9299
- "summary": "Create an upload",
9300
- "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 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.",
11557
+ "method": "createSigned",
11558
+ "summary": "Create a one-time upload URL",
11559
+ "description": "Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide basename, exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.",
9301
11560
  "http": "POST",
9302
- "path": "/file/v1/uploads",
11561
+ "path": "/file/v1/uploads/signed",
9303
11562
  "streaming": "no",
9304
11563
  "pagination": false,
9305
11564
  "pathParams": [],
@@ -9308,48 +11567,67 @@ export const operations = [
9308
11567
  "required": true,
9309
11568
  "fields": [
9310
11569
  {
9311
- "name": "bytes",
9312
- "type": "integer",
11570
+ "name": "filename",
11571
+ "type": "string",
9313
11572
  "required": true,
9314
- "description": "Exact complete file length in bytes, from 1 through 2147483648 (2 GiB); the sum of completed parts must match."
11573
+ "description": "Stored basename, 1–255 UTF-8 bytes without control characters or path separators."
9315
11574
  },
9316
11575
  {
9317
- "name": "filename",
9318
- "type": "string",
11576
+ "name": "bytes",
11577
+ "type": "integer",
9319
11578
  "required": true,
9320
- "description": "Filename for the resulting file, at most 255 UTF-8 bytes."
11579
+ "description": "Exact local file size in bytes, from 1 through 21474836480 (20 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs, a completion URL and a status URL. Every PUT requires its exact signed Content-Length."
9321
11580
  },
9322
11581
  {
9323
- "name": "mime_type",
11582
+ "name": "content_type",
9324
11583
  "type": "string",
9325
11584
  "required": true,
9326
- "description": "Declared MIME type; validated against the assembled content."
11585
+ "description": "Declared MIME type, such as image/png. In single-PUT mode, send exactly this Content-Type or omit it. Stored file metadata is detected from the bytes in both modes."
9327
11586
  },
9328
11587
  {
9329
11588
  "name": "purpose",
9330
11589
  "type": "string",
9331
11590
  "enum": [
9332
11591
  "user_data",
11592
+ "assistants",
9333
11593
  "vision"
9334
11594
  ],
9335
- "required": true,
9336
- "description": "Use user_data for conversation attachments, or vision for PNG, JPEG, GIF and WebP images."
11595
+ "required": false,
11596
+ "description": "user_data and assistants store ordinary files and conversation images with their original purpose label; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data."
9337
11597
  },
9338
11598
  {
9339
- "name": "expires_after",
9340
- "type": "object",
11599
+ "name": "expires_in",
11600
+ "type": "integer",
9341
11601
  "required": false,
9342
- "description": "Optional expiry policy for the resulting file; omission retains the file until deletion."
11602
+ "description": "Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 604800 (7 days) for multipart. All part URLs, the status URL and the completion URL share one expiry. This does not set the resulting file's lifetime."
9343
11603
  },
9344
11604
  {
9345
11605
  "name": "part_size",
9346
11606
  "type": "integer",
9347
11607
  "required": false,
9348
- "description": "Optional fixed part size in bytes, 5242880–64000000. Requires part_number on every part; retries of identical bytes at the same number return the same part. Omit to use arbitrary-sized parts."
11608
+ "description": "Fixed multipart chunk size in bytes, from 5242880 through 64000000; defaults to 64000000. Used only above 104857600 total bytes. The final part contains the remaining bytes; single-PUT mode keeps its existing response."
9349
11609
  }
9350
11610
  ]
9351
11611
  }
9352
11612
  },
11613
+ {
11614
+ "resource": "file.uploads",
11615
+ "method": "retrieve",
11616
+ "summary": "Retrieve an upload",
11617
+ "description": "Read the state of an unfinished upload — its status, declared bytes, fixed part_size and the parts it already holds (received_parts, each with part_number, bytes and sha256). After a break or a failed part, call it to resend only the missing numbers, then complete. A cancelled or expired upload is refused; a completed one returns its file. A missing or other-organization upload returns 404.",
11618
+ "http": "GET",
11619
+ "path": "/file/v1/uploads/{upload_id}",
11620
+ "streaming": "no",
11621
+ "pagination": false,
11622
+ "pathParams": [
11623
+ {
11624
+ "name": "upload_id",
11625
+ "sdkName": "upload_id",
11626
+ "description": "Upload identifier returned by create; the upload must belong to your organization."
11627
+ }
11628
+ ],
11629
+ "query": []
11630
+ },
9353
11631
  {
9354
11632
  "resource": "file.uploads",
9355
11633
  "method": "cancel",
@@ -9372,7 +11650,7 @@ export const operations = [
9372
11650
  "resource": "file.uploads",
9373
11651
  "method": "complete",
9374
11652
  "summary": "Complete an upload",
9375
- "description": "Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.",
11653
+ "description": "Assemble the uploaded parts into a file. Supply upload_id from create and part_ids from addPart in file byte order; their sizes must total the declared bytes. When parts were lost, query GET /file/v1/uploads/{upload_id} and resend them before completing. Optional md5 verifies the assembled content. Retrying identical part_ids and normalized md5 returns the same result; different inputs return 409. Unlike OpenAI, completed can contain a file still processing (status uploaded). Poll files.retrieve using file.id until status processed (own face state active); error, expiry or 404 means processing failed and the file cannot be used.",
9376
11654
  "http": "POST",
9377
11655
  "path": "/file/v1/uploads/{upload_id}/complete",
9378
11656
  "streaming": "no",
@@ -9408,7 +11686,7 @@ export const operations = [
9408
11686
  "resource": "file.uploads.parts",
9409
11687
  "method": "create",
9410
11688
  "summary": "Add an upload part",
9411
- "description": "Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.",
11689
+ "description": "Send one nonempty part as the multipart data field, at most 64000000 bytes. Parts may arrive concurrently in any order. Use upload_id from create. For a fixed-size upload, supply part_number starting at 1 and exactly part_size bytes except for the final remainder; retry the same number with identical bytes to recover its part ID, and query GET /file/v1/uploads/{upload_id} to see which numbers already arrived. Without part_size, each request creates a new part and part_number is ignored. Save the returned part IDs for complete.",
9412
11690
  "http": "POST",
9413
11691
  "path": "/file/v1/uploads/{upload_id}/parts",
9414
11692
  "streaming": "no",
@@ -9496,7 +11774,7 @@ export const operations = [
9496
11774
  "resource": "knowledge.vectorStores",
9497
11775
  "method": "create",
9498
11776
  "summary": "Create knowledge base",
9499
- "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. Unlike OpenAI vector stores, each file is limited to 100000000 bytes and each account to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.",
11777
+ "description": "Create a knowledge base, optionally starting ingestion of uploaded file_ids in the same call; no separate attachment or batch is needed for those files. Use the returned id with vectorStores.files.retrieve to poll each attachment until completed, failed or cancelled; store status=completed alone does not mean every file succeeded. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; each account holds up to 100 active/nondeleted stores. Minimal body: {\"name\":\"Refund policies\"}.",
9500
11778
  "http": "POST",
9501
11779
  "path": "/knowledge/v1/vector_stores",
9502
11780
  "streaming": "no",
@@ -9535,7 +11813,7 @@ export const operations = [
9535
11813
  "name": "chunking_strategy",
9536
11814
  "type": "object",
9537
11815
  "required": false,
9538
- "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."
11816
+ "description": "Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy."
9539
11817
  },
9540
11818
  {
9541
11819
  "name": "description",
@@ -9547,7 +11825,7 @@ export const operations = [
9547
11825
  "name": "models",
9548
11826
  "type": "object",
9549
11827
  "required": false,
9550
- "description": "Model roles to set. The model must exist in the model catalog and serve the role (embedding → openai.embeddings, rerank → cohere.rerank, query_rewrite → openai.chat.completions). The embedding model must output 1024-dimension vectors. Omitted roles stay unchanged; null restores all defaults. Unknown roles or empty IDs return 400 INVALID_PARAMS. The OpenAI-compatible API rejects this field with 400."
11828
+ "description": "Model roles to set. The model must exist in the model catalog and serve the role (embedding → openai.embeddings, rerank → cohere.rerank, query_rewrite → openai.chat.completions, ocr → mistral.ocr or pdf_input capability, vision → vision capability). The embedding model must output 1024-dimension vectors. Omitted roles stay unchanged; null restores all defaults. Unknown roles or empty IDs return 400 INVALID_PARAMS. The OpenAI-compatible API rejects this field with 400."
9551
11829
  }
9552
11830
  ]
9553
11831
  }
@@ -9651,7 +11929,7 @@ export const operations = [
9651
11929
  "name": "models",
9652
11930
  "type": "object",
9653
11931
  "required": false,
9654
- "description": "Model roles to set. The model must exist in the model catalog and serve the role (embedding → openai.embeddings, rerank → cohere.rerank, query_rewrite → openai.chat.completions). The embedding model must output 1024-dimension vectors. Omitted roles stay unchanged; null restores all defaults. Unknown roles or empty IDs return 400 INVALID_PARAMS. The OpenAI-compatible API rejects this field with 400."
11932
+ "description": "Model roles to set. The model must exist in the model catalog and serve the role (embedding → openai.embeddings, rerank → cohere.rerank, query_rewrite → openai.chat.completions, ocr → mistral.ocr or pdf_input capability, vision → vision capability). The embedding model must output 1024-dimension vectors. Omitted roles stay unchanged; null restores all defaults. Unknown roles or empty IDs return 400 INVALID_PARAMS. The OpenAI-compatible API rejects this field with 400."
9655
11933
  }
9656
11934
  ]
9657
11935
  }
@@ -9882,7 +12160,7 @@ export const operations = [
9882
12160
  "resource": "knowledge.vectorStores.files",
9883
12161
  "method": "create",
9884
12162
  "summary": "Add file",
9885
- "description": "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. Unlike OpenAI vector stores, the file limit is 100000000 bytes; 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.",
12163
+ "description": "Attach an uploaded File for asynchronous ingestion, then poll this attachment until status is completed, failed or cancelled before searching. PDF files accept up to 536870912 bytes (512 MiB), while other formats accept up to 52428800 bytes (50 MiB), constrained by Router conversion; every file is limited to 5000000 estimated tokens; chunk sizes use estimated tokens rather than a model tokenizer. Text, Markdown, CSV, JSON, HTML, PDF, DOCX, PPTX, XLSX and PNG/JPEG/GIF/WebP images can be extracted; audio and video uploads are not knowledge documents. Images may yield generated descriptions rather than verbatim OCR. auto chunking resolves to static 800/400; explicit sizes are 100–4096 with overlap at most half the size. Each store holds at most 10000 attached files. Reattaching the same file returns its existing record without applying new attributes or chunking; inspect last_error after failure.",
9886
12164
  "http": "POST",
9887
12165
  "path": "/knowledge/v1/vector_stores/{vector_store_id}/files",
9888
12166
  "streaming": "no",
@@ -9914,7 +12192,7 @@ export const operations = [
9914
12192
  "name": "chunking_strategy",
9915
12193
  "type": "object",
9916
12194
  "required": false,
9917
- "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."
12195
+ "description": "Native attachment strategy. auto uses static chunks of 800 estimated tokens with 400 overlap; static supplies explicit chunk sizes; hierarchical indexes child chunks and supplies bounded parent context. Existing attachments are reused unchanged; remove and reattach a file to change its strategy."
9918
12196
  }
9919
12197
  ]
9920
12198
  }
@@ -10221,11 +12499,23 @@ export const operations = [
10221
12499
  ],
10222
12500
  "query": []
10223
12501
  },
12502
+ {
12503
+ "resource": "media.generation.capabilities",
12504
+ "method": "list",
12505
+ "summary": "Get generation capabilities",
12506
+ "description": "Read supported text-to-video intent, default model, duration and aspect-ratio limits, per-library concurrency and candidate retention. Generation is charged per second; unsaved candidates expire after 7 days.",
12507
+ "http": "GET",
12508
+ "path": "/media/v1/generation/capabilities",
12509
+ "streaming": "no",
12510
+ "pagination": false,
12511
+ "pathParams": [],
12512
+ "query": []
12513
+ },
10224
12514
  {
10225
12515
  "resource": "media.libraries",
10226
12516
  "method": "list",
10227
12517
  "summary": "List libraries",
10228
- "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.",
12518
+ "description": "Read a caller-owned library’s current settings, usage and lifecycle status. A deleting library remains readable; missing, foreign or purged libraries return LIBRARY_NOT_FOUND.",
10229
12519
  "http": "GET",
10230
12520
  "path": "/media/v1/libraries",
10231
12521
  "streaming": "no",
@@ -10307,7 +12597,7 @@ export const operations = [
10307
12597
  "resource": "media.libraries",
10308
12598
  "method": "delete",
10309
12599
  "summary": "Delete library",
10310
- "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.",
12600
+ "description": "Restore a deleting library before its purge_at deadline. The library becomes active again and deleted_at and purge_at are cleared; expired or non-deleting libraries cannot be restored.",
10311
12601
  "http": "DELETE",
10312
12602
  "path": "/media/v1/libraries/{library_id}",
10313
12603
  "streaming": "no",
@@ -10325,7 +12615,7 @@ export const operations = [
10325
12615
  "resource": "media.libraries",
10326
12616
  "method": "retrieve",
10327
12617
  "summary": "Get library",
10328
- "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.",
12618
+ "description": "Update an active library’s supplied settings. Labels replace the complete map; understanding settings and model roles merge with current values. Changing the embedding model is rejected while assets exist.",
10329
12619
  "http": "GET",
10330
12620
  "path": "/media/v1/libraries/{library_id}",
10331
12621
  "streaming": "no",
@@ -10343,7 +12633,7 @@ export const operations = [
10343
12633
  "resource": "media.libraries",
10344
12634
  "method": "update",
10345
12635
  "summary": "Update library",
10346
- "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.",
12636
+ "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.",
10347
12637
  "http": "PATCH",
10348
12638
  "path": "/media/v1/libraries/{library_id}",
10349
12639
  "streaming": "no",
@@ -10359,6 +12649,13 @@ export const operations = [
10359
12649
  "body": {
10360
12650
  "required": true,
10361
12651
  "fields": [
12652
+ {
12653
+ "name": "hotwords",
12654
+ "type": "array",
12655
+ "itemType": "string",
12656
+ "required": false,
12657
+ "description": "Correction vocabulary, at most 200 nonblank terms of at most 32 Unicode characters each. Omitted on an unconfigured library: correction derives up to 200 distinct names from the library name and every folder level, excluding generic names such as 原始素材 and 混剪成品. An explicit empty array disables this vocabulary. Updating affects subsequent understanding and explicit reprocessing, not existing results."
12658
+ },
10362
12659
  {
10363
12660
  "name": "models",
10364
12661
  "type": "object",
@@ -10390,7 +12687,7 @@ export const operations = [
10390
12687
  "resource": "media.libraries.assets",
10391
12688
  "method": "list",
10392
12689
  "summary": "List assets",
10393
- "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.",
12690
+ "description": "Upload content into an active library and return a Cloudinary-compatible resource. Use file for a multipart file, data URI, public HTTPS URL or same-owner file identifier. Reusing public_id overwrites by default; overwrite=false returns the existing resource. Chunk uploads require both chunk headers.",
10394
12691
  "http": "GET",
10395
12692
  "path": "/media/v1/libraries/{library_id}/assets",
10396
12693
  "streaming": "no",
@@ -10438,7 +12735,7 @@ export const operations = [
10438
12735
  "resource": "media.libraries.assets",
10439
12736
  "method": "create",
10440
12737
  "summary": "Upload asset",
10441
- "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.",
12738
+ "description": " For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
10442
12739
  "http": "POST",
10443
12740
  "path": "/media/v1/libraries/{library_id}/assets",
10444
12741
  "streaming": "no",
@@ -10483,7 +12780,7 @@ export const operations = [
10483
12780
  "name": "asset_folder",
10484
12781
  "type": "string",
10485
12782
  "required": false,
10486
- "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
12783
+ "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out."
10487
12784
  },
10488
12785
  {
10489
12786
  "name": "use_filename",
@@ -10544,6 +12841,16 @@ export const operations = [
10544
12841
  ],
10545
12842
  "required": false,
10546
12843
  "description": "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
12844
+ },
12845
+ {
12846
+ "name": "type",
12847
+ "type": "string",
12848
+ "enum": [
12849
+ "upload",
12850
+ "authenticated"
12851
+ ],
12852
+ "required": false,
12853
+ "description": "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
10547
12854
  }
10548
12855
  ]
10549
12856
  }
@@ -10552,7 +12859,7 @@ export const operations = [
10552
12859
  "resource": "media.libraries.assets.import",
10553
12860
  "method": "create",
10554
12861
  "summary": "Import file",
10555
- "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.",
12862
+ "description": "Copy a File into an independent Media asset. New assets default to organization-private delivery (type=authenticated); explicitly set type=upload for public originals and derivatives. Omitting type on overwrite preserves the current type. Deleting the source File does not delete this copy. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
10556
12863
  "http": "POST",
10557
12864
  "path": "/media/v1/libraries/{library_id}/assets/import",
10558
12865
  "streaming": "no",
@@ -10572,7 +12879,7 @@ export const operations = [
10572
12879
  "name": "file_id",
10573
12880
  "type": "string",
10574
12881
  "required": true,
10575
- "description": "File ID to copy into this library; passed as the upload source instead of file bytes. This creates an independent public copy readable without authentication. Deleting the source File does not delete this asset; do not import confidential content."
12882
+ "description": "File ID to copy into this library instead of file bytes. This independent copy defaults to organization-private delivery (type=authenticated); explicitly set type=upload for public delivery. Deleting the source File does not delete this asset."
10576
12883
  },
10577
12884
  {
10578
12885
  "name": "public_id",
@@ -10596,7 +12903,7 @@ export const operations = [
10596
12903
  "name": "asset_folder",
10597
12904
  "type": "string",
10598
12905
  "required": false,
10599
- "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
12906
+ "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out."
10600
12907
  },
10601
12908
  {
10602
12909
  "name": "use_filename",
@@ -10657,6 +12964,16 @@ export const operations = [
10657
12964
  ],
10658
12965
  "required": false,
10659
12966
  "description": "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
12967
+ },
12968
+ {
12969
+ "name": "type",
12970
+ "type": "string",
12971
+ "enum": [
12972
+ "upload",
12973
+ "authenticated"
12974
+ ],
12975
+ "required": false,
12976
+ "description": "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
10660
12977
  }
10661
12978
  ]
10662
12979
  }
@@ -10665,7 +12982,7 @@ export const operations = [
10665
12982
  "resource": "media.libraries.assets",
10666
12983
  "method": "delete",
10667
12984
  "summary": "Delete asset",
10668
- "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.",
12985
+ "description": "Queue reprocessing of the asset’s current version and return its updated state immediately. Omit kinds to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable completed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Replaced understandings become superseded, and processing finishes asynchronously.",
10669
12986
  "http": "DELETE",
10670
12987
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
10671
12988
  "streaming": "no",
@@ -10688,7 +13005,7 @@ export const operations = [
10688
13005
  "resource": "media.libraries.assets",
10689
13006
  "method": "retrieve",
10690
13007
  "summary": "Get asset",
10691
- "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.",
13008
+ "description": "Update an asset’s supplied metadata fields. Tags and context replace their current collections; an empty collection clears them. Moving asset_folder or changing display_name preserves public_id and delivery URLs.",
10692
13009
  "http": "GET",
10693
13010
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
10694
13011
  "streaming": "no",
@@ -10711,7 +13028,7 @@ export const operations = [
10711
13028
  "resource": "media.libraries.assets",
10712
13029
  "method": "update",
10713
13030
  "summary": "Update asset",
10714
- "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.",
13031
+ "description": "Delete an asset from the library so it is no longer readable, searchable or deliverable. This removes the asset rather than placing it in the library’s restoration window; a missing asset returns ASSET_NOT_FOUND.",
10715
13032
  "http": "PATCH",
10716
13033
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}",
10717
13034
  "streaming": "no",
@@ -10742,7 +13059,7 @@ export const operations = [
10742
13059
  "name": "asset_folder",
10743
13060
  "type": "string",
10744
13061
  "required": false,
10745
- "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected."
13062
+ "description": "Organizational folder path, separate from public_id. Empty selects the root; leading or trailing slashes, empty path segments, and . or .. segments are rejected. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out."
10746
13063
  },
10747
13064
  {
10748
13065
  "name": "tags",
@@ -10760,11 +13077,57 @@ export const operations = [
10760
13077
  ]
10761
13078
  }
10762
13079
  },
13080
+ {
13081
+ "resource": "media.libraries.assets.frames",
13082
+ "method": "create",
13083
+ "summary": "Create frame URLs",
13084
+ "description": "Media creates JPEG frame URLs for inspecting one or more moments in a video without downloading the original. Obtain library_id from libraries and asset_id plus duration from assets. Send 1–20 integer microsecond timestamps strictly below duration, for example {\"at_micros\":[0,1000000],\"width\":640}. Only video assets are supported; audio and images return INVALID_PARAMS. Width defaults to 640 and accepts 160, 320 or 640. This read operation does not store a new asset or rerun understanding. Fetch each returned URL to obtain the frame; delivery usage follows media pricing. Authenticated links expire after 300 seconds; upload links remain public and permanent. Reissue expired links. Foreign libraries and assets return 404 without revealing their existence.",
13085
+ "http": "POST",
13086
+ "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/frames",
13087
+ "streaming": "no",
13088
+ "pagination": false,
13089
+ "pathParams": [
13090
+ {
13091
+ "name": "library_id",
13092
+ "sdkName": "library_id",
13093
+ "description": "Library identifier returned by library creation or listing; must be accessible to the current credential."
13094
+ },
13095
+ {
13096
+ "name": "asset_id",
13097
+ "sdkName": "asset_id",
13098
+ "description": "Video asset identifier returned by asset upload or listing in this library; read its duration before choosing timestamps."
13099
+ }
13100
+ ],
13101
+ "query": [],
13102
+ "body": {
13103
+ "required": true,
13104
+ "fields": [
13105
+ {
13106
+ "name": "at_micros",
13107
+ "type": "array",
13108
+ "itemType": "integer",
13109
+ "required": true,
13110
+ "description": "One to twenty timestamps in microseconds from the start of the video. Each must be a nonnegative safe integer strictly below the video duration; order and duplicates are preserved."
13111
+ },
13112
+ {
13113
+ "name": "width",
13114
+ "type": "integer",
13115
+ "enum": [
13116
+ 160,
13117
+ 320,
13118
+ 640
13119
+ ],
13120
+ "required": false,
13121
+ "description": "Maximum JPEG width in pixels: 160 is a small thumbnail, 320 a preview and 640 a larger preview. Defaults to 640; larger widths are unavailable."
13122
+ }
13123
+ ]
13124
+ }
13125
+ },
10763
13126
  {
10764
13127
  "resource": "media.libraries.assets.reprocess",
10765
13128
  "method": "create",
10766
13129
  "summary": "Reprocess asset",
10767
- "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.",
13130
+ "description": " For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
10768
13131
  "http": "POST",
10769
13132
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/reprocess",
10770
13133
  "streaming": "no",
@@ -10796,7 +13159,7 @@ export const operations = [
10796
13159
  "embedding"
10797
13160
  ],
10798
13161
  "required": false,
10799
- "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."
13162
+ "description": "Processing tasks to rerun. Omit to retry failed tasks and legacy source-size unsupported tasks; explicit kinds rerun applicable ready or failed tasks and recoverable source-size unsupported tasks. Other unsupported causes remain unchanged. Pending and running tasks are unchanged; an empty array does nothing."
10800
13163
  }
10801
13164
  ]
10802
13165
  }
@@ -10805,7 +13168,7 @@ export const operations = [
10805
13168
  "resource": "media.libraries.assets.understandings",
10806
13169
  "method": "list",
10807
13170
  "summary": "List understandings",
10808
- "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.",
13171
+ "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.",
10809
13172
  "http": "GET",
10810
13173
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/understandings",
10811
13174
  "streaming": "no",
@@ -10837,10 +13200,13 @@ export const operations = [
10837
13200
  "tags",
10838
13201
  "ocr",
10839
13202
  "transcript",
10840
- "frame"
13203
+ "frame",
13204
+ "overview",
13205
+ "audio",
13206
+ "embedding"
10841
13207
  ],
10842
13208
  "required": false,
10843
- "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."
13209
+ "description": "Return one output kind: caption is a visual description, tags are generated labels, ocr is visible text, transcript is speech, frame is a video shot, overview is a video summary, audio is sampled audio understanding, and embedding reports a failed embedding step."
10844
13210
  },
10845
13211
  {
10846
13212
  "name": "cursor",
@@ -10860,7 +13226,7 @@ export const operations = [
10860
13226
  "resource": "media.libraries.assets",
10861
13227
  "method": "batch",
10862
13228
  "summary": "Batch assets alias",
10863
- "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.",
13229
+ "description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
10864
13230
  "http": "POST",
10865
13231
  "path": "/media/v1/libraries/{library_id}/assets:batch",
10866
13232
  "streaming": "no",
@@ -10881,6 +13247,12 @@ export const operations = [
10881
13247
  "type": "object",
10882
13248
  "required": true,
10883
13249
  "description": "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
13250
+ },
13251
+ {
13252
+ "name": "reason",
13253
+ "type": "string",
13254
+ "required": false,
13255
+ "description": "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
10884
13256
  }
10885
13257
  ]
10886
13258
  }
@@ -10889,7 +13261,7 @@ export const operations = [
10889
13261
  "resource": "media.libraries.batches",
10890
13262
  "method": "create",
10891
13263
  "summary": "Create batch",
10892
- "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.",
13264
+ "description": "Queue a frozen selection for tagging, untagging, context replacement, moving, deleting or reprocessing. IDs are limited to 1000; use an expression for larger selections, subject to the search scan budget. reprocess starts at most 30 assets per rolling minute per library. Only retryable failed steps and legacy source-size unsupported steps rerun. Omit kinds to inspect all recoverable steps, or supply kinds to narrow them. Other unsupported, permanent and completed steps remain unchanged; a permanent output blocks only its own step. Assets without any selected recoverable step count as failed items without starting understanding. Poll the returned job id; done counts accepted launches, not successful model inference. Staff Admin only permits reprocess and requires a nonblank reason. Example: {\"action\":\"reprocess\",\"selector\":{\"expression\":\"processing_state=failed AND failure_code=UPSTREAM_FAILED\"}}. For understanding, Media generates proxies for video sources of 25 MB or more or longer than 10 minutes, and for audio-only sources of 100 MB or more; originals remain available unchanged. Long videos are supported. When a video proxy is needed and is still above 95 MB after recompression, the source is reported as UNSUPPORTED with the limit in the failure message. Proxy preparation uses the organization’s metered sandbox resources.",
10893
13265
  "http": "POST",
10894
13266
  "path": "/media/v1/libraries/{library_id}/batches",
10895
13267
  "streaming": "no",
@@ -10910,6 +13282,12 @@ export const operations = [
10910
13282
  "type": "object",
10911
13283
  "required": true,
10912
13284
  "description": "Select assets by ids or by expression, never both. Expression results and exclusions are resolved when the job is created."
13285
+ },
13286
+ {
13287
+ "name": "reason",
13288
+ "type": "string",
13289
+ "required": false,
13290
+ "description": "Audit reason for the operation; required for staff Admin reprocessing and recorded with the initiating actor. Nonblank, at most 2000 characters."
10913
13291
  }
10914
13292
  ]
10915
13293
  }
@@ -10918,7 +13296,7 @@ export const operations = [
10918
13296
  "resource": "media.libraries.batches",
10919
13297
  "method": "retrieve",
10920
13298
  "summary": "Get batch",
10921
- "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.",
13299
+ "description": "Alias of batch creation. Apply one metadata or deletion action to ids or a frozen expression selection asynchronously; poll the returned job id to inspect completion and item failures.",
10922
13300
  "http": "GET",
10923
13301
  "path": "/media/v1/libraries/{library_id}/batches/{job_id}",
10924
13302
  "streaming": "no",
@@ -10928,24 +13306,230 @@ export const operations = [
10928
13306
  "name": "library_id",
10929
13307
  "sdkName": "library_id",
10930
13308
  "description": "Library ID returned by creation."
10931
- },
10932
- {
10933
- "name": "job_id",
10934
- "sdkName": "job_id",
10935
- "description": "Batch identifier returned by createBatch or batchAssets; resolved within this library."
13309
+ },
13310
+ {
13311
+ "name": "job_id",
13312
+ "sdkName": "job_id",
13313
+ "description": "Batch identifier returned by createBatch or batchAssets; resolved within this library."
13314
+ }
13315
+ ],
13316
+ "query": []
13317
+ },
13318
+ {
13319
+ "resource": "media.libraries.deliveryTokens",
13320
+ "method": "create",
13321
+ "summary": "Create delivery token",
13322
+ "description": "Issue a time-limited bearer token for originals and transformed authenticated assets in an active library. Use library_id from library creation or listing; read access is sufficient. Append token as the __cld_token__ query parameter on a matching delivery URL. The default ACL covers this library and the default lifetime is 900 seconds; narrow acl and expires_in before sharing. Anyone holding the token can read matching paths until expires_at.",
13323
+ "http": "POST",
13324
+ "path": "/media/v1/libraries/{library_id}/delivery_tokens",
13325
+ "streaming": "no",
13326
+ "pagination": false,
13327
+ "pathParams": [
13328
+ {
13329
+ "name": "library_id",
13330
+ "sdkName": "library_id",
13331
+ "description": "Library ID returned by creation."
13332
+ }
13333
+ ],
13334
+ "query": [],
13335
+ "body": {
13336
+ "required": true,
13337
+ "fields": [
13338
+ {
13339
+ "name": "acl",
13340
+ "type": "string",
13341
+ "required": false,
13342
+ "description": "Delivery path glob restricted to the library path prefix (a slash, library_id, then a slash). Defaults to that prefix followed by *; * matches any path text. Tildes and control characters are rejected."
13343
+ },
13344
+ {
13345
+ "name": "expires_in",
13346
+ "type": "integer",
13347
+ "required": false,
13348
+ "description": "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 900."
13349
+ }
13350
+ ]
13351
+ }
13352
+ },
13353
+ {
13354
+ "resource": "media.libraries.events",
13355
+ "method": "list",
13356
+ "summary": "List events",
13357
+ "description": "Read library events in sequence order for observing asset writes and understanding progress. Obtain library_id from creation or listing; continue with after_seq for asc or before_seq for desc, without combining both. Use next_cursor when supplied. Reads do not start or retry understanding.",
13358
+ "http": "GET",
13359
+ "path": "/media/v1/libraries/{library_id}/events",
13360
+ "streaming": "no",
13361
+ "pagination": false,
13362
+ "pathParams": [
13363
+ {
13364
+ "name": "library_id",
13365
+ "sdkName": "library_id",
13366
+ "description": "Library ID returned by creation."
13367
+ }
13368
+ ],
13369
+ "query": [
13370
+ {
13371
+ "name": "after_seq",
13372
+ "type": "integer",
13373
+ "required": false,
13374
+ "description": "Events with a larger sequence. Use with asc; cannot combine with before_seq."
13375
+ },
13376
+ {
13377
+ "name": "before_seq",
13378
+ "type": "integer",
13379
+ "required": false,
13380
+ "description": "Events with a smaller sequence. Use with desc; cannot combine with after_seq."
13381
+ },
13382
+ {
13383
+ "name": "order",
13384
+ "type": "string",
13385
+ "enum": [
13386
+ "asc",
13387
+ "desc"
13388
+ ],
13389
+ "required": false,
13390
+ "description": "Sequence direction: asc lists older events first and accepts after_seq; desc lists newer events first and accepts before_seq. Defaults to asc."
13391
+ },
13392
+ {
13393
+ "name": "limit",
13394
+ "type": "integer",
13395
+ "required": false,
13396
+ "description": "Maximum items per page, from 1 to 200; defaults to 50."
13397
+ }
13398
+ ]
13399
+ },
13400
+ {
13401
+ "resource": "media.libraries.folders",
13402
+ "method": "list",
13403
+ "summary": "List folders",
13404
+ "description": "undefined understood_count includes ready and partial assets; failed_count includes failed assets. Both accumulate descendants. counts_complete is false during historical backfill.",
13405
+ "http": "GET",
13406
+ "path": "/media/v1/libraries/{library_id}/folders",
13407
+ "streaming": "no",
13408
+ "pagination": false,
13409
+ "pathParams": [
13410
+ {
13411
+ "name": "library_id",
13412
+ "sdkName": "library_id",
13413
+ "description": "Library ID returned by creation."
13414
+ }
13415
+ ],
13416
+ "query": [
13417
+ {
13418
+ "name": "parent",
13419
+ "type": "string",
13420
+ "required": false,
13421
+ "description": "Folder whose immediate children are returned. Omit or use an empty string for the library root; invalid folder paths are rejected."
13422
+ }
13423
+ ]
13424
+ },
13425
+ {
13426
+ "resource": "media.libraries.generations",
13427
+ "method": "create",
13428
+ "summary": "Create video generation",
13429
+ "description": "Create a video.generate job. Generation is charged per second. The response is 202 with a queued Job; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until terminal, then save successful outputs. Unsaved candidate Files expire after 7 days.",
13430
+ "http": "POST",
13431
+ "path": "/media/v1/libraries/{library_id}/generations",
13432
+ "streaming": "no",
13433
+ "pagination": false,
13434
+ "pathParams": [
13435
+ {
13436
+ "name": "library_id",
13437
+ "sdkName": "library_id",
13438
+ "description": "Library ID returned by creation."
10936
13439
  }
10937
13440
  ],
10938
- "query": []
13441
+ "query": [],
13442
+ "body": {
13443
+ "required": true,
13444
+ "fields": [
13445
+ {
13446
+ "name": "intent",
13447
+ "type": "string",
13448
+ "required": true,
13449
+ "description": "Generation operation; v1 accepts only video.generate text-to-video requests."
13450
+ },
13451
+ {
13452
+ "name": "prompt",
13453
+ "type": "string",
13454
+ "required": true,
13455
+ "description": "Text prompt describing the video to generate."
13456
+ },
13457
+ {
13458
+ "name": "count",
13459
+ "type": "integer",
13460
+ "required": false,
13461
+ "description": "Number of videos to generate; defaults to 1 and must be from 1 to 4."
13462
+ },
13463
+ {
13464
+ "name": "duration_seconds",
13465
+ "type": "integer",
13466
+ "required": false,
13467
+ "description": "Requested video duration in seconds; Router validates the model-specific supported durations."
13468
+ },
13469
+ {
13470
+ "name": "aspect_ratio",
13471
+ "type": "string",
13472
+ "required": false,
13473
+ "description": "Requested output aspect ratio; defaults to 16:9 and Router validates model support."
13474
+ },
13475
+ {
13476
+ "name": "model",
13477
+ "type": "string",
13478
+ "required": false,
13479
+ "description": "Router model with video_generation capability; defaults to wan2.7-t2v."
13480
+ },
13481
+ {
13482
+ "name": "save",
13483
+ "type": "string",
13484
+ "enum": [
13485
+ "candidate",
13486
+ "library"
13487
+ ],
13488
+ "required": false,
13489
+ "description": "candidate keeps outputs temporary for explicit save calls; library saves successful outputs automatically."
13490
+ },
13491
+ {
13492
+ "name": "asset_folder",
13493
+ "type": "string",
13494
+ "required": false,
13495
+ "description": "Folder for assets saved automatically or by later save calls; defaults to the library root. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out."
13496
+ },
13497
+ {
13498
+ "name": "tags",
13499
+ "type": "array",
13500
+ "itemType": "string",
13501
+ "required": false,
13502
+ "description": "Tags applied when an output becomes a library asset."
13503
+ },
13504
+ {
13505
+ "name": "understanding",
13506
+ "type": "string",
13507
+ "enum": [
13508
+ "auto",
13509
+ "skip"
13510
+ ],
13511
+ "required": false,
13512
+ "description": "Understanding behavior when a candidate is saved as an asset; defaults to auto."
13513
+ },
13514
+ {
13515
+ "name": "references",
13516
+ "type": "array",
13517
+ "itemType": "object",
13518
+ "required": false,
13519
+ "description": "Not supported in v1; omit this field. Only text-to-video is currently available."
13520
+ }
13521
+ ]
13522
+ }
10939
13523
  },
10940
13524
  {
10941
- "resource": "media.libraries.events",
13525
+ "resource": "media.libraries.jobs",
10942
13526
  "method": "list",
10943
- "summary": "List events",
10944
- "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.",
13527
+ "summary": "List jobs",
13528
+ "description": "List batch and video-generation jobs in a library. Filter by status and continue with next_cursor. Poll a generation Job until terminal, then save successful candidate outputs before they expire after 7 days.",
10945
13529
  "http": "GET",
10946
- "path": "/media/v1/libraries/{library_id}/events",
13530
+ "path": "/media/v1/libraries/{library_id}/jobs",
10947
13531
  "streaming": "no",
10948
- "pagination": false,
13532
+ "pagination": true,
10949
13533
  "pathParams": [
10950
13534
  {
10951
13535
  "name": "library_id",
@@ -10955,42 +13539,40 @@ export const operations = [
10955
13539
  ],
10956
13540
  "query": [
10957
13541
  {
10958
- "name": "after_seq",
10959
- "type": "integer",
10960
- "required": false,
10961
- "description": "Events with a larger sequence. Use with asc; cannot combine with before_seq."
10962
- },
10963
- {
10964
- "name": "before_seq",
10965
- "type": "integer",
10966
- "required": false,
10967
- "description": "Events with a smaller sequence. Use with desc; cannot combine with after_seq."
10968
- },
10969
- {
10970
- "name": "order",
13542
+ "name": "status",
10971
13543
  "type": "string",
10972
13544
  "enum": [
10973
- "asc",
10974
- "desc"
13545
+ "queued",
13546
+ "running",
13547
+ "completed",
13548
+ "completed_with_errors",
13549
+ "failed",
13550
+ "cancelled"
10975
13551
  ],
10976
13552
  "required": false,
10977
- "description": "Sequence direction: asc lists older events first and accepts after_seq; desc lists newer events first and accepts before_seq. Defaults to asc."
13553
+ "description": "Filter jobs by their current status."
10978
13554
  },
10979
13555
  {
10980
13556
  "name": "limit",
10981
13557
  "type": "integer",
10982
13558
  "required": false,
10983
- "description": "Maximum items per page, from 1 to 200; defaults to 50."
13559
+ "description": "Maximum entries in this page, from 1 through 100; defaults to 100."
13560
+ },
13561
+ {
13562
+ "name": "cursor",
13563
+ "type": "string",
13564
+ "required": false,
13565
+ "description": "Job id from the previous page’s next_cursor; omit for the first page."
10984
13566
  }
10985
13567
  ]
10986
13568
  },
10987
13569
  {
10988
- "resource": "media.libraries.folders",
10989
- "method": "list",
10990
- "summary": "List folders",
10991
- "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.",
13570
+ "resource": "media.libraries.jobs",
13571
+ "method": "retrieve",
13572
+ "summary": "Get job",
13573
+ "description": "Read the current batch or video-generation Job status and progress. For generation, inspect outputs and failures, then save successful candidates before their preview and save window expires after 7 days.",
10992
13574
  "http": "GET",
10993
- "path": "/media/v1/libraries/{library_id}/folders",
13575
+ "path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
10994
13576
  "streaming": "no",
10995
13577
  "pagination": false,
10996
13578
  "pathParams": [
@@ -10998,24 +13580,22 @@ export const operations = [
10998
13580
  "name": "library_id",
10999
13581
  "sdkName": "library_id",
11000
13582
  "description": "Library ID returned by creation."
11001
- }
11002
- ],
11003
- "query": [
13583
+ },
11004
13584
  {
11005
- "name": "parent",
11006
- "type": "string",
11007
- "required": false,
11008
- "description": "Folder whose immediate children are returned. Omit or use an empty string for the library root; invalid folder paths are rejected."
13585
+ "name": "job_id",
13586
+ "sdkName": "job_id",
13587
+ "description": "Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library."
11009
13588
  }
11010
- ]
13589
+ ],
13590
+ "query": []
11011
13591
  },
11012
13592
  {
11013
13593
  "resource": "media.libraries.jobs",
11014
- "method": "retrieve",
11015
- "summary": "Get job alias",
11016
- "description": "Alias of batch retrieval. Read the job returned by a batch request, including terminal status, successful and failed counts, and individual failure codes.",
11017
- "http": "GET",
11018
- "path": "/media/v1/libraries/{library_id}/jobs/{job_id}",
13594
+ "method": "cancel",
13595
+ "summary": "Cancel job",
13596
+ "description": "Cancel a queued or running generation job. Already completed outputs remain available to save; poll or read the returned Job to confirm its status.",
13597
+ "http": "POST",
13598
+ "path": "/media/v1/libraries/{library_id}/jobs/{job_id}/cancel",
11019
13599
  "streaming": "no",
11020
13600
  "pagination": false,
11021
13601
  "pathParams": [
@@ -11027,16 +13607,78 @@ export const operations = [
11027
13607
  {
11028
13608
  "name": "job_id",
11029
13609
  "sdkName": "job_id",
11030
- "description": "Batch identifier returned by createBatch or batchAssets; resolved within this library."
13610
+ "description": "Job identifier returned by batch or generation creation; the job is resolved within the specified library."
11031
13611
  }
11032
13612
  ],
11033
13613
  "query": []
11034
13614
  },
13615
+ {
13616
+ "resource": "media.libraries.jobs.outputs.save",
13617
+ "method": "create",
13618
+ "summary": "Save generation output",
13619
+ "description": "Save a successful candidate as a library asset. Candidate outputs expire after 7 days; save before expiry. Generation is charged per second when the job runs, not when an output is saved.",
13620
+ "http": "POST",
13621
+ "path": "/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save",
13622
+ "streaming": "no",
13623
+ "pagination": false,
13624
+ "pathParams": [
13625
+ {
13626
+ "name": "library_id",
13627
+ "sdkName": "library_id",
13628
+ "description": "Library ID returned by creation."
13629
+ },
13630
+ {
13631
+ "name": "job_id",
13632
+ "sdkName": "job_id",
13633
+ "description": "Job identifier returned by batch or generation creation; the job is resolved within the specified library."
13634
+ },
13635
+ {
13636
+ "name": "index",
13637
+ "sdkName": "index",
13638
+ "description": "Zero-based position of the candidate in the Job outputs array."
13639
+ }
13640
+ ],
13641
+ "query": [],
13642
+ "body": {
13643
+ "required": false,
13644
+ "fields": [
13645
+ {
13646
+ "name": "public_id",
13647
+ "type": "string",
13648
+ "required": false,
13649
+ "description": "Delivery identifier for the saved asset; defaults to gen_<job_id>_<index> and is idempotent."
13650
+ },
13651
+ {
13652
+ "name": "asset_folder",
13653
+ "type": "string",
13654
+ "required": false,
13655
+ "description": "Destination folder for the saved asset; defaults to the library root. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out."
13656
+ },
13657
+ {
13658
+ "name": "tags",
13659
+ "type": "array",
13660
+ "itemType": "string",
13661
+ "required": false,
13662
+ "description": "Tags to apply to the saved asset."
13663
+ },
13664
+ {
13665
+ "name": "understanding",
13666
+ "type": "string",
13667
+ "enum": [
13668
+ "auto",
13669
+ "skip"
13670
+ ],
13671
+ "required": false,
13672
+ "description": "Understanding behavior for the saved asset; defaults to auto."
13673
+ }
13674
+ ]
13675
+ }
13676
+ },
11035
13677
  {
11036
13678
  "resource": "media.libraries.purge",
11037
13679
  "method": "create",
11038
13680
  "summary": "Purge library",
11039
- "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.",
13681
+ "description": "List assets in an active library, newest first, optionally filtering by exact folder and stored resource type. Continue using next_cursor; video includes audio-only assets.",
11040
13682
  "http": "POST",
11041
13683
  "path": "/media/v1/libraries/{library_id}/purge",
11042
13684
  "streaming": "no",
@@ -11054,7 +13696,7 @@ export const operations = [
11054
13696
  "resource": "media.libraries",
11055
13697
  "method": "restore",
11056
13698
  "summary": "Restore library",
11057
- "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.",
13699
+ "description": "Permanently remove a library that is already deleting, without waiting for purge_at. Its assets and related resources are removed and cannot be restored; first soft-delete an active library.",
11058
13700
  "http": "POST",
11059
13701
  "path": "/media/v1/libraries/{library_id}/restore",
11060
13702
  "streaming": "no",
@@ -11072,7 +13714,7 @@ export const operations = [
11072
13714
  "resource": "media.libraries.search",
11073
13715
  "method": "create",
11074
13716
  "summary": "Semantic search alias",
11075
- "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.",
13717
+ "description": "List all immediate child folders under parent, or under the root when parent is omitted. Counts include descendant assets. The result is unpaginated; limit and cursor are rejected.",
11076
13718
  "http": "POST",
11077
13719
  "path": "/media/v1/libraries/{library_id}/search",
11078
13720
  "streaming": "no",
@@ -11123,7 +13765,7 @@ export const operations = [
11123
13765
  "resource": "media.libraries.search.expression",
11124
13766
  "method": "create",
11125
13767
  "summary": "Expression search",
11126
- "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.",
13768
+ "description": "Find visually similar assets using exactly one of asset_id or an inline base64 image. The library must support image search; an asset query needs a current image embedding and excludes that source asset from results.",
11127
13769
  "http": "POST",
11128
13770
  "path": "/media/v1/libraries/{library_id}/search/expression",
11129
13771
  "streaming": "no",
@@ -11143,7 +13785,7 @@ export const operations = [
11143
13785
  "name": "expression",
11144
13786
  "type": "string",
11145
13787
  "required": false,
11146
- "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."
13788
+ "description": "Asset filter expression supporting field comparisons, AND, OR, NOT, parentheses and suffix wildcards. An empty expression matches all assets. For business metadata use context.sku=KETTLE-RED AND context.revision=2; request with_field: [\"context\"] to include context. Quality filters: flags:watermark matches any current shot with a watermark; flags.watermark:false requires an assessed video with no positive watermark judgment. The same syntax supports slideshow, hand_frame, text_sticker and low_quality. folder_mismatch:true selects lexical folder/location hints. Geometry filters support width, height, resolution:1920x1080, numeric aspect_ratio (width/height), and orientation:landscape, portrait or square. Missing geometry or unassessed legacy flags do not match positive filters. has_music:true AND audio_genre:jazz AND audio_mood:calm selects current-version audio profiles with music and matching model labels; has_music:false applies only to sampled ranges, not the entire source. failure_code=UPSTREAM_FAILED selects assets with a current failed understanding carrying that code; combine with processing_state=failed or processing_state=partial."
11147
13789
  },
11148
13790
  {
11149
13791
  "name": "sort_by",
@@ -11195,7 +13837,7 @@ export const operations = [
11195
13837
  "resource": "media.libraries.search.semantic",
11196
13838
  "method": "create",
11197
13839
  "summary": "Semantic search",
11198
- "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.",
13840
+ "description": "Alias of semantic search. Search assets with a nonblank text query, optional expression filter and top_k; hybrid combines semantic and keyword matches, while semantic uses vector similarity only.",
11199
13841
  "http": "POST",
11200
13842
  "path": "/media/v1/libraries/{library_id}/search/semantic",
11201
13843
  "streaming": "no",
@@ -11246,7 +13888,7 @@ export const operations = [
11246
13888
  "resource": "media.libraries.search.visual",
11247
13889
  "method": "create",
11248
13890
  "summary": "Visual search",
11249
- "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.",
13891
+ "description": "Search assets with a nonblank text query and optional expression filter. Hybrid mode combines semantic and keyword matches; semantic mode uses vector similarity only. Results are ranked and limited by top_k.",
11250
13892
  "http": "POST",
11251
13893
  "path": "/media/v1/libraries/{library_id}/search/visual",
11252
13894
  "streaming": "no",
@@ -11289,6 +13931,67 @@ export const operations = [
11289
13931
  ]
11290
13932
  }
11291
13933
  },
13934
+ {
13935
+ "resource": "media.libraries.understandings",
13936
+ "method": "list",
13937
+ "summary": "List understanding results across a library",
13938
+ "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.",
13939
+ "http": "GET",
13940
+ "path": "/media/v1/libraries/{library_id}/understandings",
13941
+ "streaming": "no",
13942
+ "pagination": true,
13943
+ "pathParams": [
13944
+ {
13945
+ "name": "library_id",
13946
+ "sdkName": "library_id",
13947
+ "description": "Library ID returned by creation."
13948
+ }
13949
+ ],
13950
+ "query": [
13951
+ {
13952
+ "name": "folder",
13953
+ "type": "string",
13954
+ "required": false,
13955
+ "description": "Folder path including all descendants; omitted or empty selects the entire library."
13956
+ },
13957
+ {
13958
+ "name": "kinds",
13959
+ "type": "string",
13960
+ "required": false,
13961
+ "description": "Comma-separated output kinds: caption, tags, ocr, frame, transcript, overview, audio, embedding. Omit or empty to include every kind."
13962
+ },
13963
+ {
13964
+ "name": "cursor",
13965
+ "type": "string",
13966
+ "required": false,
13967
+ "description": "Cursor from the previous next_cursor."
13968
+ },
13969
+ {
13970
+ "name": "limit",
13971
+ "type": "integer",
13972
+ "required": false,
13973
+ "description": "Maximum entries in this page, from 1 through 100; defaults to 100."
13974
+ }
13975
+ ]
13976
+ },
13977
+ {
13978
+ "resource": "media.libraries.understandings",
13979
+ "method": "retrieveFailureSummary",
13980
+ "summary": "Summarize understanding failures",
13981
+ "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.",
13982
+ "http": "GET",
13983
+ "path": "/media/v1/libraries/{library_id}/understandings/failure_summary",
13984
+ "streaming": "no",
13985
+ "pagination": false,
13986
+ "pathParams": [
13987
+ {
13988
+ "name": "library_id",
13989
+ "sdkName": "library_id",
13990
+ "description": "Library ID returned by creation."
13991
+ }
13992
+ ],
13993
+ "query": []
13994
+ },
11292
13995
  {
11293
13996
  "resource": "meta.docs",
11294
13997
  "method": "search",
@@ -11572,25 +14275,25 @@ export const operations = [
11572
14275
  "name": "model",
11573
14276
  "type": "string",
11574
14277
  "required": true,
11575
- "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."
14278
+ "description": "Model catalog identifier declaring openai.audio.transcriptions; use it unchanged, including any creator prefix."
11576
14279
  },
11577
14280
  {
11578
14281
  "name": "file",
11579
14282
  "type": "string",
11580
14283
  "required": true,
11581
- "description": "Audio file to transcribe, uploaded as multipart/form-data. Router support (supported): Verified to take effect."
14284
+ "description": "Audio bytes uploaded as a multipart file; supported formats and input limits depend on the selected model."
11582
14285
  },
11583
14286
  {
11584
14287
  "name": "language",
11585
14288
  "type": "string",
11586
14289
  "required": false,
11587
- "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."
14290
+ "description": "Source language code when known; omit to let the model detect the language."
11588
14291
  },
11589
14292
  {
11590
14293
  "name": "prompt",
11591
14294
  "type": "string",
11592
14295
  "required": false,
11593
- "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."
14296
+ "description": "Optional vocabulary or contextual guidance for recognizing the audio; support depends on the selected model."
11594
14297
  },
11595
14298
  {
11596
14299
  "name": "response_format",
@@ -11598,20 +14301,22 @@ export const operations = [
11598
14301
  "enum": [
11599
14302
  "json",
11600
14303
  "text",
11601
- "verbose_json"
14304
+ "verbose_json",
14305
+ "diarized_json"
11602
14306
  ],
11603
14307
  "required": false,
11604
- "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."
14308
+ "description": "Output format: json returns text in JSON; text returns plain text; verbose_json includes requested timestamps; diarized_json includes speaker-labelled segments when supported. Defaults to json."
11605
14309
  },
11606
14310
  {
11607
14311
  "name": "timestamp_granularities[]",
11608
14312
  "type": "array",
11609
14313
  "itemType": "string",
11610
14314
  "enum": [
14315
+ "word",
11611
14316
  "segment"
11612
14317
  ],
11613
14318
  "required": false,
11614
- "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."
14319
+ "description": "Timestamp levels to request as repeated multipart fields: word returns per-word times; segment returns segment times. Omit for the model default. Use verbose_json, or diarized_json on supporting models."
11615
14320
  },
11616
14321
  {
11617
14322
  "name": "temperature",
@@ -13925,6 +16630,31 @@ export const operations = [
13925
16630
  ]
13926
16631
  }
13927
16632
  },
16633
+ {
16634
+ "resource": "organization.members",
16635
+ "method": "list",
16636
+ "summary": "List organization members",
16637
+ "description": "Concepts follow GitHub org members: find a person's user id, for example to assign an approver to an approval task. Lists only members of the organization behind your API key or runtime token, ordered by joined_at ascending (membership id breaks ties). Ask the user who should approve, then use that member's id. Emails are visible only within this organization. The request cannot select another organization. Pass next_page unchanged as page; null means the end. Read-only; no usage charge. Example: GET /organization/v1/members?limit=20.",
16638
+ "http": "GET",
16639
+ "path": "/organization/v1/members",
16640
+ "streaming": "no",
16641
+ "pagination": false,
16642
+ "pathParams": [],
16643
+ "query": [
16644
+ {
16645
+ "name": "limit",
16646
+ "type": "integer",
16647
+ "required": false,
16648
+ "description": "Maximum members per page, from 1 to 100; defaults to 20."
16649
+ },
16650
+ {
16651
+ "name": "page",
16652
+ "type": "string",
16653
+ "required": false,
16654
+ "description": "Opaque next_page cursor returned by the previous response; omit for the first page."
16655
+ }
16656
+ ]
16657
+ },
13928
16658
  {
13929
16659
  "resource": "organization.usage",
13930
16660
  "method": "list",
@@ -14632,7 +17362,7 @@ export const operations = [
14632
17362
  "resource": "sandbox.sandboxes.commands",
14633
17363
  "method": "run",
14634
17364
  "summary": "Run a command in the sandbox",
14635
- "description": "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–60000 milliseconds, default 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout; output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. Example body: {\"cmd\":\"echo hi\"}.",
17365
+ "description": "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–3600000 milliseconds, default 600000, that is 10 minutes; E2B defaults to 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout (timeoutMs 0); output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. Example body: {\"cmd\":\"echo hi\"}.",
14636
17366
  "http": "POST",
14637
17367
  "path": "/sandbox/v1/sandboxes/{sandbox_id}/commands",
14638
17368
  "streaming": "no",
@@ -14654,6 +17384,12 @@ export const operations = [
14654
17384
  "required": true,
14655
17385
  "description": "Shell command to execute, for example echo hi."
14656
17386
  },
17387
+ {
17388
+ "name": "background",
17389
+ "type": "boolean",
17390
+ "required": false,
17391
+ "description": "When true, return 202 with the pid as soon as the process starts; it keeps running after the request ends. Read its status and output with GET /sandbox/v1/sandboxes/{sandbox_id}/commands/{pid}, stop it with DELETE. Same idea as E2B background commands."
17392
+ },
14657
17393
  {
14658
17394
  "name": "cwd",
14659
17395
  "type": "string",
@@ -14670,7 +17406,7 @@ export const operations = [
14670
17406
  "name": "timeoutMs",
14671
17407
  "type": "integer",
14672
17408
  "required": false,
14673
- "description": "Execution timeout in milliseconds, from 1 to 60000; defaults to 60000."
17409
+ "description": "Execution timeout in milliseconds, from 1 to 3600000 (1 hour); defaults to 600000 (10 minutes). In background mode this limits process runtime; expiry records exit code 124."
14674
17410
  }
14675
17411
  ]
14676
17412
  }
@@ -14869,7 +17605,7 @@ export const operations = [
14869
17605
  "resource": "sandbox.templates",
14870
17606
  "method": "list",
14871
17607
  "summary": "List templates (v2)",
14872
- "description": "List the templates you can create sandboxes from. Use it to pick the template id or alias for createSandbox. `base` is the default template that createSandbox uses when templateID is omitted. limit is 1 to 100 (default 100); send the cursor from the response back as nextToken to continue.",
17608
+ "description": "List official templates and all your custom templates, including waiting, building, ready and error builds. Custom templates appear first; each custom row describes its latest build, not necessarily the current ready build. Use templateID for build management and a ready template name when creating a sandbox. Own-face official distinguishes public catalog entries; sourceKind is omitted until a source is submitted and on official templates. Other organizations' templates are invisible.",
14873
17609
  "http": "GET",
14874
17610
  "path": "/sandbox/v1/templates",
14875
17611
  "streaming": "no",
@@ -14880,7 +17616,7 @@ export const operations = [
14880
17616
  "name": "teamID",
14881
17617
  "type": "string",
14882
17618
  "required": false,
14883
- "description": "Id of the team whose templates to list. Omit it to list the templates of your own team; a team you do not belong to answers 403."
17619
+ "description": "Upstream team selector; Praxis always lists the authenticated organization's templates."
14884
17620
  },
14885
17621
  {
14886
17622
  "name": "nextToken",
@@ -14896,6 +17632,342 @@ export const operations = [
14896
17632
  }
14897
17633
  ]
14898
17634
  },
17635
+ {
17636
+ "resource": "sandbox.templates",
17637
+ "method": "create",
17638
+ "summary": "Create template (v3)",
17639
+ "description": "Reserve a waiting build before submitting its source. Reusing a name in your organization allocates a new build on the same template. Returns templateID and buildID; start it with templates.builds.update, then poll templates.builds.status.list. A name:tag suffix and tags are assigned after successful publication. Example: {\"name\":\"my-template\",\"cpuCount\":2,\"memoryMB\":2048}. The own face also accepts diskGb, a positive integer defaulting to 10 GiB.",
17640
+ "http": "POST",
17641
+ "path": "/sandbox/v1/templates",
17642
+ "streaming": "no",
17643
+ "pagination": false,
17644
+ "pathParams": [],
17645
+ "query": [],
17646
+ "body": {
17647
+ "required": true,
17648
+ "fields": [
17649
+ {
17650
+ "name": "name",
17651
+ "type": "string",
17652
+ "required": false,
17653
+ "description": "Name of the template. Can include a tag with colon separator (e.g. \"my-template\" or \"my-template:v1\"). If tag is included, it will be treated as if the tag was provided in the tags array."
17654
+ },
17655
+ {
17656
+ "name": "tags",
17657
+ "type": "array",
17658
+ "itemType": "string",
17659
+ "required": false,
17660
+ "description": "Tags to assign to the template build"
17661
+ },
17662
+ {
17663
+ "name": "alias",
17664
+ "type": "string",
17665
+ "required": false,
17666
+ "description": "Alias of the template. Deprecated, use name instead."
17667
+ },
17668
+ {
17669
+ "name": "teamID",
17670
+ "type": "string",
17671
+ "required": false,
17672
+ "description": "Identifier of the team"
17673
+ },
17674
+ {
17675
+ "name": "cpuCount",
17676
+ "type": "integer",
17677
+ "required": false,
17678
+ "description": "Requested virtual CPU count; a positive integer, default 2 for template builds."
17679
+ },
17680
+ {
17681
+ "name": "memoryMB",
17682
+ "type": "integer",
17683
+ "required": false,
17684
+ "description": "Requested build memory in MiB; a positive integer, default 1024."
17685
+ },
17686
+ {
17687
+ "name": "minFreeDiskMb",
17688
+ "type": "integer",
17689
+ "required": false,
17690
+ "description": "Upstream minimum free disk request in MiB; use the native diskGb field to set the build disk size."
17691
+ },
17692
+ {
17693
+ "name": "diskGb",
17694
+ "type": "integer",
17695
+ "required": false,
17696
+ "description": "Build disk size in GiB, a positive safe integer. Defaults to 10; available only on the own face."
17697
+ }
17698
+ ]
17699
+ }
17700
+ },
17701
+ {
17702
+ "resource": "sandbox.templates.aliases",
17703
+ "method": "retrieve",
17704
+ "summary": "Check template alias",
17705
+ "description": "Resolve a name within your organization to its templateID before reading or managing builds. Use the bare template name, without a :tag suffix. Unknown and other-organization names return 404. The response public field is false for your private templates.",
17706
+ "http": "GET",
17707
+ "path": "/sandbox/v1/templates/aliases/{alias}",
17708
+ "streaming": "no",
17709
+ "pagination": false,
17710
+ "pathParams": [
17711
+ {
17712
+ "name": "alias",
17713
+ "sdkName": "alias",
17714
+ "description": "Bare template name belonging to your organization, without a tag or provider namespace."
17715
+ }
17716
+ ],
17717
+ "query": []
17718
+ },
17719
+ {
17720
+ "resource": "sandbox.templates.tags",
17721
+ "method": "delete",
17722
+ "summary": "Delete template tags",
17723
+ "description": "Remove the specified tag labels from your template by name, for example {\"name\":\"my-template\",\"tags\":[\"stable\"]}. Builds remain available. Removing default means untagged sandbox creation no longer resolves this template. Unknown or other-organization names return 404. b<number> names are reserved read-only build aliases and cannot be assigned or deleted as tags.",
17724
+ "http": "DELETE",
17725
+ "path": "/sandbox/v1/templates/tags",
17726
+ "streaming": "no",
17727
+ "pagination": false,
17728
+ "pathParams": [],
17729
+ "query": [],
17730
+ "body": {
17731
+ "required": true,
17732
+ "fields": [
17733
+ {
17734
+ "name": "name",
17735
+ "type": "string",
17736
+ "required": true,
17737
+ "description": "Name of the template"
17738
+ },
17739
+ {
17740
+ "name": "tags",
17741
+ "type": "array",
17742
+ "itemType": "string",
17743
+ "required": true,
17744
+ "description": "Tags to delete"
17745
+ }
17746
+ ]
17747
+ }
17748
+ },
17749
+ {
17750
+ "resource": "sandbox.templates.tags",
17751
+ "method": "create",
17752
+ "summary": "Assign template tags",
17753
+ "description": "Assign tags to the ready build selected by target in name:tag format, for example {\"target\":\"my-template:default\",\"tags\":[\"stable\"]}. Names belong to your organization. Tags move an existing label to this build without rebuilding. Obtain available names from templates.list and tags from templates.tags.list. b<number> names are reserved read-only build aliases and cannot be assigned or deleted as tags. target also accepts name:b<number> to select a ready build by number, for example my-template:b1.",
17754
+ "http": "POST",
17755
+ "path": "/sandbox/v1/templates/tags",
17756
+ "streaming": "no",
17757
+ "pagination": false,
17758
+ "pathParams": [],
17759
+ "query": [],
17760
+ "body": {
17761
+ "required": true,
17762
+ "fields": [
17763
+ {
17764
+ "name": "target",
17765
+ "type": "string",
17766
+ "required": true,
17767
+ "description": "Target template in \"name:tag\" format"
17768
+ },
17769
+ {
17770
+ "name": "tags",
17771
+ "type": "array",
17772
+ "itemType": "string",
17773
+ "required": true,
17774
+ "description": "Tags to assign to the template"
17775
+ }
17776
+ ]
17777
+ }
17778
+ },
17779
+ {
17780
+ "resource": "sandbox.templates",
17781
+ "method": "delete",
17782
+ "summary": "Delete template",
17783
+ "description": "Permanently remove your template, its builds and tag assignments using templateID from templates.create. Active instances prevent deletion with 409; terminate them first. Unknown or other-organization IDs return 404. Snapshot IDs use snapshots.delete instead.",
17784
+ "http": "DELETE",
17785
+ "path": "/sandbox/v1/templates/{templateID}",
17786
+ "streaming": "no",
17787
+ "pagination": false,
17788
+ "pathParams": [
17789
+ {
17790
+ "name": "templateID",
17791
+ "sdkName": "templateID",
17792
+ "description": "Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle."
17793
+ }
17794
+ ],
17795
+ "query": []
17796
+ },
17797
+ {
17798
+ "resource": "sandbox.templates",
17799
+ "method": "retrieve",
17800
+ "summary": "List template builds",
17801
+ "description": "Inspect your template and its newest builds using templateID from templates.create. Build states are waiting, building, ready or error. Use limit and the returned x-next-token header to page builds. Unknown or other-organization templates return 404.",
17802
+ "http": "GET",
17803
+ "path": "/sandbox/v1/templates/{templateID}",
17804
+ "streaming": "no",
17805
+ "pagination": false,
17806
+ "pathParams": [
17807
+ {
17808
+ "name": "templateID",
17809
+ "sdkName": "templateID",
17810
+ "description": "Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle."
17811
+ }
17812
+ ],
17813
+ "query": [
17814
+ {
17815
+ "name": "nextToken",
17816
+ "type": "string",
17817
+ "required": false,
17818
+ "description": "Cursor to start the list from"
17819
+ },
17820
+ {
17821
+ "name": "limit",
17822
+ "type": "integer",
17823
+ "required": false,
17824
+ "description": "Maximum number of items to return per page"
17825
+ }
17826
+ ]
17827
+ },
17828
+ {
17829
+ "resource": "sandbox.templates.builds",
17830
+ "method": "update",
17831
+ "summary": "Start template build (v2)",
17832
+ "description": "Submit source for a waiting build returned by templates.create; returns 202 after queueing, not after successful publication. Unlike E2B, COPY is rejected (use RUN curl or git clone), fromTemplate accepts official catalog names only, and plaintext registry credentials are rejected. The own face also accepts dockerfile, mutually exclusive with fromImage/fromTemplate/steps, and fromImageRegistry vault references for nonofficial images. Poll templates.builds.status.list until ready or error. Example: {\"fromImage\":\"node:22\",\"steps\":[{\"type\":\"RUN\",\"args\":[\"echo hello\"]}]}.",
17833
+ "http": "POST",
17834
+ "path": "/sandbox/v1/templates/{templateID}/builds/{buildID}",
17835
+ "streaming": "no",
17836
+ "pagination": false,
17837
+ "pathParams": [
17838
+ {
17839
+ "name": "templateID",
17840
+ "sdkName": "templateID",
17841
+ "description": "Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle."
17842
+ },
17843
+ {
17844
+ "name": "buildID",
17845
+ "sdkName": "buildID",
17846
+ "description": "Build identifier returned by templates.create. It must belong to the selected template in your organization."
17847
+ }
17848
+ ],
17849
+ "query": [],
17850
+ "body": {
17851
+ "required": true,
17852
+ "fields": [
17853
+ {
17854
+ "name": "fromImage",
17855
+ "type": "string",
17856
+ "required": false,
17857
+ "description": "Image to use as a base for the template build"
17858
+ },
17859
+ {
17860
+ "name": "fromTemplate",
17861
+ "type": "string",
17862
+ "required": false,
17863
+ "description": "Template to use as a base for the template build"
17864
+ },
17865
+ {
17866
+ "name": "fromImageRegistry",
17867
+ "type": "object",
17868
+ "required": false,
17869
+ "description": "Registry authentication. Unlike E2B, only the vault reference variant is accepted; plaintext aws, gcp and registry variants return 400. Cannot be used with official templates."
17870
+ },
17871
+ {
17872
+ "name": "force",
17873
+ "type": "boolean",
17874
+ "required": false,
17875
+ "description": "Whether the whole build should be forced to run regardless of the cache"
17876
+ },
17877
+ {
17878
+ "name": "steps",
17879
+ "type": "array",
17880
+ "itemType": "object",
17881
+ "required": false,
17882
+ "description": "List of steps to execute in the template build"
17883
+ },
17884
+ {
17885
+ "name": "startCmd",
17886
+ "type": "string",
17887
+ "required": false,
17888
+ "description": "Start command to execute in the template after the build"
17889
+ },
17890
+ {
17891
+ "name": "readyCmd",
17892
+ "type": "string",
17893
+ "required": false,
17894
+ "description": "Ready check command to execute in the template after the build"
17895
+ },
17896
+ {
17897
+ "name": "dockerfile",
17898
+ "type": "string",
17899
+ "required": false,
17900
+ "description": "Dockerfile text, at most 64 KiB UTF-8. Mutually exclusive with fromImage, fromTemplate and steps. COPY/ADD are rejected; fetch remote content using RUN. Registry credentials require a nonofficial image in the first FROM."
17901
+ }
17902
+ ]
17903
+ }
17904
+ },
17905
+ {
17906
+ "resource": "sandbox.templates.builds.status",
17907
+ "method": "list",
17908
+ "summary": "Template build status",
17909
+ "description": "Poll a build using templateID and buildID from templates.create. waiting means source has not been submitted; building includes queued work; ready permits sandbox creation; error is terminal, with reason when available. logsOffset counts previously read log entries, starting at zero; add logEntries.length after each response. limit is 0–100, default 100. level selects one log level; offsets then count entries at that level. Drain logs until an empty page, including after a terminal status.",
17910
+ "http": "GET",
17911
+ "path": "/sandbox/v1/templates/{templateID}/builds/{buildID}/status",
17912
+ "streaming": "no",
17913
+ "pagination": false,
17914
+ "pathParams": [
17915
+ {
17916
+ "name": "templateID",
17917
+ "sdkName": "templateID",
17918
+ "description": "Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle."
17919
+ },
17920
+ {
17921
+ "name": "buildID",
17922
+ "sdkName": "buildID",
17923
+ "description": "Build identifier returned by templates.create. It must belong to the selected template in your organization."
17924
+ }
17925
+ ],
17926
+ "query": [
17927
+ {
17928
+ "name": "logsOffset",
17929
+ "type": "integer",
17930
+ "required": false,
17931
+ "description": "Index of the starting build log that should be returned with the template"
17932
+ },
17933
+ {
17934
+ "name": "limit",
17935
+ "type": "integer",
17936
+ "required": false,
17937
+ "description": "Maximum number of logs that should be returned"
17938
+ },
17939
+ {
17940
+ "name": "level",
17941
+ "type": "string",
17942
+ "enum": [
17943
+ "debug",
17944
+ "info",
17945
+ "warn",
17946
+ "error"
17947
+ ],
17948
+ "required": false,
17949
+ "description": "Select one exact log severity: debug for diagnostics, info for progress, warn for warnings, error for failures. Offsets count matching entries."
17950
+ }
17951
+ ]
17952
+ },
17953
+ {
17954
+ "resource": "sandbox.templates.tags",
17955
+ "method": "list",
17956
+ "summary": "List template tags",
17957
+ "description": "Read the tag-to-build assignments for your template using templateID from templates.create. Only ready builds acquire tags. Use a returned tag with the template name as name:tag when creating a sandbox or assigning additional tags. Foreign IDs return 404.",
17958
+ "http": "GET",
17959
+ "path": "/sandbox/v1/templates/{templateID}/tags",
17960
+ "streaming": "no",
17961
+ "pagination": false,
17962
+ "pathParams": [
17963
+ {
17964
+ "name": "templateID",
17965
+ "sdkName": "templateID",
17966
+ "description": "Template identifier from templates.create or templates.list. Use your organization's templateID, not a provider handle."
17967
+ }
17968
+ ],
17969
+ "query": []
17970
+ },
14899
17971
  {
14900
17972
  "resource": "sandbox.volumes",
14901
17973
  "method": "list",
@@ -16055,7 +19127,7 @@ export const operations = [
16055
19127
  "resource": "ticket.milestones",
16056
19128
  "method": "create",
16057
19129
  "summary": "Create or add milestones",
16058
- "description": "Create or add milestones 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.",
19130
+ "description": "Create or add milestones 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.",
16059
19131
  "http": "POST",
16060
19132
  "path": "/ticket/v1/milestones",
16061
19133
  "streaming": "no",
@@ -16107,7 +19179,7 @@ export const operations = [
16107
19179
  "resource": "ticket.milestones",
16108
19180
  "method": "delete",
16109
19181
  "summary": "Remove milestones",
16110
- "description": "Remove milestones 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.",
19182
+ "description": "Remove milestones 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.",
16111
19183
  "http": "DELETE",
16112
19184
  "path": "/ticket/v1/milestones/{number}",
16113
19185
  "streaming": "no",
@@ -16159,7 +19231,7 @@ export const operations = [
16159
19231
  "resource": "ticket.milestones",
16160
19232
  "method": "update",
16161
19233
  "summary": "Update milestones",
16162
- "description": "Update milestones 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.",
19234
+ "description": "Update milestones 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.",
16163
19235
  "http": "PATCH",
16164
19236
  "path": "/ticket/v1/milestones/{number}",
16165
19237
  "streaming": "no",
@@ -16272,7 +19344,7 @@ export const operations = [
16272
19344
  "name": "filter",
16273
19345
  "type": "string",
16274
19346
  "required": false,
16275
- "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."
19347
+ "description": "Search qualifier subset: is/state, reason, label/-label, no, assignee, author, mentions, milestone, type, kind, assignee-kind, in and sort; write each qualifier as field:value (for example, is:open milestone:5), never field=value. Unknown qualifiers return INVALID_PARAMS. Passed unchanged to the service."
16276
19348
  }
16277
19349
  ]
16278
19350
  },
@@ -17378,7 +20450,7 @@ export const operations = [
17378
20450
  "resource": "vault.vaults",
17379
20451
  "method": "create",
17380
20452
  "summary": "Create vault",
17381
- "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.",
20453
+ "description": "Create an empty, active vault to hold credentials for your account, with a display name and optional metadata. Use its returned id as vault_id when creating secrets or OAuth authorizations. Agent sessions and deployments accept up to 50 vault_ids and match their credentials against the session's MCP servers, so a stored static or oauth credential does serve as vault-backed MCP authentication; only environment_variable credentials are not yet placed, because the egress proxy ADR-058 §6 gives them is not built. Application vault references are also unavailable; praxis_vault_ref version bindings and secret writes with a vault source return 501, so creating a vault does not yet enable either consumer.",
17382
20454
  "http": "POST",
17383
20455
  "path": "/vault/v1/vaults",
17384
20456
  "streaming": "no",
@@ -17570,7 +20642,7 @@ export const operations = [
17570
20642
  "resource": "vault.vaults.secrets",
17571
20643
  "method": "create",
17572
20644
  "summary": "Create secret",
17573
- "description": "Store a manually supplied token in an active vault for use on requests to its allowed_hosts. Unlike Anthropic credentials, this native operation takes name, value and allowed_hosts directly and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.",
20645
+ "description": "Store a manually supplied token in an active vault. Omit allowed_hosts for name-based resolution only; host-based redemption never matches an empty host list. Unlike Anthropic credentials, this native operation takes name and value directly, with optional allowed_hosts and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.",
17574
20646
  "http": "POST",
17575
20647
  "path": "/vault/v1/vaults/{vault_id}/secrets",
17576
20648
  "streaming": "no",
@@ -17602,8 +20674,8 @@ export const operations = [
17602
20674
  "name": "allowed_hosts",
17603
20675
  "type": "array",
17604
20676
  "itemType": "string",
17605
- "required": true,
17606
- "description": "Allowed destinations for the secret. Unlike Anthropic's unrestricted networking option, an explicit allowlist is required. Supply 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed."
20677
+ "required": false,
20678
+ "description": "Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed."
17607
20679
  },
17608
20680
  {
17609
20681
  "name": "description",
@@ -17627,7 +20699,7 @@ export const operations = [
17627
20699
  "stripe"
17628
20700
  ],
17629
20701
  "required": false,
17630
- "description": "Static template ID from List templates. Records metadata.template; name, value and allowed_hosts must still be supplied explicitly."
20702
+ "description": "Static template ID from List templates. Records metadata.template; name and value must still be supplied explicitly; allowed_hosts is optional."
17631
20703
  },
17632
20704
  {
17633
20705
  "name": "kind",
@@ -17723,7 +20795,7 @@ export const operations = [
17723
20795
  "type": "array",
17724
20796
  "itemType": "string",
17725
20797
  "required": false,
17726
- "description": "Allowed destinations for the secret. Unlike Anthropic's unrestricted networking option, an explicit allowlist is required. Supply 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed."
20798
+ "description": "Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed."
17727
20799
  },
17728
20800
  {
17729
20801
  "name": "description",
@@ -17827,7 +20899,7 @@ export const operations = [
17827
20899
  "resource": "vault.vaults.secrets",
17828
20900
  "method": "import",
17829
20901
  "summary": "Import secrets",
17830
- "description": "Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets.",
20902
+ "description": "Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets; if neither shared nor per-line hosts are supplied, new secrets use an empty host list for name-based resolution only.",
17831
20903
  "http": "POST",
17832
20904
  "path": "/vault/v1/vaults/{vault_id}/secrets:import",
17833
20905
  "streaming": "no",