@deepraxis/sdk 0.1.1-dev.11a1f3c → 0.1.1-dev.124112f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/METHODS.md +108 -1
- package/dist/automation.d.ts +54 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +205 -7
- package/dist/generated/sdk.gen.js +640 -6
- package/dist/generated/types.gen.d.ts +3222 -18
- package/dist/operations.generated.d.ts +957 -92
- package/dist/operations.generated.js +1122 -60
- package/dist/resources.generated.d.ts +139 -0
- package/dist/resources.generated.js +65 -0
- package/package.json +1 -1
|
@@ -63,7 +63,7 @@ export const operations = [
|
|
|
63
63
|
"resource": "agent.agents",
|
|
64
64
|
"method": "create",
|
|
65
65
|
"summary": "Create agent",
|
|
66
|
-
"description": "Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: \"custom\", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send \"latest\", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: \"agent_toolset_20260401\"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: \"agent_toolset_20260401\", default_config: {enabled: false}, configs: [{name: \"codemode\", enabled: true}, {name: \"bash\", enabled: true, permission_policy: {type: \"always_ask\"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 \"model <id> is not in the model catalog\" and an embedding, image or speech model returns 400 \"model <id> cannot run an agent\". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {\"name\":\"helper\",\"model\":{\"id\":\"deepseek-flash\"},\"tools\":[{\"type\":\"agent_toolset_20260401\"}]}. For kind assume, provide name
|
|
66
|
+
"description": "Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: \"custom\", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send \"latest\", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: \"agent_toolset_20260401\"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: \"agent_toolset_20260401\", default_config: {enabled: false}, configs: [{name: \"codemode\", enabled: true}, {name: \"bash\", enabled: true, permission_policy: {type: \"always_ask\"}}]}]; every tool not listed, including todo_write, enter_plan_mode, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 \"model <id> is not in the model catalog\" and an embedding, image or speech model returns 400 \"model <id> cannot run an agent\". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {\"name\":\"helper\",\"model\":{\"id\":\"deepseek-flash\"},\"tools\":[{\"type\":\"agent_toolset_20260401\"}]}. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; omit computer_id to register a new computer named after the agent without starting an instance, or provide an existing computer_id; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.",
|
|
67
67
|
"http": "POST",
|
|
68
68
|
"path": "/agent/v1/agents",
|
|
69
69
|
"streaming": "no",
|
|
@@ -5509,6 +5509,96 @@ export const operations = [
|
|
|
5509
5509
|
"fields": []
|
|
5510
5510
|
}
|
|
5511
5511
|
},
|
|
5512
|
+
{
|
|
5513
|
+
"resource": "automation.scripts.vaults",
|
|
5514
|
+
"method": "list",
|
|
5515
|
+
"summary": "List script vault bindings",
|
|
5516
|
+
"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.",
|
|
5517
|
+
"http": "GET",
|
|
5518
|
+
"path": "/automation/v1/scripts/{ns}/{name}/vaults",
|
|
5519
|
+
"streaming": "no",
|
|
5520
|
+
"pagination": false,
|
|
5521
|
+
"pathParams": [
|
|
5522
|
+
{
|
|
5523
|
+
"name": "ns",
|
|
5524
|
+
"sdkName": "ns",
|
|
5525
|
+
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5526
|
+
},
|
|
5527
|
+
{
|
|
5528
|
+
"name": "name",
|
|
5529
|
+
"sdkName": "name",
|
|
5530
|
+
"description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5531
|
+
}
|
|
5532
|
+
],
|
|
5533
|
+
"query": []
|
|
5534
|
+
},
|
|
5535
|
+
{
|
|
5536
|
+
"resource": "automation.scripts.vaults",
|
|
5537
|
+
"method": "delete",
|
|
5538
|
+
"summary": "Delete a script vault binding",
|
|
5539
|
+
"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.",
|
|
5540
|
+
"http": "DELETE",
|
|
5541
|
+
"path": "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
5542
|
+
"streaming": "no",
|
|
5543
|
+
"pagination": false,
|
|
5544
|
+
"pathParams": [
|
|
5545
|
+
{
|
|
5546
|
+
"name": "ns",
|
|
5547
|
+
"sdkName": "ns",
|
|
5548
|
+
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5549
|
+
},
|
|
5550
|
+
{
|
|
5551
|
+
"name": "name",
|
|
5552
|
+
"sdkName": "name",
|
|
5553
|
+
"description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5554
|
+
},
|
|
5555
|
+
{
|
|
5556
|
+
"name": "alias",
|
|
5557
|
+
"sdkName": "alias",
|
|
5558
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
5559
|
+
}
|
|
5560
|
+
],
|
|
5561
|
+
"query": []
|
|
5562
|
+
},
|
|
5563
|
+
{
|
|
5564
|
+
"resource": "automation.scripts.vaults",
|
|
5565
|
+
"method": "set",
|
|
5566
|
+
"summary": "Set a script vault binding",
|
|
5567
|
+
"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\"}.",
|
|
5568
|
+
"http": "PUT",
|
|
5569
|
+
"path": "/automation/v1/scripts/{ns}/{name}/vaults/{alias}",
|
|
5570
|
+
"streaming": "no",
|
|
5571
|
+
"pagination": false,
|
|
5572
|
+
"pathParams": [
|
|
5573
|
+
{
|
|
5574
|
+
"name": "ns",
|
|
5575
|
+
"sdkName": "ns",
|
|
5576
|
+
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"name": "name",
|
|
5580
|
+
"sdkName": "name",
|
|
5581
|
+
"description": "Resource name from automation.scripts.list or create; combine with ns to identify the saved script."
|
|
5582
|
+
},
|
|
5583
|
+
{
|
|
5584
|
+
"name": "alias",
|
|
5585
|
+
"sdkName": "alias",
|
|
5586
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
5587
|
+
}
|
|
5588
|
+
],
|
|
5589
|
+
"query": [],
|
|
5590
|
+
"body": {
|
|
5591
|
+
"required": true,
|
|
5592
|
+
"fields": [
|
|
5593
|
+
{
|
|
5594
|
+
"name": "vault",
|
|
5595
|
+
"type": "string",
|
|
5596
|
+
"required": true,
|
|
5597
|
+
"description": "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
|
|
5598
|
+
}
|
|
5599
|
+
]
|
|
5600
|
+
}
|
|
5601
|
+
},
|
|
5512
5602
|
{
|
|
5513
5603
|
"resource": "automation.scripts.versions",
|
|
5514
5604
|
"method": "list",
|
|
@@ -6565,6 +6655,96 @@ export const operations = [
|
|
|
6565
6655
|
"fields": []
|
|
6566
6656
|
}
|
|
6567
6657
|
},
|
|
6658
|
+
{
|
|
6659
|
+
"resource": "automation.workflows.vaults",
|
|
6660
|
+
"method": "list",
|
|
6661
|
+
"summary": "List workflow vault bindings",
|
|
6662
|
+
"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.",
|
|
6663
|
+
"http": "GET",
|
|
6664
|
+
"path": "/automation/v1/workflows/{ns}/{name}/vaults",
|
|
6665
|
+
"streaming": "no",
|
|
6666
|
+
"pagination": false,
|
|
6667
|
+
"pathParams": [
|
|
6668
|
+
{
|
|
6669
|
+
"name": "ns",
|
|
6670
|
+
"sdkName": "ns",
|
|
6671
|
+
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6672
|
+
},
|
|
6673
|
+
{
|
|
6674
|
+
"name": "name",
|
|
6675
|
+
"sdkName": "name",
|
|
6676
|
+
"description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6677
|
+
}
|
|
6678
|
+
],
|
|
6679
|
+
"query": []
|
|
6680
|
+
},
|
|
6681
|
+
{
|
|
6682
|
+
"resource": "automation.workflows.vaults",
|
|
6683
|
+
"method": "delete",
|
|
6684
|
+
"summary": "Delete a workflow vault binding",
|
|
6685
|
+
"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.",
|
|
6686
|
+
"http": "DELETE",
|
|
6687
|
+
"path": "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
6688
|
+
"streaming": "no",
|
|
6689
|
+
"pagination": false,
|
|
6690
|
+
"pathParams": [
|
|
6691
|
+
{
|
|
6692
|
+
"name": "ns",
|
|
6693
|
+
"sdkName": "ns",
|
|
6694
|
+
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6695
|
+
},
|
|
6696
|
+
{
|
|
6697
|
+
"name": "name",
|
|
6698
|
+
"sdkName": "name",
|
|
6699
|
+
"description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6700
|
+
},
|
|
6701
|
+
{
|
|
6702
|
+
"name": "alias",
|
|
6703
|
+
"sdkName": "alias",
|
|
6704
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
6705
|
+
}
|
|
6706
|
+
],
|
|
6707
|
+
"query": []
|
|
6708
|
+
},
|
|
6709
|
+
{
|
|
6710
|
+
"resource": "automation.workflows.vaults",
|
|
6711
|
+
"method": "set",
|
|
6712
|
+
"summary": "Set a workflow vault binding",
|
|
6713
|
+
"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\"}.",
|
|
6714
|
+
"http": "PUT",
|
|
6715
|
+
"path": "/automation/v1/workflows/{ns}/{name}/vaults/{alias}",
|
|
6716
|
+
"streaming": "no",
|
|
6717
|
+
"pagination": false,
|
|
6718
|
+
"pathParams": [
|
|
6719
|
+
{
|
|
6720
|
+
"name": "ns",
|
|
6721
|
+
"sdkName": "ns",
|
|
6722
|
+
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
6723
|
+
},
|
|
6724
|
+
{
|
|
6725
|
+
"name": "name",
|
|
6726
|
+
"sdkName": "name",
|
|
6727
|
+
"description": "Resource name from automation.workflows.list or create; combine with ns to identify the saved workflow."
|
|
6728
|
+
},
|
|
6729
|
+
{
|
|
6730
|
+
"name": "alias",
|
|
6731
|
+
"sdkName": "alias",
|
|
6732
|
+
"description": "Binding alias chosen by the caller: 1–40 lowercase letters, digits or hyphens, beginning with a letter."
|
|
6733
|
+
}
|
|
6734
|
+
],
|
|
6735
|
+
"query": [],
|
|
6736
|
+
"body": {
|
|
6737
|
+
"required": true,
|
|
6738
|
+
"fields": [
|
|
6739
|
+
{
|
|
6740
|
+
"name": "vault",
|
|
6741
|
+
"type": "string",
|
|
6742
|
+
"required": true,
|
|
6743
|
+
"description": "Active vault ID or exact display name from praxis.vault.vaults.list in your organization. Use an ID if display names are duplicated."
|
|
6744
|
+
}
|
|
6745
|
+
]
|
|
6746
|
+
}
|
|
6747
|
+
},
|
|
6568
6748
|
{
|
|
6569
6749
|
"resource": "automation.workflows.versions",
|
|
6570
6750
|
"method": "list",
|
|
@@ -7364,103 +7544,766 @@ export const operations = [
|
|
|
7364
7544
|
"summary": "Retrieve canvas",
|
|
7365
7545
|
"description": "Inspect the current canvas before editing, like Pencil get_app_state. The response adds top-level node summaries in canvas order and reusable component ids to the canvas metadata. Use these ids in nodes.list, images.list or an execute script; use the returned version as expected_version to detect concurrent edits. Read full node content with nodes.list rather than guessing fields from these summaries.",
|
|
7366
7546
|
"http": "GET",
|
|
7367
|
-
"path": "/canvas/v1/canvases/{canvas_id}",
|
|
7547
|
+
"path": "/canvas/v1/canvases/{canvas_id}",
|
|
7548
|
+
"streaming": "no",
|
|
7549
|
+
"pagination": false,
|
|
7550
|
+
"pathParams": [
|
|
7551
|
+
{
|
|
7552
|
+
"name": "canvas_id",
|
|
7553
|
+
"sdkName": "canvas_id",
|
|
7554
|
+
"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."
|
|
7555
|
+
}
|
|
7556
|
+
],
|
|
7557
|
+
"query": []
|
|
7558
|
+
},
|
|
7559
|
+
{
|
|
7560
|
+
"resource": "canvas.canvases.images",
|
|
7561
|
+
"method": "list",
|
|
7562
|
+
"summary": "Render canvas nodes",
|
|
7563
|
+
"description": "Render 1–4 nodes to inspect the visual result of a design edit. Use ids from retrieve, execute.created or execute.screenshots; scale defaults to 1 and accepts 0.25–4, and png is the only supported format. Unlike Figma, images contains inline data:image/png;base64,... URLs, not hosted image URLs; a null entry means no image is available for that id. Use nodes.list for editable node content instead of pixels.",
|
|
7564
|
+
"http": "GET",
|
|
7565
|
+
"path": "/canvas/v1/canvases/{canvas_id}/images",
|
|
7566
|
+
"streaming": "no",
|
|
7567
|
+
"pagination": false,
|
|
7568
|
+
"pathParams": [
|
|
7569
|
+
{
|
|
7570
|
+
"name": "canvas_id",
|
|
7571
|
+
"sdkName": "canvas_id",
|
|
7572
|
+
"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."
|
|
7573
|
+
}
|
|
7574
|
+
],
|
|
7575
|
+
"query": [
|
|
7576
|
+
{
|
|
7577
|
+
"name": "ids",
|
|
7578
|
+
"type": "string",
|
|
7579
|
+
"required": true,
|
|
7580
|
+
"description": "Comma-separated list of 1–4 node ids to render, from retrieve, execute.created or execute.screenshots."
|
|
7581
|
+
},
|
|
7582
|
+
{
|
|
7583
|
+
"name": "scale",
|
|
7584
|
+
"type": "number",
|
|
7585
|
+
"required": false,
|
|
7586
|
+
"description": "Output pixel scale relative to canvas dimensions, from 0.25 to 4 inclusive; defaults to 1 when omitted."
|
|
7587
|
+
},
|
|
7588
|
+
{
|
|
7589
|
+
"name": "format",
|
|
7590
|
+
"type": "string",
|
|
7591
|
+
"enum": [
|
|
7592
|
+
"png"
|
|
7593
|
+
],
|
|
7594
|
+
"required": false,
|
|
7595
|
+
"description": "Image encoding; png produces a PNG data URL and is the only supported value. Omit to use png."
|
|
7596
|
+
}
|
|
7597
|
+
]
|
|
7598
|
+
},
|
|
7599
|
+
{
|
|
7600
|
+
"resource": "canvas.canvases.nodes",
|
|
7601
|
+
"method": "list",
|
|
7602
|
+
"summary": "Read canvas nodes",
|
|
7603
|
+
"description": "Read node documents for inspection before changing individual nodes. Supply 1–100 comma-separated node ids from retrieve or execute, or instance paths such as a/b. depth is an integer at least 0; omit it for complete subtrees. Each requested id maps to a document wrapper or null if absent. Unlike Figma, document contains a Pencil .pen 2.21 node, not a Figma node. For top-level summaries use canvases.retrieve; for pixels use images.list.",
|
|
7604
|
+
"http": "GET",
|
|
7605
|
+
"path": "/canvas/v1/canvases/{canvas_id}/nodes",
|
|
7606
|
+
"streaming": "no",
|
|
7607
|
+
"pagination": false,
|
|
7608
|
+
"pathParams": [
|
|
7609
|
+
{
|
|
7610
|
+
"name": "canvas_id",
|
|
7611
|
+
"sdkName": "canvas_id",
|
|
7612
|
+
"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."
|
|
7613
|
+
}
|
|
7614
|
+
],
|
|
7615
|
+
"query": [
|
|
7616
|
+
{
|
|
7617
|
+
"name": "ids",
|
|
7618
|
+
"type": "string",
|
|
7619
|
+
"required": true,
|
|
7620
|
+
"description": "Comma-separated list of 1–100 node ids from retrieve or execute, or instance paths such as a/b; missing ids map to null."
|
|
7621
|
+
},
|
|
7622
|
+
{
|
|
7623
|
+
"name": "depth",
|
|
7624
|
+
"type": "integer",
|
|
7625
|
+
"required": false,
|
|
7626
|
+
"description": "Maximum child depth below each requested node, as an integer at least 0; 0 returns the node without descendants, and omission returns the complete subtree."
|
|
7627
|
+
}
|
|
7628
|
+
]
|
|
7629
|
+
},
|
|
7630
|
+
{
|
|
7631
|
+
"resource": "canvas.canvases",
|
|
7632
|
+
"method": "execute",
|
|
7633
|
+
"summary": "Execute canvas script",
|
|
7634
|
+
"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",
|
|
7635
|
+
"http": "POST",
|
|
7636
|
+
"path": "/canvas/v1/canvases/{canvas_id}:execute",
|
|
7637
|
+
"streaming": "no",
|
|
7638
|
+
"pagination": false,
|
|
7639
|
+
"pathParams": [
|
|
7640
|
+
{
|
|
7641
|
+
"name": "canvas_id",
|
|
7642
|
+
"sdkName": "canvas_id",
|
|
7643
|
+
"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."
|
|
7644
|
+
}
|
|
7645
|
+
],
|
|
7646
|
+
"query": [],
|
|
7647
|
+
"body": {
|
|
7648
|
+
"required": true,
|
|
7649
|
+
"fields": [
|
|
7650
|
+
{
|
|
7651
|
+
"name": "script",
|
|
7652
|
+
"type": "string",
|
|
7653
|
+
"required": false,
|
|
7654
|
+
"description": "New synchronous Pencil execute source using document as the root; provide this or edit_id, never both. See the operation's first-frame example."
|
|
7655
|
+
},
|
|
7656
|
+
{
|
|
7657
|
+
"name": "edit_id",
|
|
7658
|
+
"type": "string",
|
|
7659
|
+
"required": false,
|
|
7660
|
+
"description": "Saved failed-script identifier from error.details.edit_id; use with edits instead of script within ten minutes of the failure."
|
|
7661
|
+
},
|
|
7662
|
+
{
|
|
7663
|
+
"name": "edits",
|
|
7664
|
+
"type": "array",
|
|
7665
|
+
"itemType": "object",
|
|
7666
|
+
"required": false,
|
|
7667
|
+
"description": "Text replacements applied to the source identified by edit_id before rerunning; use error line, column or rejection to choose the correction."
|
|
7668
|
+
},
|
|
7669
|
+
{
|
|
7670
|
+
"name": "expected_version",
|
|
7671
|
+
"type": "string",
|
|
7672
|
+
"required": false,
|
|
7673
|
+
"description": "Revision from retrieve, nodes.list or the previous execute response; omit for an unguarded write. A mismatch returns 409 REVISION_CONFLICT with details.version."
|
|
7674
|
+
}
|
|
7675
|
+
]
|
|
7676
|
+
}
|
|
7677
|
+
},
|
|
7678
|
+
{
|
|
7679
|
+
"resource": "cut.exports",
|
|
7680
|
+
"method": "retrieve",
|
|
7681
|
+
"summary": "Retrieve video export",
|
|
7682
|
+
"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.",
|
|
7683
|
+
"http": "GET",
|
|
7684
|
+
"path": "/cut/v1/exports/{export_id}",
|
|
7685
|
+
"streaming": "no",
|
|
7686
|
+
"pagination": false,
|
|
7687
|
+
"pathParams": [
|
|
7688
|
+
{
|
|
7689
|
+
"name": "export_id",
|
|
7690
|
+
"sdkName": "export_id",
|
|
7691
|
+
"description": "Export identifier returned by its create or list operation; use the id, not a display name."
|
|
7692
|
+
}
|
|
7693
|
+
],
|
|
7694
|
+
"query": []
|
|
7695
|
+
},
|
|
7696
|
+
{
|
|
7697
|
+
"resource": "cut.exports",
|
|
7698
|
+
"method": "cancel",
|
|
7699
|
+
"summary": "Cancel video export",
|
|
7700
|
+
"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.",
|
|
7701
|
+
"http": "POST",
|
|
7702
|
+
"path": "/cut/v1/exports/{export_id}:cancel",
|
|
7703
|
+
"streaming": "no",
|
|
7704
|
+
"pagination": false,
|
|
7705
|
+
"pathParams": [
|
|
7706
|
+
{
|
|
7707
|
+
"name": "export_id",
|
|
7708
|
+
"sdkName": "export_id",
|
|
7709
|
+
"description": "Export identifier returned by its create or list operation; use the id, not a display name."
|
|
7710
|
+
}
|
|
7711
|
+
],
|
|
7712
|
+
"query": []
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
"resource": "cut.projects",
|
|
7716
|
+
"method": "list",
|
|
7717
|
+
"summary": "List projects",
|
|
7718
|
+
"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.",
|
|
7719
|
+
"http": "GET",
|
|
7720
|
+
"path": "/cut/v1/projects",
|
|
7721
|
+
"streaming": "no",
|
|
7722
|
+
"pagination": false,
|
|
7723
|
+
"pathParams": [],
|
|
7724
|
+
"query": [
|
|
7725
|
+
{
|
|
7726
|
+
"name": "page_size",
|
|
7727
|
+
"type": "integer",
|
|
7728
|
+
"required": false,
|
|
7729
|
+
"description": "Maximum resources in one page, from 1 to 100; defaults to 50."
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
7732
|
+
"name": "page_token",
|
|
7733
|
+
"type": "string",
|
|
7734
|
+
"required": false,
|
|
7735
|
+
"description": "Opaque next_page_token from the preceding page; omit on the first request."
|
|
7736
|
+
},
|
|
7737
|
+
{
|
|
7738
|
+
"name": "filter",
|
|
7739
|
+
"type": "string",
|
|
7740
|
+
"required": false,
|
|
7741
|
+
"description": "Optional resource filter; projects supports state = \"active\" or state = \"deleted\"."
|
|
7742
|
+
},
|
|
7743
|
+
{
|
|
7744
|
+
"name": "order_by",
|
|
7745
|
+
"type": "string",
|
|
7746
|
+
"required": false,
|
|
7747
|
+
"description": "Optional ordering expression; projects supports updateTime desc."
|
|
7748
|
+
}
|
|
7749
|
+
]
|
|
7750
|
+
},
|
|
7751
|
+
{
|
|
7752
|
+
"resource": "cut.projects",
|
|
7753
|
+
"method": "create",
|
|
7754
|
+
"summary": "Create project",
|
|
7755
|
+
"description": "Create a blank editing project in the API key organization before writing a script. First obtain accessible library ids from praxis.media; bindings must include exactly one read_write library with default_upload true. Each call creates a new project and returns HTTP 201; save its id for execute, state and timeline calls. All editing positions use seconds.",
|
|
7756
|
+
"http": "POST",
|
|
7757
|
+
"path": "/cut/v1/projects",
|
|
7758
|
+
"streaming": "no",
|
|
7759
|
+
"pagination": false,
|
|
7760
|
+
"pathParams": [],
|
|
7761
|
+
"query": [],
|
|
7762
|
+
"body": {
|
|
7763
|
+
"required": true,
|
|
7764
|
+
"fields": [
|
|
7765
|
+
{
|
|
7766
|
+
"name": "name",
|
|
7767
|
+
"type": "string",
|
|
7768
|
+
"required": true,
|
|
7769
|
+
"description": "Human-readable project name; required and must contain non-whitespace text."
|
|
7770
|
+
},
|
|
7771
|
+
{
|
|
7772
|
+
"name": "labels",
|
|
7773
|
+
"type": "object",
|
|
7774
|
+
"required": false,
|
|
7775
|
+
"description": "User-defined string labels for organizing projects; label keys retain their original spelling."
|
|
7776
|
+
},
|
|
7777
|
+
{
|
|
7778
|
+
"name": "settings",
|
|
7779
|
+
"type": "object",
|
|
7780
|
+
"required": true,
|
|
7781
|
+
"description": "Dimensions and frame rate for a new editing project."
|
|
7782
|
+
},
|
|
7783
|
+
{
|
|
7784
|
+
"name": "bindings",
|
|
7785
|
+
"type": "array",
|
|
7786
|
+
"itemType": "object",
|
|
7787
|
+
"required": true,
|
|
7788
|
+
"description": "Accessible library bindings; exactly one read_write entry must have default_upload true."
|
|
7789
|
+
}
|
|
7790
|
+
]
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
{
|
|
7794
|
+
"resource": "cut.projects",
|
|
7795
|
+
"method": "delete",
|
|
7796
|
+
"summary": "Delete project",
|
|
7797
|
+
"description": "Soft-delete a project selected from projects.list. The project is retained for seven days until purge_time and can be restored with undelete before that deadline. Deleted projects cannot be edited; list with filter state = \"deleted\" to locate retained projects.",
|
|
7798
|
+
"http": "DELETE",
|
|
7799
|
+
"path": "/cut/v1/projects/{project_id}",
|
|
7800
|
+
"streaming": "no",
|
|
7801
|
+
"pagination": false,
|
|
7802
|
+
"pathParams": [
|
|
7803
|
+
{
|
|
7804
|
+
"name": "project_id",
|
|
7805
|
+
"sdkName": "project_id",
|
|
7806
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7807
|
+
}
|
|
7808
|
+
],
|
|
7809
|
+
"query": []
|
|
7810
|
+
},
|
|
7811
|
+
{
|
|
7812
|
+
"resource": "cut.projects",
|
|
7813
|
+
"method": "retrieve",
|
|
7814
|
+
"summary": "Retrieve project",
|
|
7815
|
+
"description": "Inspect project metadata, settings and library bindings before editing. Copy id from projects.create or list; expand=timeline,exports,versions includes selected related resources. The expanded timeline uses seconds and the returned revision can guard a later execute call with expected_revision.",
|
|
7816
|
+
"http": "GET",
|
|
7817
|
+
"path": "/cut/v1/projects/{project_id}",
|
|
7818
|
+
"streaming": "no",
|
|
7819
|
+
"pagination": false,
|
|
7820
|
+
"pathParams": [
|
|
7821
|
+
{
|
|
7822
|
+
"name": "project_id",
|
|
7823
|
+
"sdkName": "project_id",
|
|
7824
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7825
|
+
}
|
|
7826
|
+
],
|
|
7827
|
+
"query": [
|
|
7828
|
+
{
|
|
7829
|
+
"name": "expand",
|
|
7830
|
+
"type": "string",
|
|
7831
|
+
"required": false,
|
|
7832
|
+
"description": "Comma-separated expansions: timeline includes clips, exports includes render jobs, versions includes saved snapshots."
|
|
7833
|
+
}
|
|
7834
|
+
]
|
|
7835
|
+
},
|
|
7836
|
+
{
|
|
7837
|
+
"resource": "cut.projects",
|
|
7838
|
+
"method": "update",
|
|
7839
|
+
"summary": "Update project metadata",
|
|
7840
|
+
"description": "Change the project display name or replace its labels by naming those fields in update_mask. Use execute for clip or track edits. Each successful update commits a new revision; labels are replaced as a whole when selected, so read and merge existing labels before overwriting them.",
|
|
7841
|
+
"http": "PATCH",
|
|
7842
|
+
"path": "/cut/v1/projects/{project_id}",
|
|
7843
|
+
"streaming": "no",
|
|
7844
|
+
"pagination": false,
|
|
7845
|
+
"pathParams": [
|
|
7846
|
+
{
|
|
7847
|
+
"name": "project_id",
|
|
7848
|
+
"sdkName": "project_id",
|
|
7849
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7850
|
+
}
|
|
7851
|
+
],
|
|
7852
|
+
"query": [],
|
|
7853
|
+
"body": {
|
|
7854
|
+
"required": true,
|
|
7855
|
+
"fields": [
|
|
7856
|
+
{
|
|
7857
|
+
"name": "name",
|
|
7858
|
+
"type": "string",
|
|
7859
|
+
"required": false,
|
|
7860
|
+
"description": "Replacement display name when update_mask includes name."
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
"name": "labels",
|
|
7864
|
+
"type": "object",
|
|
7865
|
+
"required": false,
|
|
7866
|
+
"description": "User-defined string labels for organizing projects; label keys retain their original spelling."
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
"name": "update_mask",
|
|
7870
|
+
"type": "array",
|
|
7871
|
+
"itemType": "string",
|
|
7872
|
+
"enum": [
|
|
7873
|
+
"name",
|
|
7874
|
+
"labels"
|
|
7875
|
+
],
|
|
7876
|
+
"required": true,
|
|
7877
|
+
"description": "Metadata fields to replace; name changes the display name and labels replaces all labels."
|
|
7878
|
+
}
|
|
7879
|
+
]
|
|
7880
|
+
}
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"resource": "cut.projects.analysis",
|
|
7884
|
+
"method": "create",
|
|
7885
|
+
"summary": "Analyze project media",
|
|
7886
|
+
"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.",
|
|
7887
|
+
"http": "POST",
|
|
7888
|
+
"path": "/cut/v1/projects/{project_id}/analysis",
|
|
7889
|
+
"streaming": "no",
|
|
7890
|
+
"pagination": false,
|
|
7891
|
+
"pathParams": [
|
|
7892
|
+
{
|
|
7893
|
+
"name": "project_id",
|
|
7894
|
+
"sdkName": "project_id",
|
|
7895
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7896
|
+
}
|
|
7897
|
+
],
|
|
7898
|
+
"query": [],
|
|
7899
|
+
"body": {
|
|
7900
|
+
"required": true,
|
|
7901
|
+
"fields": [
|
|
7902
|
+
{
|
|
7903
|
+
"name": "media",
|
|
7904
|
+
"type": "array",
|
|
7905
|
+
"itemType": "object",
|
|
7906
|
+
"required": false,
|
|
7907
|
+
"description": "Bound-library assets to analyze; omission selects project media."
|
|
7908
|
+
},
|
|
7909
|
+
{
|
|
7910
|
+
"name": "kinds",
|
|
7911
|
+
"type": "array",
|
|
7912
|
+
"itemType": "string",
|
|
7913
|
+
"enum": [
|
|
7914
|
+
"silence",
|
|
7915
|
+
"filler",
|
|
7916
|
+
"scenes"
|
|
7917
|
+
],
|
|
7918
|
+
"required": true,
|
|
7919
|
+
"description": "Analysis types to request for the selected source assets."
|
|
7920
|
+
}
|
|
7921
|
+
]
|
|
7922
|
+
}
|
|
7923
|
+
},
|
|
7924
|
+
{
|
|
7925
|
+
"resource": "cut.projects.bindings",
|
|
7926
|
+
"method": "list",
|
|
7927
|
+
"summary": "List library bindings",
|
|
7928
|
+
"description": "Discover the named media libraries available to this project before selecting source assets or an import/export destination. read bindings supply source assets; read_write bindings also accept uploads. Exactly one writable binding supplies the default upload destination.",
|
|
7929
|
+
"http": "GET",
|
|
7930
|
+
"path": "/cut/v1/projects/{project_id}/bindings",
|
|
7931
|
+
"streaming": "no",
|
|
7932
|
+
"pagination": false,
|
|
7933
|
+
"pathParams": [
|
|
7934
|
+
{
|
|
7935
|
+
"name": "project_id",
|
|
7936
|
+
"sdkName": "project_id",
|
|
7937
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7938
|
+
}
|
|
7939
|
+
],
|
|
7940
|
+
"query": []
|
|
7941
|
+
},
|
|
7942
|
+
{
|
|
7943
|
+
"resource": "cut.projects.bindings",
|
|
7944
|
+
"method": "create",
|
|
7945
|
+
"summary": "Bind media library",
|
|
7946
|
+
"description": "Attach an accessible media library to an existing project under a unique name. Obtain library_id from praxis.media and choose read for source-only access or read_write for imports and exports. The project must retain exactly one read_write binding with default_upload true after the change.",
|
|
7947
|
+
"http": "POST",
|
|
7948
|
+
"path": "/cut/v1/projects/{project_id}/bindings",
|
|
7949
|
+
"streaming": "no",
|
|
7950
|
+
"pagination": false,
|
|
7951
|
+
"pathParams": [
|
|
7952
|
+
{
|
|
7953
|
+
"name": "project_id",
|
|
7954
|
+
"sdkName": "project_id",
|
|
7955
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7956
|
+
}
|
|
7957
|
+
],
|
|
7958
|
+
"query": [],
|
|
7959
|
+
"body": {
|
|
7960
|
+
"required": true,
|
|
7961
|
+
"fields": [
|
|
7962
|
+
{
|
|
7963
|
+
"name": "binding",
|
|
7964
|
+
"type": "object",
|
|
7965
|
+
"required": true,
|
|
7966
|
+
"description": "A named project link to a media library. Exactly one read_write binding must be default_upload."
|
|
7967
|
+
}
|
|
7968
|
+
]
|
|
7969
|
+
}
|
|
7970
|
+
},
|
|
7971
|
+
{
|
|
7972
|
+
"resource": "cut.projects.bindings",
|
|
7973
|
+
"method": "delete",
|
|
7974
|
+
"summary": "Remove library binding",
|
|
7975
|
+
"description": "Detach a library alias obtained from bindings.list after removing all timeline clips that reference its library. BINDING_IN_USE returns 409 while references remain; inspect timeline and edit those clips first. Removal must preserve the one writable default upload binding.",
|
|
7976
|
+
"http": "DELETE",
|
|
7977
|
+
"path": "/cut/v1/projects/{project_id}/bindings/{name}",
|
|
7978
|
+
"streaming": "no",
|
|
7979
|
+
"pagination": false,
|
|
7980
|
+
"pathParams": [
|
|
7981
|
+
{
|
|
7982
|
+
"name": "project_id",
|
|
7983
|
+
"sdkName": "project_id",
|
|
7984
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7985
|
+
},
|
|
7986
|
+
{
|
|
7987
|
+
"name": "name",
|
|
7988
|
+
"sdkName": "name",
|
|
7989
|
+
"description": "Project-local binding alias from bindings.list; detach only after removing all clips that reference its library."
|
|
7990
|
+
}
|
|
7991
|
+
],
|
|
7992
|
+
"query": []
|
|
7993
|
+
},
|
|
7994
|
+
{
|
|
7995
|
+
"resource": "cut.projects.exports",
|
|
7996
|
+
"method": "list",
|
|
7997
|
+
"summary": "List project exports",
|
|
7998
|
+
"description": "Find export jobs associated with this project before polling or canceling a render. Copy an export id into praxis.cut.exports.retrieve or cancel. Continue with next_page_token as page_token when present; queued or in-progress jobs have not produced a final media asset.",
|
|
7999
|
+
"http": "GET",
|
|
8000
|
+
"path": "/cut/v1/projects/{project_id}/exports",
|
|
8001
|
+
"streaming": "no",
|
|
8002
|
+
"pagination": false,
|
|
8003
|
+
"pathParams": [
|
|
8004
|
+
{
|
|
8005
|
+
"name": "project_id",
|
|
8006
|
+
"sdkName": "project_id",
|
|
8007
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
8008
|
+
}
|
|
8009
|
+
],
|
|
8010
|
+
"query": [
|
|
8011
|
+
{
|
|
8012
|
+
"name": "page_size",
|
|
8013
|
+
"type": "integer",
|
|
8014
|
+
"required": false,
|
|
8015
|
+
"description": "Maximum resources in one page, from 1 to 100; defaults to 50."
|
|
8016
|
+
},
|
|
8017
|
+
{
|
|
8018
|
+
"name": "page_token",
|
|
8019
|
+
"type": "string",
|
|
8020
|
+
"required": false,
|
|
8021
|
+
"description": "Opaque next_page_token from the preceding page; omit on the first request."
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
"name": "filter",
|
|
8025
|
+
"type": "string",
|
|
8026
|
+
"required": false,
|
|
8027
|
+
"description": "Optional resource filter; projects supports state = \"active\" or state = \"deleted\"."
|
|
8028
|
+
},
|
|
8029
|
+
{
|
|
8030
|
+
"name": "order_by",
|
|
8031
|
+
"type": "string",
|
|
8032
|
+
"required": false,
|
|
8033
|
+
"description": "Optional ordering expression; projects supports updateTime desc."
|
|
8034
|
+
}
|
|
8035
|
+
]
|
|
8036
|
+
},
|
|
8037
|
+
{
|
|
8038
|
+
"resource": "cut.projects.exports",
|
|
8039
|
+
"method": "create",
|
|
8040
|
+
"summary": "Create video export",
|
|
8041
|
+
"description": "Start an asynchronous video export from the project into a writable bound media library. Choose binding from bindings.list or omit it for default_upload, and optionally select revision and output settings. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. On done, asset identifies the video written back to praxis.media. Each call starts a job, so retrieve a known job before retrying a submission.",
|
|
8042
|
+
"http": "POST",
|
|
8043
|
+
"path": "/cut/v1/projects/{project_id}/exports",
|
|
8044
|
+
"streaming": "no",
|
|
8045
|
+
"pagination": false,
|
|
8046
|
+
"pathParams": [
|
|
8047
|
+
{
|
|
8048
|
+
"name": "project_id",
|
|
8049
|
+
"sdkName": "project_id",
|
|
8050
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
8051
|
+
}
|
|
8052
|
+
],
|
|
8053
|
+
"query": [],
|
|
8054
|
+
"body": {
|
|
8055
|
+
"required": true,
|
|
8056
|
+
"fields": [
|
|
8057
|
+
{
|
|
8058
|
+
"name": "output",
|
|
8059
|
+
"type": "object",
|
|
8060
|
+
"required": false,
|
|
8061
|
+
"description": "Rendering options for an exported video."
|
|
8062
|
+
},
|
|
8063
|
+
{
|
|
8064
|
+
"name": "binding",
|
|
8065
|
+
"type": "string",
|
|
8066
|
+
"required": false,
|
|
8067
|
+
"description": "Writable binding name used as the export destination; omission uses default_upload."
|
|
8068
|
+
},
|
|
8069
|
+
{
|
|
8070
|
+
"name": "revision",
|
|
8071
|
+
"type": "integer",
|
|
8072
|
+
"required": false,
|
|
8073
|
+
"description": "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
|
|
8074
|
+
}
|
|
8075
|
+
]
|
|
8076
|
+
}
|
|
8077
|
+
},
|
|
8078
|
+
{
|
|
8079
|
+
"resource": "cut.projects.frames",
|
|
8080
|
+
"method": "list",
|
|
8081
|
+
"summary": "Render preview frames",
|
|
8082
|
+
"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.",
|
|
8083
|
+
"http": "GET",
|
|
8084
|
+
"path": "/cut/v1/projects/{project_id}/frames",
|
|
8085
|
+
"streaming": "no",
|
|
8086
|
+
"pagination": false,
|
|
8087
|
+
"pathParams": [
|
|
8088
|
+
{
|
|
8089
|
+
"name": "project_id",
|
|
8090
|
+
"sdkName": "project_id",
|
|
8091
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
8092
|
+
}
|
|
8093
|
+
],
|
|
8094
|
+
"query": [
|
|
8095
|
+
{
|
|
8096
|
+
"name": "at",
|
|
8097
|
+
"type": "string",
|
|
8098
|
+
"required": true,
|
|
8099
|
+
"description": "Required comma-separated non-negative project times in seconds, for example 12,15.5."
|
|
8100
|
+
},
|
|
8101
|
+
{
|
|
8102
|
+
"name": "scale",
|
|
8103
|
+
"type": "number",
|
|
8104
|
+
"required": false,
|
|
8105
|
+
"description": "Positive image size multiplier; 0.5 renders at half the project dimensions."
|
|
8106
|
+
},
|
|
8107
|
+
{
|
|
8108
|
+
"name": "revision",
|
|
8109
|
+
"type": "integer",
|
|
8110
|
+
"required": false,
|
|
8111
|
+
"description": "Optional committed project revision from state or execute; omission selects the current revision."
|
|
8112
|
+
}
|
|
8113
|
+
]
|
|
8114
|
+
},
|
|
8115
|
+
{
|
|
8116
|
+
"resource": "cut.projects.media",
|
|
8117
|
+
"method": "import",
|
|
8118
|
+
"summary": "Import project media",
|
|
8119
|
+
"description": "Import a URL, data URI or existing file into a writable project media library. Select binding from bindings.list or omit it to use default_upload. Save library_id and asset_id from the result and use them as libraryId and assetId inside execute script media references; overwrites follow the source asset latest version.",
|
|
8120
|
+
"http": "POST",
|
|
8121
|
+
"path": "/cut/v1/projects/{project_id}/media:import",
|
|
8122
|
+
"streaming": "no",
|
|
8123
|
+
"pagination": false,
|
|
8124
|
+
"pathParams": [
|
|
8125
|
+
{
|
|
8126
|
+
"name": "project_id",
|
|
8127
|
+
"sdkName": "project_id",
|
|
8128
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
8129
|
+
}
|
|
8130
|
+
],
|
|
8131
|
+
"query": [],
|
|
8132
|
+
"body": {
|
|
8133
|
+
"required": true,
|
|
8134
|
+
"fields": [
|
|
8135
|
+
{
|
|
8136
|
+
"name": "binding",
|
|
8137
|
+
"type": "string",
|
|
8138
|
+
"required": false,
|
|
8139
|
+
"description": "Writable binding name from project bindings; omission uses default_upload."
|
|
8140
|
+
},
|
|
8141
|
+
{
|
|
8142
|
+
"name": "source",
|
|
8143
|
+
"type": "object",
|
|
8144
|
+
"required": true,
|
|
8145
|
+
"description": "Exactly one input source for the imported asset."
|
|
8146
|
+
},
|
|
8147
|
+
{
|
|
8148
|
+
"name": "display_name",
|
|
8149
|
+
"type": "string",
|
|
8150
|
+
"required": false,
|
|
8151
|
+
"description": "Optional human-readable display name for the new media asset."
|
|
8152
|
+
}
|
|
8153
|
+
]
|
|
8154
|
+
}
|
|
8155
|
+
},
|
|
8156
|
+
{
|
|
8157
|
+
"resource": "cut.projects",
|
|
8158
|
+
"method": "retrieveState",
|
|
8159
|
+
"summary": "Read editing state",
|
|
8160
|
+
"description": "Read lightweight project context before composing an execute script. Returns current revision, rendering settings, track counts, library bindings and offline media count without individual clips. For complete clip documents or a selected time range, read timeline instead.",
|
|
8161
|
+
"http": "GET",
|
|
8162
|
+
"path": "/cut/v1/projects/{project_id}/state",
|
|
7368
8163
|
"streaming": "no",
|
|
7369
8164
|
"pagination": false,
|
|
7370
8165
|
"pathParams": [
|
|
7371
8166
|
{
|
|
7372
|
-
"name": "
|
|
7373
|
-
"sdkName": "
|
|
7374
|
-
"description": "
|
|
8167
|
+
"name": "project_id",
|
|
8168
|
+
"sdkName": "project_id",
|
|
8169
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7375
8170
|
}
|
|
7376
8171
|
],
|
|
7377
8172
|
"query": []
|
|
7378
8173
|
},
|
|
7379
8174
|
{
|
|
7380
|
-
"resource": "
|
|
7381
|
-
"method": "
|
|
7382
|
-
"summary": "
|
|
7383
|
-
"description": "
|
|
8175
|
+
"resource": "cut.projects",
|
|
8176
|
+
"method": "retrieveTimeline",
|
|
8177
|
+
"summary": "Read project timeline",
|
|
8178
|
+
"description": "Inspect clips and markers in a selected project range before editing. view=full returns structured tracks with all timeline positions in seconds; view=compact returns compact text for script context. from and to are seconds and tracks limits the selection to comma-separated track ids from state. Concurrent changes while preparing a full timeline return 409; retrieve the latest state and try the read again.",
|
|
7384
8179
|
"http": "GET",
|
|
7385
|
-
"path": "/
|
|
8180
|
+
"path": "/cut/v1/projects/{project_id}/timeline",
|
|
7386
8181
|
"streaming": "no",
|
|
7387
8182
|
"pagination": false,
|
|
7388
8183
|
"pathParams": [
|
|
7389
8184
|
{
|
|
7390
|
-
"name": "
|
|
7391
|
-
"sdkName": "
|
|
7392
|
-
"description": "
|
|
8185
|
+
"name": "project_id",
|
|
8186
|
+
"sdkName": "project_id",
|
|
8187
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7393
8188
|
}
|
|
7394
8189
|
],
|
|
7395
8190
|
"query": [
|
|
7396
8191
|
{
|
|
7397
|
-
"name": "
|
|
8192
|
+
"name": "view",
|
|
7398
8193
|
"type": "string",
|
|
7399
|
-
"
|
|
7400
|
-
|
|
8194
|
+
"enum": [
|
|
8195
|
+
"full",
|
|
8196
|
+
"compact"
|
|
8197
|
+
],
|
|
8198
|
+
"required": false,
|
|
8199
|
+
"description": "full returns structured clips; compact returns compact textual editing context."
|
|
7401
8200
|
},
|
|
7402
8201
|
{
|
|
7403
|
-
"name": "
|
|
8202
|
+
"name": "from",
|
|
7404
8203
|
"type": "number",
|
|
7405
8204
|
"required": false,
|
|
7406
|
-
"description": "
|
|
8205
|
+
"description": "Optional start of the selected project range in seconds; omit for the beginning."
|
|
7407
8206
|
},
|
|
7408
8207
|
{
|
|
7409
|
-
"name": "
|
|
8208
|
+
"name": "to",
|
|
8209
|
+
"type": "number",
|
|
8210
|
+
"required": false,
|
|
8211
|
+
"description": "Optional end of the selected project range in seconds; omit for the end."
|
|
8212
|
+
},
|
|
8213
|
+
{
|
|
8214
|
+
"name": "tracks",
|
|
7410
8215
|
"type": "string",
|
|
7411
|
-
"enum": [
|
|
7412
|
-
"png"
|
|
7413
|
-
],
|
|
7414
8216
|
"required": false,
|
|
7415
|
-
"description": "
|
|
8217
|
+
"description": "Comma-separated track ids from state to include; omit to include every track."
|
|
7416
8218
|
}
|
|
7417
8219
|
]
|
|
7418
8220
|
},
|
|
7419
8221
|
{
|
|
7420
|
-
"resource": "
|
|
8222
|
+
"resource": "cut.projects.versions",
|
|
7421
8223
|
"method": "list",
|
|
7422
|
-
"summary": "
|
|
7423
|
-
"description": "
|
|
8224
|
+
"summary": "List saved versions",
|
|
8225
|
+
"description": "Find saved timeline snapshots for this project and obtain version_id values for restore. A saved version records its original revision; restoring it creates a new current revision rather than rewinding the revision counter. Continue with next_page_token as page_token until absent.",
|
|
7424
8226
|
"http": "GET",
|
|
7425
|
-
"path": "/
|
|
8227
|
+
"path": "/cut/v1/projects/{project_id}/versions",
|
|
7426
8228
|
"streaming": "no",
|
|
7427
8229
|
"pagination": false,
|
|
7428
8230
|
"pathParams": [
|
|
7429
8231
|
{
|
|
7430
|
-
"name": "
|
|
7431
|
-
"sdkName": "
|
|
7432
|
-
"description": "
|
|
8232
|
+
"name": "project_id",
|
|
8233
|
+
"sdkName": "project_id",
|
|
8234
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7433
8235
|
}
|
|
7434
8236
|
],
|
|
7435
8237
|
"query": [
|
|
7436
8238
|
{
|
|
7437
|
-
"name": "
|
|
8239
|
+
"name": "page_size",
|
|
8240
|
+
"type": "integer",
|
|
8241
|
+
"required": false,
|
|
8242
|
+
"description": "Maximum resources in one page, from 1 to 100; defaults to 50."
|
|
8243
|
+
},
|
|
8244
|
+
{
|
|
8245
|
+
"name": "page_token",
|
|
7438
8246
|
"type": "string",
|
|
7439
|
-
"required":
|
|
7440
|
-
"description": "
|
|
8247
|
+
"required": false,
|
|
8248
|
+
"description": "Opaque next_page_token from the preceding page; omit on the first request."
|
|
7441
8249
|
},
|
|
7442
8250
|
{
|
|
7443
|
-
"name": "
|
|
7444
|
-
"type": "
|
|
8251
|
+
"name": "filter",
|
|
8252
|
+
"type": "string",
|
|
7445
8253
|
"required": false,
|
|
7446
|
-
"description": "
|
|
8254
|
+
"description": "Optional resource filter; projects supports state = \"active\" or state = \"deleted\"."
|
|
8255
|
+
},
|
|
8256
|
+
{
|
|
8257
|
+
"name": "order_by",
|
|
8258
|
+
"type": "string",
|
|
8259
|
+
"required": false,
|
|
8260
|
+
"description": "Optional ordering expression; projects supports updateTime desc."
|
|
7447
8261
|
}
|
|
7448
8262
|
]
|
|
7449
8263
|
},
|
|
7450
8264
|
{
|
|
7451
|
-
"resource": "
|
|
8265
|
+
"resource": "cut.projects.versions",
|
|
8266
|
+
"method": "create",
|
|
8267
|
+
"summary": "Save project version",
|
|
8268
|
+
"description": "Save the current project timeline as a named recovery point before a substantial edit. Supply an optional label or send an empty object; keep the returned version id for versions.restore. Saving a version does not publish a rendered asset; use projects.exports.create for video output.",
|
|
8269
|
+
"http": "POST",
|
|
8270
|
+
"path": "/cut/v1/projects/{project_id}/versions",
|
|
8271
|
+
"streaming": "no",
|
|
8272
|
+
"pagination": false,
|
|
8273
|
+
"pathParams": [
|
|
8274
|
+
{
|
|
8275
|
+
"name": "project_id",
|
|
8276
|
+
"sdkName": "project_id",
|
|
8277
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
8278
|
+
}
|
|
8279
|
+
],
|
|
8280
|
+
"query": [],
|
|
8281
|
+
"body": {
|
|
8282
|
+
"required": true,
|
|
8283
|
+
"fields": [
|
|
8284
|
+
{
|
|
8285
|
+
"name": "label",
|
|
8286
|
+
"type": "string",
|
|
8287
|
+
"required": false,
|
|
8288
|
+
"description": "Human-readable snapshot label, such as Before captions."
|
|
8289
|
+
}
|
|
8290
|
+
]
|
|
8291
|
+
}
|
|
8292
|
+
},
|
|
8293
|
+
{
|
|
8294
|
+
"resource": "cut.projects",
|
|
7452
8295
|
"method": "execute",
|
|
7453
|
-
"summary": "Execute
|
|
7454
|
-
"description": "
|
|
8296
|
+
"summary": "Execute editing script",
|
|
8297
|
+
"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```",
|
|
7455
8298
|
"http": "POST",
|
|
7456
|
-
"path": "/
|
|
8299
|
+
"path": "/cut/v1/projects/{project_id}:execute",
|
|
7457
8300
|
"streaming": "no",
|
|
7458
8301
|
"pagination": false,
|
|
7459
8302
|
"pathParams": [
|
|
7460
8303
|
{
|
|
7461
|
-
"name": "
|
|
7462
|
-
"sdkName": "
|
|
7463
|
-
"description": "
|
|
8304
|
+
"name": "project_id",
|
|
8305
|
+
"sdkName": "project_id",
|
|
8306
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
7464
8307
|
}
|
|
7465
8308
|
],
|
|
7466
8309
|
"query": [],
|
|
@@ -7471,30 +8314,66 @@ export const operations = [
|
|
|
7471
8314
|
"name": "script",
|
|
7472
8315
|
"type": "string",
|
|
7473
8316
|
"required": false,
|
|
7474
|
-
"description": "
|
|
8317
|
+
"description": "Synchronous editing source using Cut execute functions; submit this or edit_id, never both. Script source is opaque: function names and object fields inside JavaScript use their documented camelCase spelling."
|
|
7475
8318
|
},
|
|
7476
8319
|
{
|
|
7477
8320
|
"name": "edit_id",
|
|
7478
8321
|
"type": "string",
|
|
7479
8322
|
"required": false,
|
|
7480
|
-
"description": "Saved failed
|
|
8323
|
+
"description": "Saved failed script identifier from error.details.edit_id; valid for ten minutes."
|
|
7481
8324
|
},
|
|
7482
8325
|
{
|
|
7483
8326
|
"name": "edits",
|
|
7484
8327
|
"type": "array",
|
|
7485
8328
|
"itemType": "object",
|
|
7486
8329
|
"required": false,
|
|
7487
|
-
"description": "
|
|
8330
|
+
"description": "Literal replacements applied to the saved source before rerunning."
|
|
7488
8331
|
},
|
|
7489
8332
|
{
|
|
7490
|
-
"name": "
|
|
7491
|
-
"type": "
|
|
8333
|
+
"name": "expected_revision",
|
|
8334
|
+
"type": "integer",
|
|
7492
8335
|
"required": false,
|
|
7493
|
-
"description": "
|
|
8336
|
+
"description": "Committed project revision from retrieve, state, timeline or execute; increases after each successful write."
|
|
7494
8337
|
}
|
|
7495
8338
|
]
|
|
7496
8339
|
}
|
|
7497
8340
|
},
|
|
8341
|
+
{
|
|
8342
|
+
"resource": "cut.projects",
|
|
8343
|
+
"method": "undelete",
|
|
8344
|
+
"summary": "Restore deleted project",
|
|
8345
|
+
"description": "Return a retained deleted project to active state before its purge_time. Obtain project_id from projects.list filtered to deleted projects. This restores the project, not an older timeline revision; use versions.restore when reverting editing content.",
|
|
8346
|
+
"http": "POST",
|
|
8347
|
+
"path": "/cut/v1/projects/{project_id}:undelete",
|
|
8348
|
+
"streaming": "no",
|
|
8349
|
+
"pagination": false,
|
|
8350
|
+
"pathParams": [
|
|
8351
|
+
{
|
|
8352
|
+
"name": "project_id",
|
|
8353
|
+
"sdkName": "project_id",
|
|
8354
|
+
"description": "Project identifier returned by its create or list operation; use the id, not a display name."
|
|
8355
|
+
}
|
|
8356
|
+
],
|
|
8357
|
+
"query": []
|
|
8358
|
+
},
|
|
8359
|
+
{
|
|
8360
|
+
"resource": "cut.versions",
|
|
8361
|
+
"method": "restore",
|
|
8362
|
+
"summary": "Restore saved version",
|
|
8363
|
+
"description": "Replace current editing content with a saved project snapshot selected from projects.versions.list. The restore commits a new transaction and revision while preserving the saved version for future use. Inspect the returned summary and timeline before further editing; a response revision conflict can follow a committed restore, so retrieve current state before retrying.",
|
|
8364
|
+
"http": "POST",
|
|
8365
|
+
"path": "/cut/v1/versions/{version_id}:restore",
|
|
8366
|
+
"streaming": "no",
|
|
8367
|
+
"pagination": false,
|
|
8368
|
+
"pathParams": [
|
|
8369
|
+
{
|
|
8370
|
+
"name": "version_id",
|
|
8371
|
+
"sdkName": "version_id",
|
|
8372
|
+
"description": "Version identifier returned by its create or list operation; use the id, not a display name."
|
|
8373
|
+
}
|
|
8374
|
+
],
|
|
8375
|
+
"query": []
|
|
8376
|
+
},
|
|
7498
8377
|
{
|
|
7499
8378
|
"resource": "database.databases",
|
|
7500
8379
|
"method": "list",
|
|
@@ -8594,6 +9473,35 @@ export const operations = [
|
|
|
8594
9473
|
],
|
|
8595
9474
|
"query": []
|
|
8596
9475
|
},
|
|
9476
|
+
{
|
|
9477
|
+
"resource": "file.files.contentLinks",
|
|
9478
|
+
"method": "revoke",
|
|
9479
|
+
"summary": "Revoke a file content link",
|
|
9480
|
+
"description": "Stop a previously issued content link from reading a file. 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 30 seconds; 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/>\"}.",
|
|
9481
|
+
"http": "POST",
|
|
9482
|
+
"path": "/file/v1/files/{file_id}/content_links:revoke",
|
|
9483
|
+
"streaming": "no",
|
|
9484
|
+
"pagination": false,
|
|
9485
|
+
"pathParams": [
|
|
9486
|
+
{
|
|
9487
|
+
"name": "file_id",
|
|
9488
|
+
"sdkName": "file_id",
|
|
9489
|
+
"description": "Tenant-owned file identifier returned by file creation or listing; the token must name this same file."
|
|
9490
|
+
}
|
|
9491
|
+
],
|
|
9492
|
+
"query": [],
|
|
9493
|
+
"body": {
|
|
9494
|
+
"required": true,
|
|
9495
|
+
"fields": [
|
|
9496
|
+
{
|
|
9497
|
+
"name": "token",
|
|
9498
|
+
"type": "string",
|
|
9499
|
+
"required": true,
|
|
9500
|
+
"description": "Signed token taken from the /c/ path component of a previously issued file content URL, without the host or /c/ prefix."
|
|
9501
|
+
}
|
|
9502
|
+
]
|
|
9503
|
+
}
|
|
9504
|
+
},
|
|
8597
9505
|
{
|
|
8598
9506
|
"resource": "file.uploads",
|
|
8599
9507
|
"method": "create",
|
|
@@ -8651,6 +9559,63 @@ export const operations = [
|
|
|
8651
9559
|
]
|
|
8652
9560
|
}
|
|
8653
9561
|
},
|
|
9562
|
+
{
|
|
9563
|
+
"resource": "file.uploads",
|
|
9564
|
+
"method": "createSigned",
|
|
9565
|
+
"summary": "Create a one-time upload URL",
|
|
9566
|
+
"description": "Upload a local file of up to 2 GiB from a coding agent without sending bytes through the model. Provide basename, exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes), PUT each chunk to its numbered parts[].url in any order, then POST complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 410 CAPABILITY_USED. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. Expired, revoked, invalid, wrong-action or cross-organization URLs return 404. URL lifetime defaults to 900 seconds for single PUT or 3600 for multipart, at most 604800; all multipart URLs share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.",
|
|
9567
|
+
"http": "POST",
|
|
9568
|
+
"path": "/file/v1/uploads/signed",
|
|
9569
|
+
"streaming": "no",
|
|
9570
|
+
"pagination": false,
|
|
9571
|
+
"pathParams": [],
|
|
9572
|
+
"query": [],
|
|
9573
|
+
"body": {
|
|
9574
|
+
"required": true,
|
|
9575
|
+
"fields": [
|
|
9576
|
+
{
|
|
9577
|
+
"name": "filename",
|
|
9578
|
+
"type": "string",
|
|
9579
|
+
"required": true,
|
|
9580
|
+
"description": "Stored basename, 1–255 UTF-8 bytes without control characters or path separators."
|
|
9581
|
+
},
|
|
9582
|
+
{
|
|
9583
|
+
"name": "bytes",
|
|
9584
|
+
"type": "integer",
|
|
9585
|
+
"required": true,
|
|
9586
|
+
"description": "Exact local file size in bytes, from 1 through 2147483648 (2 GiB). Up to 104857600 bytes returns one PUT URL; larger files return numbered part URLs and a completion URL. Every PUT requires its exact signed Content-Length."
|
|
9587
|
+
},
|
|
9588
|
+
{
|
|
9589
|
+
"name": "content_type",
|
|
9590
|
+
"type": "string",
|
|
9591
|
+
"required": true,
|
|
9592
|
+
"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."
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"name": "purpose",
|
|
9596
|
+
"type": "string",
|
|
9597
|
+
"enum": [
|
|
9598
|
+
"user_data",
|
|
9599
|
+
"vision"
|
|
9600
|
+
],
|
|
9601
|
+
"required": false,
|
|
9602
|
+
"description": "user_data stores ordinary files and conversation images; vision accepts PNG, JPEG, GIF or WebP images only. Omitted means user_data."
|
|
9603
|
+
},
|
|
9604
|
+
{
|
|
9605
|
+
"name": "expires_in",
|
|
9606
|
+
"type": "integer",
|
|
9607
|
+
"required": false,
|
|
9608
|
+
"description": "Lifetime in seconds, from 1 through 604800: defaults to 900 for single PUT or 3600 for multipart. All part URLs and the completion URL share one expiry. This does not set the resulting file's lifetime."
|
|
9609
|
+
},
|
|
9610
|
+
{
|
|
9611
|
+
"name": "part_size",
|
|
9612
|
+
"type": "integer",
|
|
9613
|
+
"required": false,
|
|
9614
|
+
"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."
|
|
9615
|
+
}
|
|
9616
|
+
]
|
|
9617
|
+
}
|
|
9618
|
+
},
|
|
8654
9619
|
{
|
|
8655
9620
|
"resource": "file.uploads",
|
|
8656
9621
|
"method": "cancel",
|
|
@@ -9845,6 +10810,16 @@ export const operations = [
|
|
|
9845
10810
|
],
|
|
9846
10811
|
"required": false,
|
|
9847
10812
|
"description": "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
|
|
10813
|
+
},
|
|
10814
|
+
{
|
|
10815
|
+
"name": "type",
|
|
10816
|
+
"type": "string",
|
|
10817
|
+
"enum": [
|
|
10818
|
+
"upload",
|
|
10819
|
+
"authenticated"
|
|
10820
|
+
],
|
|
10821
|
+
"required": false,
|
|
10822
|
+
"description": "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
|
|
9848
10823
|
}
|
|
9849
10824
|
]
|
|
9850
10825
|
}
|
|
@@ -9873,7 +10848,7 @@ export const operations = [
|
|
|
9873
10848
|
"name": "file_id",
|
|
9874
10849
|
"type": "string",
|
|
9875
10850
|
"required": true,
|
|
9876
|
-
"description": "File ID to copy into this library
|
|
10851
|
+
"description": "File ID to copy into this library instead of file bytes. This independent copy defaults to public delivery; set type=authenticated for private delivery. Deleting the source File does not delete this asset."
|
|
9877
10852
|
},
|
|
9878
10853
|
{
|
|
9879
10854
|
"name": "public_id",
|
|
@@ -9958,6 +10933,16 @@ export const operations = [
|
|
|
9958
10933
|
],
|
|
9959
10934
|
"required": false,
|
|
9960
10935
|
"description": "Upload category: image for images, video for video or audio, raw for unprocessed files, or auto to detect the category. Defaults to auto."
|
|
10936
|
+
},
|
|
10937
|
+
{
|
|
10938
|
+
"name": "type",
|
|
10939
|
+
"type": "string",
|
|
10940
|
+
"enum": [
|
|
10941
|
+
"upload",
|
|
10942
|
+
"authenticated"
|
|
10943
|
+
],
|
|
10944
|
+
"required": false,
|
|
10945
|
+
"description": "Asset delivery mode: upload is public; authenticated requires a signed URL or delivery token for originals and derivatives. private is unsupported."
|
|
9961
10946
|
}
|
|
9962
10947
|
]
|
|
9963
10948
|
}
|
|
@@ -10238,6 +11223,41 @@ export const operations = [
|
|
|
10238
11223
|
],
|
|
10239
11224
|
"query": []
|
|
10240
11225
|
},
|
|
11226
|
+
{
|
|
11227
|
+
"resource": "media.libraries.deliveryTokens",
|
|
11228
|
+
"method": "create",
|
|
11229
|
+
"summary": "Create delivery token",
|
|
11230
|
+
"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 3600 seconds; narrow acl and expires_in before sharing. Anyone holding the token can read matching paths until expires_at.",
|
|
11231
|
+
"http": "POST",
|
|
11232
|
+
"path": "/media/v1/libraries/{library_id}/delivery_tokens",
|
|
11233
|
+
"streaming": "no",
|
|
11234
|
+
"pagination": false,
|
|
11235
|
+
"pathParams": [
|
|
11236
|
+
{
|
|
11237
|
+
"name": "library_id",
|
|
11238
|
+
"sdkName": "library_id",
|
|
11239
|
+
"description": "Library ID returned by creation."
|
|
11240
|
+
}
|
|
11241
|
+
],
|
|
11242
|
+
"query": [],
|
|
11243
|
+
"body": {
|
|
11244
|
+
"required": true,
|
|
11245
|
+
"fields": [
|
|
11246
|
+
{
|
|
11247
|
+
"name": "acl",
|
|
11248
|
+
"type": "string",
|
|
11249
|
+
"required": false,
|
|
11250
|
+
"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."
|
|
11251
|
+
},
|
|
11252
|
+
{
|
|
11253
|
+
"name": "expires_in",
|
|
11254
|
+
"type": "integer",
|
|
11255
|
+
"required": false,
|
|
11256
|
+
"description": "Token lifetime in seconds, from 1 to 604800 inclusive; defaults to 3600."
|
|
11257
|
+
}
|
|
11258
|
+
]
|
|
11259
|
+
}
|
|
11260
|
+
},
|
|
10241
11261
|
{
|
|
10242
11262
|
"resource": "media.libraries.events",
|
|
10243
11263
|
"method": "list",
|
|
@@ -12018,7 +13038,8 @@ export const operations = [
|
|
|
12018
13038
|
"openai.images.edits",
|
|
12019
13039
|
"openai.images.generations",
|
|
12020
13040
|
"openai.responses",
|
|
12021
|
-
"openai.videos"
|
|
13041
|
+
"openai.videos",
|
|
13042
|
+
"typesafe.systemone"
|
|
12022
13043
|
],
|
|
12023
13044
|
"required": false,
|
|
12024
13045
|
"description": "Match any comma-separated declared protocol ID; omitted or empty includes all models. Combined with type and output_modalities using AND. Invalid IDs return 400 with all legal values."
|
|
@@ -12593,6 +13614,47 @@ export const operations = [
|
|
|
12593
13614
|
],
|
|
12594
13615
|
"query": []
|
|
12595
13616
|
},
|
|
13617
|
+
{
|
|
13618
|
+
"resource": "model.systemone",
|
|
13619
|
+
"method": "create",
|
|
13620
|
+
"summary": "Ask structured decision questions",
|
|
13621
|
+
"description": "Ask typed questions about a state and get calibrated probabilities instead of generated text. Same request and response as TypeSafe System One. Use model ids from model.models.list declaring typesafe.systemone. Send one or more noul, choice or score questions; answers use the same question ids. Input tokens are charged at the catalog input price; output tokens are free. usage.cost and X-Praxis-Cost-Usd expose the same customer charge in USD. box questions and assets are unsupported and return 400: images are not supported. Unknown top-level fields pass unchanged to the native upstream.",
|
|
13622
|
+
"http": "POST",
|
|
13623
|
+
"path": "/model/v1/systemone",
|
|
13624
|
+
"streaming": "no",
|
|
13625
|
+
"pagination": false,
|
|
13626
|
+
"pathParams": [],
|
|
13627
|
+
"query": [],
|
|
13628
|
+
"body": {
|
|
13629
|
+
"required": true,
|
|
13630
|
+
"fields": [
|
|
13631
|
+
{
|
|
13632
|
+
"name": "model",
|
|
13633
|
+
"type": "string",
|
|
13634
|
+
"required": true,
|
|
13635
|
+
"description": "Published model id from model.models.list with supported_apis containing typesafe.systemone; returned unchanged in the response."
|
|
13636
|
+
},
|
|
13637
|
+
{
|
|
13638
|
+
"name": "state",
|
|
13639
|
+
"type": "object",
|
|
13640
|
+
"required": true,
|
|
13641
|
+
"description": "Shared content evaluated by every question, supplied as text, a JSON object or an array."
|
|
13642
|
+
},
|
|
13643
|
+
{
|
|
13644
|
+
"name": "questions",
|
|
13645
|
+
"type": "object",
|
|
13646
|
+
"required": true,
|
|
13647
|
+
"description": "Non-empty map of caller-chosen question ids to typed questions; answers preserve these ids. noul evaluates yes/no, choice selects a named option, score rates ordered levels. box is unsupported."
|
|
13648
|
+
},
|
|
13649
|
+
{
|
|
13650
|
+
"name": "assets",
|
|
13651
|
+
"type": "object",
|
|
13652
|
+
"required": false,
|
|
13653
|
+
"description": "Unsupported image assets. Supplying this field, including null or an empty collection, returns 400: images are not supported."
|
|
13654
|
+
}
|
|
13655
|
+
]
|
|
13656
|
+
}
|
|
13657
|
+
},
|
|
12596
13658
|
{
|
|
12597
13659
|
"resource": "model.videos",
|
|
12598
13660
|
"method": "list",
|
|
@@ -15314,7 +16376,7 @@ export const operations = [
|
|
|
15314
16376
|
"resource": "ticket.milestones",
|
|
15315
16377
|
"method": "create",
|
|
15316
16378
|
"summary": "Create or add milestones",
|
|
15317
|
-
"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.
|
|
16379
|
+
"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.",
|
|
15318
16380
|
"http": "POST",
|
|
15319
16381
|
"path": "/ticket/v1/milestones",
|
|
15320
16382
|
"streaming": "no",
|
|
@@ -15366,7 +16428,7 @@ export const operations = [
|
|
|
15366
16428
|
"resource": "ticket.milestones",
|
|
15367
16429
|
"method": "delete",
|
|
15368
16430
|
"summary": "Remove milestones",
|
|
15369
|
-
"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.
|
|
16431
|
+
"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.",
|
|
15370
16432
|
"http": "DELETE",
|
|
15371
16433
|
"path": "/ticket/v1/milestones/{number}",
|
|
15372
16434
|
"streaming": "no",
|
|
@@ -15418,7 +16480,7 @@ export const operations = [
|
|
|
15418
16480
|
"resource": "ticket.milestones",
|
|
15419
16481
|
"method": "update",
|
|
15420
16482
|
"summary": "Update milestones",
|
|
15421
|
-
"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.
|
|
16483
|
+
"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.",
|
|
15422
16484
|
"http": "PATCH",
|
|
15423
16485
|
"path": "/ticket/v1/milestones/{number}",
|
|
15424
16486
|
"streaming": "no",
|
|
@@ -16829,7 +17891,7 @@ export const operations = [
|
|
|
16829
17891
|
"resource": "vault.vaults.secrets",
|
|
16830
17892
|
"method": "create",
|
|
16831
17893
|
"summary": "Create secret",
|
|
16832
|
-
"description": "Store a manually supplied token in an active vault for
|
|
17894
|
+
"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.",
|
|
16833
17895
|
"http": "POST",
|
|
16834
17896
|
"path": "/vault/v1/vaults/{vault_id}/secrets",
|
|
16835
17897
|
"streaming": "no",
|
|
@@ -16861,8 +17923,8 @@ export const operations = [
|
|
|
16861
17923
|
"name": "allowed_hosts",
|
|
16862
17924
|
"type": "array",
|
|
16863
17925
|
"itemType": "string",
|
|
16864
|
-
"required":
|
|
16865
|
-
"description": "Allowed destinations for the secret.
|
|
17926
|
+
"required": false,
|
|
17927
|
+
"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."
|
|
16866
17928
|
},
|
|
16867
17929
|
{
|
|
16868
17930
|
"name": "description",
|
|
@@ -16886,7 +17948,7 @@ export const operations = [
|
|
|
16886
17948
|
"stripe"
|
|
16887
17949
|
],
|
|
16888
17950
|
"required": false,
|
|
16889
|
-
"description": "Static template ID from List templates. Records metadata.template; name
|
|
17951
|
+
"description": "Static template ID from List templates. Records metadata.template; name and value must still be supplied explicitly; allowed_hosts is optional."
|
|
16890
17952
|
},
|
|
16891
17953
|
{
|
|
16892
17954
|
"name": "kind",
|
|
@@ -16982,7 +18044,7 @@ export const operations = [
|
|
|
16982
18044
|
"type": "array",
|
|
16983
18045
|
"itemType": "string",
|
|
16984
18046
|
"required": false,
|
|
16985
|
-
"description": "Allowed destinations for the secret.
|
|
18047
|
+
"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."
|
|
16986
18048
|
},
|
|
16987
18049
|
{
|
|
16988
18050
|
"name": "description",
|
|
@@ -17086,7 +18148,7 @@ export const operations = [
|
|
|
17086
18148
|
"resource": "vault.vaults.secrets",
|
|
17087
18149
|
"method": "import",
|
|
17088
18150
|
"summary": "Import secrets",
|
|
17089
|
-
"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.",
|
|
18151
|
+
"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.",
|
|
17090
18152
|
"http": "POST",
|
|
17091
18153
|
"path": "/vault/v1/vaults/{vault_id}/secrets:import",
|
|
17092
18154
|
"streaming": "no",
|