@deepraxis/sdk 0.2.0-dev.855f099 → 0.2.0-dev.8f994de
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 +137 -63
- package/README.md +1 -1
- package/dist/automation.d.ts +683 -64
- package/dist/core/bindings.d.ts +13 -0
- package/dist/core/bindings.js +17 -0
- package/dist/core/client.js +1 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +195 -12
- package/dist/generated/sdk.gen.js +501 -74
- package/dist/generated/types.gen.d.ts +2269 -182
- package/dist/helpers/browser-connect-error.d.ts +15 -3
- package/dist/helpers/browser-connect-error.js +33 -8
- package/dist/helpers/browser-connect.d.ts +12 -0
- package/dist/helpers/browser-connect.js +15 -2
- package/dist/operations.generated.js +971 -257
- package/dist/resources.generated.d.ts +786 -67
- package/dist/resources.generated.js +204 -78
- package/package.json +1 -1
|
@@ -4663,13 +4663,13 @@ export const operations = [
|
|
|
4663
4663
|
"summary": "Get an Action with its current input and output JSON Schemas",
|
|
4664
4664
|
"description": "Read the Action and its full current implementation, with input and output JSON Schemas at current_revision.input_schema and current_revision.output_schema. To read a built-in Action, use ns=praxis and name=<bare name>, for example name=ocr; invoke it in a script with call(\"ocr\", input) or in a workflow step with call: ocr and with:. Input that breaks the contract returns INPUT_INVALID, with the fields in errors[]. The response ETag is the current revision ID for conditional updates.",
|
|
4665
4665
|
"http": "GET",
|
|
4666
|
-
"path": "/automation/v1/actions/{
|
|
4666
|
+
"path": "/automation/v1/actions/{namespace}/{name}",
|
|
4667
4667
|
"streaming": "no",
|
|
4668
4668
|
"pagination": false,
|
|
4669
4669
|
"pathParams": [
|
|
4670
4670
|
{
|
|
4671
|
-
"name": "
|
|
4672
|
-
"sdkName": "
|
|
4671
|
+
"name": "namespace",
|
|
4672
|
+
"sdkName": "namespace",
|
|
4673
4673
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4674
4674
|
},
|
|
4675
4675
|
{
|
|
@@ -4686,13 +4686,13 @@ export const operations = [
|
|
|
4686
4686
|
"summary": "Update an action",
|
|
4687
4687
|
"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.",
|
|
4688
4688
|
"http": "PUT",
|
|
4689
|
-
"path": "/automation/v1/actions/{
|
|
4689
|
+
"path": "/automation/v1/actions/{namespace}/{name}",
|
|
4690
4690
|
"streaming": "no",
|
|
4691
4691
|
"pagination": false,
|
|
4692
4692
|
"pathParams": [
|
|
4693
4693
|
{
|
|
4694
|
-
"name": "
|
|
4695
|
-
"sdkName": "
|
|
4694
|
+
"name": "namespace",
|
|
4695
|
+
"sdkName": "namespace",
|
|
4696
4696
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4697
4697
|
},
|
|
4698
4698
|
{
|
|
@@ -4784,13 +4784,13 @@ export const operations = [
|
|
|
4784
4784
|
"summary": "Archive an action",
|
|
4785
4785
|
"description": "Archive the action while retaining its name and history, hiding it from the default list. The response includes dependents_count.",
|
|
4786
4786
|
"http": "POST",
|
|
4787
|
-
"path": "/automation/v1/actions/{
|
|
4787
|
+
"path": "/automation/v1/actions/{namespace}/{name}/archive",
|
|
4788
4788
|
"streaming": "no",
|
|
4789
4789
|
"pagination": false,
|
|
4790
4790
|
"pathParams": [
|
|
4791
4791
|
{
|
|
4792
|
-
"name": "
|
|
4793
|
-
"sdkName": "
|
|
4792
|
+
"name": "namespace",
|
|
4793
|
+
"sdkName": "namespace",
|
|
4794
4794
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4795
4795
|
},
|
|
4796
4796
|
{
|
|
@@ -4811,13 +4811,13 @@ export const operations = [
|
|
|
4811
4811
|
"summary": "List action dependents",
|
|
4812
4812
|
"description": "List orchestrations referencing this action. The search covers scripts and workflows in their drafts or latest versions.",
|
|
4813
4813
|
"http": "GET",
|
|
4814
|
-
"path": "/automation/v1/actions/{
|
|
4814
|
+
"path": "/automation/v1/actions/{namespace}/{name}/dependents",
|
|
4815
4815
|
"streaming": "no",
|
|
4816
4816
|
"pagination": true,
|
|
4817
4817
|
"pathParams": [
|
|
4818
4818
|
{
|
|
4819
|
-
"name": "
|
|
4820
|
-
"sdkName": "
|
|
4819
|
+
"name": "namespace",
|
|
4820
|
+
"sdkName": "namespace",
|
|
4821
4821
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4822
4822
|
},
|
|
4823
4823
|
{
|
|
@@ -4847,13 +4847,13 @@ export const operations = [
|
|
|
4847
4847
|
"summary": "List action invocations",
|
|
4848
4848
|
"description": "List this action’s invocations, filtering by status, revision, calling definition and time. Results identify the run and call site.",
|
|
4849
4849
|
"http": "GET",
|
|
4850
|
-
"path": "/automation/v1/actions/{
|
|
4850
|
+
"path": "/automation/v1/actions/{namespace}/{name}/invocations",
|
|
4851
4851
|
"streaming": "no",
|
|
4852
4852
|
"pagination": true,
|
|
4853
4853
|
"pathParams": [
|
|
4854
4854
|
{
|
|
4855
|
-
"name": "
|
|
4856
|
-
"sdkName": "
|
|
4855
|
+
"name": "namespace",
|
|
4856
|
+
"sdkName": "namespace",
|
|
4857
4857
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4858
4858
|
},
|
|
4859
4859
|
{
|
|
@@ -4924,13 +4924,13 @@ export const operations = [
|
|
|
4924
4924
|
"summary": "Restore an action",
|
|
4925
4925
|
"description": "Restore an archived action to the default list. Its current revision is preserved.",
|
|
4926
4926
|
"http": "POST",
|
|
4927
|
-
"path": "/automation/v1/actions/{
|
|
4927
|
+
"path": "/automation/v1/actions/{namespace}/{name}/restore",
|
|
4928
4928
|
"streaming": "no",
|
|
4929
4929
|
"pagination": false,
|
|
4930
4930
|
"pathParams": [
|
|
4931
4931
|
{
|
|
4932
|
-
"name": "
|
|
4933
|
-
"sdkName": "
|
|
4932
|
+
"name": "namespace",
|
|
4933
|
+
"sdkName": "namespace",
|
|
4934
4934
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4935
4935
|
},
|
|
4936
4936
|
{
|
|
@@ -4951,13 +4951,13 @@ export const operations = [
|
|
|
4951
4951
|
"summary": "List action revisions",
|
|
4952
4952
|
"description": "List revisions newest first with rollback eligibility. Results include the current marker and compatibility issues. Lists omit source by default; only expand=source includes full source, and other values return 400. Detail endpoints retain full source.",
|
|
4953
4953
|
"http": "GET",
|
|
4954
|
-
"path": "/automation/v1/actions/{
|
|
4954
|
+
"path": "/automation/v1/actions/{namespace}/{name}/revisions",
|
|
4955
4955
|
"streaming": "no",
|
|
4956
4956
|
"pagination": true,
|
|
4957
4957
|
"pathParams": [
|
|
4958
4958
|
{
|
|
4959
|
-
"name": "
|
|
4960
|
-
"sdkName": "
|
|
4959
|
+
"name": "namespace",
|
|
4960
|
+
"sdkName": "namespace",
|
|
4961
4961
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
4962
4962
|
},
|
|
4963
4963
|
{
|
|
@@ -4996,13 +4996,13 @@ export const operations = [
|
|
|
4996
4996
|
"summary": "Get an action revision",
|
|
4997
4997
|
"description": "Read a specific revision with its full implementation and rollback compatibility result. A missing revision returns VERSION_NOT_FOUND. Details always return full source.",
|
|
4998
4998
|
"http": "GET",
|
|
4999
|
-
"path": "/automation/v1/actions/{
|
|
4999
|
+
"path": "/automation/v1/actions/{namespace}/{name}/revisions/{revision}",
|
|
5000
5000
|
"streaming": "no",
|
|
5001
5001
|
"pagination": false,
|
|
5002
5002
|
"pathParams": [
|
|
5003
5003
|
{
|
|
5004
|
-
"name": "
|
|
5005
|
-
"sdkName": "
|
|
5004
|
+
"name": "namespace",
|
|
5005
|
+
"sdkName": "namespace",
|
|
5006
5006
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
5007
5007
|
},
|
|
5008
5008
|
{
|
|
@@ -5024,13 +5024,13 @@ export const operations = [
|
|
|
5024
5024
|
"summary": "Roll back an action",
|
|
5025
5025
|
"description": "Create a compatible new revision from historical contents. Compatibility is checked against the current and five recent historical revisions. The current pointer does not revert to the old ID. Optional If-Match accepts the current revision or *; * matches any existing representation.",
|
|
5026
5026
|
"http": "POST",
|
|
5027
|
-
"path": "/automation/v1/actions/{
|
|
5027
|
+
"path": "/automation/v1/actions/{namespace}/{name}/rollback",
|
|
5028
5028
|
"streaming": "no",
|
|
5029
5029
|
"pagination": false,
|
|
5030
5030
|
"pathParams": [
|
|
5031
5031
|
{
|
|
5032
|
-
"name": "
|
|
5033
|
-
"sdkName": "
|
|
5032
|
+
"name": "namespace",
|
|
5033
|
+
"sdkName": "namespace",
|
|
5034
5034
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
5035
5035
|
},
|
|
5036
5036
|
{
|
|
@@ -5070,7 +5070,7 @@ export const operations = [
|
|
|
5070
5070
|
"resource": "automation.hooks",
|
|
5071
5071
|
"method": "send",
|
|
5072
5072
|
"summary": "Receive a webhook",
|
|
5073
|
-
"description": "No API key is needed: the URL token authenticates requests. Invalid tokens, absent triggers, wrong kinds and inactive time windows return 404; a paused trigger (circuit breaker after 5 consecutive failures, or manual pause) returns 409 TRIGGER_PAUSED whose message gives the reason and whose hint gives the way back, POST /automation/v1/triggers/{
|
|
5073
|
+
"description": "No API key is needed: the URL token authenticates requests. Invalid tokens, absent triggers, wrong kinds and inactive time windows return 404; a paused trigger (circuit breaker after 5 consecutive failures, or manual pause) returns 409 TRIGGER_PAUSED whose message gives the reason and whose hint gives the way back, POST /automation/v1/triggers/{trigger_id}/resume. Raw bodies are limited to 512 KiB; serialized run input, including raw and parsed copies, must fit within 1 MiB. Exceeding either limit returns 413 synchronously without recording a firing; webhook-id deduplicates for 24 hours. A 202 with outcome=accepted acknowledges receipt; the final outcome is updated later, and repeats return deduped. Invalid JSON yields body=null; other UTF-8 is text and non-UTF-8 is base64. The envelope contains body, raw_body, raw_body_encoding, allowlisted headers, webhook_id and received_at. raw_body preserves exact bytes with utf8 or base64 encoding for caller-side signature verification.",
|
|
5074
5074
|
"http": "POST",
|
|
5075
5075
|
"path": "/automation/v1/hooks/{trigger_id}/{token}",
|
|
5076
5076
|
"streaming": "no",
|
|
@@ -5161,13 +5161,13 @@ export const operations = [
|
|
|
5161
5161
|
"summary": "Retrieve a human task",
|
|
5162
5162
|
"description": "Read one human task - title, Markdown body, context, actions, form, assignees, mode, due time, responses and outcome - so an assignee can choose an action and fill the form. Read-only; the Console approval page /automation/tasks/{id} reads the same resource.",
|
|
5163
5163
|
"http": "GET",
|
|
5164
|
-
"path": "/automation/v1/human-tasks/{
|
|
5164
|
+
"path": "/automation/v1/human-tasks/{task_id}",
|
|
5165
5165
|
"streaming": "no",
|
|
5166
5166
|
"pagination": false,
|
|
5167
5167
|
"pathParams": [
|
|
5168
5168
|
{
|
|
5169
|
-
"name": "
|
|
5170
|
-
"sdkName": "
|
|
5169
|
+
"name": "task_id",
|
|
5170
|
+
"sdkName": "task_id",
|
|
5171
5171
|
"description": "Human task ID (htask_), from the list or the run's waits."
|
|
5172
5172
|
}
|
|
5173
5173
|
],
|
|
@@ -5179,13 +5179,13 @@ export const operations = [
|
|
|
5179
5179
|
"summary": "Cancel a human task",
|
|
5180
5180
|
"description": "Cancel an open human task; only the person who started the run or an organization API key may cancel. The task becomes cancelled and the waiting workflow step raises a runtime error with code HUMAN_TASK_CANCELLED, which try/catch can catch. Open tasks are cancelled automatically when their run ends, so this call is not needed then.",
|
|
5181
5181
|
"http": "POST",
|
|
5182
|
-
"path": "/automation/v1/human-tasks/{
|
|
5182
|
+
"path": "/automation/v1/human-tasks/{task_id}/cancel",
|
|
5183
5183
|
"streaming": "no",
|
|
5184
5184
|
"pagination": false,
|
|
5185
5185
|
"pathParams": [
|
|
5186
5186
|
{
|
|
5187
|
-
"name": "
|
|
5188
|
-
"sdkName": "
|
|
5187
|
+
"name": "task_id",
|
|
5188
|
+
"sdkName": "task_id",
|
|
5189
5189
|
"description": "Human task ID (htask_)."
|
|
5190
5190
|
}
|
|
5191
5191
|
],
|
|
@@ -5208,13 +5208,13 @@ export const operations = [
|
|
|
5208
5208
|
"summary": "Delegate a human task",
|
|
5209
5209
|
"description": "An assignee who has not responded hands their place to another user (to_user), replacing their entry in assignees.users in place, so sequential order is kept. The new user cannot already be an assignee, nor the initiator unless self-approval is allowed. The task must still be open.",
|
|
5210
5210
|
"http": "POST",
|
|
5211
|
-
"path": "/automation/v1/human-tasks/{
|
|
5211
|
+
"path": "/automation/v1/human-tasks/{task_id}/delegate",
|
|
5212
5212
|
"streaming": "no",
|
|
5213
5213
|
"pagination": false,
|
|
5214
5214
|
"pathParams": [
|
|
5215
5215
|
{
|
|
5216
|
-
"name": "
|
|
5217
|
-
"sdkName": "
|
|
5216
|
+
"name": "task_id",
|
|
5217
|
+
"sdkName": "task_id",
|
|
5218
5218
|
"description": "Human task ID (htask_)."
|
|
5219
5219
|
}
|
|
5220
5220
|
],
|
|
@@ -5237,13 +5237,13 @@ export const operations = [
|
|
|
5237
5237
|
"summary": "Respond to a human task",
|
|
5238
5238
|
"description": "Submit an action (action_id), form values (values) and a comment as the calling user. Depending on the task's mode the response either decides it (status becomes completed, outcome is set, and the waiting workflow resumes with outcome as the step output) or is recorded while other assignees are awaited. When two assignees respond at once, exactly one decides and the other gets TASK_CLOSED. An agent may respond only if the workflow set allow_agent_decision. Send an Idempotency-Key to retry safely.",
|
|
5239
5239
|
"http": "POST",
|
|
5240
|
-
"path": "/automation/v1/human-tasks/{
|
|
5240
|
+
"path": "/automation/v1/human-tasks/{task_id}/respond",
|
|
5241
5241
|
"streaming": "no",
|
|
5242
5242
|
"pagination": false,
|
|
5243
5243
|
"pathParams": [
|
|
5244
5244
|
{
|
|
5245
|
-
"name": "
|
|
5246
|
-
"sdkName": "
|
|
5245
|
+
"name": "task_id",
|
|
5246
|
+
"sdkName": "task_id",
|
|
5247
5247
|
"description": "Human task ID (htask_)."
|
|
5248
5248
|
}
|
|
5249
5249
|
],
|
|
@@ -5470,13 +5470,13 @@ export const operations = [
|
|
|
5470
5470
|
"summary": "Get a run",
|
|
5471
5471
|
"description": "Read status, output and error for the id returned by praxis.automation.runs.create; output needs no expand option. A completed status confirms success; faulted and cancelled are terminal without successful completion. Optionally expand calls, tasks, task groups, logs or source in the same request. Pass wait (seconds, 0–60) to hold the request until the run is terminal or the time is up, instead of polling. Expanded pages hold at most 200 entries; use the ledger endpoints and cursors for subsequent pages. Workflow raise errors preserve the full type URI, status, title and detail; only internal platform exceptions are runtime errors.",
|
|
5472
5472
|
"http": "GET",
|
|
5473
|
-
"path": "/automation/v1/runs/{
|
|
5473
|
+
"path": "/automation/v1/runs/{run_id}",
|
|
5474
5474
|
"streaming": "no",
|
|
5475
5475
|
"pagination": false,
|
|
5476
5476
|
"pathParams": [
|
|
5477
5477
|
{
|
|
5478
|
-
"name": "
|
|
5479
|
-
"sdkName": "
|
|
5478
|
+
"name": "run_id",
|
|
5479
|
+
"sdkName": "run_id",
|
|
5480
5480
|
"description": "Run ID (run_)."
|
|
5481
5481
|
}
|
|
5482
5482
|
],
|
|
@@ -5509,13 +5509,13 @@ export const operations = [
|
|
|
5509
5509
|
"summary": "List run artifacts",
|
|
5510
5510
|
"description": "Read run artifacts and their file references. Entries follow ledger order and include content types, sizes and associated steps.",
|
|
5511
5511
|
"http": "GET",
|
|
5512
|
-
"path": "/automation/v1/runs/{
|
|
5512
|
+
"path": "/automation/v1/runs/{run_id}/artifacts",
|
|
5513
5513
|
"streaming": "no",
|
|
5514
5514
|
"pagination": true,
|
|
5515
5515
|
"pathParams": [
|
|
5516
5516
|
{
|
|
5517
|
-
"name": "
|
|
5518
|
-
"sdkName": "
|
|
5517
|
+
"name": "run_id",
|
|
5518
|
+
"sdkName": "run_id",
|
|
5519
5519
|
"description": "Run ID (run_)."
|
|
5520
5520
|
}
|
|
5521
5521
|
],
|
|
@@ -5540,13 +5540,13 @@ export const operations = [
|
|
|
5540
5540
|
"summary": "List run calls",
|
|
5541
5541
|
"description": "Page through the call ledger with execution results. Entries follow ledger order and include targets, argument/result previews, statuses and durations. Script runs read the call ledger; a workflow run records its action calls on its tasks, so this lists the action tasks (skipped ones excluded), matching counters.action_calls.",
|
|
5542
5542
|
"http": "GET",
|
|
5543
|
-
"path": "/automation/v1/runs/{
|
|
5543
|
+
"path": "/automation/v1/runs/{run_id}/calls",
|
|
5544
5544
|
"streaming": "no",
|
|
5545
5545
|
"pagination": true,
|
|
5546
5546
|
"pathParams": [
|
|
5547
5547
|
{
|
|
5548
|
-
"name": "
|
|
5549
|
-
"sdkName": "
|
|
5548
|
+
"name": "run_id",
|
|
5549
|
+
"sdkName": "run_id",
|
|
5550
5550
|
"description": "Run ID (run_)."
|
|
5551
5551
|
}
|
|
5552
5552
|
],
|
|
@@ -5571,13 +5571,13 @@ export const operations = [
|
|
|
5571
5571
|
"summary": "Cancel a run",
|
|
5572
5572
|
"description": "Request run cancellation and return 202. Workflows terminate, while scripts receive an abort request followed by forced termination after a grace period. Terminal runs return 409 RUN_INVALID_STATE; cancellation propagates to attached children, not detached children. Optional reason contains 1–500 characters and is stored as Run.cancel_message; cancel_reason remains user.",
|
|
5573
5573
|
"http": "POST",
|
|
5574
|
-
"path": "/automation/v1/runs/{
|
|
5574
|
+
"path": "/automation/v1/runs/{run_id}/cancel",
|
|
5575
5575
|
"streaming": "no",
|
|
5576
5576
|
"pagination": false,
|
|
5577
5577
|
"pathParams": [
|
|
5578
5578
|
{
|
|
5579
|
-
"name": "
|
|
5580
|
-
"sdkName": "
|
|
5579
|
+
"name": "run_id",
|
|
5580
|
+
"sdkName": "run_id",
|
|
5581
5581
|
"description": "Run ID (run_)."
|
|
5582
5582
|
}
|
|
5583
5583
|
],
|
|
@@ -5600,13 +5600,13 @@ export const operations = [
|
|
|
5600
5600
|
"summary": "Read run events",
|
|
5601
5601
|
"description": "Read the CloudEvents ledger or subscribe to live events. Return a CloudEvents ledger page by default; Accept: text/event-stream opens a live stream with ai.praxis.automation.run.status, ai.praxis.automation.run.progress, ai.praxis.automation.call.started, ai.praxis.automation.call.completed, ai.praxis.automation.task.started, ai.praxis.automation.task.completed and ai.praxis.automation.wait.created, ai.praxis.automation.wait.resolved event names. id is the resume cursor and Last-Event-ID takes precedence over cursor; : ping arrives every 20 seconds and event: end closes the stream after a terminal run.",
|
|
5602
5602
|
"http": "GET",
|
|
5603
|
-
"path": "/automation/v1/runs/{
|
|
5603
|
+
"path": "/automation/v1/runs/{run_id}/events",
|
|
5604
5604
|
"streaming": "always",
|
|
5605
5605
|
"pagination": false,
|
|
5606
5606
|
"pathParams": [
|
|
5607
5607
|
{
|
|
5608
|
-
"name": "
|
|
5609
|
-
"sdkName": "
|
|
5608
|
+
"name": "run_id",
|
|
5609
|
+
"sdkName": "run_id",
|
|
5610
5610
|
"description": "Run ID (run_)."
|
|
5611
5611
|
}
|
|
5612
5612
|
],
|
|
@@ -5639,13 +5639,13 @@ export const operations = [
|
|
|
5639
5639
|
"summary": "Read run logs",
|
|
5640
5640
|
"description": "Return a log page within the 30-day retention window by default. Accept: text/event-stream opens a live stream using event: log; id is the resume cursor and Last-Event-ID takes precedence over cursor. : ping arrives every 20 seconds and event: end closes the stream after a terminal run.",
|
|
5641
5641
|
"http": "GET",
|
|
5642
|
-
"path": "/automation/v1/runs/{
|
|
5642
|
+
"path": "/automation/v1/runs/{run_id}/logs",
|
|
5643
5643
|
"streaming": "always",
|
|
5644
5644
|
"pagination": false,
|
|
5645
5645
|
"pathParams": [
|
|
5646
5646
|
{
|
|
5647
|
-
"name": "
|
|
5648
|
-
"sdkName": "
|
|
5647
|
+
"name": "run_id",
|
|
5648
|
+
"sdkName": "run_id",
|
|
5649
5649
|
"description": "Run ID (run_)."
|
|
5650
5650
|
}
|
|
5651
5651
|
],
|
|
@@ -5678,13 +5678,13 @@ export const operations = [
|
|
|
5678
5678
|
"summary": "Rerun a run",
|
|
5679
5679
|
"description": "Create a new root run from the original exact version or ad hoc source, retaining labels and setting rerun_of. Override input or omit it to reuse the original input; archived targets and run tokens are rejected.",
|
|
5680
5680
|
"http": "POST",
|
|
5681
|
-
"path": "/automation/v1/runs/{
|
|
5681
|
+
"path": "/automation/v1/runs/{run_id}/rerun",
|
|
5682
5682
|
"streaming": "no",
|
|
5683
5683
|
"pagination": false,
|
|
5684
5684
|
"pathParams": [
|
|
5685
5685
|
{
|
|
5686
|
-
"name": "
|
|
5687
|
-
"sdkName": "
|
|
5686
|
+
"name": "run_id",
|
|
5687
|
+
"sdkName": "run_id",
|
|
5688
5688
|
"description": "Run ID (run_)."
|
|
5689
5689
|
}
|
|
5690
5690
|
],
|
|
@@ -5707,13 +5707,13 @@ export const operations = [
|
|
|
5707
5707
|
"summary": "Resume a run",
|
|
5708
5708
|
"description": "Resume only a suspended workflow to its prior running or waiting state. It remains suspended if concurrency slots are unavailable; scripts do not support this operation.",
|
|
5709
5709
|
"http": "POST",
|
|
5710
|
-
"path": "/automation/v1/runs/{
|
|
5710
|
+
"path": "/automation/v1/runs/{run_id}/resume",
|
|
5711
5711
|
"streaming": "no",
|
|
5712
5712
|
"pagination": false,
|
|
5713
5713
|
"pathParams": [
|
|
5714
5714
|
{
|
|
5715
|
-
"name": "
|
|
5716
|
-
"sdkName": "
|
|
5715
|
+
"name": "run_id",
|
|
5716
|
+
"sdkName": "run_id",
|
|
5717
5717
|
"description": "Run ID (run_)."
|
|
5718
5718
|
}
|
|
5719
5719
|
],
|
|
@@ -5729,13 +5729,13 @@ export const operations = [
|
|
|
5729
5729
|
"summary": "Get run source",
|
|
5730
5730
|
"description": "Read the source and digest used by the run. Results include the language and SHA-256 digest, for both ad hoc and published-definition runs.",
|
|
5731
5731
|
"http": "GET",
|
|
5732
|
-
"path": "/automation/v1/runs/{
|
|
5732
|
+
"path": "/automation/v1/runs/{run_id}/source",
|
|
5733
5733
|
"streaming": "no",
|
|
5734
5734
|
"pagination": false,
|
|
5735
5735
|
"pathParams": [
|
|
5736
5736
|
{
|
|
5737
|
-
"name": "
|
|
5738
|
-
"sdkName": "
|
|
5737
|
+
"name": "run_id",
|
|
5738
|
+
"sdkName": "run_id",
|
|
5739
5739
|
"description": "Run ID (run_)."
|
|
5740
5740
|
}
|
|
5741
5741
|
],
|
|
@@ -5747,13 +5747,13 @@ export const operations = [
|
|
|
5747
5747
|
"summary": "Suspend a run",
|
|
5748
5748
|
"description": "Suspend only a running or waiting workflow. Scripts return OPERATION_NOT_SUPPORTED; other states return RUN_INVALID_STATE.",
|
|
5749
5749
|
"http": "POST",
|
|
5750
|
-
"path": "/automation/v1/runs/{
|
|
5750
|
+
"path": "/automation/v1/runs/{run_id}/suspend",
|
|
5751
5751
|
"streaming": "no",
|
|
5752
5752
|
"pagination": false,
|
|
5753
5753
|
"pathParams": [
|
|
5754
5754
|
{
|
|
5755
|
-
"name": "
|
|
5756
|
-
"sdkName": "
|
|
5755
|
+
"name": "run_id",
|
|
5756
|
+
"sdkName": "run_id",
|
|
5757
5757
|
"description": "Run ID (run_)."
|
|
5758
5758
|
}
|
|
5759
5759
|
],
|
|
@@ -5769,13 +5769,13 @@ export const operations = [
|
|
|
5769
5769
|
"summary": "List run tasks",
|
|
5770
5770
|
"description": "Page through the task ledger. include=planned adds unexecuted top-level steps; group_by=reference aggregates count, status and duration by task reference.",
|
|
5771
5771
|
"http": "GET",
|
|
5772
|
-
"path": "/automation/v1/runs/{
|
|
5772
|
+
"path": "/automation/v1/runs/{run_id}/tasks",
|
|
5773
5773
|
"streaming": "no",
|
|
5774
5774
|
"pagination": true,
|
|
5775
5775
|
"pathParams": [
|
|
5776
5776
|
{
|
|
5777
|
-
"name": "
|
|
5778
|
-
"sdkName": "
|
|
5777
|
+
"name": "run_id",
|
|
5778
|
+
"sdkName": "run_id",
|
|
5779
5779
|
"description": "Run ID (run_)."
|
|
5780
5780
|
}
|
|
5781
5781
|
],
|
|
@@ -5818,13 +5818,13 @@ export const operations = [
|
|
|
5818
5818
|
"summary": "List run waits",
|
|
5819
5819
|
"description": "List current and historical waits in ledger order. Wait types include event, timer and child.",
|
|
5820
5820
|
"http": "GET",
|
|
5821
|
-
"path": "/automation/v1/runs/{
|
|
5821
|
+
"path": "/automation/v1/runs/{run_id}/waits",
|
|
5822
5822
|
"streaming": "no",
|
|
5823
5823
|
"pagination": true,
|
|
5824
5824
|
"pathParams": [
|
|
5825
5825
|
{
|
|
5826
|
-
"name": "
|
|
5827
|
-
"sdkName": "
|
|
5826
|
+
"name": "run_id",
|
|
5827
|
+
"sdkName": "run_id",
|
|
5828
5828
|
"description": "Run ID (run_)."
|
|
5829
5829
|
}
|
|
5830
5830
|
],
|
|
@@ -5849,13 +5849,13 @@ export const operations = [
|
|
|
5849
5849
|
"summary": "Complete a run wait",
|
|
5850
5850
|
"description": "Complete only an event wait with a payload of at most 32 KiB satisfying its filter; timer and child waits cannot be completed manually. Reusing the same id and payload returns replayed=true; other repeats return WAIT_ALREADY_RESOLVED and expired waits return WAIT_EXPIRED.",
|
|
5851
5851
|
"http": "POST",
|
|
5852
|
-
"path": "/automation/v1/runs/{
|
|
5852
|
+
"path": "/automation/v1/runs/{run_id}/waits/{wait_id}/complete",
|
|
5853
5853
|
"streaming": "no",
|
|
5854
5854
|
"pagination": false,
|
|
5855
5855
|
"pathParams": [
|
|
5856
5856
|
{
|
|
5857
|
-
"name": "
|
|
5858
|
-
"sdkName": "
|
|
5857
|
+
"name": "run_id",
|
|
5858
|
+
"sdkName": "run_id",
|
|
5859
5859
|
"description": "Run ID (run_)."
|
|
5860
5860
|
},
|
|
5861
5861
|
{
|
|
@@ -5960,7 +5960,7 @@ export const operations = [
|
|
|
5960
5960
|
"resource": "automation.scripts",
|
|
5961
5961
|
"method": "create",
|
|
5962
5962
|
"summary": "Create a script",
|
|
5963
|
-
"description": "Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. 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. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: \"Hello, \" + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. The return value is limited to 1 MiB: write large results to a file with call(\"write-file\", ...) and return the file ID. A call error carries errors[] (pointer, detail, hint); String(e) is only the summary. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later,
|
|
5963
|
+
"description": "Save a TypeScript script as an editable draft for later reuse; this does not publish or start a run. 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. The draft is a source string with a default-exported function, for example `export default async (input: {name: string}) => ({greeting: \"Hello, \" + input.name});`. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist. The return value is limited to 1 MiB: write large results to a file with call(\"write-file\", ...) and return the file ID. A call error carries errors[] (pointer, detail, hint); String(e) is only the summary. To test it, pass that source and language=ts to praxis.automation.runs.create without publishing. To publish later, send the returned draft.revision as draft.revision of the publish request.",
|
|
5964
5964
|
"http": "POST",
|
|
5965
5965
|
"path": "/automation/v1/scripts",
|
|
5966
5966
|
"streaming": "no",
|
|
@@ -5990,9 +5990,9 @@ export const operations = [
|
|
|
5990
5990
|
},
|
|
5991
5991
|
{
|
|
5992
5992
|
"name": "draft",
|
|
5993
|
-
"type": "
|
|
5993
|
+
"type": "object",
|
|
5994
5994
|
"required": false,
|
|
5995
|
-
"description": "Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation."
|
|
5995
|
+
"description": "Editable source in the shape a read returns: { source, revision }; TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation, where revision has no meaning. A bare string is the deprecated spelling of { source }."
|
|
5996
5996
|
},
|
|
5997
5997
|
{
|
|
5998
5998
|
"name": "labels",
|
|
@@ -6007,15 +6007,15 @@ export const operations = [
|
|
|
6007
6007
|
"resource": "automation.scripts",
|
|
6008
6008
|
"method": "retrieve",
|
|
6009
6009
|
"summary": "Get a script",
|
|
6010
|
-
"description": "Read script details and draft source. The
|
|
6010
|
+
"description": "Read script details and draft source. The draft revision is draft.revision (also the ETag); send it back as draft.revision when updating.",
|
|
6011
6011
|
"http": "GET",
|
|
6012
|
-
"path": "/automation/v1/scripts/{
|
|
6012
|
+
"path": "/automation/v1/scripts/{namespace}/{name}",
|
|
6013
6013
|
"streaming": "no",
|
|
6014
6014
|
"pagination": false,
|
|
6015
6015
|
"pathParams": [
|
|
6016
6016
|
{
|
|
6017
|
-
"name": "
|
|
6018
|
-
"sdkName": "
|
|
6017
|
+
"name": "namespace",
|
|
6018
|
+
"sdkName": "namespace",
|
|
6019
6019
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6020
6020
|
},
|
|
6021
6021
|
{
|
|
@@ -6030,15 +6030,15 @@ export const operations = [
|
|
|
6030
6030
|
"resource": "automation.scripts",
|
|
6031
6031
|
"method": "update",
|
|
6032
6032
|
"summary": "Update a script draft",
|
|
6033
|
-
"description": "Update description, labels or draft with the current draft revision in If-Match. Even metadata-only updates create a new draft revision. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist.",
|
|
6033
|
+
"description": "Update description, labels or draft with the current draft revision in the body as draft.revision (the If-Match header is a deprecated alias); draft may be the object a read returns, and a bare string still means { source }. Even metadata-only updates create a new draft revision. Scripts provide praxis, call, invoke, console and codemode as module-scope bindings, not on globalThis, with no import needed: praxis.<domain>.<resource>.<method>(...) calls a platform API, call(\"ocr\", input) calls a built-in Action, and invoke(\"namespace/name\", input) starts a child run. Action IDs are strings (bare names for built-ins, namespace/name for your own Actions); praxis.ocr(...) does not exist.",
|
|
6034
6034
|
"http": "PATCH",
|
|
6035
|
-
"path": "/automation/v1/scripts/{
|
|
6035
|
+
"path": "/automation/v1/scripts/{namespace}/{name}",
|
|
6036
6036
|
"streaming": "no",
|
|
6037
6037
|
"pagination": false,
|
|
6038
6038
|
"pathParams": [
|
|
6039
6039
|
{
|
|
6040
|
-
"name": "
|
|
6041
|
-
"sdkName": "
|
|
6040
|
+
"name": "namespace",
|
|
6041
|
+
"sdkName": "namespace",
|
|
6042
6042
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6043
6043
|
},
|
|
6044
6044
|
{
|
|
@@ -6052,8 +6052,8 @@ export const operations = [
|
|
|
6052
6052
|
{
|
|
6053
6053
|
"name": "If-Match",
|
|
6054
6054
|
"type": "string",
|
|
6055
|
-
"required":
|
|
6056
|
-
"description": "
|
|
6055
|
+
"required": false,
|
|
6056
|
+
"description": "Deprecated alias of draft.revision in the body. Give the draft revision once; the two together with different values return 400. The bare value, the quoted form and the weak form W/\"…\" are all accepted (RFC 7232 weak comparison), and a revision mismatch returns 412."
|
|
6057
6057
|
}
|
|
6058
6058
|
],
|
|
6059
6059
|
"body": {
|
|
@@ -6073,9 +6073,9 @@ export const operations = [
|
|
|
6073
6073
|
},
|
|
6074
6074
|
{
|
|
6075
6075
|
"name": "draft",
|
|
6076
|
-
"type": "
|
|
6076
|
+
"type": "object",
|
|
6077
6077
|
"required": false,
|
|
6078
|
-
"description": "
|
|
6078
|
+
"description": "Draft in the shape a read returns: { source, revision }. revision is the one concurrency token and must equal the current draft revision (a mismatch returns 412); omit source to change only metadata and keep the draft source; updated_at and updated_by are read-only echoes and are ignored. A bare string is the deprecated spelling of { source }, and the revision then travels in If-Match."
|
|
6079
6079
|
}
|
|
6080
6080
|
]
|
|
6081
6081
|
}
|
|
@@ -6086,13 +6086,13 @@ export const operations = [
|
|
|
6086
6086
|
"summary": "Archive a script",
|
|
6087
6087
|
"description": "Keep the name, versions and draft while archiving. The default list hides it and new target resolution and run requests reject the archived target.",
|
|
6088
6088
|
"http": "POST",
|
|
6089
|
-
"path": "/automation/v1/scripts/{
|
|
6089
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/archive",
|
|
6090
6090
|
"streaming": "no",
|
|
6091
6091
|
"pagination": false,
|
|
6092
6092
|
"pathParams": [
|
|
6093
6093
|
{
|
|
6094
|
-
"name": "
|
|
6095
|
-
"sdkName": "
|
|
6094
|
+
"name": "namespace",
|
|
6095
|
+
"sdkName": "namespace",
|
|
6096
6096
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6097
6097
|
},
|
|
6098
6098
|
{
|
|
@@ -6113,13 +6113,13 @@ export const operations = [
|
|
|
6113
6113
|
"summary": "List script tags",
|
|
6114
6114
|
"description": "Read the exact version for each distribution tag. Results include the update time and updater.",
|
|
6115
6115
|
"http": "GET",
|
|
6116
|
-
"path": "/automation/v1/scripts/{
|
|
6116
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/dist-tags",
|
|
6117
6117
|
"streaming": "no",
|
|
6118
6118
|
"pagination": false,
|
|
6119
6119
|
"pathParams": [
|
|
6120
6120
|
{
|
|
6121
|
-
"name": "
|
|
6122
|
-
"sdkName": "
|
|
6121
|
+
"name": "namespace",
|
|
6122
|
+
"sdkName": "namespace",
|
|
6123
6123
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6124
6124
|
},
|
|
6125
6125
|
{
|
|
@@ -6136,13 +6136,13 @@ export const operations = [
|
|
|
6136
6136
|
"summary": "Delete a script tag",
|
|
6137
6137
|
"description": "Delete a distribution tag while retaining versions. latest cannot be deleted, versions and ranges are invalid tags, and deleting an absent valid tag is repeatable.",
|
|
6138
6138
|
"http": "DELETE",
|
|
6139
|
-
"path": "/automation/v1/scripts/{
|
|
6139
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}",
|
|
6140
6140
|
"streaming": "no",
|
|
6141
6141
|
"pagination": false,
|
|
6142
6142
|
"pathParams": [
|
|
6143
6143
|
{
|
|
6144
|
-
"name": "
|
|
6145
|
-
"sdkName": "
|
|
6144
|
+
"name": "namespace",
|
|
6145
|
+
"sdkName": "namespace",
|
|
6146
6146
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6147
6147
|
},
|
|
6148
6148
|
{
|
|
@@ -6164,13 +6164,13 @@ export const operations = [
|
|
|
6164
6164
|
"summary": "Set a script tag",
|
|
6165
6165
|
"description": "Point a distribution tag at an existing exact version; tags cannot be versions or version ranges. Moving latest can roll back a release and synchronizes workflow schedules.",
|
|
6166
6166
|
"http": "PUT",
|
|
6167
|
-
"path": "/automation/v1/scripts/{
|
|
6167
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}",
|
|
6168
6168
|
"streaming": "no",
|
|
6169
6169
|
"pagination": false,
|
|
6170
6170
|
"pathParams": [
|
|
6171
6171
|
{
|
|
6172
|
-
"name": "
|
|
6173
|
-
"sdkName": "
|
|
6172
|
+
"name": "namespace",
|
|
6173
|
+
"sdkName": "namespace",
|
|
6174
6174
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6175
6175
|
},
|
|
6176
6176
|
{
|
|
@@ -6203,13 +6203,13 @@ export const operations = [
|
|
|
6203
6203
|
"summary": "Restore a script",
|
|
6204
6204
|
"description": "Restore an archived definition with its versions and tags. The name is retained.",
|
|
6205
6205
|
"http": "POST",
|
|
6206
|
-
"path": "/automation/v1/scripts/{
|
|
6206
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/restore",
|
|
6207
6207
|
"streaming": "no",
|
|
6208
6208
|
"pagination": false,
|
|
6209
6209
|
"pathParams": [
|
|
6210
6210
|
{
|
|
6211
|
-
"name": "
|
|
6212
|
-
"sdkName": "
|
|
6211
|
+
"name": "namespace",
|
|
6212
|
+
"sdkName": "namespace",
|
|
6213
6213
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6214
6214
|
},
|
|
6215
6215
|
{
|
|
@@ -6230,13 +6230,13 @@ export const operations = [
|
|
|
6230
6230
|
"summary": "List script vault bindings",
|
|
6231
6231
|
"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.",
|
|
6232
6232
|
"http": "GET",
|
|
6233
|
-
"path": "/automation/v1/scripts/{
|
|
6233
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/vaults",
|
|
6234
6234
|
"streaming": "no",
|
|
6235
6235
|
"pagination": false,
|
|
6236
6236
|
"pathParams": [
|
|
6237
6237
|
{
|
|
6238
|
-
"name": "
|
|
6239
|
-
"sdkName": "
|
|
6238
|
+
"name": "namespace",
|
|
6239
|
+
"sdkName": "namespace",
|
|
6240
6240
|
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
6241
6241
|
},
|
|
6242
6242
|
{
|
|
@@ -6253,13 +6253,13 @@ export const operations = [
|
|
|
6253
6253
|
"summary": "Delete a script vault binding",
|
|
6254
6254
|
"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.",
|
|
6255
6255
|
"http": "DELETE",
|
|
6256
|
-
"path": "/automation/v1/scripts/{
|
|
6256
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/vaults/{alias}",
|
|
6257
6257
|
"streaming": "no",
|
|
6258
6258
|
"pagination": false,
|
|
6259
6259
|
"pathParams": [
|
|
6260
6260
|
{
|
|
6261
|
-
"name": "
|
|
6262
|
-
"sdkName": "
|
|
6261
|
+
"name": "namespace",
|
|
6262
|
+
"sdkName": "namespace",
|
|
6263
6263
|
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
6264
6264
|
},
|
|
6265
6265
|
{
|
|
@@ -6281,13 +6281,13 @@ export const operations = [
|
|
|
6281
6281
|
"summary": "Set a script vault binding",
|
|
6282
6282
|
"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\"}.",
|
|
6283
6283
|
"http": "PUT",
|
|
6284
|
-
"path": "/automation/v1/scripts/{
|
|
6284
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/vaults/{alias}",
|
|
6285
6285
|
"streaming": "no",
|
|
6286
6286
|
"pagination": false,
|
|
6287
6287
|
"pathParams": [
|
|
6288
6288
|
{
|
|
6289
|
-
"name": "
|
|
6290
|
-
"sdkName": "
|
|
6289
|
+
"name": "namespace",
|
|
6290
|
+
"sdkName": "namespace",
|
|
6291
6291
|
"description": "Namespace from automation.scripts.list or create; identifies the saved script, independently of versions."
|
|
6292
6292
|
},
|
|
6293
6293
|
{
|
|
@@ -6320,13 +6320,13 @@ export const operations = [
|
|
|
6320
6320
|
"summary": "List script versions",
|
|
6321
6321
|
"description": "Page through immutable schemas and locked dependencies in descending semantic-version order. Lists omit source by default; only expand=source includes full source, and other values return 400. Detail endpoints retain full source.",
|
|
6322
6322
|
"http": "GET",
|
|
6323
|
-
"path": "/automation/v1/scripts/{
|
|
6323
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/versions",
|
|
6324
6324
|
"streaming": "no",
|
|
6325
6325
|
"pagination": true,
|
|
6326
6326
|
"pathParams": [
|
|
6327
6327
|
{
|
|
6328
|
-
"name": "
|
|
6329
|
-
"sdkName": "
|
|
6328
|
+
"name": "namespace",
|
|
6329
|
+
"sdkName": "namespace",
|
|
6330
6330
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6331
6331
|
},
|
|
6332
6332
|
{
|
|
@@ -6366,15 +6366,15 @@ export const operations = [
|
|
|
6366
6366
|
"publish"
|
|
6367
6367
|
],
|
|
6368
6368
|
"summary": "Publish a script version",
|
|
6369
|
-
"description": "Publish a saved definition from its draft or an ad hoc run as a reusable version for named runs or triggers, validating the definition and locking dependencies. To test unpublished code, use praxis.automation.runs.create with source and language instead.
|
|
6369
|
+
"description": "Publish a saved definition from its draft or an ad hoc run as a reusable version for named runs or triggers, validating the definition and locking dependencies. To test unpublished code, use praxis.automation.runs.create with source and language instead. Send draft.revision from create or retrieve as draft.revision in the body (expected_draft_revision is a deprecated alias). The draft must match it; an ad hoc run requires from_run and expected_source_sha256. The same version and contents return the existing version; different contents return VERSION_EXISTS, prereleases require an explicit tag (not latest, URL-safe characters only, not a version or range; violations return TAG_REQUIRED or TAG_INVALID with the complete rules in hint), and invalid definitions return DEFINITION_INVALID. Stable releases automatically advance latest only above the highest existing stable version; workflows becoming latest synchronize their declared schedule. Publishing removes +build metadata from the version number.",
|
|
6370
6370
|
"http": "POST",
|
|
6371
|
-
"path": "/automation/v1/scripts/{
|
|
6371
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/versions",
|
|
6372
6372
|
"streaming": "no",
|
|
6373
6373
|
"pagination": false,
|
|
6374
6374
|
"pathParams": [
|
|
6375
6375
|
{
|
|
6376
|
-
"name": "
|
|
6377
|
-
"sdkName": "
|
|
6376
|
+
"name": "namespace",
|
|
6377
|
+
"sdkName": "namespace",
|
|
6378
6378
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6379
6379
|
},
|
|
6380
6380
|
{
|
|
@@ -6395,13 +6395,13 @@ export const operations = [
|
|
|
6395
6395
|
"summary": "Get a script version",
|
|
6396
6396
|
"description": "Read source, input/output schemas and deprecation details for an exact version. Missing versions return VERSION_NOT_FOUND. Details always return full source. version accepts an exact version or dist-tag; a range returns 400 with a hint to use /resolve.",
|
|
6397
6397
|
"http": "GET",
|
|
6398
|
-
"path": "/automation/v1/scripts/{
|
|
6398
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/versions/{version}",
|
|
6399
6399
|
"streaming": "no",
|
|
6400
6400
|
"pagination": false,
|
|
6401
6401
|
"pathParams": [
|
|
6402
6402
|
{
|
|
6403
|
-
"name": "
|
|
6404
|
-
"sdkName": "
|
|
6403
|
+
"name": "namespace",
|
|
6404
|
+
"sdkName": "namespace",
|
|
6405
6405
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6406
6406
|
},
|
|
6407
6407
|
{
|
|
@@ -6423,13 +6423,13 @@ export const operations = [
|
|
|
6423
6423
|
"summary": "Deprecate a script version",
|
|
6424
6424
|
"description": "Record a deprecation message; an empty message removes deprecation without changing the version source.",
|
|
6425
6425
|
"http": "POST",
|
|
6426
|
-
"path": "/automation/v1/scripts/{
|
|
6426
|
+
"path": "/automation/v1/scripts/{namespace}/{name}/versions/{version}/deprecate",
|
|
6427
6427
|
"streaming": "no",
|
|
6428
6428
|
"pagination": false,
|
|
6429
6429
|
"pathParams": [
|
|
6430
6430
|
{
|
|
6431
|
-
"name": "
|
|
6432
|
-
"sdkName": "
|
|
6431
|
+
"name": "namespace",
|
|
6432
|
+
"sdkName": "namespace",
|
|
6433
6433
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
6434
6434
|
},
|
|
6435
6435
|
{
|
|
@@ -6580,7 +6580,7 @@ export const operations = [
|
|
|
6580
6580
|
"expired"
|
|
6581
6581
|
],
|
|
6582
6582
|
"required": false,
|
|
6583
|
-
"description": "Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value."
|
|
6583
|
+
"description": "Deprecated, use status. Trigger state: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value."
|
|
6584
6584
|
},
|
|
6585
6585
|
{
|
|
6586
6586
|
"name": "labels",
|
|
@@ -6599,6 +6599,18 @@ export const operations = [
|
|
|
6599
6599
|
"type": "string",
|
|
6600
6600
|
"required": false,
|
|
6601
6601
|
"description": "Inclusive creation-time upper bound, as an ISO 8601 timestamp with timezone."
|
|
6602
|
+
},
|
|
6603
|
+
{
|
|
6604
|
+
"name": "status",
|
|
6605
|
+
"type": "array",
|
|
6606
|
+
"itemType": "string",
|
|
6607
|
+
"enum": [
|
|
6608
|
+
"enabled",
|
|
6609
|
+
"paused",
|
|
6610
|
+
"expired"
|
|
6611
|
+
],
|
|
6612
|
+
"required": false,
|
|
6613
|
+
"description": "Trigger status: enabled, paused or expired; omit for all. Separate multiple values with commas to match any value. Giving it together with a different state returns 400."
|
|
6602
6614
|
}
|
|
6603
6615
|
]
|
|
6604
6616
|
},
|
|
@@ -6748,13 +6760,13 @@ export const operations = [
|
|
|
6748
6760
|
"summary": "Delete a trigger",
|
|
6749
6761
|
"description": "Delete the trigger and its firing history, returning 204. Runs already started are unaffected. Definition-managed triggers return 409 TRIGGER_MANAGED; remove schedule from the workflow and publish it again.",
|
|
6750
6762
|
"http": "DELETE",
|
|
6751
|
-
"path": "/automation/v1/triggers/{
|
|
6763
|
+
"path": "/automation/v1/triggers/{trigger_id}",
|
|
6752
6764
|
"streaming": "no",
|
|
6753
6765
|
"pagination": false,
|
|
6754
6766
|
"pathParams": [
|
|
6755
6767
|
{
|
|
6756
|
-
"name": "
|
|
6757
|
-
"sdkName": "
|
|
6768
|
+
"name": "trigger_id",
|
|
6769
|
+
"sdkName": "trigger_id",
|
|
6758
6770
|
"description": "Trigger ID (trg_)."
|
|
6759
6771
|
}
|
|
6760
6772
|
],
|
|
@@ -6766,13 +6778,13 @@ export const operations = [
|
|
|
6766
6778
|
"summary": "Get a trigger",
|
|
6767
6779
|
"description": "Read schedule, state, upcoming times and latest firing. Use the ETag to update; the full webhook URL is not returned again.",
|
|
6768
6780
|
"http": "GET",
|
|
6769
|
-
"path": "/automation/v1/triggers/{
|
|
6781
|
+
"path": "/automation/v1/triggers/{trigger_id}",
|
|
6770
6782
|
"streaming": "no",
|
|
6771
6783
|
"pagination": false,
|
|
6772
6784
|
"pathParams": [
|
|
6773
6785
|
{
|
|
6774
|
-
"name": "
|
|
6775
|
-
"sdkName": "
|
|
6786
|
+
"name": "trigger_id",
|
|
6787
|
+
"sdkName": "trigger_id",
|
|
6776
6788
|
"description": "Trigger ID (trg_)."
|
|
6777
6789
|
}
|
|
6778
6790
|
],
|
|
@@ -6784,13 +6796,13 @@ export const operations = [
|
|
|
6784
6796
|
"summary": "Update a trigger",
|
|
6785
6797
|
"description": "Update configuration with If-Match matching the current ETag, revalidating target input and schedule. kind is immutable and definition-managed triggers reject updates with TRIGGER_MANAGED.",
|
|
6786
6798
|
"http": "PATCH",
|
|
6787
|
-
"path": "/automation/v1/triggers/{
|
|
6799
|
+
"path": "/automation/v1/triggers/{trigger_id}",
|
|
6788
6800
|
"streaming": "no",
|
|
6789
6801
|
"pagination": false,
|
|
6790
6802
|
"pathParams": [
|
|
6791
6803
|
{
|
|
6792
|
-
"name": "
|
|
6793
|
-
"sdkName": "
|
|
6804
|
+
"name": "trigger_id",
|
|
6805
|
+
"sdkName": "trigger_id",
|
|
6794
6806
|
"description": "Trigger ID (trg_)."
|
|
6795
6807
|
}
|
|
6796
6808
|
],
|
|
@@ -6901,13 +6913,13 @@ export const operations = [
|
|
|
6901
6913
|
"summary": "Fire a trigger now",
|
|
6902
6914
|
"description": "Fire once now and return a Firing, subject to current state, catchup window and overlap rules. Run-launch failures are recorded in the firing error.",
|
|
6903
6915
|
"http": "POST",
|
|
6904
|
-
"path": "/automation/v1/triggers/{
|
|
6916
|
+
"path": "/automation/v1/triggers/{trigger_id}/fire",
|
|
6905
6917
|
"streaming": "no",
|
|
6906
6918
|
"pagination": false,
|
|
6907
6919
|
"pathParams": [
|
|
6908
6920
|
{
|
|
6909
|
-
"name": "
|
|
6910
|
-
"sdkName": "
|
|
6921
|
+
"name": "trigger_id",
|
|
6922
|
+
"sdkName": "trigger_id",
|
|
6911
6923
|
"description": "Trigger ID (trg_)."
|
|
6912
6924
|
}
|
|
6913
6925
|
],
|
|
@@ -6919,13 +6931,13 @@ export const operations = [
|
|
|
6919
6931
|
"summary": "List trigger firings",
|
|
6920
6932
|
"description": "Read the last 30 days of firings newest first. Results include resolved versions, run IDs and failure details.",
|
|
6921
6933
|
"http": "GET",
|
|
6922
|
-
"path": "/automation/v1/triggers/{
|
|
6934
|
+
"path": "/automation/v1/triggers/{trigger_id}/firings",
|
|
6923
6935
|
"streaming": "no",
|
|
6924
6936
|
"pagination": true,
|
|
6925
6937
|
"pathParams": [
|
|
6926
6938
|
{
|
|
6927
|
-
"name": "
|
|
6928
|
-
"sdkName": "
|
|
6939
|
+
"name": "trigger_id",
|
|
6940
|
+
"sdkName": "trigger_id",
|
|
6929
6941
|
"description": "Trigger ID (trg_)."
|
|
6930
6942
|
}
|
|
6931
6943
|
],
|
|
@@ -6971,13 +6983,13 @@ export const operations = [
|
|
|
6971
6983
|
"summary": "Pause a trigger",
|
|
6972
6984
|
"description": "Pause new firings without terminating existing runs. Definition-managed triggers can also be paused.",
|
|
6973
6985
|
"http": "POST",
|
|
6974
|
-
"path": "/automation/v1/triggers/{
|
|
6986
|
+
"path": "/automation/v1/triggers/{trigger_id}/pause",
|
|
6975
6987
|
"streaming": "no",
|
|
6976
6988
|
"pagination": false,
|
|
6977
6989
|
"pathParams": [
|
|
6978
6990
|
{
|
|
6979
|
-
"name": "
|
|
6980
|
-
"sdkName": "
|
|
6991
|
+
"name": "trigger_id",
|
|
6992
|
+
"sdkName": "trigger_id",
|
|
6981
6993
|
"description": "Trigger ID (trg_)."
|
|
6982
6994
|
}
|
|
6983
6995
|
],
|
|
@@ -6989,13 +7001,13 @@ export const operations = [
|
|
|
6989
7001
|
"summary": "Resume a trigger",
|
|
6990
7002
|
"description": "Resume firings and reset consecutive failures. Triggers past their end time or finished one-time schedules remain expired; a full enabled-trigger quota returns TRIGGER_LIMIT.",
|
|
6991
7003
|
"http": "POST",
|
|
6992
|
-
"path": "/automation/v1/triggers/{
|
|
7004
|
+
"path": "/automation/v1/triggers/{trigger_id}/resume",
|
|
6993
7005
|
"streaming": "no",
|
|
6994
7006
|
"pagination": false,
|
|
6995
7007
|
"pathParams": [
|
|
6996
7008
|
{
|
|
6997
|
-
"name": "
|
|
6998
|
-
"sdkName": "
|
|
7009
|
+
"name": "trigger_id",
|
|
7010
|
+
"sdkName": "trigger_id",
|
|
6999
7011
|
"description": "Trigger ID (trg_)."
|
|
7000
7012
|
}
|
|
7001
7013
|
],
|
|
@@ -7007,13 +7019,13 @@ export const operations = [
|
|
|
7007
7019
|
"summary": "Rotate a webhook URL",
|
|
7008
7020
|
"description": "For webhook triggers only: invalidate the old token immediately and return a new full webhook_url. Later detail reads do not reveal the full URL.",
|
|
7009
7021
|
"http": "POST",
|
|
7010
|
-
"path": "/automation/v1/triggers/{
|
|
7022
|
+
"path": "/automation/v1/triggers/{trigger_id}/rotate-webhook",
|
|
7011
7023
|
"streaming": "no",
|
|
7012
7024
|
"pagination": false,
|
|
7013
7025
|
"pathParams": [
|
|
7014
7026
|
{
|
|
7015
|
-
"name": "
|
|
7016
|
-
"sdkName": "
|
|
7027
|
+
"name": "trigger_id",
|
|
7028
|
+
"sdkName": "trigger_id",
|
|
7017
7029
|
"description": "Trigger ID (trg_)."
|
|
7018
7030
|
}
|
|
7019
7031
|
],
|
|
@@ -7160,9 +7172,9 @@ export const operations = [
|
|
|
7160
7172
|
},
|
|
7161
7173
|
{
|
|
7162
7174
|
"name": "draft",
|
|
7163
|
-
"type": "
|
|
7175
|
+
"type": "object",
|
|
7164
7176
|
"required": false,
|
|
7165
|
-
"description": "Editable source: TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation."
|
|
7177
|
+
"description": "Editable source in the shape a read returns: { source, revision }; TypeScript for scripts, YAML for workflows. Defaults to an empty string on creation, where revision has no meaning. A bare string is the deprecated spelling of { source }."
|
|
7166
7178
|
},
|
|
7167
7179
|
{
|
|
7168
7180
|
"name": "labels",
|
|
@@ -7177,15 +7189,15 @@ export const operations = [
|
|
|
7177
7189
|
"resource": "automation.workflows",
|
|
7178
7190
|
"method": "retrieve",
|
|
7179
7191
|
"summary": "Get a workflow",
|
|
7180
|
-
"description": "Read workflow details and draft source. The
|
|
7192
|
+
"description": "Read workflow details and draft source. The draft revision is draft.revision (also the ETag); send it back as draft.revision when updating.",
|
|
7181
7193
|
"http": "GET",
|
|
7182
|
-
"path": "/automation/v1/workflows/{
|
|
7194
|
+
"path": "/automation/v1/workflows/{namespace}/{name}",
|
|
7183
7195
|
"streaming": "no",
|
|
7184
7196
|
"pagination": false,
|
|
7185
7197
|
"pathParams": [
|
|
7186
7198
|
{
|
|
7187
|
-
"name": "
|
|
7188
|
-
"sdkName": "
|
|
7199
|
+
"name": "namespace",
|
|
7200
|
+
"sdkName": "namespace",
|
|
7189
7201
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7190
7202
|
},
|
|
7191
7203
|
{
|
|
@@ -7200,15 +7212,15 @@ export const operations = [
|
|
|
7200
7212
|
"resource": "automation.workflows",
|
|
7201
7213
|
"method": "update",
|
|
7202
7214
|
"summary": "Update a workflow draft",
|
|
7203
|
-
"description": "Update description, labels or draft with the current draft revision in
|
|
7215
|
+
"description": "Update description, labels or draft with the current draft revision in the body as draft.revision, taken from the get-workflow response (the If-Match header is a deprecated alias); draft may be the object a read returns, and a bare string still means { source }. Even metadata-only updates create a new draft revision. A mismatch returns 412 PRECONDITION_FAILED; read the draft again, merge and retry. The draft is not validated here, so check it with validate (kind=workflow) before publishing. Error details are in errors[]. See the workflow syntax reference at https://docs.deepraxis.com/developers/automation/reference/workflow-syntax.",
|
|
7204
7216
|
"http": "PATCH",
|
|
7205
|
-
"path": "/automation/v1/workflows/{
|
|
7217
|
+
"path": "/automation/v1/workflows/{namespace}/{name}",
|
|
7206
7218
|
"streaming": "no",
|
|
7207
7219
|
"pagination": false,
|
|
7208
7220
|
"pathParams": [
|
|
7209
7221
|
{
|
|
7210
|
-
"name": "
|
|
7211
|
-
"sdkName": "
|
|
7222
|
+
"name": "namespace",
|
|
7223
|
+
"sdkName": "namespace",
|
|
7212
7224
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7213
7225
|
},
|
|
7214
7226
|
{
|
|
@@ -7222,8 +7234,8 @@ export const operations = [
|
|
|
7222
7234
|
{
|
|
7223
7235
|
"name": "If-Match",
|
|
7224
7236
|
"type": "string",
|
|
7225
|
-
"required":
|
|
7226
|
-
"description": "
|
|
7237
|
+
"required": false,
|
|
7238
|
+
"description": "Deprecated alias of draft.revision in the body. Give the draft revision once; the two together with different values return 400. The bare value, the quoted form and the weak form W/\"…\" are all accepted (RFC 7232 weak comparison), and a revision mismatch returns 412."
|
|
7227
7239
|
}
|
|
7228
7240
|
],
|
|
7229
7241
|
"body": {
|
|
@@ -7243,9 +7255,9 @@ export const operations = [
|
|
|
7243
7255
|
},
|
|
7244
7256
|
{
|
|
7245
7257
|
"name": "draft",
|
|
7246
|
-
"type": "
|
|
7258
|
+
"type": "object",
|
|
7247
7259
|
"required": false,
|
|
7248
|
-
"description": "
|
|
7260
|
+
"description": "Draft in the shape a read returns: { source, revision }. revision is the one concurrency token and must equal the current draft revision (a mismatch returns 412); omit source to change only metadata and keep the draft source; updated_at and updated_by are read-only echoes and are ignored. A bare string is the deprecated spelling of { source }, and the revision then travels in If-Match."
|
|
7249
7261
|
}
|
|
7250
7262
|
]
|
|
7251
7263
|
}
|
|
@@ -7256,13 +7268,13 @@ export const operations = [
|
|
|
7256
7268
|
"summary": "Archive a workflow",
|
|
7257
7269
|
"description": "Keep the name, versions and draft while archiving. The default list hides it and new target resolution and run requests reject the archived target.",
|
|
7258
7270
|
"http": "POST",
|
|
7259
|
-
"path": "/automation/v1/workflows/{
|
|
7271
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/archive",
|
|
7260
7272
|
"streaming": "no",
|
|
7261
7273
|
"pagination": false,
|
|
7262
7274
|
"pathParams": [
|
|
7263
7275
|
{
|
|
7264
|
-
"name": "
|
|
7265
|
-
"sdkName": "
|
|
7276
|
+
"name": "namespace",
|
|
7277
|
+
"sdkName": "namespace",
|
|
7266
7278
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7267
7279
|
},
|
|
7268
7280
|
{
|
|
@@ -7283,13 +7295,13 @@ export const operations = [
|
|
|
7283
7295
|
"summary": "List workflow tags",
|
|
7284
7296
|
"description": "Read the exact version for each distribution tag. Results include the update time and updater.",
|
|
7285
7297
|
"http": "GET",
|
|
7286
|
-
"path": "/automation/v1/workflows/{
|
|
7298
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/dist-tags",
|
|
7287
7299
|
"streaming": "no",
|
|
7288
7300
|
"pagination": false,
|
|
7289
7301
|
"pathParams": [
|
|
7290
7302
|
{
|
|
7291
|
-
"name": "
|
|
7292
|
-
"sdkName": "
|
|
7303
|
+
"name": "namespace",
|
|
7304
|
+
"sdkName": "namespace",
|
|
7293
7305
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7294
7306
|
},
|
|
7295
7307
|
{
|
|
@@ -7306,13 +7318,13 @@ export const operations = [
|
|
|
7306
7318
|
"summary": "Delete a workflow tag",
|
|
7307
7319
|
"description": "Delete a distribution tag while retaining versions. latest cannot be deleted, versions and ranges are invalid tags, and deleting an absent valid tag is repeatable.",
|
|
7308
7320
|
"http": "DELETE",
|
|
7309
|
-
"path": "/automation/v1/workflows/{
|
|
7321
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}",
|
|
7310
7322
|
"streaming": "no",
|
|
7311
7323
|
"pagination": false,
|
|
7312
7324
|
"pathParams": [
|
|
7313
7325
|
{
|
|
7314
|
-
"name": "
|
|
7315
|
-
"sdkName": "
|
|
7326
|
+
"name": "namespace",
|
|
7327
|
+
"sdkName": "namespace",
|
|
7316
7328
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7317
7329
|
},
|
|
7318
7330
|
{
|
|
@@ -7334,13 +7346,13 @@ export const operations = [
|
|
|
7334
7346
|
"summary": "Set a workflow tag",
|
|
7335
7347
|
"description": "Point a distribution tag at an existing exact version; tags cannot be versions or version ranges. Moving latest can roll back a release and synchronizes workflow schedules.",
|
|
7336
7348
|
"http": "PUT",
|
|
7337
|
-
"path": "/automation/v1/workflows/{
|
|
7349
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}",
|
|
7338
7350
|
"streaming": "no",
|
|
7339
7351
|
"pagination": false,
|
|
7340
7352
|
"pathParams": [
|
|
7341
7353
|
{
|
|
7342
|
-
"name": "
|
|
7343
|
-
"sdkName": "
|
|
7354
|
+
"name": "namespace",
|
|
7355
|
+
"sdkName": "namespace",
|
|
7344
7356
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7345
7357
|
},
|
|
7346
7358
|
{
|
|
@@ -7373,13 +7385,13 @@ export const operations = [
|
|
|
7373
7385
|
"summary": "Restore a workflow",
|
|
7374
7386
|
"description": "Restore an archived definition with its versions and tags. The name is retained.",
|
|
7375
7387
|
"http": "POST",
|
|
7376
|
-
"path": "/automation/v1/workflows/{
|
|
7388
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/restore",
|
|
7377
7389
|
"streaming": "no",
|
|
7378
7390
|
"pagination": false,
|
|
7379
7391
|
"pathParams": [
|
|
7380
7392
|
{
|
|
7381
|
-
"name": "
|
|
7382
|
-
"sdkName": "
|
|
7393
|
+
"name": "namespace",
|
|
7394
|
+
"sdkName": "namespace",
|
|
7383
7395
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7384
7396
|
},
|
|
7385
7397
|
{
|
|
@@ -7400,13 +7412,13 @@ export const operations = [
|
|
|
7400
7412
|
"summary": "List workflow vault bindings",
|
|
7401
7413
|
"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.",
|
|
7402
7414
|
"http": "GET",
|
|
7403
|
-
"path": "/automation/v1/workflows/{
|
|
7415
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/vaults",
|
|
7404
7416
|
"streaming": "no",
|
|
7405
7417
|
"pagination": false,
|
|
7406
7418
|
"pathParams": [
|
|
7407
7419
|
{
|
|
7408
|
-
"name": "
|
|
7409
|
-
"sdkName": "
|
|
7420
|
+
"name": "namespace",
|
|
7421
|
+
"sdkName": "namespace",
|
|
7410
7422
|
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
7411
7423
|
},
|
|
7412
7424
|
{
|
|
@@ -7423,13 +7435,13 @@ export const operations = [
|
|
|
7423
7435
|
"summary": "Delete a workflow vault binding",
|
|
7424
7436
|
"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.",
|
|
7425
7437
|
"http": "DELETE",
|
|
7426
|
-
"path": "/automation/v1/workflows/{
|
|
7438
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/vaults/{alias}",
|
|
7427
7439
|
"streaming": "no",
|
|
7428
7440
|
"pagination": false,
|
|
7429
7441
|
"pathParams": [
|
|
7430
7442
|
{
|
|
7431
|
-
"name": "
|
|
7432
|
-
"sdkName": "
|
|
7443
|
+
"name": "namespace",
|
|
7444
|
+
"sdkName": "namespace",
|
|
7433
7445
|
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
7434
7446
|
},
|
|
7435
7447
|
{
|
|
@@ -7451,13 +7463,13 @@ export const operations = [
|
|
|
7451
7463
|
"summary": "Set a workflow vault binding",
|
|
7452
7464
|
"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\"}.",
|
|
7453
7465
|
"http": "PUT",
|
|
7454
|
-
"path": "/automation/v1/workflows/{
|
|
7466
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/vaults/{alias}",
|
|
7455
7467
|
"streaming": "no",
|
|
7456
7468
|
"pagination": false,
|
|
7457
7469
|
"pathParams": [
|
|
7458
7470
|
{
|
|
7459
|
-
"name": "
|
|
7460
|
-
"sdkName": "
|
|
7471
|
+
"name": "namespace",
|
|
7472
|
+
"sdkName": "namespace",
|
|
7461
7473
|
"description": "Namespace from automation.workflows.list or create; identifies the saved workflow, independently of versions."
|
|
7462
7474
|
},
|
|
7463
7475
|
{
|
|
@@ -7490,13 +7502,13 @@ export const operations = [
|
|
|
7490
7502
|
"summary": "List workflow versions",
|
|
7491
7503
|
"description": "Page through immutable schemas and locked dependencies in descending semantic-version order. Lists omit source by default; only expand=source includes full source, and other values return 400. Detail endpoints retain full source.",
|
|
7492
7504
|
"http": "GET",
|
|
7493
|
-
"path": "/automation/v1/workflows/{
|
|
7505
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/versions",
|
|
7494
7506
|
"streaming": "no",
|
|
7495
7507
|
"pagination": true,
|
|
7496
7508
|
"pathParams": [
|
|
7497
7509
|
{
|
|
7498
|
-
"name": "
|
|
7499
|
-
"sdkName": "
|
|
7510
|
+
"name": "namespace",
|
|
7511
|
+
"sdkName": "namespace",
|
|
7500
7512
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7501
7513
|
},
|
|
7502
7514
|
{
|
|
@@ -7536,15 +7548,15 @@ export const operations = [
|
|
|
7536
7548
|
"publish"
|
|
7537
7549
|
],
|
|
7538
7550
|
"summary": "Publish a workflow version",
|
|
7539
|
-
"description": "Publish a saved definition from its draft or an ad hoc run as a reusable version for named runs or triggers, validating the definition and locking dependencies. To test unpublished code, use praxis.automation.runs.create with source and language instead.
|
|
7551
|
+
"description": "Publish a saved definition from its draft or an ad hoc run as a reusable version for named runs or triggers, validating the definition and locking dependencies. To test unpublished code, use praxis.automation.runs.create with source and language instead. Send draft.revision from create or retrieve as draft.revision in the body (expected_draft_revision is a deprecated alias). The draft must match it; an ad hoc run requires from_run and expected_source_sha256. The same version and contents return the existing version; different contents return VERSION_EXISTS, prereleases require an explicit tag (not latest, URL-safe characters only, not a version or range; violations return TAG_REQUIRED or TAG_INVALID with the complete rules in hint), and invalid definitions return DEFINITION_INVALID. Stable releases automatically advance latest only above the highest existing stable version; workflows becoming latest synchronize their declared schedule. String and object run.workflow/run.script references share version resolution and dependency locking. Publishing removes +build metadata from the version number. For a workflow, document namespace, name and version must equal the publish target, otherwise DEFINITION_IDENTITY_MISMATCH; where a DEFINITION_INVALID failure sits is listed in errors[] (pointer, detail, hint).",
|
|
7540
7552
|
"http": "POST",
|
|
7541
|
-
"path": "/automation/v1/workflows/{
|
|
7553
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/versions",
|
|
7542
7554
|
"streaming": "no",
|
|
7543
7555
|
"pagination": false,
|
|
7544
7556
|
"pathParams": [
|
|
7545
7557
|
{
|
|
7546
|
-
"name": "
|
|
7547
|
-
"sdkName": "
|
|
7558
|
+
"name": "namespace",
|
|
7559
|
+
"sdkName": "namespace",
|
|
7548
7560
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7549
7561
|
},
|
|
7550
7562
|
{
|
|
@@ -7565,13 +7577,13 @@ export const operations = [
|
|
|
7565
7577
|
"summary": "Get a workflow version",
|
|
7566
7578
|
"description": "Read source, input/output schemas and deprecation details for an exact version. Missing versions return VERSION_NOT_FOUND. Details always return full source. version accepts an exact version or dist-tag; a range returns 400 with a hint to use /resolve.",
|
|
7567
7579
|
"http": "GET",
|
|
7568
|
-
"path": "/automation/v1/workflows/{
|
|
7580
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/versions/{version}",
|
|
7569
7581
|
"streaming": "no",
|
|
7570
7582
|
"pagination": false,
|
|
7571
7583
|
"pathParams": [
|
|
7572
7584
|
{
|
|
7573
|
-
"name": "
|
|
7574
|
-
"sdkName": "
|
|
7585
|
+
"name": "namespace",
|
|
7586
|
+
"sdkName": "namespace",
|
|
7575
7587
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7576
7588
|
},
|
|
7577
7589
|
{
|
|
@@ -7593,13 +7605,13 @@ export const operations = [
|
|
|
7593
7605
|
"summary": "Deprecate a workflow version",
|
|
7594
7606
|
"description": "Record a deprecation message; an empty message removes deprecation without changing the version source.",
|
|
7595
7607
|
"http": "POST",
|
|
7596
|
-
"path": "/automation/v1/workflows/{
|
|
7608
|
+
"path": "/automation/v1/workflows/{namespace}/{name}/versions/{version}/deprecate",
|
|
7597
7609
|
"streaming": "no",
|
|
7598
7610
|
"pagination": false,
|
|
7599
7611
|
"pathParams": [
|
|
7600
7612
|
{
|
|
7601
|
-
"name": "
|
|
7602
|
-
"sdkName": "
|
|
7613
|
+
"name": "namespace",
|
|
7614
|
+
"sdkName": "namespace",
|
|
7603
7615
|
"description": "Namespace, folded to lowercase; matches [a-z0-9][a-z0-9._-]{0,63} for existing references, including historical dotted names; new names must match [a-z0-9][a-z0-9_-]{0,63}. praxis is reserved for built-in Actions."
|
|
7604
7616
|
},
|
|
7605
7617
|
{
|
|
@@ -8836,6 +8848,41 @@ export const operations = [
|
|
|
8836
8848
|
}
|
|
8837
8849
|
]
|
|
8838
8850
|
},
|
|
8851
|
+
{
|
|
8852
|
+
"resource": "canvas.canvases.processes.steps",
|
|
8853
|
+
"method": "retrieveBrief",
|
|
8854
|
+
"summary": "Read a process step brief",
|
|
8855
|
+
"description": "Read everything needed to fill one step of a canvas process, in one call, before writing its output. A process is a frame whose steps are requirement blocks; this read returns the step's requirement and derived state (waiting, ready or filled), its linked materials resolved to content, the process's shared context, the outputs of the steps it needs, and its own current outputs. Supply process_id from canvases.state or nodes.list (the process frame, or the instance of a library process that is this production) and the step key from a requirement. To fill the step, create the output element and write metadata.output through canvases.execute; this read stores nothing. A platform object linked as an embed node comes back as its reference only; read it from its own domain. Links that point at deleted nodes are dropped from the lists and named in issues.",
|
|
8856
|
+
"http": "GET",
|
|
8857
|
+
"path": "/canvas/v1/canvases/{canvas_id}/processes/{process_id}/steps/{step_id}/brief",
|
|
8858
|
+
"streaming": "no",
|
|
8859
|
+
"pagination": false,
|
|
8860
|
+
"pathParams": [
|
|
8861
|
+
{
|
|
8862
|
+
"name": "canvas_id",
|
|
8863
|
+
"sdkName": "canvas_id",
|
|
8864
|
+
"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."
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
"name": "process_id",
|
|
8868
|
+
"sdkName": "process_id",
|
|
8869
|
+
"description": "Node id of the process frame, or of the ref instance that is one production of a library process; the outputs of a production point at this id."
|
|
8870
|
+
},
|
|
8871
|
+
{
|
|
8872
|
+
"name": "step_id",
|
|
8873
|
+
"sdkName": "step_id",
|
|
8874
|
+
"description": "Step key from the requirement block, such as 1 or 9a; not the node id of the step frame."
|
|
8875
|
+
}
|
|
8876
|
+
],
|
|
8877
|
+
"query": [
|
|
8878
|
+
{
|
|
8879
|
+
"name": "version",
|
|
8880
|
+
"type": "string",
|
|
8881
|
+
"required": false,
|
|
8882
|
+
"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."
|
|
8883
|
+
}
|
|
8884
|
+
]
|
|
8885
|
+
},
|
|
8839
8886
|
{
|
|
8840
8887
|
"resource": "canvas.canvases.versions",
|
|
8841
8888
|
"method": "list",
|
|
@@ -11125,7 +11172,7 @@ export const operations = [
|
|
|
11125
11172
|
"resource": "customer.accessTokens",
|
|
11126
11173
|
"method": "create",
|
|
11127
11174
|
"summary": "Exchange a grant code or publishable key",
|
|
11128
|
-
"description": "
|
|
11175
|
+
"description": "Deprecated: use POST /end/v1/access_tokens instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nTurn a grant code, or a publishable key for an anonymous visitor, into the Praxis customer access token that authorizes the Kit's sessions and playbacks. It is PRE-AUTH: no platform API key is needed, because the grant code or the publishable key is the credential; the Kit calls it from the browser, so send the page Origin when the code or key is bound to one. Send exactly one of grant_code or publishable_key — the door refuses any other combination with 400. With grant_code the code is consumed atomically: concurrent attempts have exactly one winner, and unknown, already used, expired and foreign codes all answer 401 GRANT_CODE_INVALID. With publishable_key a new anonymous customer (anon_…) is created and merged into the identified one later if it signs in. The sign-in may be bound to an origin at creation; when the request Origin does not satisfy it, the exchange answers 403 ORIGIN_NOT_ALLOWED, and a blocked end user answers 403 CUSTOMER_BLOCKED. The access token lasts at most two hours and never outlives the sign-in; renew it with praxis.customer.accessTokens.renew before expires_at. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After. A publishable key may also carry its own limits (anon_rate_per_min and daily_session_cap, set on the key): over the key's per-minute exchanges the door answers 429 PUBLISHABLE_KEY_RATE_LIMITED, and once the key has admitted daily_session_cap new anonymous visitors in the current UTC day it answers 429 PUBLISHABLE_KEY_DAILY_CAP_REACHED to a new visitor while a returning visitor with a continuation_token still continues; both carry Retry-After, the seconds until their UTC minute or day ends. A key may also carry a daily_spend_cap, the most its visitors' usage may cost in one UTC day: once the usage events of this key in the current UTC day add up to it (when the platform has switched the spend cap on for your organization), the door answers 429 PUBLISHABLE_KEY_DAILY_SPEND_CAP_REACHED to every visitor, a returning one with a continuation_token included, with Retry-After until 00:00 UTC.",
|
|
11129
11176
|
"http": "POST",
|
|
11130
11177
|
"path": "/customer/v1/access_tokens",
|
|
11131
11178
|
"streaming": "no",
|
|
@@ -11168,7 +11215,7 @@ export const operations = [
|
|
|
11168
11215
|
"resource": "customer.accessTokens",
|
|
11169
11216
|
"method": "revoke",
|
|
11170
11217
|
"summary": "Sign out the current token",
|
|
11171
|
-
"description": "
|
|
11218
|
+
"description": "Deprecated: use DELETE /end/v1/access_tokens/current instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nSign out: end the sign-in the caller's token belongs to and revoke every token issued from it, exactly as a logout does. It is PRE-AUTH: the credential is the token the caller carries as `Authorization: Bearer <access_token>`. Use it when the end user asks to sign out, and after it every token of that sign-in stops working and a later session or playback answers 401 SIGN_IN_REVOKED; other sign-ins of the same end user are untouched (revoke every token of one end user, organization-wide, with praxis.customer.customers.revokeTokens). A missing or unverifiable token answers 401 ACCESS_TOKEN_EXPIRED. The call answers 200 with an empty body. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.",
|
|
11172
11219
|
"http": "DELETE",
|
|
11173
11220
|
"path": "/customer/v1/access_tokens/current",
|
|
11174
11221
|
"streaming": "no",
|
|
@@ -11180,7 +11227,7 @@ export const operations = [
|
|
|
11180
11227
|
"resource": "customer.accessTokens",
|
|
11181
11228
|
"method": "renew",
|
|
11182
11229
|
"summary": "Renew an access token",
|
|
11183
|
-
"description": "
|
|
11230
|
+
"description": "Deprecated: use POST /end/v1/access_tokens/renew instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nReplace a live access token with a fresh one so a signed-in end user stays signed in without signing in again. It is PRE-AUTH: the credential is the token the caller already carries as `Authorization: Bearer <access_token>`, verified by this door, and the token names the sign-in it renews. Call it before the token's expires_at; the sign-in and its resource scopes stay the same, so what the end user may reach does not change. A missing, unverifiable or foreign token answers 401 ACCESS_TOKEN_EXPIRED, and a sign-in that is over answers 401 SIGN_IN_EXPIRED or SIGN_IN_REVOKED, in which case the end user signs in again through praxis.customer.accessTokens.create. A blocked end user answers 403 CUSTOMER_BLOCKED. When the sign-in itself has ended, the renewal does not extend it. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.",
|
|
11184
11231
|
"http": "POST",
|
|
11185
11232
|
"path": "/customer/v1/access_tokens/renew",
|
|
11186
11233
|
"streaming": "no",
|
|
@@ -11192,7 +11239,7 @@ export const operations = [
|
|
|
11192
11239
|
"resource": "customer.customers",
|
|
11193
11240
|
"method": "list",
|
|
11194
11241
|
"summary": "List end users",
|
|
11195
|
-
"description": "
|
|
11242
|
+
"description": "Deprecated: use GET /end/v1/users instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nRead the organization's end-user directory and obtain the customer_id the administrative acts take. Results are ordered by last_seen_at, most recently seen first. Filter with type (identified for people who signed in through a grant code, anonymous for visitors admitted with a publishable key), blocked (true or false), resource (one product in the form agent:<id>, content:<id> or application:<id>, giving that product's own view of the directory) and q (a prefix of the customer id). Identified and anonymous end users both appear; an anonymous one that later signs in shows merged_into and its record joins that person. page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null, keeping the same filters.",
|
|
11196
11243
|
"http": "GET",
|
|
11197
11244
|
"path": "/customer/v1/customers",
|
|
11198
11245
|
"streaming": "no",
|
|
@@ -11245,7 +11292,7 @@ export const operations = [
|
|
|
11245
11292
|
"resource": "customer.customers",
|
|
11246
11293
|
"method": "delete",
|
|
11247
11294
|
"summary": "Delete an end user",
|
|
11248
|
-
"description": "
|
|
11295
|
+
"description": "Deprecated: use DELETE /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nDelete one end user on the merchant's own confirmation, for a deletion request the person made to you. The confirm query parameter must repeat the path's customer_id; the door passes it through verbatim and the service refuses any other value with 400 INVALID_PARAMS, so a missing confirm never deletes anything. The deletion is announced on the platform event bus and each product deletes its own sessions, events and files for that person, so the call returns as soon as the directory record is gone, not when every product has finished. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.",
|
|
11249
11296
|
"http": "DELETE",
|
|
11250
11297
|
"path": "/customer/v1/customers/{customer_id}",
|
|
11251
11298
|
"streaming": "no",
|
|
@@ -11270,7 +11317,7 @@ export const operations = [
|
|
|
11270
11317
|
"resource": "customer.customers",
|
|
11271
11318
|
"method": "retrieve",
|
|
11272
11319
|
"summary": "Get an end user",
|
|
11273
|
-
"description": "
|
|
11320
|
+
"description": "Deprecated: use GET /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nRead one end user of the organization: the id, its kind, whether it is blocked, its metadata and when it was first and last seen. Add expand=products,sign_ins,usage (comma separated, any combination) to also receive the products it has used with their counts, its sign-ins with their resource scopes, and its recorded usage over the whole time. An unknown id, and an id of another organization, answer 404 CUSTOMER_NOT_FOUND.",
|
|
11274
11321
|
"http": "GET",
|
|
11275
11322
|
"path": "/customer/v1/customers/{customer_id}",
|
|
11276
11323
|
"streaming": "no",
|
|
@@ -11295,7 +11342,7 @@ export const operations = [
|
|
|
11295
11342
|
"resource": "customer.customers",
|
|
11296
11343
|
"method": "block",
|
|
11297
11344
|
"summary": "Block an end user",
|
|
11298
|
-
"description": "
|
|
11345
|
+
"description": "Deprecated: use POST /end/v1/users/{end_user_id}/block instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nBlock one end user across every product of the organization. From then on no grant code, sign-in, renewal or new session and no playback is accepted for this id — each product's admission door refuses it at once. A stream already running and a playback capability already issued ride out their own token, at most two hours and 3000 seconds; they are not cut off. Send reason to record why, and the response's blocked field carries the block time, the reason and the actor. Blocking an already blocked end user is idempotent: the first block time is kept. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.",
|
|
11299
11346
|
"http": "POST",
|
|
11300
11347
|
"path": "/customer/v1/customers/{customer_id}/block",
|
|
11301
11348
|
"streaming": "no",
|
|
@@ -11324,7 +11371,7 @@ export const operations = [
|
|
|
11324
11371
|
"resource": "customer.customers",
|
|
11325
11372
|
"method": "revokeTokens",
|
|
11326
11373
|
"summary": "Revoke every token of an end user",
|
|
11327
|
-
"description": "
|
|
11374
|
+
"description": "Deprecated: use POST /end/v1/users/{end_user_id}/revoke_tokens instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nEnd every sign-in of one end user at once, everything of the organization's, not one product's and not one token's. Use it when credentials may have leaked and the end user must not be trusted until it signs in again; a single sign-in is ended instead with praxis.customer.accessTokens.revoke. After it every token of that end user stops working and a new session or playback answers 401 SIGN_IN_REVOKED, while the end user itself stays in the directory and may sign in again. The response counts how many sign-ins were revoked. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.",
|
|
11328
11375
|
"http": "POST",
|
|
11329
11376
|
"path": "/customer/v1/customers/{customer_id}/revoke_tokens",
|
|
11330
11377
|
"streaming": "no",
|
|
@@ -11342,7 +11389,7 @@ export const operations = [
|
|
|
11342
11389
|
"resource": "customer.customers",
|
|
11343
11390
|
"method": "unblock",
|
|
11344
11391
|
"summary": "Unblock an end user",
|
|
11345
|
-
"description": "
|
|
11392
|
+
"description": "Deprecated: use POST /end/v1/users/{end_user_id}/unblock instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nLift a block from one end user, so the products accept its grant codes, sign-ins, renewals and new sessions again. Tokens that were revoked to enforce the block are not restored: the end user signs in again for a fresh sign-in. Unblocking an end user that is not blocked is idempotent and returns it unchanged. An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.",
|
|
11346
11393
|
"http": "POST",
|
|
11347
11394
|
"path": "/customer/v1/customers/{customer_id}/unblock",
|
|
11348
11395
|
"streaming": "no",
|
|
@@ -11360,7 +11407,7 @@ export const operations = [
|
|
|
11360
11407
|
"resource": "customer.usage",
|
|
11361
11408
|
"method": "retrieve",
|
|
11362
11409
|
"summary": "Read end-user usage",
|
|
11363
|
-
"description": "
|
|
11410
|
+
"description": "Deprecated: use GET /end/v1/users/{end_user_id}/usage instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nRead what one end user has cost the organization, per product and per day. The directory stores no cost itself: this reads billing by the customerId dimension shared by every product, so it is the money figure the platform charged for that person. Send from and/or to as RFC 3339 times to narrow the window; omit both for everything recorded. Returns the total, the per-product breakdown and the per-day breakdown. An unknown id answers 404 CUSTOMER_NOT_FOUND.",
|
|
11364
11411
|
"http": "GET",
|
|
11365
11412
|
"path": "/customer/v1/customers/{customer_id}/usage",
|
|
11366
11413
|
"streaming": "no",
|
|
@@ -11391,7 +11438,7 @@ export const operations = [
|
|
|
11391
11438
|
"resource": "customer.grantCodes",
|
|
11392
11439
|
"method": "create",
|
|
11393
11440
|
"summary": "Create a grant code",
|
|
11394
|
-
"description": "
|
|
11441
|
+
"description": "Deprecated: use POST /end/v1/grant_codes instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nSign one of your logged-in end users in from your backend, after your own login succeeded, by handing out a one-time grant code that the browser exchanges for an access token. Call it with the organization API key; never from the browser, because the API key must stay on your server. customer_id is your own identifier for the person (an opaque value such as your database user id, not an email address or phone number); a value starting with anon_ is reserved for anonymous visitors. resources name what the sign-in may reach and is required: each entry is a scope string in the form agent:<id>:chat, content:<id>:play or application:<id>:visit, or an object with that scope plus product params this service stores without interpreting; use the id form for one object and * for every object of a type. expires_in shortens the code's life in seconds (900 seconds, fifteen minutes, by default) and max_session_seconds shortens the sign-in's life (7 days by default); merge_customer_id merges an anonymous visitor's record into this person; origin pins the page the sign-in may be made from. When the browser still holds that visitor's own access token, send it as anonymous_access_token instead of merge_customer_id: the door verifies it and merges the visitor it names, which is the usual way a merchant continues a session the browser already began. The code is single use and unknown, used or expired codes all answer 401 GRANT_CODE_INVALID at the exchange. Returns the code with HTTP 201; pass it to the Kit in the browser and never call this route with it.",
|
|
11395
11442
|
"http": "POST",
|
|
11396
11443
|
"path": "/customer/v1/grant_codes",
|
|
11397
11444
|
"streaming": "no",
|
|
@@ -11457,7 +11504,7 @@ export const operations = [
|
|
|
11457
11504
|
"resource": "customer.publishableKeys",
|
|
11458
11505
|
"method": "list",
|
|
11459
11506
|
"summary": "List publishable keys",
|
|
11460
|
-
"description": "
|
|
11507
|
+
"description": "Deprecated: use GET /end/v1/publishable_keys instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nList the organization's publishable keys, newest first, so you can see which anonymous admittance is open and what each one may reach. A publishable key is public by design (it ships in the browser page); use it from the Kit to admit anonymous visitors, and never expose an API key this way. The plaintext value is not in this list: it is returned once, by the create call, and only its hash is stored. page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null.",
|
|
11461
11508
|
"http": "GET",
|
|
11462
11509
|
"path": "/customer/v1/publishable_keys",
|
|
11463
11510
|
"streaming": "no",
|
|
@@ -11482,7 +11529,7 @@ export const operations = [
|
|
|
11482
11529
|
"resource": "customer.publishableKeys",
|
|
11483
11530
|
"method": "create",
|
|
11484
11531
|
"summary": "Create a publishable key",
|
|
11485
|
-
"description": "
|
|
11532
|
+
"description": "Deprecated: use POST /end/v1/publishable_keys instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nMint a publishable key so a page can admit anonymous visitors without you signing each one in from your backend. name labels the key for the console and the key list. resources is required and names what an anonymous visitor may reach, in the same form as the grant-code scopes: agent:<id>:chat, content:<id>:play or application:<id>:visit, with * for every object of one type; give it only what the anonymous experience needs, because any visitor who has the page can use the key. The response carries the plaintext key once, in key, and the store keeps only its hash — save it then, because no later call returns it. anon_rate_per_min, daily_session_cap and daily_spend_cap are optional limits of the key itself, all absent by default: the first caps how many exchanges the key allows per UTC minute across all visitors, the second how many new anonymous visitors it admits per UTC day (returning visitors are not counted); the third, daily_spend_cap, is the most the usage of this key's visitors may cost in one UTC day, as an amount with its currency such as {\"amount\": \"5.00\", \"currency\": \"USD\"} (at most 2 decimals), read from the key's usage events; change them later with praxis.customer.publishableKeys.update. Returns HTTP 201; the exchange that consumes it is praxis.customer.accessTokens.create with publishable_key.",
|
|
11486
11533
|
"http": "POST",
|
|
11487
11534
|
"path": "/customer/v1/publishable_keys",
|
|
11488
11535
|
"streaming": "no",
|
|
@@ -11530,7 +11577,7 @@ export const operations = [
|
|
|
11530
11577
|
"resource": "customer.publishableKeys",
|
|
11531
11578
|
"method": "delete",
|
|
11532
11579
|
"summary": "Delete a publishable key",
|
|
11533
|
-
"description": "
|
|
11580
|
+
"description": "Deprecated: use DELETE /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nDelete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 CUSTOMER_NOT_FOUND.",
|
|
11534
11581
|
"http": "DELETE",
|
|
11535
11582
|
"path": "/customer/v1/publishable_keys/{key_id}",
|
|
11536
11583
|
"streaming": "no",
|
|
@@ -11548,7 +11595,7 @@ export const operations = [
|
|
|
11548
11595
|
"resource": "customer.publishableKeys",
|
|
11549
11596
|
"method": "update",
|
|
11550
11597
|
"summary": "Update a publishable key",
|
|
11551
|
-
"description": "
|
|
11598
|
+
"description": "Deprecated: use PATCH /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. It answers meanwhile with a `Deprecation` header and a `Link` to its successor (#5299).\nChange the name of a publishable key or its own limits on anonymous admittance, for example to cap a page that is drawing more anonymous visitors than you want to pay for. Send at least one of name, anon_rate_per_min, daily_session_cap or daily_spend_cap; a field left out keeps its value, and null removes that limit. anon_rate_per_min caps the exchanges of this key per UTC minute across all visitors (returning visitors included), daily_session_cap caps the new anonymous visitors it admits per UTC day, and daily_spend_cap caps what its visitors' usage may cost per UTC day (a returning visitor is refused too, because it would start new chargeable work); a returning visitor that sends its continuation_token is never counted toward or refused by the daily cap. A new limit applies from the next exchange. The resources a key grants and its plaintext value never change; mint a new key for different resources. Get the key id from the publishable key list. An unknown, deleted or foreign id answers 400 INVALID_PARAMS, as does a limit outside its range.",
|
|
11552
11599
|
"http": "PATCH",
|
|
11553
11600
|
"path": "/customer/v1/publishable_keys/{key_id}",
|
|
11554
11601
|
"streaming": "no",
|
|
@@ -11980,7 +12027,7 @@ export const operations = [
|
|
|
11980
12027
|
"resource": "cut.projects.exports",
|
|
11981
12028
|
"method": "create",
|
|
11982
12029
|
"summary": "Create video export",
|
|
11983
|
-
"description": "Start an asynchronous video export from the project
|
|
12030
|
+
"description": "Start an asynchronous video export from the project, and optionally select revision and output settings. Omit both binding and folder and the export only produces a file: no library receives it, and on done file.url downloads it (the link is valid for one hour and is minted on every read). Name a binding from bindings.list (a writable one), or a folder, and the finished video is also imported into that media library, and on done asset identifies it in praxis.media. HTTP 202 only accepts the job; poll praxis.cut.exports.retrieve using the returned id until status is done, failed or canceled. Each call starts a job, so retrieve a known job before retrying a submission.",
|
|
11984
12031
|
"http": "POST",
|
|
11985
12032
|
"path": "/cut/v1/projects/{project_id}/exports",
|
|
11986
12033
|
"streaming": "no",
|
|
@@ -12018,7 +12065,7 @@ export const operations = [
|
|
|
12018
12065
|
"name": "binding",
|
|
12019
12066
|
"type": "string",
|
|
12020
12067
|
"required": false,
|
|
12021
|
-
"description": "Writable binding name
|
|
12068
|
+
"description": "Writable binding name the finished video is imported into; the response then carries asset. Omit binding and folder and nothing is imported (default_upload is not used here): the export is a file only, read file.url to download it within one hour."
|
|
12022
12069
|
},
|
|
12023
12070
|
{
|
|
12024
12071
|
"name": "revision",
|
|
@@ -18207,6 +18254,60 @@ export const operations = [
|
|
|
18207
18254
|
]
|
|
18208
18255
|
}
|
|
18209
18256
|
},
|
|
18257
|
+
{
|
|
18258
|
+
"resource": "devops.pullRequests",
|
|
18259
|
+
"method": "overrideGate",
|
|
18260
|
+
"summary": "Record a listed position's exception to the merge gate",
|
|
18261
|
+
"description": "Record the one exception to the fail-closed merge gate: the written authorization of a holder of a position listed in practice-config (today CEO, CTO, COO), for named checks, at the pull request's current head. Use it only when the authorization is already written on a ticket and the platform cannot answer a check in time; to restart a check the platform failed, use rerunGate first. headSha must be the current head (HEAD_MOVED otherwise), and a new push voids the override, because the gate reads only the overrides of its own head. authorizedBy must be the address (agent:<id> or human:<id>) of an actor holding an active workforce assignment to one of the positions listed in practice-config (today CEO, CTO, COO), otherwise GATE_OVERRIDE_NOT_AUTHORIZED (403) and nothing is written; when the position list or the workforce assignments cannot be read, or the list is empty, the call is refused too (fail-closed). The override is written once and never changed: the checks keep their real result, stop counting, and carry overriddenBy; the gate is decided again and its summary lists them on their own line, and the event devops.gate.overridden is published. A pull request that is not open is refused with PULL_REQUEST_NOT_OPEN. Example body: {\"headSha\":\"4f2a9c1…\",\"checks\":[\"repo-lint\"],\"ticket\":\"#5273\",\"reason\":\"build machines down, fix in #6801\",\"authorizedBy\":\"agent:agent_praxisfour\"}.",
|
|
18262
|
+
"http": "POST",
|
|
18263
|
+
"path": "/devops/v1/pull-requests/{id}:overrideGate",
|
|
18264
|
+
"streaming": "no",
|
|
18265
|
+
"pagination": false,
|
|
18266
|
+
"pathParams": [
|
|
18267
|
+
{
|
|
18268
|
+
"name": "id",
|
|
18269
|
+
"sdkName": "id",
|
|
18270
|
+
"description": "The pull request's platform id (pr_…) from a pull request list, not GitHub's pull request number; the retrieve, rerunGate, merge and recordVerdict calls all address the pull request by it."
|
|
18271
|
+
}
|
|
18272
|
+
],
|
|
18273
|
+
"query": [],
|
|
18274
|
+
"body": {
|
|
18275
|
+
"required": true,
|
|
18276
|
+
"fields": [
|
|
18277
|
+
{
|
|
18278
|
+
"name": "headSha",
|
|
18279
|
+
"type": "string",
|
|
18280
|
+
"required": true,
|
|
18281
|
+
"description": "The pull request's current head commit, from the pull request's head.sha; any other commit is refused with HEAD_MOVED."
|
|
18282
|
+
},
|
|
18283
|
+
{
|
|
18284
|
+
"name": "checks",
|
|
18285
|
+
"type": "array",
|
|
18286
|
+
"itemType": "string",
|
|
18287
|
+
"required": true,
|
|
18288
|
+
"description": "The gate checks the exception covers, at least one; a name that is not a gate check is refused with INVALID_ARGUMENT."
|
|
18289
|
+
},
|
|
18290
|
+
{
|
|
18291
|
+
"name": "ticket",
|
|
18292
|
+
"type": "string",
|
|
18293
|
+
"required": true,
|
|
18294
|
+
"description": "The ticket the authorization is written on, as #<number> or its URL."
|
|
18295
|
+
},
|
|
18296
|
+
{
|
|
18297
|
+
"name": "reason",
|
|
18298
|
+
"type": "string",
|
|
18299
|
+
"required": true,
|
|
18300
|
+
"description": "Why the check is let through at this head, in one sentence a later reader can audit."
|
|
18301
|
+
},
|
|
18302
|
+
{
|
|
18303
|
+
"name": "authorizedBy",
|
|
18304
|
+
"type": "string",
|
|
18305
|
+
"required": true,
|
|
18306
|
+
"description": "The holder of a listed position who authorized it, as agent:<id> or human:<id>; must hold an active assignment to one of the positions listed in practice-config (today CEO, CTO, COO)."
|
|
18307
|
+
}
|
|
18308
|
+
]
|
|
18309
|
+
}
|
|
18310
|
+
},
|
|
18210
18311
|
{
|
|
18211
18312
|
"resource": "devops.pullRequests",
|
|
18212
18313
|
"method": "recordVerdict",
|
|
@@ -18262,7 +18363,7 @@ export const operations = [
|
|
|
18262
18363
|
"resource": "devops.pullRequests",
|
|
18263
18364
|
"method": "rerunGate",
|
|
18264
18365
|
"summary": "Decide a pull request's merge gate again",
|
|
18265
|
-
"description": "Decide the merge gate again at the pull request's current head and report the result on GitHub as the \"Praxis DevOps / gate\" check run
|
|
18366
|
+
"description": "Decide the merge gate again at the pull request's current head and report the result on GitHub as the \"Praxis DevOps / gate\" check run; use it when a check says 平台故障,不是代码问题 (cause infrastructure) or when a fact the gate reads changed without a new push. First it restarts the checks the platform could not answer at this head — repo-lint or lockfile reading unavailable with cause infrastructure, or not_run — by clearing their unanswered records and starting the check machine again; a passed or failed result is never reopened. Restarting is limited to 3 times per head per hour, and a fourth is refused with GATE_RERUN_LIMITED (429): an outage that is not fixed only fails again, so report it to 运维部 instead. A call with nothing to restart only decides again and is never limited — for example after a flag was registered (test evidence uploaded for the head already decides the gate again by itself). The answer is the pull request with the gate it now reaches; a restarted check reads pending until the machine answers. A head whose earlier gate already had a verdict and comes back pending opens a NEW check run, because GitHub will not reopen a completed one.",
|
|
18266
18367
|
"http": "POST",
|
|
18267
18368
|
"path": "/devops/v1/pull-requests/{id}:rerunGate",
|
|
18268
18369
|
"streaming": "no",
|
|
@@ -18913,32 +19014,618 @@ export const operations = [
|
|
|
18913
19014
|
"query": []
|
|
18914
19015
|
},
|
|
18915
19016
|
{
|
|
18916
|
-
"resource": "
|
|
18917
|
-
"method": "
|
|
18918
|
-
"summary": "
|
|
18919
|
-
"description": "
|
|
18920
|
-
"http": "
|
|
18921
|
-
"path": "/
|
|
19017
|
+
"resource": "end.accessTokens",
|
|
19018
|
+
"method": "create",
|
|
19019
|
+
"summary": "Exchange a grant code or publishable key",
|
|
19020
|
+
"description": "Turn a grant code, or a publishable key for an anonymous visitor, into the Praxis end user access token that authorizes the Kit's sessions and playbacks. It is PRE-AUTH: no platform API key is needed, because the grant code or the publishable key is the credential; the Kit calls it from the browser, so send the page Origin when the code or key is bound to one. Send exactly one of grant_code or publishable_key — the door refuses any other combination with 400. With grant_code the code is consumed atomically: concurrent attempts have exactly one winner, and unknown, already used, expired and foreign codes all answer 401 GRANT_CODE_INVALID. With publishable_key a new anonymous end user (anon_…) is created and merged into the identified one later if it signs in. The sign-in may be bound to an origin at creation; when the request Origin does not satisfy it, the exchange answers 403 ORIGIN_NOT_ALLOWED, and a blocked end user answers 403 END_USER_BLOCKED. The access token lasts at most two hours and never outlives the sign-in; renew it with praxis.end.accessTokens.renew before expires_at. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After. A publishable key may also carry its own limits (anon_rate_per_min and daily_session_cap, set on the key): over the key's per-minute exchanges the door answers 429 PUBLISHABLE_KEY_RATE_LIMITED, and once the key has admitted daily_session_cap new anonymous visitors in the current UTC day it answers 429 PUBLISHABLE_KEY_DAILY_CAP_REACHED to a new visitor while a returning visitor with a continuation_token still continues; both carry Retry-After, the seconds until their UTC minute or day ends. A key may also carry a daily_spend_cap, the most its visitors' usage may cost in one UTC day: once the usage events of this key in the current UTC day add up to it (when the platform has switched the spend cap on for your organization), the door answers 429 PUBLISHABLE_KEY_DAILY_SPEND_CAP_REACHED to every visitor, a returning one with a continuation_token included, with Retry-After until 00:00 UTC.",
|
|
19021
|
+
"http": "POST",
|
|
19022
|
+
"path": "/end/v1/access_tokens",
|
|
18922
19023
|
"streaming": "no",
|
|
18923
19024
|
"pagination": false,
|
|
18924
19025
|
"pathParams": [],
|
|
18925
|
-
"query": [
|
|
19026
|
+
"query": [],
|
|
19027
|
+
"headers": [
|
|
18926
19028
|
{
|
|
18927
|
-
"name": "
|
|
19029
|
+
"name": "Origin",
|
|
18928
19030
|
"type": "string",
|
|
18929
19031
|
"required": false,
|
|
18930
|
-
"description": "
|
|
18931
|
-
}
|
|
18932
|
-
|
|
18933
|
-
|
|
18934
|
-
|
|
18935
|
-
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
19032
|
+
"description": "Browser page origin the exchange is made from, for example https://school.example.com. Send it when the sign-in is bound to one; the service compares it with the binding and refuses a mismatch."
|
|
19033
|
+
}
|
|
19034
|
+
],
|
|
19035
|
+
"body": {
|
|
19036
|
+
"required": true,
|
|
19037
|
+
"fields": [
|
|
19038
|
+
{
|
|
19039
|
+
"name": "grant_code",
|
|
19040
|
+
"type": "string",
|
|
19041
|
+
"required": false,
|
|
19042
|
+
"description": "A grant code (cgc_…) from grant_codes, for an end user you signed in from your backend; it works once."
|
|
19043
|
+
},
|
|
19044
|
+
{
|
|
19045
|
+
"name": "publishable_key",
|
|
19046
|
+
"type": "string",
|
|
19047
|
+
"required": false,
|
|
19048
|
+
"description": "A publishable key (pk_…) for an anonymous visitor; the exchange creates a new anonymous end user bound to the request Origin, unless continuation_token continues an earlier visitor of this key's organization."
|
|
19049
|
+
},
|
|
19050
|
+
{
|
|
19051
|
+
"name": "continuation_token",
|
|
19052
|
+
"type": "string",
|
|
19053
|
+
"required": false,
|
|
19054
|
+
"description": "The continuation_token of an earlier anonymous answer, kept by the page's own storage. A live one continues that anonymous end user (a new sign-in of seven days, with a rotated token); an unknown, expired, revoked, merged, blocked or foreign-organization one is treated as absent, so the answer never reveals whether it exists. It also continues the visitor when the page presents another publishable key of the same organization, but the resources it may reach are only those of the key presented now. Only accepted with publishable_key."
|
|
19055
|
+
}
|
|
19056
|
+
]
|
|
19057
|
+
}
|
|
19058
|
+
},
|
|
19059
|
+
{
|
|
19060
|
+
"resource": "end.accessTokens",
|
|
19061
|
+
"method": "revoke",
|
|
19062
|
+
"summary": "Sign out the current token",
|
|
19063
|
+
"description": "Sign out: end the sign-in the caller's token belongs to and revoke every token issued from it, exactly as a logout does. It is PRE-AUTH: the credential is the token the caller carries as `Authorization: Bearer <access_token>`. Use it when the end user asks to sign out, and after it every token of that sign-in stops working and a later session or playback answers 401 SIGN_IN_REVOKED; other sign-ins of the same end user are untouched (revoke every token of one end user, organization-wide, with praxis.end.users.revokeTokens). A missing or unverifiable token answers 401 ACCESS_TOKEN_EXPIRED. The call answers 200 with an empty body. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.",
|
|
19064
|
+
"http": "DELETE",
|
|
19065
|
+
"path": "/end/v1/access_tokens/current",
|
|
19066
|
+
"streaming": "no",
|
|
19067
|
+
"pagination": false,
|
|
19068
|
+
"pathParams": [],
|
|
19069
|
+
"query": []
|
|
19070
|
+
},
|
|
19071
|
+
{
|
|
19072
|
+
"resource": "end.accessTokens",
|
|
19073
|
+
"method": "renew",
|
|
19074
|
+
"summary": "Renew an access token",
|
|
19075
|
+
"description": "Replace a live access token with a fresh one so a signed-in end user stays signed in without signing in again. It is PRE-AUTH: the credential is the token the caller already carries as `Authorization: Bearer <access_token>`, verified by this door, and the token names the sign-in it renews. Call it before the token's expires_at; the sign-in and its resource scopes stay the same, so what the end user may reach does not change. A missing, unverifiable or foreign token answers 401 ACCESS_TOKEN_EXPIRED, and a sign-in that is over answers 401 SIGN_IN_EXPIRED or SIGN_IN_REVOKED, in which case the end user signs in again through praxis.end.accessTokens.create. A blocked end user answers 403 END_USER_BLOCKED. When the sign-in itself has ended, the renewal does not extend it. This door has its own per-IP anonymous budget: over it answers 429 RATE_LIMITED with Retry-After.",
|
|
19076
|
+
"http": "POST",
|
|
19077
|
+
"path": "/end/v1/access_tokens/renew",
|
|
19078
|
+
"streaming": "no",
|
|
19079
|
+
"pagination": false,
|
|
19080
|
+
"pathParams": [],
|
|
19081
|
+
"query": []
|
|
19082
|
+
},
|
|
19083
|
+
{
|
|
19084
|
+
"resource": "end.grantCodes",
|
|
19085
|
+
"method": "create",
|
|
19086
|
+
"summary": "Create a grant code",
|
|
19087
|
+
"description": "Sign one of your logged-in end users in from your backend, after your own login succeeded, by handing out a one-time grant code that the browser exchanges for an access token. Call it with the organization API key; never from the browser, because the API key must stay on your server. end_user_id is your own identifier for the person (an opaque value such as your database user id, not an email address or phone number); a value starting with anon_ is reserved for anonymous visitors. resources name what the sign-in may reach and is required: each entry is a scope string in the form agent:<id>:chat, content:<id>:play or application:<id>:visit, or an object with that scope plus product params this service stores without interpreting; use the id form for one object and * for every object of a type. expires_in shortens the code's life in seconds (900 seconds, fifteen minutes, by default) and max_session_seconds shortens the sign-in's life (7 days by default); merge_end_user_id merges an anonymous visitor's record into this person; origin pins the page the sign-in may be made from. When the browser still holds that visitor's own access token, send it as anonymous_access_token instead of merge_end_user_id: the door verifies it and merges the visitor it names, which is the usual way a merchant continues a session the browser already began. The code is single use and unknown, used or expired codes all answer 401 GRANT_CODE_INVALID at the exchange. Returns the code with HTTP 201; pass it to the Kit in the browser and never call this route with it.",
|
|
19088
|
+
"http": "POST",
|
|
19089
|
+
"path": "/end/v1/grant_codes",
|
|
19090
|
+
"streaming": "no",
|
|
19091
|
+
"pagination": false,
|
|
19092
|
+
"pathParams": [],
|
|
19093
|
+
"query": [],
|
|
19094
|
+
"body": {
|
|
19095
|
+
"required": true,
|
|
19096
|
+
"fields": [
|
|
19097
|
+
{
|
|
19098
|
+
"name": "end_user_id",
|
|
19099
|
+
"type": "string",
|
|
19100
|
+
"required": true,
|
|
19101
|
+
"description": "Your own identifier for the end user, a non-empty string; do not use an email address or phone number, and a value starting with anon_ is reserved for visitors."
|
|
19102
|
+
},
|
|
19103
|
+
{
|
|
19104
|
+
"name": "metadata",
|
|
19105
|
+
"type": "object",
|
|
19106
|
+
"required": false,
|
|
19107
|
+
"description": "Product metadata to record with the end user, as string key to string value; it is merged over what is already stored."
|
|
19108
|
+
},
|
|
19109
|
+
{
|
|
19110
|
+
"name": "resources",
|
|
19111
|
+
"type": "array",
|
|
19112
|
+
"itemType": "object",
|
|
19113
|
+
"required": true,
|
|
19114
|
+
"description": "Resource scopes the sign-in may reach, at least one, each a scope string or an object with scope and params."
|
|
19115
|
+
},
|
|
19116
|
+
{
|
|
19117
|
+
"name": "origin",
|
|
19118
|
+
"type": "string",
|
|
19119
|
+
"required": false,
|
|
19120
|
+
"description": "Page origin this sign-in is bound to, for example https://school.example.com; a later exchange with another Origin is refused."
|
|
19121
|
+
},
|
|
19122
|
+
{
|
|
19123
|
+
"name": "expires_in",
|
|
19124
|
+
"type": "integer",
|
|
19125
|
+
"required": false,
|
|
19126
|
+
"description": "Lifetime of the code in seconds; omit for the fifteen-minute default, and send a smaller number to shorten it."
|
|
19127
|
+
},
|
|
19128
|
+
{
|
|
19129
|
+
"name": "max_session_seconds",
|
|
19130
|
+
"type": "integer",
|
|
19131
|
+
"required": false,
|
|
19132
|
+
"description": "Lifetime of the sign-in the code starts, in seconds; omit for the seven-day default."
|
|
19133
|
+
},
|
|
19134
|
+
{
|
|
19135
|
+
"name": "merge_end_user_id",
|
|
19136
|
+
"type": "string",
|
|
19137
|
+
"required": false,
|
|
19138
|
+
"description": "An existing anonymous end user (anon_…) whose record joins this person when the code is exchanged."
|
|
19139
|
+
},
|
|
19140
|
+
{
|
|
19141
|
+
"name": "anonymous_access_token",
|
|
19142
|
+
"type": "string",
|
|
19143
|
+
"required": false,
|
|
19144
|
+
"description": "The visitor's own Praxis end user access token, when the browser holds one, so this sign-in keeps that anonymous visitor instead of creating a new person; it is the access_token from a previous exchange, sent from your backend and never from the browser. It must be a live anonymous (anon_…) end user of this organization. It may not be combined with merge_end_user_id, and an expired, forged or foreign token answers 400 INVALID_PARAMS."
|
|
19145
|
+
}
|
|
19146
|
+
]
|
|
19147
|
+
}
|
|
19148
|
+
},
|
|
19149
|
+
{
|
|
19150
|
+
"resource": "end.publishableKeys",
|
|
19151
|
+
"method": "list",
|
|
19152
|
+
"summary": "List publishable keys",
|
|
19153
|
+
"description": "List the organization's publishable keys, newest first, so you can see which anonymous admittance is open and what each one may reach. A publishable key is public by design (it ships in the browser page); use it from the Kit to admit anonymous visitors, and never expose an API key this way. The plaintext value is not in this list: it is returned once, by the create call, and only its hash is stored. page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null.",
|
|
19154
|
+
"http": "GET",
|
|
19155
|
+
"path": "/end/v1/publishable_keys",
|
|
19156
|
+
"streaming": "no",
|
|
19157
|
+
"pagination": false,
|
|
19158
|
+
"pathParams": [],
|
|
19159
|
+
"query": [
|
|
19160
|
+
{
|
|
19161
|
+
"name": "page_size",
|
|
19162
|
+
"type": "integer",
|
|
19163
|
+
"required": false,
|
|
19164
|
+
"description": "Maximum keys in one page, from 1 to 100; defaults to 50."
|
|
19165
|
+
},
|
|
19166
|
+
{
|
|
19167
|
+
"name": "page_token",
|
|
19168
|
+
"type": "string",
|
|
19169
|
+
"required": false,
|
|
19170
|
+
"description": "next_page from the preceding key list response; omit for the first page."
|
|
19171
|
+
}
|
|
19172
|
+
]
|
|
19173
|
+
},
|
|
19174
|
+
{
|
|
19175
|
+
"resource": "end.publishableKeys",
|
|
19176
|
+
"method": "create",
|
|
19177
|
+
"summary": "Create a publishable key",
|
|
19178
|
+
"description": "Mint a publishable key so a page can admit anonymous visitors without you signing each one in from your backend. name labels the key for the console and the key list. resources is required and names what an anonymous visitor may reach, in the same form as the grant-code scopes: agent:<id>:chat, content:<id>:play or application:<id>:visit, with * for every object of one type; give it only what the anonymous experience needs, because any visitor who has the page can use the key. The response carries the plaintext key once, in key, and the store keeps only its hash — save it then, because no later call returns it. anon_rate_per_min, daily_session_cap and daily_spend_cap are optional limits of the key itself, all absent by default: the first caps how many exchanges the key allows per UTC minute across all visitors, the second how many new anonymous visitors it admits per UTC day (returning visitors are not counted); the third, daily_spend_cap, is the most the usage of this key's visitors may cost in one UTC day, as an amount with its currency such as {\"amount\": \"5.00\", \"currency\": \"USD\"} (at most 2 decimals), read from the key's usage events; change them later with praxis.end.publishableKeys.update. Returns HTTP 201; the exchange that consumes it is praxis.end.accessTokens.create with publishable_key.",
|
|
19179
|
+
"http": "POST",
|
|
19180
|
+
"path": "/end/v1/publishable_keys",
|
|
19181
|
+
"streaming": "no",
|
|
19182
|
+
"pagination": false,
|
|
19183
|
+
"pathParams": [],
|
|
19184
|
+
"query": [],
|
|
19185
|
+
"body": {
|
|
19186
|
+
"required": true,
|
|
19187
|
+
"fields": [
|
|
19188
|
+
{
|
|
19189
|
+
"name": "name",
|
|
19190
|
+
"type": "string",
|
|
19191
|
+
"required": true,
|
|
19192
|
+
"description": "Label for the key, shown in the console and the key list, for example Storefront."
|
|
19193
|
+
},
|
|
19194
|
+
{
|
|
19195
|
+
"name": "resources",
|
|
19196
|
+
"type": "array",
|
|
19197
|
+
"itemType": "object",
|
|
19198
|
+
"required": true,
|
|
19199
|
+
"description": "Resource scopes an anonymous visitor may reach, at least one, each a scope string or an object with scope and params; grant only what the anonymous experience needs."
|
|
19200
|
+
},
|
|
19201
|
+
{
|
|
19202
|
+
"name": "anon_rate_per_min",
|
|
19203
|
+
"type": "integer",
|
|
19204
|
+
"required": false,
|
|
19205
|
+
"description": "Most exchanges of this key per UTC minute, from 1 to 100000, counting every visitor together; omit or send null for no per-key limit."
|
|
19206
|
+
},
|
|
19207
|
+
{
|
|
19208
|
+
"name": "daily_session_cap",
|
|
19209
|
+
"type": "integer",
|
|
19210
|
+
"required": false,
|
|
19211
|
+
"description": "Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; returning visitors are not counted. Omit or send null for no limit."
|
|
19212
|
+
},
|
|
19213
|
+
{
|
|
19214
|
+
"name": "daily_spend_cap",
|
|
19215
|
+
"type": "object",
|
|
19216
|
+
"required": false,
|
|
19217
|
+
"description": "The most the usage events of this key may cost in one UTC day, for example five dollars as amount 5.00 with currency USD; 0.00 closes the key. Omit or send null for no spend cap."
|
|
19218
|
+
}
|
|
19219
|
+
]
|
|
19220
|
+
}
|
|
19221
|
+
},
|
|
19222
|
+
{
|
|
19223
|
+
"resource": "end.publishableKeys",
|
|
19224
|
+
"method": "delete",
|
|
19225
|
+
"summary": "Delete a publishable key",
|
|
19226
|
+
"description": "Delete a publishable key, closing that anonymous admittance for good. A page that still carries the plaintext key can no longer exchange it; any anonymous sign-ins it already made keep working until their own sign-in expires, so end users already admitted are not signed out by this call. Get the key id from the publishable key list, not from the plaintext value (only its hash is stored). An unknown or foreign id answers 404 END_USER_NOT_FOUND.",
|
|
19227
|
+
"http": "DELETE",
|
|
19228
|
+
"path": "/end/v1/publishable_keys/{key_id}",
|
|
19229
|
+
"streaming": "no",
|
|
19230
|
+
"pagination": false,
|
|
19231
|
+
"pathParams": [
|
|
19232
|
+
{
|
|
19233
|
+
"name": "key_id",
|
|
19234
|
+
"sdkName": "key_id",
|
|
19235
|
+
"description": "Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value."
|
|
19236
|
+
}
|
|
19237
|
+
],
|
|
19238
|
+
"query": []
|
|
19239
|
+
},
|
|
19240
|
+
{
|
|
19241
|
+
"resource": "end.publishableKeys",
|
|
19242
|
+
"method": "update",
|
|
19243
|
+
"summary": "Update a publishable key",
|
|
19244
|
+
"description": "Change the name of a publishable key or its own limits on anonymous admittance, for example to cap a page that is drawing more anonymous visitors than you want to pay for. Send at least one of name, anon_rate_per_min, daily_session_cap or daily_spend_cap; a field left out keeps its value, and null removes that limit. anon_rate_per_min caps the exchanges of this key per UTC minute across all visitors (returning visitors included), daily_session_cap caps the new anonymous visitors it admits per UTC day, and daily_spend_cap caps what its visitors' usage may cost per UTC day (a returning visitor is refused too, because it would start new chargeable work); a returning visitor that sends its continuation_token is never counted toward or refused by the daily cap. A new limit applies from the next exchange. The resources a key grants and its plaintext value never change; mint a new key for different resources. Get the key id from the publishable key list. An unknown, deleted or foreign id answers 400 INVALID_PARAMS, as does a limit outside its range.",
|
|
19245
|
+
"http": "PATCH",
|
|
19246
|
+
"path": "/end/v1/publishable_keys/{key_id}",
|
|
19247
|
+
"streaming": "no",
|
|
19248
|
+
"pagination": false,
|
|
19249
|
+
"pathParams": [
|
|
19250
|
+
{
|
|
19251
|
+
"name": "key_id",
|
|
19252
|
+
"sdkName": "key_id",
|
|
19253
|
+
"description": "Publishable key id (pk_…) from publishable_keys.list, not the plaintext key value."
|
|
19254
|
+
}
|
|
19255
|
+
],
|
|
19256
|
+
"query": [],
|
|
19257
|
+
"body": {
|
|
19258
|
+
"required": true,
|
|
19259
|
+
"fields": [
|
|
19260
|
+
{
|
|
19261
|
+
"name": "name",
|
|
19262
|
+
"type": "string",
|
|
19263
|
+
"required": false,
|
|
19264
|
+
"description": "New label for the key, 1 to 64 characters."
|
|
19265
|
+
},
|
|
19266
|
+
{
|
|
19267
|
+
"name": "anon_rate_per_min",
|
|
19268
|
+
"type": "integer",
|
|
19269
|
+
"required": false,
|
|
19270
|
+
"description": "Most exchanges of this key per UTC minute, from 1 to 100000; null removes the per-key limit."
|
|
19271
|
+
},
|
|
19272
|
+
{
|
|
19273
|
+
"name": "daily_session_cap",
|
|
19274
|
+
"type": "integer",
|
|
19275
|
+
"required": false,
|
|
19276
|
+
"description": "Most new anonymous visitors this key admits per UTC day, from 0 to 10000000; null removes the limit."
|
|
19277
|
+
},
|
|
19278
|
+
{
|
|
19279
|
+
"name": "daily_spend_cap",
|
|
19280
|
+
"type": "object",
|
|
19281
|
+
"required": false,
|
|
19282
|
+
"description": "The most the usage events of this key may cost in one UTC day, for example five dollars as amount 5.00 with currency USD; null removes the cap."
|
|
19283
|
+
}
|
|
19284
|
+
]
|
|
19285
|
+
}
|
|
19286
|
+
},
|
|
19287
|
+
{
|
|
19288
|
+
"resource": "end.users",
|
|
19289
|
+
"method": "list",
|
|
19290
|
+
"summary": "List end users",
|
|
19291
|
+
"description": "Read the organization's end-user directory and obtain the end_user_id the administrative acts take. Results are ordered by last_seen_at, most recently seen first. Filter with type (identified for people who signed in through a grant code, anonymous for visitors admitted with a publishable key), blocked (true or false), resource (one product in the form agent:<id>, content:<id> or application:<id>, giving that product's own view of the directory) and q (a prefix of the end user id). Identified and anonymous end users both appear; an anonymous one that later signs in shows merged_into and its record joins that person. page_size is 1 to 100 and defaults to 50; copy next_page into page_token until it is null, keeping the same filters.",
|
|
19292
|
+
"http": "GET",
|
|
19293
|
+
"path": "/end/v1/users",
|
|
19294
|
+
"streaming": "no",
|
|
19295
|
+
"pagination": false,
|
|
19296
|
+
"pathParams": [],
|
|
19297
|
+
"query": [
|
|
19298
|
+
{
|
|
19299
|
+
"name": "page_size",
|
|
19300
|
+
"type": "integer",
|
|
19301
|
+
"required": false,
|
|
19302
|
+
"description": "Maximum end users in one page, from 1 to 100; defaults to 50."
|
|
19303
|
+
},
|
|
19304
|
+
{
|
|
19305
|
+
"name": "page_token",
|
|
19306
|
+
"type": "string",
|
|
19307
|
+
"required": false,
|
|
19308
|
+
"description": "next_page from the preceding list response with the same filters; omit for the first page."
|
|
19309
|
+
},
|
|
19310
|
+
{
|
|
19311
|
+
"name": "type",
|
|
19312
|
+
"type": "string",
|
|
19313
|
+
"enum": [
|
|
19314
|
+
"identified",
|
|
19315
|
+
"anonymous"
|
|
19316
|
+
],
|
|
19317
|
+
"required": false,
|
|
19318
|
+
"description": "Only end users of this kind; identified for people who signed in through a grant code, anonymous for visitors admitted with a publishable key. Omit for both."
|
|
19319
|
+
},
|
|
19320
|
+
{
|
|
19321
|
+
"name": "blocked",
|
|
19322
|
+
"type": "boolean",
|
|
19323
|
+
"required": false,
|
|
19324
|
+
"description": "true for blocked end users only, false for end users who are not blocked; omit for both."
|
|
19325
|
+
},
|
|
19326
|
+
{
|
|
19327
|
+
"name": "resource",
|
|
19328
|
+
"type": "string",
|
|
19329
|
+
"required": false,
|
|
19330
|
+
"description": "Only end users of one product, as <type>:<id>, for example content:cnt_0123456789abcdef, agent:agent_123 or application:app_456."
|
|
19331
|
+
},
|
|
19332
|
+
{
|
|
19333
|
+
"name": "q",
|
|
19334
|
+
"type": "string",
|
|
19335
|
+
"required": false,
|
|
19336
|
+
"description": "Only end users whose end user id starts with this prefix, for example cus_; omit for every id."
|
|
19337
|
+
}
|
|
19338
|
+
]
|
|
19339
|
+
},
|
|
19340
|
+
{
|
|
19341
|
+
"resource": "end.users",
|
|
19342
|
+
"method": "delete",
|
|
19343
|
+
"summary": "Delete an end user",
|
|
19344
|
+
"description": "Delete one end user on the merchant's own confirmation, for a deletion request the person made to you. The confirm query parameter must repeat the path's end_user_id; the door passes it through verbatim and the service refuses any other value with 400 INVALID_PARAMS, so a missing confirm never deletes anything. The deletion is announced on the platform event bus and each product deletes its own sessions, events and files for that person, so the call returns as soon as the directory record is gone, not when every product has finished. An unknown or foreign id answers 404 END_USER_NOT_FOUND.",
|
|
19345
|
+
"http": "DELETE",
|
|
19346
|
+
"path": "/end/v1/users/{end_user_id}",
|
|
19347
|
+
"streaming": "no",
|
|
19348
|
+
"pagination": false,
|
|
19349
|
+
"pathParams": [
|
|
19350
|
+
{
|
|
19351
|
+
"name": "end_user_id",
|
|
19352
|
+
"sdkName": "end_user_id",
|
|
19353
|
+
"description": "End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND."
|
|
19354
|
+
}
|
|
19355
|
+
],
|
|
19356
|
+
"query": [
|
|
19357
|
+
{
|
|
19358
|
+
"name": "confirm",
|
|
19359
|
+
"type": "string",
|
|
19360
|
+
"required": true,
|
|
19361
|
+
"description": "The end_user_id being deleted, repeated exactly; the service compares it with the path and refuses a mismatch with 400."
|
|
19362
|
+
}
|
|
19363
|
+
]
|
|
19364
|
+
},
|
|
19365
|
+
{
|
|
19366
|
+
"resource": "end.users",
|
|
19367
|
+
"method": "retrieve",
|
|
19368
|
+
"summary": "Get an end user",
|
|
19369
|
+
"description": "Read one end user of the organization: the id, its kind, whether it is blocked, its metadata and when it was first and last seen. Add expand=products,sign_ins,usage (comma separated, any combination) to also receive the products it has used with their counts, its sign-ins with their resource scopes, and its recorded usage over the whole time. An unknown id, and an id of another organization, answer 404 END_USER_NOT_FOUND.",
|
|
19370
|
+
"http": "GET",
|
|
19371
|
+
"path": "/end/v1/users/{end_user_id}",
|
|
19372
|
+
"streaming": "no",
|
|
19373
|
+
"pagination": false,
|
|
19374
|
+
"pathParams": [
|
|
19375
|
+
{
|
|
19376
|
+
"name": "end_user_id",
|
|
19377
|
+
"sdkName": "end_user_id",
|
|
19378
|
+
"description": "End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND."
|
|
19379
|
+
}
|
|
19380
|
+
],
|
|
19381
|
+
"query": [
|
|
19382
|
+
{
|
|
19383
|
+
"name": "expand",
|
|
19384
|
+
"type": "string",
|
|
19385
|
+
"required": false,
|
|
19386
|
+
"description": "Comma-separated extras to include; products for the products this end user has used, sign_ins for its sign-ins, usage for its recorded usage. Omit to get only the directory record."
|
|
19387
|
+
}
|
|
19388
|
+
]
|
|
19389
|
+
},
|
|
19390
|
+
{
|
|
19391
|
+
"resource": "end.users",
|
|
19392
|
+
"method": "block",
|
|
19393
|
+
"summary": "Block an end user",
|
|
19394
|
+
"description": "Block one end user across every product of the organization. From then on no grant code, sign-in, renewal or new session and no playback is accepted for this id — each product's admission door refuses it at once. A stream already running and a playback capability already issued ride out their own token, at most two hours and 3000 seconds; they are not cut off. Send reason to record why, and the response's blocked field carries the block time, the reason and the actor. Blocking an already blocked end user is idempotent: the first block time is kept. An unknown or foreign id answers 404 END_USER_NOT_FOUND.",
|
|
19395
|
+
"http": "POST",
|
|
19396
|
+
"path": "/end/v1/users/{end_user_id}/block",
|
|
19397
|
+
"streaming": "no",
|
|
19398
|
+
"pagination": false,
|
|
19399
|
+
"pathParams": [
|
|
19400
|
+
{
|
|
19401
|
+
"name": "end_user_id",
|
|
19402
|
+
"sdkName": "end_user_id",
|
|
19403
|
+
"description": "End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND."
|
|
19404
|
+
}
|
|
19405
|
+
],
|
|
19406
|
+
"query": [],
|
|
19407
|
+
"body": {
|
|
19408
|
+
"required": false,
|
|
19409
|
+
"fields": [
|
|
19410
|
+
{
|
|
19411
|
+
"name": "reason",
|
|
19412
|
+
"type": "string",
|
|
19413
|
+
"required": false,
|
|
19414
|
+
"description": "Why the end user is blocked, recorded with the block fact; omit for none."
|
|
19415
|
+
}
|
|
19416
|
+
]
|
|
19417
|
+
}
|
|
19418
|
+
},
|
|
19419
|
+
{
|
|
19420
|
+
"resource": "end.users",
|
|
19421
|
+
"method": "revokeTokens",
|
|
19422
|
+
"summary": "Revoke every token of an end user",
|
|
19423
|
+
"description": "End every sign-in of one end user at once, everything of the organization's, not one product's and not one token's. Use it when credentials may have leaked and the end user must not be trusted until it signs in again; a single sign-in is ended instead with praxis.end.accessTokens.revoke. After it every token of that end user stops working and a new session or playback answers 401 SIGN_IN_REVOKED, while the end user itself stays in the directory and may sign in again. The response counts how many sign-ins were revoked. An unknown or foreign id answers 404 END_USER_NOT_FOUND.",
|
|
19424
|
+
"http": "POST",
|
|
19425
|
+
"path": "/end/v1/users/{end_user_id}/revoke_tokens",
|
|
19426
|
+
"streaming": "no",
|
|
19427
|
+
"pagination": false,
|
|
19428
|
+
"pathParams": [
|
|
19429
|
+
{
|
|
19430
|
+
"name": "end_user_id",
|
|
19431
|
+
"sdkName": "end_user_id",
|
|
19432
|
+
"description": "End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND."
|
|
19433
|
+
}
|
|
19434
|
+
],
|
|
19435
|
+
"query": []
|
|
19436
|
+
},
|
|
19437
|
+
{
|
|
19438
|
+
"resource": "end.users",
|
|
19439
|
+
"method": "unblock",
|
|
19440
|
+
"summary": "Unblock an end user",
|
|
19441
|
+
"description": "Lift a block from one end user, so the products accept its grant codes, sign-ins, renewals and new sessions again. Tokens that were revoked to enforce the block are not restored: the end user signs in again for a fresh sign-in. Unblocking an end user that is not blocked is idempotent and returns it unchanged. An unknown or foreign id answers 404 END_USER_NOT_FOUND.",
|
|
19442
|
+
"http": "POST",
|
|
19443
|
+
"path": "/end/v1/users/{end_user_id}/unblock",
|
|
19444
|
+
"streaming": "no",
|
|
19445
|
+
"pagination": false,
|
|
19446
|
+
"pathParams": [
|
|
19447
|
+
{
|
|
19448
|
+
"name": "end_user_id",
|
|
19449
|
+
"sdkName": "end_user_id",
|
|
19450
|
+
"description": "End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND."
|
|
19451
|
+
}
|
|
19452
|
+
],
|
|
19453
|
+
"query": []
|
|
19454
|
+
},
|
|
19455
|
+
{
|
|
19456
|
+
"resource": "end.usage",
|
|
19457
|
+
"method": "retrieve",
|
|
19458
|
+
"summary": "Read end-user usage",
|
|
19459
|
+
"description": "Read what one end user has cost the organization, per product and per day. The directory stores no cost itself: this reads billing by the endId dimension shared by every product, so it is the money figure the platform charged for that person. Send from and/or to as RFC 3339 times to narrow the window; omit both for everything recorded. Returns the total, the per-product breakdown and the per-day breakdown. An unknown id answers 404 END_USER_NOT_FOUND.",
|
|
19460
|
+
"http": "GET",
|
|
19461
|
+
"path": "/end/v1/users/{end_user_id}/usage",
|
|
19462
|
+
"streaming": "no",
|
|
19463
|
+
"pagination": false,
|
|
19464
|
+
"pathParams": [
|
|
19465
|
+
{
|
|
19466
|
+
"name": "end_user_id",
|
|
19467
|
+
"sdkName": "end_user_id",
|
|
19468
|
+
"description": "End-user id from users.list or users.get; an id of another organization answers END_USER_NOT_FOUND."
|
|
19469
|
+
}
|
|
19470
|
+
],
|
|
19471
|
+
"query": [
|
|
19472
|
+
{
|
|
19473
|
+
"name": "from",
|
|
19474
|
+
"type": "string",
|
|
19475
|
+
"required": false,
|
|
19476
|
+
"description": "Start of the window as an RFC 3339 time, inclusive; omit for the beginning of the record."
|
|
19477
|
+
},
|
|
19478
|
+
{
|
|
19479
|
+
"name": "to",
|
|
19480
|
+
"type": "string",
|
|
19481
|
+
"required": false,
|
|
19482
|
+
"description": "End of the window as an RFC 3339 time, exclusive; omit for now."
|
|
19483
|
+
}
|
|
19484
|
+
]
|
|
19485
|
+
},
|
|
19486
|
+
{
|
|
19487
|
+
"resource": "events.subscriptions",
|
|
19488
|
+
"method": "list",
|
|
19489
|
+
"summary": "List event subscriptions",
|
|
19490
|
+
"description": "See which subscriptions you still have waiting, for example to avoid subscribing twice to the same run or to find an id to delete. Only subscriptions you created, in your organization, that have not expired are listed. The list is one page of at most limit entries: next_cursor is always null today. Read-only. Errors: 400 INVALID_PARAMS for an unknown query parameter or a limit outside 1 to 100.",
|
|
19491
|
+
"http": "GET",
|
|
19492
|
+
"path": "/events/v1/subscriptions",
|
|
19493
|
+
"streaming": "no",
|
|
19494
|
+
"pagination": false,
|
|
19495
|
+
"pathParams": [],
|
|
19496
|
+
"query": [
|
|
19497
|
+
{
|
|
19498
|
+
"name": "limit",
|
|
19499
|
+
"type": "integer",
|
|
19500
|
+
"required": false,
|
|
19501
|
+
"description": "Maximum subscriptions to return, from 1 to 100; defaults to 50."
|
|
19502
|
+
}
|
|
19503
|
+
]
|
|
19504
|
+
},
|
|
19505
|
+
{
|
|
19506
|
+
"resource": "events.subscriptions",
|
|
19507
|
+
"method": "create",
|
|
19508
|
+
"summary": "Create event subscription",
|
|
19509
|
+
"description": "Ask to be told, as an inbox letter, when something happens to a resource of your organization. Typical use: an agent that started an automation run subscribes to `automation.run.finished` with `filters: [{ exact: { subject: \"runs/<run id>\" } }]`, then ends its turn; when the run finishes, one letter of kind event arrives in the agent's inbox and wakes it. With codemode: `const run = await praxis.automation.runs.create({ ... }); await praxis.events.subscriptions.create({ types: [\"automation.run.finished\"], filters: [{ exact: { subject: `runs/${run.id}` } }] });` Name 1 to 10 types from events.types.list; filters must all hold, may be empty, and use exact or prefix on subject, actor or a data.<field> the type declares. once defaults to true: the first match writes one letter and the subscription ends. Set once false for a standing subscription, which delivers at most 30 letters an hour, counts the matches it holds back, and never delivers an event whose actor is its own sink. expires_at defaults to 7 days from now and may be at most 30 days; a subscription past it stops matching. The sink is the caller's own inbox; the organization comes from your credential and is not a field. The letter's summary is `<type> · <subject>` and its body is the event, with the type's sensitive fields removed. Errors: 400 UNSUPPORTED_FILTER_DIALECT for any filter form other than exact and prefix; 400 INVALID_PARAMS for a type that is not a tenant type, a filter field the type does not declare, a field not listed here (the organization is never a field), too many types or filters, or an expires_at beyond 30 days; 503 PROVIDER_UNAVAILABLE (retryable) when the catalog cannot be read, wait and call again.",
|
|
19510
|
+
"http": "POST",
|
|
19511
|
+
"path": "/events/v1/subscriptions",
|
|
19512
|
+
"streaming": "no",
|
|
19513
|
+
"pagination": false,
|
|
19514
|
+
"pathParams": [],
|
|
19515
|
+
"query": [],
|
|
19516
|
+
"body": {
|
|
19517
|
+
"required": true,
|
|
19518
|
+
"fields": [
|
|
19519
|
+
{
|
|
19520
|
+
"name": "types",
|
|
19521
|
+
"type": "array",
|
|
19522
|
+
"itemType": "string",
|
|
19523
|
+
"required": true,
|
|
19524
|
+
"description": "The tenant event types to hear about, from events.types.list; an event of any one of them can match."
|
|
19525
|
+
},
|
|
19526
|
+
{
|
|
19527
|
+
"name": "filters",
|
|
19528
|
+
"type": "array",
|
|
19529
|
+
"itemType": "object",
|
|
19530
|
+
"required": false,
|
|
19531
|
+
"description": "Conditions that must all hold for an event to match; omit or leave empty to match every event of the types."
|
|
19532
|
+
},
|
|
19533
|
+
{
|
|
19534
|
+
"name": "sink",
|
|
19535
|
+
"type": "string",
|
|
19536
|
+
"required": false,
|
|
19537
|
+
"description": "The inbox address that receives the letters, agent:<id> or human:<id>. Today only the caller's own address is accepted, which is also the default."
|
|
19538
|
+
},
|
|
19539
|
+
{
|
|
19540
|
+
"name": "once",
|
|
19541
|
+
"type": "boolean",
|
|
19542
|
+
"required": false,
|
|
19543
|
+
"description": "True (the default) ends the subscription after the first letter; false keeps it until expires_at, at most 30 letters an hour."
|
|
19544
|
+
},
|
|
19545
|
+
{
|
|
19546
|
+
"name": "expires_at",
|
|
19547
|
+
"type": "string",
|
|
19548
|
+
"required": false,
|
|
19549
|
+
"description": "When the subscription ends, RFC 3339. Defaults to 7 days from now; at most 30 days from now."
|
|
19550
|
+
}
|
|
19551
|
+
]
|
|
19552
|
+
}
|
|
19553
|
+
},
|
|
19554
|
+
{
|
|
19555
|
+
"resource": "events.subscriptions",
|
|
19556
|
+
"method": "delete",
|
|
19557
|
+
"summary": "Delete event subscription",
|
|
19558
|
+
"description": "Stop waiting for an event, for example when the run you were waiting for was canceled by you. The subscription stops matching at once and a letter already written stays in the inbox. A once subscription that has already fired is gone, so deleting it answers 404 SUBSCRIPTION_NOT_FOUND; treat that as done. Take the id from subscriptions.create or subscriptions.list.",
|
|
19559
|
+
"http": "DELETE",
|
|
19560
|
+
"path": "/events/v1/subscriptions/{subscription_id}",
|
|
19561
|
+
"streaming": "no",
|
|
19562
|
+
"pagination": false,
|
|
19563
|
+
"pathParams": [
|
|
19564
|
+
{
|
|
19565
|
+
"name": "subscription_id",
|
|
19566
|
+
"sdkName": "subscription_id",
|
|
19567
|
+
"description": "Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits."
|
|
19568
|
+
}
|
|
19569
|
+
],
|
|
19570
|
+
"query": []
|
|
19571
|
+
},
|
|
19572
|
+
{
|
|
19573
|
+
"resource": "events.subscriptions",
|
|
19574
|
+
"method": "retrieve",
|
|
19575
|
+
"summary": "Retrieve event subscription",
|
|
19576
|
+
"description": "Read one subscription to check its filters, its sink and when it expires. Take the id from subscriptions.create or subscriptions.list. A subscription that does not exist, has expired, belongs to someone else or to another organization answers the same 404 SUBSCRIPTION_NOT_FOUND. Read-only.",
|
|
19577
|
+
"http": "GET",
|
|
19578
|
+
"path": "/events/v1/subscriptions/{subscription_id}",
|
|
19579
|
+
"streaming": "no",
|
|
19580
|
+
"pagination": false,
|
|
19581
|
+
"pathParams": [
|
|
19582
|
+
{
|
|
19583
|
+
"name": "subscription_id",
|
|
19584
|
+
"sdkName": "subscription_id",
|
|
19585
|
+
"description": "Subscription id returned by subscriptions.create or subscriptions.list, in the form esub_ followed by letters and digits."
|
|
19586
|
+
}
|
|
19587
|
+
],
|
|
19588
|
+
"query": []
|
|
19589
|
+
},
|
|
19590
|
+
{
|
|
19591
|
+
"resource": "events.types",
|
|
19592
|
+
"method": "list",
|
|
19593
|
+
"summary": "List event types",
|
|
19594
|
+
"description": "Find which facts about your organization's resources you can subscribe to, and which filters each one allows, before you create a subscription. Each entry is one event type at one schema version: type is what you pass in subscriptions.create types, data_schema describes the event's data, and filterable lists the names a filter may use (subject, actor, and data.<field> for each top-level field of data_schema). Only tenant event types are listed; the list is generated from the platform's event declarations, so a new tenant event appears here without an API change. When a breaking change publishes a new schemaversion, both versions are listed side by side. The list is one page: next_cursor is always null today. Read-only. Errors: 503 PROVIDER_UNAVAILABLE (retryable) when the catalog cannot be read right now; wait and call again.",
|
|
19595
|
+
"http": "GET",
|
|
19596
|
+
"path": "/events/v1/types",
|
|
19597
|
+
"streaming": "no",
|
|
19598
|
+
"pagination": false,
|
|
19599
|
+
"pathParams": [],
|
|
19600
|
+
"query": []
|
|
19601
|
+
},
|
|
19602
|
+
{
|
|
19603
|
+
"resource": "file.files",
|
|
19604
|
+
"method": "list",
|
|
19605
|
+
"summary": "List files",
|
|
19606
|
+
"description": "List live files owned by your tenant, optionally filtered by purpose, session scope_id or up to 100 file ids. Results default to descending creation order with a limit of 10000. Page using after or before with a file ID from the list; these cursors are mutually exclusive. Deleted and expired files are excluded.",
|
|
19607
|
+
"http": "GET",
|
|
19608
|
+
"path": "/file/v1/files",
|
|
19609
|
+
"streaming": "no",
|
|
19610
|
+
"pagination": false,
|
|
19611
|
+
"pathParams": [],
|
|
19612
|
+
"query": [
|
|
19613
|
+
{
|
|
19614
|
+
"name": "purpose",
|
|
19615
|
+
"type": "string",
|
|
19616
|
+
"required": false,
|
|
19617
|
+
"description": "Only return files with the given purpose."
|
|
19618
|
+
},
|
|
19619
|
+
{
|
|
19620
|
+
"name": "limit",
|
|
19621
|
+
"type": "integer",
|
|
19622
|
+
"required": false,
|
|
19623
|
+
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 10,000, and the default is 10,000.\n"
|
|
19624
|
+
},
|
|
19625
|
+
{
|
|
19626
|
+
"name": "order",
|
|
19627
|
+
"type": "string",
|
|
19628
|
+
"enum": [
|
|
18942
19629
|
"asc",
|
|
18943
19630
|
"desc"
|
|
18944
19631
|
],
|
|
@@ -23422,7 +24109,7 @@ export const operations = [
|
|
|
23422
24109
|
"resource": "model.audio.speech",
|
|
23423
24110
|
"method": "create",
|
|
23424
24111
|
"summary": "Generate speech",
|
|
23425
|
-
"description": "Synthesize speech from text and return the complete audio as the response body. Use it for text-to-speech; to turn audio into text use createAudioTranscription. model is a speech model such as
|
|
24112
|
+
"description": "Synthesize speech from text and return the complete audio as the response body. Use it for text-to-speech; to turn audio into text use createAudioTranscription. model is a speech model such as aura-2-en (list them with listModels?type=speech). Aura takes a native speaker name in voice (default luna) and supports mp3, opus, flac, wav and pcm (pcm is raw signed 16-bit little-endian audio at 24 kHz). lang is not read by any speech model offered today: Aura rejects it with 400 input_not_representable. Unlike OpenAI, voice names such as alloy are not aliases for Aura speakers. Non-default speed, instructions and stream_format sse are not representable and return 400 input_not_representable. No transcoding is done: when response_format is omitted the format the upstream produced is returned. Minimal request: {\"model\":\"aura-2-en\",\"input\":\"Hello\",\"response_format\":\"mp3\"}.",
|
|
23426
24113
|
"http": "POST",
|
|
23427
24114
|
"path": "/model/v1/audio/speech",
|
|
23428
24115
|
"streaming": "no",
|
|
@@ -23436,19 +24123,19 @@ export const operations = [
|
|
|
23436
24123
|
"name": "model",
|
|
23437
24124
|
"type": "string",
|
|
23438
24125
|
"required": true,
|
|
23439
|
-
"description": "Speech model id, for example `
|
|
24126
|
+
"description": "Speech model id, for example `aura-2-en`; list candidates with listModels?type=speech. Router support (supported): Verified to take effect."
|
|
23440
24127
|
},
|
|
23441
24128
|
{
|
|
23442
24129
|
"name": "input",
|
|
23443
24130
|
"type": "string",
|
|
23444
24131
|
"required": false,
|
|
23445
|
-
"description": "Text to synthesize, 1 to 4096 characters. `text` and `prompt` are aliases; when several are given, `input` wins. Router support (supported):
|
|
24132
|
+
"description": "Text to synthesize, 1 to 4096 characters. `text` and `prompt` are aliases; when several are given, `input` wins. Router support (supported): input is supported; text/prompt aliases also work."
|
|
23446
24133
|
},
|
|
23447
24134
|
{
|
|
23448
24135
|
"name": "voice",
|
|
23449
24136
|
"type": "object",
|
|
23450
24137
|
"required": false,
|
|
23451
|
-
"description": "Aura speaker name; custom voice objects are rejected by Aura.
|
|
24138
|
+
"description": "Aura speaker name; custom voice objects are rejected by Aura."
|
|
23452
24139
|
},
|
|
23453
24140
|
{
|
|
23454
24141
|
"name": "instructions",
|
|
@@ -23467,7 +24154,7 @@ export const operations = [
|
|
|
23467
24154
|
"pcm"
|
|
23468
24155
|
],
|
|
23469
24156
|
"required": false,
|
|
23470
|
-
"description": "
|
|
24157
|
+
"description": "When omitted the actual upstream format is returned. Aura defaults to mp3; aac returns 400."
|
|
23471
24158
|
},
|
|
23472
24159
|
{
|
|
23473
24160
|
"name": "speed",
|
|
@@ -23494,7 +24181,7 @@ export const operations = [
|
|
|
23494
24181
|
"name": "prompt",
|
|
23495
24182
|
"type": "string",
|
|
23496
24183
|
"required": false,
|
|
23497
|
-
"description": "
|
|
24184
|
+
"description": "Alias for input; input then text take precedence."
|
|
23498
24185
|
},
|
|
23499
24186
|
{
|
|
23500
24187
|
"name": "speaker",
|
|
@@ -23514,7 +24201,7 @@ export const operations = [
|
|
|
23514
24201
|
"ko"
|
|
23515
24202
|
],
|
|
23516
24203
|
"required": false,
|
|
23517
|
-
"description": "
|
|
24204
|
+
"description": "Language code. No speech model currently offered reads it. Aura rejects lang with 400 input_not_representable so omit it."
|
|
23518
24205
|
},
|
|
23519
24206
|
{
|
|
23520
24207
|
"name": "encoding",
|
|
@@ -26372,10 +27059,14 @@ export const operations = [
|
|
|
26372
27059
|
"ServiceName",
|
|
26373
27060
|
"ServiceCategory",
|
|
26374
27061
|
"ResourceId",
|
|
26375
|
-
"ConsumedUnit"
|
|
27062
|
+
"ConsumedUnit",
|
|
27063
|
+
"SessionId",
|
|
27064
|
+
"AgentId",
|
|
27065
|
+
"ApiKeyId",
|
|
27066
|
+
"RunId"
|
|
26376
27067
|
],
|
|
26377
27068
|
"required": false,
|
|
26378
|
-
"description": "
|
|
27069
|
+
"description": "Columns to group by (repeatable). Defaults to ServiceName. Grouping columns appear on each result only when requested; ResourceName rides with ResourceId. A resource belongs to exactly one service, so ResourceId rows always carry ServiceName and ServiceCategory too — fact columns of that resource's service, not extra grouping dimensions (#4637). SessionId, AgentId, ApiKeyId and RunId group by the usage event's own attribution: the session, agent, API key or automation run the call belongs to. A requested attribution column is on every result — null when that group's events carry none, never an omitted key.\n"
|
|
26379
27070
|
},
|
|
26380
27071
|
{
|
|
26381
27072
|
"name": "page",
|
|
@@ -26915,7 +27606,8 @@ export const operations = [
|
|
|
26915
27606
|
"enum": [
|
|
26916
27607
|
"notice",
|
|
26917
27608
|
"mention",
|
|
26918
|
-
"decision"
|
|
27609
|
+
"decision",
|
|
27610
|
+
"event"
|
|
26919
27611
|
],
|
|
26920
27612
|
"required": false,
|
|
26921
27613
|
"description": "Only letters of this kind; omit for all kinds."
|
|
@@ -27195,10 +27887,14 @@ export const operations = [
|
|
|
27195
27887
|
"ServiceName",
|
|
27196
27888
|
"ServiceCategory",
|
|
27197
27889
|
"ResourceId",
|
|
27198
|
-
"ConsumedUnit"
|
|
27890
|
+
"ConsumedUnit",
|
|
27891
|
+
"SessionId",
|
|
27892
|
+
"AgentId",
|
|
27893
|
+
"ApiKeyId",
|
|
27894
|
+
"RunId"
|
|
27199
27895
|
],
|
|
27200
27896
|
"required": false,
|
|
27201
|
-
"description": "
|
|
27897
|
+
"description": "Columns to group by (repeatable). Defaults to ServiceName and ConsumedUnit; the consumed unit is always split out server-side. A resource belongs to exactly one service, so ResourceId rows always carry ServiceName and ServiceCategory too — fact columns of that resource's service, not extra grouping dimensions (#4637). SessionId, AgentId, ApiKeyId and RunId group by the usage event's own attribution: the session, agent, API key or automation run the call belongs to. A requested attribution column is on every result — null when that group's events carry none, never an omitted key.\n"
|
|
27202
27898
|
},
|
|
27203
27899
|
{
|
|
27204
27900
|
"name": "page",
|
|
@@ -28223,6 +28919,24 @@ export const operations = [
|
|
|
28223
28919
|
]
|
|
28224
28920
|
}
|
|
28225
28921
|
},
|
|
28922
|
+
{
|
|
28923
|
+
"resource": "sandbox.byod.pairings",
|
|
28924
|
+
"method": "status",
|
|
28925
|
+
"summary": "Read which device claimed your pairing",
|
|
28926
|
+
"description": "Read one of your organization's own pairings: its code, its deadline and the device that claimed it. Poll it after showing the QR payload to learn that this very code was claimed, instead of guessing from the device list: claimed_device is null until a phone taps Allow, then it is the device that code registered (a phone that was paired before is reused, so it is the same device id). Unlike getByodPairing this call is authenticated and organization-scoped. An unknown code and another organization's code both answer 404, so the answer never reveals that a foreign pairing exists. Example: GET /sandbox/v1/byod/pairings/K7M4PQRS/status returns {code:'K7M4PQRS',expires_at:'2026-11-22T13:10:00.000Z',claimed_device:null}.",
|
|
28927
|
+
"http": "GET",
|
|
28928
|
+
"path": "/sandbox/v1/byod/pairings/{code}/status",
|
|
28929
|
+
"streaming": "no",
|
|
28930
|
+
"pagination": false,
|
|
28931
|
+
"pathParams": [
|
|
28932
|
+
{
|
|
28933
|
+
"name": "code",
|
|
28934
|
+
"sdkName": "code",
|
|
28935
|
+
"description": "The 8-character pairing code returned by createByodPairing. An unknown, spent or expired code answers 404."
|
|
28936
|
+
}
|
|
28937
|
+
],
|
|
28938
|
+
"query": []
|
|
28939
|
+
},
|
|
28226
28940
|
{
|
|
28227
28941
|
"resource": "sandbox.events.sandboxes",
|
|
28228
28942
|
"method": "retrieve",
|