@soat/sdk 0.15.9 → 0.15.11
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/dist/index.cjs +104 -5
- package/dist/index.d.cts +544 -51
- package/dist/index.d.mts +544 -51
- package/dist/index.mjs +104 -6
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -432,6 +432,10 @@ type Agent = {
|
|
|
432
432
|
* Subset of toolIds active per step
|
|
433
433
|
*/
|
|
434
434
|
active_tool_ids?: Array<string> | null;
|
|
435
|
+
/**
|
|
436
|
+
* Guardrails attached at the agent scope, governing every tool call the agent makes.
|
|
437
|
+
*/
|
|
438
|
+
guardrail_ids?: Array<string> | null;
|
|
435
439
|
/**
|
|
436
440
|
* Per-step overrides
|
|
437
441
|
*/
|
|
@@ -502,7 +506,7 @@ type Agent = {
|
|
|
502
506
|
updated_at?: Date;
|
|
503
507
|
};
|
|
504
508
|
/**
|
|
505
|
-
* One agent↔tool attachment. Exactly one of `tool_id` (persisted tool reference) or `tool` (inline ephemeral definition) per entry,
|
|
509
|
+
* One agent↔tool attachment. Exactly one of `tool_id` (persisted tool reference) or `tool` (inline ephemeral definition) per entry. Tool-call gating is owned by [Guardrails](/docs/modules/guardrails), attached via `guardrail_ids` on the project, agent, or tool — not on the binding.
|
|
506
510
|
*/
|
|
507
511
|
type ToolBinding = {
|
|
508
512
|
/**
|
|
@@ -510,37 +514,7 @@ type ToolBinding = {
|
|
|
510
514
|
*/
|
|
511
515
|
tool_id?: string;
|
|
512
516
|
tool?: CreateToolRequest;
|
|
513
|
-
approval_policy?: ToolApprovalPolicy;
|
|
514
517
|
};
|
|
515
|
-
/**
|
|
516
|
-
* Allow / require-approval / deny gate evaluated by the platform on every call of the bound tool. `require_approval` files an item in the approvals queue; the call executes only if approved before expiry. Not supported on `client` tool bindings. See [Approval Policy](/docs/modules/agents#approval-policy).
|
|
517
|
-
*/
|
|
518
|
-
type ToolApprovalPolicy = {
|
|
519
|
-
/**
|
|
520
|
-
* Effect applied when no rule matches.
|
|
521
|
-
*/
|
|
522
|
-
default: 'allow' | 'require_approval' | 'deny';
|
|
523
|
-
/**
|
|
524
|
-
* Ordered rule list; first match wins.
|
|
525
|
-
*/
|
|
526
|
-
rules?: Array<{
|
|
527
|
-
/**
|
|
528
|
-
* JSON Logic over `{ "action": …, "arguments": … }` — the resolved call.
|
|
529
|
-
*/
|
|
530
|
-
when: {
|
|
531
|
-
[key: string]: unknown;
|
|
532
|
-
};
|
|
533
|
-
effect: 'allow' | 'require_approval' | 'deny';
|
|
534
|
-
}>;
|
|
535
|
-
/**
|
|
536
|
-
* Seconds until a filed approval item expires (default 86400 = 24h). Expiry is a server-enforced hard gate.
|
|
537
|
-
*/
|
|
538
|
-
expires_in?: number;
|
|
539
|
-
/**
|
|
540
|
-
* Guidance injected into the tool's model-visible description telling the model how to justify guarded calls (via the `approval_*` fields). A default instruction is used when omitted.
|
|
541
|
-
*/
|
|
542
|
-
reasoning_prompt?: string | null;
|
|
543
|
-
} | null;
|
|
544
518
|
type CreateAgentRequest = {
|
|
545
519
|
/**
|
|
546
520
|
* Public ID of the project
|
|
@@ -578,6 +552,10 @@ type CreateAgentRequest = {
|
|
|
578
552
|
[key: string]: unknown;
|
|
579
553
|
}>;
|
|
580
554
|
active_tool_ids?: Array<string>;
|
|
555
|
+
/**
|
|
556
|
+
* Guardrails attached at the agent scope.
|
|
557
|
+
*/
|
|
558
|
+
guardrail_ids?: Array<string> | null;
|
|
581
559
|
step_rules?: Array<{
|
|
582
560
|
[key: string]: unknown;
|
|
583
561
|
}>;
|
|
@@ -643,7 +621,7 @@ type UpdateAgentRequest = {
|
|
|
643
621
|
*/
|
|
644
622
|
tool_bindings?: Array<ToolBinding> | null;
|
|
645
623
|
/**
|
|
646
|
-
* Deprecated shorthand — replaces only the reference (`tool_id`) bindings, rewriting them bare
|
|
624
|
+
* Deprecated shorthand — replaces only the reference (`tool_id`) bindings, rewriting them bare. Use `tool_bindings` instead.
|
|
647
625
|
*
|
|
648
626
|
* @deprecated
|
|
649
627
|
*/
|
|
@@ -663,6 +641,10 @@ type UpdateAgentRequest = {
|
|
|
663
641
|
[key: string]: unknown;
|
|
664
642
|
}> | null;
|
|
665
643
|
active_tool_ids?: Array<string> | null;
|
|
644
|
+
/**
|
|
645
|
+
* Guardrails attached at the agent scope.
|
|
646
|
+
*/
|
|
647
|
+
guardrail_ids?: Array<string> | null;
|
|
666
648
|
step_rules?: Array<{
|
|
667
649
|
[key: string]: unknown;
|
|
668
650
|
}> | null;
|
|
@@ -753,6 +735,12 @@ type CreateAgentGenerationRequest = {
|
|
|
753
735
|
* Logical action label recorded on the generation's usage meter, so spend can be rolled up per action (e.g. an A/B/C/D operating action).
|
|
754
736
|
*/
|
|
755
737
|
action_id?: string;
|
|
738
|
+
/**
|
|
739
|
+
* Caller-supplied guardrail context (the `context.*` namespace guard and class expressions read at tool-dispatch time). Free-form and never interpreted by the platform; a guardrail may combine it with a `context_tool` per its `context_mode`. See the guardrails module.
|
|
740
|
+
*/
|
|
741
|
+
guardrail_context?: {
|
|
742
|
+
[key: string]: unknown;
|
|
743
|
+
} | null;
|
|
756
744
|
/**
|
|
757
745
|
* Caller-supplied key/value metadata attached to the generation record for per-run audit attribution (e.g. the knowledge-corpus version that produced this action). Round-trips when the generation is fetched via the generations API. Reserved server-owned keys (`action_id`, `trigger_id`, `run_id`, `node_id`, `extraction`, and internal recovery state) cannot be set here and are rejected with 400.
|
|
758
746
|
*/
|
|
@@ -942,10 +930,10 @@ type ApprovalItem = {
|
|
|
942
930
|
/**
|
|
943
931
|
* How the item was produced (analytics/filtering only)
|
|
944
932
|
*/
|
|
945
|
-
origin?: 'node' | 'tool_call';
|
|
933
|
+
origin?: 'node' | 'tool_call' | 'task_transition';
|
|
946
934
|
status?: 'pending' | 'approved' | 'rejected' | 'expired';
|
|
947
935
|
/**
|
|
948
|
-
* The frozen proposed action
|
|
936
|
+
* The frozen proposed action. Null for producers whose proposal is not a tool call (a `task_transition` item gates a workflow transition, named by `task_transition`).
|
|
949
937
|
*/
|
|
950
938
|
proposed_action?: {
|
|
951
939
|
tool_id?: string;
|
|
@@ -956,7 +944,7 @@ type ApprovalItem = {
|
|
|
956
944
|
arguments?: {
|
|
957
945
|
[key: string]: unknown;
|
|
958
946
|
};
|
|
959
|
-
};
|
|
947
|
+
} | null;
|
|
960
948
|
/**
|
|
961
949
|
* The proposing agent's rationale
|
|
962
950
|
*/
|
|
@@ -999,6 +987,14 @@ type ApprovalItem = {
|
|
|
999
987
|
* Proposing agent
|
|
1000
988
|
*/
|
|
1001
989
|
agent_id?: string | null;
|
|
990
|
+
/**
|
|
991
|
+
* Gated task (task_transition producer)
|
|
992
|
+
*/
|
|
993
|
+
task_id?: string | null;
|
|
994
|
+
/**
|
|
995
|
+
* Transition fired on approval (task_transition producer)
|
|
996
|
+
*/
|
|
997
|
+
task_transition?: string | null;
|
|
1002
998
|
knowledge_version?: string | null;
|
|
1003
999
|
policy_version?: string | null;
|
|
1004
1000
|
/**
|
|
@@ -1642,7 +1638,7 @@ type AgentResourceProperties = {
|
|
|
1642
1638
|
*/
|
|
1643
1639
|
model?: string | null;
|
|
1644
1640
|
/**
|
|
1645
|
-
* Tools to attach, one binding object per tool: `{ tool_id
|
|
1641
|
+
* Tools to attach, one binding object per tool: `{ tool_id }`. Canonical form — cannot be combined with the deprecated `tool_ids`. Tool-call gating is owned by guardrails (attached via `guardrail_ids` on the project, agent, or tool), not by the binding. Inline `tool` entries are not supported in templates; declare a tool resource and reference it via `tool_id` (a `{ "ref": … }` to a tool resource in the same template resolves at deploy time).
|
|
1646
1642
|
*/
|
|
1647
1643
|
tool_bindings?: Array<{
|
|
1648
1644
|
[key: string]: unknown;
|
|
@@ -1678,6 +1674,10 @@ type AgentResourceProperties = {
|
|
|
1678
1674
|
* Subset of tool_ids that are active
|
|
1679
1675
|
*/
|
|
1680
1676
|
active_tool_ids?: Array<string> | null;
|
|
1677
|
+
/**
|
|
1678
|
+
* Guardrails attached at the agent scope.
|
|
1679
|
+
*/
|
|
1680
|
+
guardrail_ids?: Array<string> | null;
|
|
1681
1681
|
/**
|
|
1682
1682
|
* Per-step overrides applied during multi-step generation. Steps not covered by a rule use the agent defaults.
|
|
1683
1683
|
*/
|
|
@@ -1942,6 +1942,10 @@ type ToolResourceProperties = {
|
|
|
1942
1942
|
output_mapping?: {
|
|
1943
1943
|
[key: string]: unknown;
|
|
1944
1944
|
} | null;
|
|
1945
|
+
/**
|
|
1946
|
+
* Guardrails attached at the tool scope.
|
|
1947
|
+
*/
|
|
1948
|
+
guardrail_ids?: Array<string> | null;
|
|
1945
1949
|
};
|
|
1946
1950
|
/**
|
|
1947
1951
|
* Stores a text document in a project, optionally indexing it for knowledge retrieval.
|
|
@@ -2396,16 +2400,47 @@ type OrchestrationResourceProperties = {
|
|
|
2396
2400
|
[key: string]: unknown;
|
|
2397
2401
|
} | null;
|
|
2398
2402
|
};
|
|
2403
|
+
/**
|
|
2404
|
+
* Creates a workflow — a state-machine definition (named states, allowed transitions, guards, and per-state automation) that tasks live in. State and transition dispatch references (`agent_id`, `orchestration_id` inside an `on_enter` block) accept `{ "ref": "LogicalId" }` expressions to point at agents or orchestrations declared in the same template, so a workflow plus the agents that service its states can deploy as one stack. Mirrors the workflows REST contract (`states`, `transitions`, `payload_schema`).
|
|
2405
|
+
*/
|
|
2406
|
+
type WorkflowResourceProperties = {
|
|
2407
|
+
/**
|
|
2408
|
+
* Human-readable name for the workflow, unique within the project
|
|
2409
|
+
*/
|
|
2410
|
+
name: string;
|
|
2411
|
+
/**
|
|
2412
|
+
* Optional description of what the workflow models
|
|
2413
|
+
*/
|
|
2414
|
+
description?: string | null;
|
|
2415
|
+
/**
|
|
2416
|
+
* Named states. Exactly one must be `initial: true`; any number may be `terminal: true`. A `kind: human` state parks the task until a transition fires; an `on_enter` block dispatches one agent generation or orchestration run on entry.
|
|
2417
|
+
*/
|
|
2418
|
+
states: Array<{
|
|
2419
|
+
[key: string]: unknown;
|
|
2420
|
+
}>;
|
|
2421
|
+
/**
|
|
2422
|
+
* Named, directional moves between states. Each has `from` (source states) and `to` (one target), an optional JSON Logic `guard`, and an optional `requires_approval` gate.
|
|
2423
|
+
*/
|
|
2424
|
+
transitions: Array<{
|
|
2425
|
+
[key: string]: unknown;
|
|
2426
|
+
}>;
|
|
2427
|
+
/**
|
|
2428
|
+
* Optional JSON Schema describing a task's payload
|
|
2429
|
+
*/
|
|
2430
|
+
payload_schema?: {
|
|
2431
|
+
[key: string]: unknown;
|
|
2432
|
+
} | null;
|
|
2433
|
+
};
|
|
2399
2434
|
type ResourceDeclaration = {
|
|
2400
2435
|
/**
|
|
2401
2436
|
* Resource type
|
|
2402
2437
|
*/
|
|
2403
|
-
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'project_price' | 'secret' | 'session' | 'webhook' | 'trigger';
|
|
2438
|
+
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'ingestion_rule' | 'memory' | 'memory_entry' | 'orchestration' | 'policy' | 'project_price' | 'secret' | 'session' | 'webhook' | 'trigger' | 'workflow';
|
|
2404
2439
|
/**
|
|
2405
2440
|
* Resource properties. Values may use `{ "ref": "logicalId" }` to reference physical IDs of other resources in the template, `{ "param": "ParamName" }` to substitute a parameter value, or `{ "sub": "text ${ParamName}" }` to interpolate parameter values into a string.
|
|
2406
2441
|
*
|
|
2407
2442
|
*/
|
|
2408
|
-
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties;
|
|
2443
|
+
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DiscussionResourceProperties | DocumentResourceProperties | FileResourceProperties | IngestionRuleResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | OrchestrationResourceProperties | PolicyResourceProperties | ProjectPriceResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties | TriggerResourceProperties | WorkflowResourceProperties;
|
|
2409
2444
|
/**
|
|
2410
2445
|
* Explicit dependency list. In addition to implicit `ref` dependencies.
|
|
2411
2446
|
*/
|
|
@@ -2658,6 +2693,143 @@ type UpdateGenerationRequest = {
|
|
|
2658
2693
|
[key: string]: unknown;
|
|
2659
2694
|
};
|
|
2660
2695
|
};
|
|
2696
|
+
/**
|
|
2697
|
+
* The action-class document. `class` maps a call to an action class; `guard` gates class-B autonomy. Both are single JSON Logic expressions over the `args.*` / `context.*` / `soat.*` namespaces.
|
|
2698
|
+
*
|
|
2699
|
+
*/
|
|
2700
|
+
type GuardrailDocument = {
|
|
2701
|
+
/**
|
|
2702
|
+
* A class literal (`A` / `B` / `C` / `D`) or a JSON Logic expression returning one. An invalid result resolves to `default_class`.
|
|
2703
|
+
*
|
|
2704
|
+
*/
|
|
2705
|
+
class: 'A' | 'B' | 'C' | 'D' | {
|
|
2706
|
+
[key: string]: unknown;
|
|
2707
|
+
};
|
|
2708
|
+
/**
|
|
2709
|
+
* Applied when the `class` expression returns anything other than a valid class. Defaults to `C` (fail-closed).
|
|
2710
|
+
*
|
|
2711
|
+
*/
|
|
2712
|
+
default_class?: 'A' | 'B' | 'C' | 'D';
|
|
2713
|
+
/**
|
|
2714
|
+
* A single JSON Logic expression; when the call classifies as `B` it must evaluate truthy to execute autonomously. Compose multiple conditions with `{ "and": [...] }`.
|
|
2715
|
+
*
|
|
2716
|
+
*/
|
|
2717
|
+
guard?: {
|
|
2718
|
+
[key: string]: unknown;
|
|
2719
|
+
};
|
|
2720
|
+
/**
|
|
2721
|
+
* When `true`, a failing guard routes to approval instead of tripping fail-closed.
|
|
2722
|
+
*
|
|
2723
|
+
*/
|
|
2724
|
+
escalate?: boolean;
|
|
2725
|
+
[key: string]: unknown;
|
|
2726
|
+
};
|
|
2727
|
+
type Guardrail = {
|
|
2728
|
+
/**
|
|
2729
|
+
* Public ID of the guardrail
|
|
2730
|
+
*/
|
|
2731
|
+
id?: string;
|
|
2732
|
+
/**
|
|
2733
|
+
* Public ID of the owning project
|
|
2734
|
+
*/
|
|
2735
|
+
project_id?: string;
|
|
2736
|
+
/**
|
|
2737
|
+
* Human-readable name
|
|
2738
|
+
*/
|
|
2739
|
+
name?: string;
|
|
2740
|
+
/**
|
|
2741
|
+
* Optional description
|
|
2742
|
+
*/
|
|
2743
|
+
description?: string | null;
|
|
2744
|
+
/**
|
|
2745
|
+
* Incremented on every document write; prior versions are archived
|
|
2746
|
+
*/
|
|
2747
|
+
version?: number;
|
|
2748
|
+
document?: GuardrailDocument;
|
|
2749
|
+
/**
|
|
2750
|
+
* Optional tool the platform calls at evaluation time to fetch fresh guardrail context.
|
|
2751
|
+
*
|
|
2752
|
+
*/
|
|
2753
|
+
context_tool_id?: string | null;
|
|
2754
|
+
/**
|
|
2755
|
+
* How tool-fetched context combines with the caller-supplied context.
|
|
2756
|
+
*
|
|
2757
|
+
*/
|
|
2758
|
+
context_mode?: 'merge' | 'replace';
|
|
2759
|
+
created_at?: Date;
|
|
2760
|
+
updated_at?: Date;
|
|
2761
|
+
};
|
|
2762
|
+
/**
|
|
2763
|
+
* The record produced by evaluating a guardrail against one call — written to the audit trail at dispatch time (one per applying guardrail) and returned verbatim by the dry-run endpoint.
|
|
2764
|
+
*
|
|
2765
|
+
*/
|
|
2766
|
+
type GuardrailEvaluation = {
|
|
2767
|
+
/**
|
|
2768
|
+
* Always `guardrail_evaluation`.
|
|
2769
|
+
*/
|
|
2770
|
+
kind?: string;
|
|
2771
|
+
guardrail_id?: string;
|
|
2772
|
+
/**
|
|
2773
|
+
* The governing version; null for a dangling reference (fail-closed C).
|
|
2774
|
+
*/
|
|
2775
|
+
guardrail_version?: number | null;
|
|
2776
|
+
scope?: 'project' | 'agent' | 'tool';
|
|
2777
|
+
tool?: string | null;
|
|
2778
|
+
action?: string | null;
|
|
2779
|
+
/**
|
|
2780
|
+
* The resolved class (or the applied default_class).
|
|
2781
|
+
*/
|
|
2782
|
+
class?: 'A' | 'B' | 'C' | 'D';
|
|
2783
|
+
decision?: 'execute' | 'route_to_approval' | 'blocked' | 'tripwire';
|
|
2784
|
+
/**
|
|
2785
|
+
* The guard outcome; null when the call did not classify as B.
|
|
2786
|
+
*/
|
|
2787
|
+
guard_result?: boolean | null;
|
|
2788
|
+
context_source?: 'caller' | 'tool' | 'merged' | 'none';
|
|
2789
|
+
/**
|
|
2790
|
+
* Flat map of only the vars the class/guard expressions referenced, keyed by fully-qualified path, frozen at evaluation-time values.
|
|
2791
|
+
*
|
|
2792
|
+
*/
|
|
2793
|
+
context_snapshot?: {
|
|
2794
|
+
[key: string]: unknown;
|
|
2795
|
+
};
|
|
2796
|
+
agent_id?: string | null;
|
|
2797
|
+
run_id?: string | null;
|
|
2798
|
+
generation_id?: string | null;
|
|
2799
|
+
};
|
|
2800
|
+
type GuardrailVersion = {
|
|
2801
|
+
/**
|
|
2802
|
+
* Public ID of the guardrail this version belongs to
|
|
2803
|
+
*/
|
|
2804
|
+
guardrail_id?: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* The archived version number
|
|
2807
|
+
*/
|
|
2808
|
+
version?: number;
|
|
2809
|
+
document?: GuardrailDocument;
|
|
2810
|
+
created_at?: Date;
|
|
2811
|
+
};
|
|
2812
|
+
type CreateGuardrailRequest = {
|
|
2813
|
+
/**
|
|
2814
|
+
* Public ID of the project
|
|
2815
|
+
*/
|
|
2816
|
+
project_id?: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* Human-readable name
|
|
2819
|
+
*/
|
|
2820
|
+
name: string;
|
|
2821
|
+
description?: string | null;
|
|
2822
|
+
document: GuardrailDocument;
|
|
2823
|
+
context_tool_id?: string | null;
|
|
2824
|
+
context_mode?: 'merge' | 'replace';
|
|
2825
|
+
};
|
|
2826
|
+
type UpdateGuardrailRequest = {
|
|
2827
|
+
name?: string;
|
|
2828
|
+
description?: string | null;
|
|
2829
|
+
document?: GuardrailDocument;
|
|
2830
|
+
context_tool_id?: string | null;
|
|
2831
|
+
context_mode?: 'merge' | 'replace';
|
|
2832
|
+
};
|
|
2661
2833
|
type IngestionRule = {
|
|
2662
2834
|
id?: string;
|
|
2663
2835
|
project_id?: string;
|
|
@@ -3296,6 +3468,10 @@ type ProjectRecord = {
|
|
|
3296
3468
|
*/
|
|
3297
3469
|
id?: string;
|
|
3298
3470
|
name?: string;
|
|
3471
|
+
/**
|
|
3472
|
+
* Guardrails attached at the project scope — the baseline governing every tool call by every agent in the project.
|
|
3473
|
+
*/
|
|
3474
|
+
guardrail_ids?: Array<string> | null;
|
|
3299
3475
|
created_at?: Date;
|
|
3300
3476
|
updated_at?: Date;
|
|
3301
3477
|
};
|
|
@@ -3605,6 +3781,10 @@ type Task = {
|
|
|
3605
3781
|
[key: string]: unknown;
|
|
3606
3782
|
} | null;
|
|
3607
3783
|
automation_status?: 'running' | 'completed' | 'failed' | 'unrouted';
|
|
3784
|
+
/**
|
|
3785
|
+
* The name of a `requires_approval` transition parked awaiting a human decision. Non-null while an ApprovalItem gates the move; the task stays in its current state and no other transition may fire until the approval resolves.
|
|
3786
|
+
*/
|
|
3787
|
+
pending_transition?: string | null;
|
|
3608
3788
|
entered_state_at?: Date;
|
|
3609
3789
|
created_at?: Date;
|
|
3610
3790
|
updated_at?: Date;
|
|
@@ -3715,6 +3895,10 @@ type Tool = {
|
|
|
3715
3895
|
output_mapping?: {
|
|
3716
3896
|
[key: string]: unknown;
|
|
3717
3897
|
} | null;
|
|
3898
|
+
/**
|
|
3899
|
+
* Guardrails attached at the tool scope, governing this tool wherever it is used, by any agent.
|
|
3900
|
+
*/
|
|
3901
|
+
guardrail_ids?: Array<string> | null;
|
|
3718
3902
|
created_at?: Date;
|
|
3719
3903
|
updated_at?: Date;
|
|
3720
3904
|
};
|
|
@@ -3784,6 +3968,10 @@ type CreateToolRequest = {
|
|
|
3784
3968
|
output_mapping?: {
|
|
3785
3969
|
[key: string]: unknown;
|
|
3786
3970
|
};
|
|
3971
|
+
/**
|
|
3972
|
+
* Guardrails attached at the tool scope.
|
|
3973
|
+
*/
|
|
3974
|
+
guardrail_ids?: Array<string> | null;
|
|
3787
3975
|
};
|
|
3788
3976
|
type UpdateToolRequest = {
|
|
3789
3977
|
name?: string;
|
|
@@ -3832,6 +4020,10 @@ type UpdateToolRequest = {
|
|
|
3832
4020
|
output_mapping?: {
|
|
3833
4021
|
[key: string]: unknown;
|
|
3834
4022
|
} | null;
|
|
4023
|
+
/**
|
|
4024
|
+
* Guardrails attached at the tool scope.
|
|
4025
|
+
*/
|
|
4026
|
+
guardrail_ids?: Array<string> | null;
|
|
3835
4027
|
};
|
|
3836
4028
|
type CallToolRequest = {
|
|
3837
4029
|
/**
|
|
@@ -4449,11 +4641,11 @@ type WorkflowState = {
|
|
|
4449
4641
|
initial?: boolean;
|
|
4450
4642
|
terminal?: boolean;
|
|
4451
4643
|
/**
|
|
4452
|
-
*
|
|
4644
|
+
* `human` marks a human-in-the-loop parking state: the state never dispatches (declaring `on_enter` on it is rejected at validation) and the task parks until a principal fires a transition.
|
|
4453
4645
|
*/
|
|
4454
4646
|
kind?: string;
|
|
4455
4647
|
/**
|
|
4456
|
-
*
|
|
4648
|
+
* Seconds a task may sit in this state before the stall sweeper emits a `tasks.stalled` event (once per stall episode, re-armed on the next transition). Must be a positive integer when set. Omit or null to never stall. The event does not move the task — route on it with a webhook/trigger.
|
|
4457
4649
|
*/
|
|
4458
4650
|
stalled_after?: number | null;
|
|
4459
4651
|
on_enter?: {
|
|
@@ -4472,7 +4664,7 @@ type WorkflowTransition = {
|
|
|
4472
4664
|
[key: string]: unknown;
|
|
4473
4665
|
} | null;
|
|
4474
4666
|
/**
|
|
4475
|
-
*
|
|
4667
|
+
* Gate the transition behind a human approval. When `true`, firing the transition (by anyone other than the approval resolution itself) parks a pending `ApprovalItem` instead of moving the task; the task exposes `pending_transition` until the item resolves. Approval fires the transition as the `approval` actor (its guard re-evaluated at resolution time); rejection or expiry clears the gate and appends a history note.
|
|
4476
4668
|
*/
|
|
4477
4669
|
requires_approval?: boolean;
|
|
4478
4670
|
[key: string]: unknown;
|
|
@@ -5303,7 +5495,13 @@ type DeleteAiProviderData = {
|
|
|
5303
5495
|
*/
|
|
5304
5496
|
ai_provider_id: string;
|
|
5305
5497
|
};
|
|
5306
|
-
query?:
|
|
5498
|
+
query?: {
|
|
5499
|
+
/**
|
|
5500
|
+
* When `true`, delete the provider's price overrides and unlink its usage/participant history so a provider with only soft dependents can be removed. Has no effect on live references (chats, agents, discussions), which always block deletion.
|
|
5501
|
+
*
|
|
5502
|
+
*/
|
|
5503
|
+
force?: boolean;
|
|
5504
|
+
};
|
|
5307
5505
|
url: '/api/v1/ai-providers/{ai_provider_id}';
|
|
5308
5506
|
};
|
|
5309
5507
|
type DeleteAiProviderErrors = {
|
|
@@ -5319,13 +5517,19 @@ type DeleteAiProviderErrors = {
|
|
|
5319
5517
|
* AI provider not found
|
|
5320
5518
|
*/
|
|
5321
5519
|
404: unknown;
|
|
5520
|
+
/**
|
|
5521
|
+
* The AI provider still has dependents. Live references always block; soft dependents block unless force=true. See error.meta for counts, offending IDs, and the forcible flag.
|
|
5522
|
+
*
|
|
5523
|
+
*/
|
|
5524
|
+
409: unknown;
|
|
5322
5525
|
};
|
|
5323
5526
|
type DeleteAiProviderResponses = {
|
|
5324
5527
|
/**
|
|
5325
5528
|
* AI provider deleted successfully
|
|
5326
5529
|
*/
|
|
5327
|
-
|
|
5530
|
+
204: void;
|
|
5328
5531
|
};
|
|
5532
|
+
type DeleteAiProviderResponse = DeleteAiProviderResponses[keyof DeleteAiProviderResponses];
|
|
5329
5533
|
type GetAiProviderData = {
|
|
5330
5534
|
body?: never;
|
|
5331
5535
|
path: {
|
|
@@ -5668,7 +5872,7 @@ type ListApprovalsData = {
|
|
|
5668
5872
|
/**
|
|
5669
5873
|
* Filter by producer origin
|
|
5670
5874
|
*/
|
|
5671
|
-
origin?: 'node' | 'tool_call';
|
|
5875
|
+
origin?: 'node' | 'tool_call' | 'task_transition';
|
|
5672
5876
|
/**
|
|
5673
5877
|
* Return only items expiring at or before this timestamp
|
|
5674
5878
|
*/
|
|
@@ -8358,6 +8562,240 @@ type UpdateGenerationResponses = {
|
|
|
8358
8562
|
200: Generation;
|
|
8359
8563
|
};
|
|
8360
8564
|
type UpdateGenerationResponse = UpdateGenerationResponses[keyof UpdateGenerationResponses];
|
|
8565
|
+
type ListGuardrailsData = {
|
|
8566
|
+
body?: never;
|
|
8567
|
+
path?: never;
|
|
8568
|
+
query?: {
|
|
8569
|
+
/**
|
|
8570
|
+
* Project public ID to filter by
|
|
8571
|
+
*/
|
|
8572
|
+
project_id?: string;
|
|
8573
|
+
};
|
|
8574
|
+
url: '/api/v1/guardrails';
|
|
8575
|
+
};
|
|
8576
|
+
type ListGuardrailsErrors = {
|
|
8577
|
+
/**
|
|
8578
|
+
* Unauthorized
|
|
8579
|
+
*/
|
|
8580
|
+
401: ErrorResponse;
|
|
8581
|
+
/**
|
|
8582
|
+
* Forbidden
|
|
8583
|
+
*/
|
|
8584
|
+
403: ErrorResponse;
|
|
8585
|
+
};
|
|
8586
|
+
type ListGuardrailsError = ListGuardrailsErrors[keyof ListGuardrailsErrors];
|
|
8587
|
+
type ListGuardrailsResponses = {
|
|
8588
|
+
/**
|
|
8589
|
+
* List of guardrails
|
|
8590
|
+
*/
|
|
8591
|
+
200: Array<Guardrail>;
|
|
8592
|
+
};
|
|
8593
|
+
type ListGuardrailsResponse = ListGuardrailsResponses[keyof ListGuardrailsResponses];
|
|
8594
|
+
type CreateGuardrailData = {
|
|
8595
|
+
body: CreateGuardrailRequest;
|
|
8596
|
+
path?: never;
|
|
8597
|
+
query?: never;
|
|
8598
|
+
url: '/api/v1/guardrails';
|
|
8599
|
+
};
|
|
8600
|
+
type CreateGuardrailErrors = {
|
|
8601
|
+
/**
|
|
8602
|
+
* Bad Request — invalid document or variable reference
|
|
8603
|
+
*/
|
|
8604
|
+
400: ErrorResponse;
|
|
8605
|
+
/**
|
|
8606
|
+
* Unauthorized
|
|
8607
|
+
*/
|
|
8608
|
+
401: ErrorResponse;
|
|
8609
|
+
/**
|
|
8610
|
+
* Forbidden
|
|
8611
|
+
*/
|
|
8612
|
+
403: ErrorResponse;
|
|
8613
|
+
};
|
|
8614
|
+
type CreateGuardrailError = CreateGuardrailErrors[keyof CreateGuardrailErrors];
|
|
8615
|
+
type CreateGuardrailResponses = {
|
|
8616
|
+
/**
|
|
8617
|
+
* Guardrail created
|
|
8618
|
+
*/
|
|
8619
|
+
201: Guardrail;
|
|
8620
|
+
};
|
|
8621
|
+
type CreateGuardrailResponse = CreateGuardrailResponses[keyof CreateGuardrailResponses];
|
|
8622
|
+
type DeleteGuardrailData = {
|
|
8623
|
+
body?: never;
|
|
8624
|
+
path: {
|
|
8625
|
+
guardrail_id: string;
|
|
8626
|
+
};
|
|
8627
|
+
query?: never;
|
|
8628
|
+
url: '/api/v1/guardrails/{guardrail_id}';
|
|
8629
|
+
};
|
|
8630
|
+
type DeleteGuardrailErrors = {
|
|
8631
|
+
/**
|
|
8632
|
+
* Unauthorized
|
|
8633
|
+
*/
|
|
8634
|
+
401: ErrorResponse;
|
|
8635
|
+
/**
|
|
8636
|
+
* Forbidden
|
|
8637
|
+
*/
|
|
8638
|
+
403: ErrorResponse;
|
|
8639
|
+
/**
|
|
8640
|
+
* Not found
|
|
8641
|
+
*/
|
|
8642
|
+
404: ErrorResponse;
|
|
8643
|
+
};
|
|
8644
|
+
type DeleteGuardrailError = DeleteGuardrailErrors[keyof DeleteGuardrailErrors];
|
|
8645
|
+
type DeleteGuardrailResponses = {
|
|
8646
|
+
/**
|
|
8647
|
+
* Deleted
|
|
8648
|
+
*/
|
|
8649
|
+
204: void;
|
|
8650
|
+
};
|
|
8651
|
+
type DeleteGuardrailResponse = DeleteGuardrailResponses[keyof DeleteGuardrailResponses];
|
|
8652
|
+
type GetGuardrailData = {
|
|
8653
|
+
body?: never;
|
|
8654
|
+
path: {
|
|
8655
|
+
guardrail_id: string;
|
|
8656
|
+
};
|
|
8657
|
+
query?: never;
|
|
8658
|
+
url: '/api/v1/guardrails/{guardrail_id}';
|
|
8659
|
+
};
|
|
8660
|
+
type GetGuardrailErrors = {
|
|
8661
|
+
/**
|
|
8662
|
+
* Unauthorized
|
|
8663
|
+
*/
|
|
8664
|
+
401: ErrorResponse;
|
|
8665
|
+
/**
|
|
8666
|
+
* Forbidden
|
|
8667
|
+
*/
|
|
8668
|
+
403: ErrorResponse;
|
|
8669
|
+
/**
|
|
8670
|
+
* Not found
|
|
8671
|
+
*/
|
|
8672
|
+
404: ErrorResponse;
|
|
8673
|
+
};
|
|
8674
|
+
type GetGuardrailError = GetGuardrailErrors[keyof GetGuardrailErrors];
|
|
8675
|
+
type GetGuardrailResponses = {
|
|
8676
|
+
/**
|
|
8677
|
+
* Guardrail
|
|
8678
|
+
*/
|
|
8679
|
+
200: Guardrail;
|
|
8680
|
+
};
|
|
8681
|
+
type GetGuardrailResponse = GetGuardrailResponses[keyof GetGuardrailResponses];
|
|
8682
|
+
type UpdateGuardrailData = {
|
|
8683
|
+
body: UpdateGuardrailRequest;
|
|
8684
|
+
path: {
|
|
8685
|
+
guardrail_id: string;
|
|
8686
|
+
};
|
|
8687
|
+
query?: never;
|
|
8688
|
+
url: '/api/v1/guardrails/{guardrail_id}';
|
|
8689
|
+
};
|
|
8690
|
+
type UpdateGuardrailErrors = {
|
|
8691
|
+
/**
|
|
8692
|
+
* Bad Request — invalid document or variable reference
|
|
8693
|
+
*/
|
|
8694
|
+
400: ErrorResponse;
|
|
8695
|
+
/**
|
|
8696
|
+
* Unauthorized
|
|
8697
|
+
*/
|
|
8698
|
+
401: ErrorResponse;
|
|
8699
|
+
/**
|
|
8700
|
+
* Forbidden
|
|
8701
|
+
*/
|
|
8702
|
+
403: ErrorResponse;
|
|
8703
|
+
/**
|
|
8704
|
+
* Not found
|
|
8705
|
+
*/
|
|
8706
|
+
404: ErrorResponse;
|
|
8707
|
+
};
|
|
8708
|
+
type UpdateGuardrailError = UpdateGuardrailErrors[keyof UpdateGuardrailErrors];
|
|
8709
|
+
type UpdateGuardrailResponses = {
|
|
8710
|
+
/**
|
|
8711
|
+
* Guardrail updated
|
|
8712
|
+
*/
|
|
8713
|
+
200: Guardrail;
|
|
8714
|
+
};
|
|
8715
|
+
type UpdateGuardrailResponse = UpdateGuardrailResponses[keyof UpdateGuardrailResponses];
|
|
8716
|
+
type GetGuardrailVersionData = {
|
|
8717
|
+
body?: never;
|
|
8718
|
+
path: {
|
|
8719
|
+
guardrail_id: string;
|
|
8720
|
+
version: number;
|
|
8721
|
+
};
|
|
8722
|
+
query?: never;
|
|
8723
|
+
url: '/api/v1/guardrails/{guardrail_id}/versions/{version}';
|
|
8724
|
+
};
|
|
8725
|
+
type GetGuardrailVersionErrors = {
|
|
8726
|
+
/**
|
|
8727
|
+
* Bad Request — version is not a positive integer
|
|
8728
|
+
*/
|
|
8729
|
+
400: ErrorResponse;
|
|
8730
|
+
/**
|
|
8731
|
+
* Unauthorized
|
|
8732
|
+
*/
|
|
8733
|
+
401: ErrorResponse;
|
|
8734
|
+
/**
|
|
8735
|
+
* Forbidden
|
|
8736
|
+
*/
|
|
8737
|
+
403: ErrorResponse;
|
|
8738
|
+
/**
|
|
8739
|
+
* Not found
|
|
8740
|
+
*/
|
|
8741
|
+
404: ErrorResponse;
|
|
8742
|
+
};
|
|
8743
|
+
type GetGuardrailVersionError = GetGuardrailVersionErrors[keyof GetGuardrailVersionErrors];
|
|
8744
|
+
type GetGuardrailVersionResponses = {
|
|
8745
|
+
/**
|
|
8746
|
+
* Archived guardrail version
|
|
8747
|
+
*/
|
|
8748
|
+
200: GuardrailVersion;
|
|
8749
|
+
};
|
|
8750
|
+
type GetGuardrailVersionResponse = GetGuardrailVersionResponses[keyof GetGuardrailVersionResponses];
|
|
8751
|
+
type EvaluateGuardrailData = {
|
|
8752
|
+
body?: {
|
|
8753
|
+
/**
|
|
8754
|
+
* The proposed call's arguments (the `args.*` namespace).
|
|
8755
|
+
*/
|
|
8756
|
+
args?: {
|
|
8757
|
+
[key: string]: unknown;
|
|
8758
|
+
};
|
|
8759
|
+
/**
|
|
8760
|
+
* The caller-supplied guardrail context (the `context.*` namespace), combined with the context tool per `context_mode`.
|
|
8761
|
+
*
|
|
8762
|
+
*/
|
|
8763
|
+
guardrail_context?: {
|
|
8764
|
+
[key: string]: unknown;
|
|
8765
|
+
};
|
|
8766
|
+
/**
|
|
8767
|
+
* Optional tool to resolve `soat.tool.*` against.
|
|
8768
|
+
*/
|
|
8769
|
+
tool_id?: string;
|
|
8770
|
+
};
|
|
8771
|
+
path: {
|
|
8772
|
+
guardrail_id: string;
|
|
8773
|
+
};
|
|
8774
|
+
query?: never;
|
|
8775
|
+
url: '/api/v1/guardrails/{guardrail_id}/evaluate';
|
|
8776
|
+
};
|
|
8777
|
+
type EvaluateGuardrailErrors = {
|
|
8778
|
+
/**
|
|
8779
|
+
* Unauthorized
|
|
8780
|
+
*/
|
|
8781
|
+
401: ErrorResponse;
|
|
8782
|
+
/**
|
|
8783
|
+
* Forbidden
|
|
8784
|
+
*/
|
|
8785
|
+
403: ErrorResponse;
|
|
8786
|
+
/**
|
|
8787
|
+
* Not found
|
|
8788
|
+
*/
|
|
8789
|
+
404: ErrorResponse;
|
|
8790
|
+
};
|
|
8791
|
+
type EvaluateGuardrailError = EvaluateGuardrailErrors[keyof EvaluateGuardrailErrors];
|
|
8792
|
+
type EvaluateGuardrailResponses = {
|
|
8793
|
+
/**
|
|
8794
|
+
* The would-be evaluation record (nothing executed)
|
|
8795
|
+
*/
|
|
8796
|
+
200: GuardrailEvaluation;
|
|
8797
|
+
};
|
|
8798
|
+
type EvaluateGuardrailResponse = EvaluateGuardrailResponses[keyof EvaluateGuardrailResponses];
|
|
8361
8799
|
type ListIngestionRulesData = {
|
|
8362
8800
|
body?: never;
|
|
8363
8801
|
path?: never;
|
|
@@ -9757,7 +10195,11 @@ type GetProjectResponses = {
|
|
|
9757
10195
|
type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
|
|
9758
10196
|
type UpdateProjectData = {
|
|
9759
10197
|
body: {
|
|
9760
|
-
name
|
|
10198
|
+
name?: string;
|
|
10199
|
+
/**
|
|
10200
|
+
* Guardrails attached at the project scope.
|
|
10201
|
+
*/
|
|
10202
|
+
guardrail_ids?: Array<string> | null;
|
|
9761
10203
|
};
|
|
9762
10204
|
path: {
|
|
9763
10205
|
/**
|
|
@@ -12385,7 +12827,10 @@ declare class AiProviders {
|
|
|
12385
12827
|
/**
|
|
12386
12828
|
* Delete an AI provider
|
|
12387
12829
|
*
|
|
12388
|
-
* Deletes an AI provider configuration
|
|
12830
|
+
* Deletes an AI provider configuration.
|
|
12831
|
+
*
|
|
12832
|
+
* Live references — chats, agents, and discussions that use this provider — always block deletion with `409 AI_PROVIDER_HAS_DEPENDENTS`; `force` does not override them, so delete or repoint those resources first. Soft dependents — price overrides, usage/generation records, and discussion participants — also block with `409` unless `force=true`, which deletes the provider's price overrides and unlinks (nulls) its usage and participant history, preserving those rows. The `409` body's `error.meta` reports the counts, a sample of offending IDs, and a `forcible` flag that is `true` when a `force=true` retry would succeed.
|
|
12833
|
+
*
|
|
12389
12834
|
*/
|
|
12390
12835
|
static deleteAiProvider<ThrowOnError extends boolean = false>(options: Options<DeleteAiProviderData, ThrowOnError>): RequestResult<DeleteAiProviderResponses, DeleteAiProviderErrors, ThrowOnError>;
|
|
12391
12836
|
/**
|
|
@@ -12920,6 +13365,54 @@ declare class Generations {
|
|
|
12920
13365
|
*/
|
|
12921
13366
|
static updateGeneration<ThrowOnError extends boolean = false>(options: Options<UpdateGenerationData, ThrowOnError>): RequestResult<UpdateGenerationResponses, UpdateGenerationErrors, ThrowOnError>;
|
|
12922
13367
|
}
|
|
13368
|
+
declare class Guardrails {
|
|
13369
|
+
/**
|
|
13370
|
+
* List guardrails
|
|
13371
|
+
*
|
|
13372
|
+
* Returns all guardrails in the project.
|
|
13373
|
+
*/
|
|
13374
|
+
static listGuardrails<ThrowOnError extends boolean = false>(options?: Options<ListGuardrailsData, ThrowOnError>): RequestResult<ListGuardrailsResponses, ListGuardrailsErrors, ThrowOnError>;
|
|
13375
|
+
/**
|
|
13376
|
+
* Create a guardrail
|
|
13377
|
+
*
|
|
13378
|
+
* Creates a new guardrail in the project. The `document` is validated on write: `class` must be a literal (A/B/C/D) or a JSON Logic expression, and every variable it (and `guard`) reference must resolve to the `args.*` / `context.*` / `soat.*` namespaces — an out-of-catalog `soat.*` key is rejected with 400.
|
|
13379
|
+
*
|
|
13380
|
+
*/
|
|
13381
|
+
static createGuardrail<ThrowOnError extends boolean = false>(options: Options<CreateGuardrailData, ThrowOnError>): RequestResult<CreateGuardrailResponses, CreateGuardrailErrors, ThrowOnError>;
|
|
13382
|
+
/**
|
|
13383
|
+
* Delete a guardrail
|
|
13384
|
+
*
|
|
13385
|
+
* Deletes a guardrail and its archived versions by ID.
|
|
13386
|
+
*/
|
|
13387
|
+
static deleteGuardrail<ThrowOnError extends boolean = false>(options: Options<DeleteGuardrailData, ThrowOnError>): RequestResult<DeleteGuardrailResponses, DeleteGuardrailErrors, ThrowOnError>;
|
|
13388
|
+
/**
|
|
13389
|
+
* Get a guardrail
|
|
13390
|
+
*
|
|
13391
|
+
* Returns a single guardrail by ID.
|
|
13392
|
+
*/
|
|
13393
|
+
static getGuardrail<ThrowOnError extends boolean = false>(options: Options<GetGuardrailData, ThrowOnError>): RequestResult<GetGuardrailResponses, GetGuardrailErrors, ThrowOnError>;
|
|
13394
|
+
/**
|
|
13395
|
+
* Update a guardrail
|
|
13396
|
+
*
|
|
13397
|
+
* Updates an existing guardrail. A `document` write increments `version` and archives the prior document as a GuardrailVersion; metadata-only edits (name / description / context) leave the version untouched.
|
|
13398
|
+
*
|
|
13399
|
+
*/
|
|
13400
|
+
static updateGuardrail<ThrowOnError extends boolean = false>(options: Options<UpdateGuardrailData, ThrowOnError>): RequestResult<UpdateGuardrailResponses, UpdateGuardrailErrors, ThrowOnError>;
|
|
13401
|
+
/**
|
|
13402
|
+
* Fetch an archived guardrail version
|
|
13403
|
+
*
|
|
13404
|
+
* Returns the exact `document` that governed at a given version. Approval items, activity entries, and exceptions record the version that governed them, so the audit chain survives edits.
|
|
13405
|
+
*
|
|
13406
|
+
*/
|
|
13407
|
+
static getGuardrailVersion<ThrowOnError extends boolean = false>(options: Options<GetGuardrailVersionData, ThrowOnError>): RequestResult<GetGuardrailVersionResponses, GetGuardrailVersionErrors, ThrowOnError>;
|
|
13408
|
+
/**
|
|
13409
|
+
* Dry-run evaluate a guardrail
|
|
13410
|
+
*
|
|
13411
|
+
* Runs the full evaluation pipeline — the `class` expression, the guard, the context tool per `context_mode`, live `soat.*` resolution — against caller-supplied `args` and `guardrail_context`, and returns the exact `guardrail_evaluation` record a real call would produce. Nothing executes, no approval item is filed, and no activity entry is written. This is the adoption path: preview a document's decisions against production-shaped calls before attaching it — or before editing a widely-attached one. Pass an optional `tool_id` to resolve `soat.tool.*`.
|
|
13412
|
+
*
|
|
13413
|
+
*/
|
|
13414
|
+
static evaluateGuardrail<ThrowOnError extends boolean = false>(options: Options<EvaluateGuardrailData, ThrowOnError>): RequestResult<EvaluateGuardrailResponses, EvaluateGuardrailErrors, ThrowOnError>;
|
|
13415
|
+
}
|
|
12923
13416
|
declare class IngestionRules {
|
|
12924
13417
|
/**
|
|
12925
13418
|
* List ingestion rules
|
|
@@ -13160,9 +13653,9 @@ declare class Projects {
|
|
|
13160
13653
|
*/
|
|
13161
13654
|
static getProject<ThrowOnError extends boolean = false>(options: Options<GetProjectData, ThrowOnError>): RequestResult<GetProjectResponses, GetProjectErrors, ThrowOnError>;
|
|
13162
13655
|
/**
|
|
13163
|
-
*
|
|
13656
|
+
* Update a project
|
|
13164
13657
|
*
|
|
13165
|
-
* Updates a project's name. Requires admin role.
|
|
13658
|
+
* Updates a project's name and/or its attached guardrails (`guardrail_ids` — the project-scope baseline governing every tool call by every agent in the project). Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.
|
|
13166
13659
|
*/
|
|
13167
13660
|
static updateProject<ThrowOnError extends boolean = false>(options: Options<UpdateProjectData, ThrowOnError>): RequestResult<UpdateProjectResponses, UpdateProjectErrors, ThrowOnError>;
|
|
13168
13661
|
/**
|
|
@@ -13313,13 +13806,13 @@ declare class Tasks {
|
|
|
13313
13806
|
/**
|
|
13314
13807
|
* Update a task
|
|
13315
13808
|
*
|
|
13316
|
-
* Updates a task's payload, title, or assignee. `state` is never directly writable — move it with a transition. `payload` is shallow-merged over the existing payload (PATCH semantics): keys the request omits are preserved, so setting one field never discards values an on_enter automation wrote (e.g. `last_result`). The merged payload is validated against the workflow's `payload_schema`.
|
|
13809
|
+
* Updates a task's payload, title, or assignee. `state` is never directly writable — move it with a transition; sending a `state` field is rejected as an unknown field (`VALIDATION_FAILED`). `payload` is shallow-merged over the existing payload (PATCH semantics): keys the request omits are preserved, so setting one field never discards values an on_enter automation wrote (e.g. `last_result`). The merged payload is validated against the workflow's `payload_schema`.
|
|
13317
13810
|
*/
|
|
13318
13811
|
static updateTask<ThrowOnError extends boolean = false>(options: Options<UpdateTaskData, ThrowOnError>): RequestResult<UpdateTaskResponses, UpdateTaskErrors, ThrowOnError>;
|
|
13319
13812
|
/**
|
|
13320
13813
|
* Transition a task
|
|
13321
13814
|
*
|
|
13322
|
-
* Fires a named transition on a task. The transition must exist in the workflow and be valid from the task's current state; its guard must pass. This is the single path every state change routes through.
|
|
13815
|
+
* Fires a named transition on a task. The transition must exist in the workflow and be valid from the task's current state; its guard must pass. This is the single path every state change routes through. A transition declaring `requires_approval` does not move the task — it parks a pending ApprovalItem and returns the task with `pending_transition` set; the move applies only when the approval is approved.
|
|
13323
13816
|
*/
|
|
13324
13817
|
static transitionTask<ThrowOnError extends boolean = false>(options: Options<TransitionTaskData, ThrowOnError>): RequestResult<TransitionTaskResponses, TransitionTaskErrors, ThrowOnError>;
|
|
13325
13818
|
/**
|
|
@@ -13718,4 +14211,4 @@ declare class SoatClient {
|
|
|
13718
14211
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
13719
14212
|
}
|
|
13720
14213
|
//#endregion
|
|
13721
|
-
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUsageResponse, type GetUsageResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUsageMetersData, type ListUsageMetersError, type ListUsageMetersErrors, type ListUsageMetersResponse, type ListUsageMetersResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type ProviderPrice, type ProviderPricesResponse, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type RunUsageTotals, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type SynthesisConfig, type Task, type TaskTransition, Tasks, type Tool, type ToolApprovalPolicy, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskErrors, type TransitionTaskRequest, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateTotals, type UsageComponent, type UsageEvent, type UsageReceipt, type UsageThreshold, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowState, type WorkflowTransition, Workflows, createClient, createConfig };
|
|
14214
|
+
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type ApprovalId, type ApprovalItem, Approvals, type ApproveApprovalData, type ApproveApprovalErrors, type ApproveApprovalResponse, type ApproveApprovalResponses, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type CancelOrchestrationRunData, type CancelOrchestrationRunErrors, type CancelOrchestrationRunResponse, type CancelOrchestrationRunResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type CompleteIngestionCallbackData, type CompleteIngestionCallbackError, type CompleteIngestionCallbackErrors, type CompleteIngestionCallbackResponse, type CompleteIngestionCallbackResponses, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDiscussionData, type CreateDiscussionError, type CreateDiscussionErrors, type CreateDiscussionResponse, type CreateDiscussionResponses, type CreateDiscussionRunData, type CreateDiscussionRunError, type CreateDiscussionRunErrors, type CreateDiscussionRunResponse, type CreateDiscussionRunResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateEmbeddingsData, type CreateEmbeddingsError, type CreateEmbeddingsErrors, type CreateEmbeddingsResponse, type CreateEmbeddingsResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateGuardrailData, type CreateGuardrailError, type CreateGuardrailErrors, type CreateGuardrailRequest, type CreateGuardrailResponse, type CreateGuardrailResponses, type CreateIngestionRuleData, type CreateIngestionRuleErrors, type CreateIngestionRuleResponse, type CreateIngestionRuleResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreateOrchestrationData, type CreateOrchestrationErrors, type CreateOrchestrationRequest, type CreateOrchestrationResponse, type CreateOrchestrationResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreatePresignedUrlData, type CreatePresignedUrlError, type CreatePresignedUrlErrors, type CreatePresignedUrlResponse, type CreatePresignedUrlResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionData, type CreateSessionError, type CreateSessionErrors, type CreateSessionRequest, type CreateSessionResponse, type CreateSessionResponses, type CreateTaskData, type CreateTaskErrors, type CreateTaskRequest, type CreateTaskResponse, type CreateTaskResponses, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateTriggerData, type CreateTriggerErrors, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResponses, type CreateUsageThresholdData, type CreateUsageThresholdError, type CreateUsageThresholdErrors, type CreateUsageThresholdRequest, type CreateUsageThresholdResponse, type CreateUsageThresholdResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkflowData, type CreateWorkflowErrors, type CreateWorkflowRequest, type CreateWorkflowResponse, type CreateWorkflowResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponse, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDiscussionData, type DeleteDiscussionError, type DeleteDiscussionErrors, type DeleteDiscussionResponse, type DeleteDiscussionResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteGuardrailData, type DeleteGuardrailError, type DeleteGuardrailErrors, type DeleteGuardrailResponse, type DeleteGuardrailResponses, type DeleteIngestionRuleData, type DeleteIngestionRuleErrors, type DeleteIngestionRuleResponse, type DeleteIngestionRuleResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeleteOrchestrationData, type DeleteOrchestrationErrors, type DeleteOrchestrationResponse, type DeleteOrchestrationResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectError, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteTaskData, type DeleteTaskErrors, type DeleteTaskResponse, type DeleteTaskResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteTriggerData, type DeleteTriggerErrors, type DeleteTriggerResponse, type DeleteTriggerResponses, type DeleteUsageThresholdData, type DeleteUsageThresholdError, type DeleteUsageThresholdErrors, type DeleteUsageThresholdResponse, type DeleteUsageThresholdResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkflowData, type DeleteWorkflowErrors, type DeleteWorkflowResponse, type DeleteWorkflowResponses, type Delivery, type DeliveryListResponse, type DiscussionRecord, type DiscussionResourceProperties, type DiscussionRunRecord, Discussions, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, type DocumentStatusRecord, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, Embeddings, type EmbeddingsResponse, type ErrorResponse, type EvaluateGuardrailData, type EvaluateGuardrailError, type EvaluateGuardrailErrors, type EvaluateGuardrailResponse, type EvaluateGuardrailResponses, type FileRecord, type FileRecordWritable, type FileResourceProperties, Files, type FireTriggerData, type FireTriggerErrors, type FireTriggerRequest, type FireTriggerResponse, type FireTriggerResponses, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type Generation, Generations, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderPricesData, type GetAiProviderPricesErrors, type GetAiProviderPricesResponse, type GetAiProviderPricesResponses, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetApprovalData, type GetApprovalErrors, type GetApprovalResponse, type GetApprovalResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetCurrentUserData, type GetCurrentUserError, type GetCurrentUserErrors, type GetCurrentUserResponse, type GetCurrentUserResponses, type GetDiscussionData, type GetDiscussionError, type GetDiscussionErrors, type GetDiscussionResponse, type GetDiscussionResponses, type GetDiscussionRunData, type GetDiscussionRunError, type GetDiscussionRunErrors, type GetDiscussionRunResponse, type GetDiscussionRunResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentStatusData, type GetDocumentStatusError, type GetDocumentStatusErrors, type GetDocumentStatusResponse, type GetDocumentStatusResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetGenerationData, type GetGenerationError, type GetGenerationErrors, type GetGenerationResponse, type GetGenerationResponses, type GetGuardrailData, type GetGuardrailError, type GetGuardrailErrors, type GetGuardrailResponse, type GetGuardrailResponses, type GetGuardrailVersionData, type GetGuardrailVersionError, type GetGuardrailVersionErrors, type GetGuardrailVersionResponse, type GetGuardrailVersionResponses, type GetIngestionRuleData, type GetIngestionRuleErrors, type GetIngestionRuleResponse, type GetIngestionRuleResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetOrchestrationRunData, type GetOrchestrationRunErrors, type GetOrchestrationRunResponse, type GetOrchestrationRunResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetPriceBookData, type GetPriceBookError, type GetPriceBookErrors, type GetPriceBookResponse, type GetPriceBookResponses, type GetProjectData, type GetProjectErrors, type GetProjectPricesData, type GetProjectPricesErrors, type GetProjectPricesResponse, type GetProjectPricesResponses, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTaskData, type GetTaskErrors, type GetTaskHistoryData, type GetTaskHistoryErrors, type GetTaskHistoryResponse, type GetTaskHistoryResponses, type GetTaskResponse, type GetTaskResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetTriggerData, type GetTriggerErrors, type GetTriggerFiringData, type GetTriggerFiringErrors, type GetTriggerFiringResponse, type GetTriggerFiringResponses, type GetTriggerResponse, type GetTriggerResponses, type GetTriggerSecretData, type GetTriggerSecretErrors, type GetTriggerSecretResponse, type GetTriggerSecretResponses, type GetUsageData, type GetUsageError, type GetUsageErrors, type GetUsageReceiptData, type GetUsageReceiptError, type GetUsageReceiptErrors, type GetUsageReceiptResponse, type GetUsageReceiptResponses, type GetUsageResponse, type GetUsageResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, type GetWorkflowData, type GetWorkflowErrors, type GetWorkflowResponse, type GetWorkflowResponses, type Guardrail, type GuardrailDocument, type GuardrailEvaluation, type GuardrailVersion, Guardrails, type HumanInputRequest, type IngestDocumentData, type IngestDocumentError, type IngestDocumentErrors, type IngestDocumentResponse, type IngestDocumentResponses, type IngestedDocumentRecord, type IngestionRule, type IngestionRuleResourceProperties, IngestionRules, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListApprovalsData, type ListApprovalsErrors, type ListApprovalsResponse, type ListApprovalsResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDiscussionRunsData, type ListDiscussionRunsError, type ListDiscussionRunsErrors, type ListDiscussionRunsResponse, type ListDiscussionRunsResponses, type ListDiscussionsData, type ListDiscussionsError, type ListDiscussionsErrors, type ListDiscussionsResponse, type ListDiscussionsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListGenerationsData, type ListGenerationsError, type ListGenerationsErrors, type ListGenerationsResponse, type ListGenerationsResponses, type ListGuardrailsData, type ListGuardrailsError, type ListGuardrailsErrors, type ListGuardrailsResponse, type ListGuardrailsResponses, type ListIngestionRulesData, type ListIngestionRulesErrors, type ListIngestionRulesResponse, type ListIngestionRulesResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListOrchestrationRunsData, type ListOrchestrationRunsErrors, type ListOrchestrationRunsResponse, type ListOrchestrationRunsResponses, type ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListProjectsData, type ListProjectsErrors, type ListProjectsResponse, type ListProjectsResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListSessionsData, type ListSessionsError, type ListSessionsErrors, type ListSessionsResponse, type ListSessionsResponses, type ListTasksData, type ListTasksErrors, type ListTasksResponse, type ListTasksResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListTriggerFiringsData, type ListTriggerFiringsErrors, type ListTriggerFiringsResponse, type ListTriggerFiringsResponses, type ListTriggersData, type ListTriggersErrors, type ListTriggersResponse, type ListTriggersResponses, type ListUsageMetersData, type ListUsageMetersError, type ListUsageMetersErrors, type ListUsageMetersResponse, type ListUsageMetersResponses, type ListUsageThresholdsData, type ListUsageThresholdsError, type ListUsageThresholdsErrors, type ListUsageThresholdsResponse, type ListUsageThresholdsResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type ListWorkflowsData, type ListWorkflowsErrors, type ListWorkflowsResponse, type ListWorkflowsResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type NodeExecution, type Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationResourceProperties, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type ParticipantInput, type ParticipantRecord, type PatchAgentData, type PatchAgentError, type PatchAgentErrors, type PatchAgentResponse, type PatchAgentResponses, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type PresignedUrlRequest, type PresignedUrlResponse, type Price, type PriceBookResponse, type ProjectPrice, type ProjectPriceResourceProperties, type ProjectPricesResponse, type ProjectRecord, Projects, type ProviderPrice, type ProviderPricesResponse, type ReingestDocumentData, type ReingestDocumentError, type ReingestDocumentErrors, type ReingestDocumentResponse, type ReingestDocumentResponses, type RejectApprovalData, type RejectApprovalErrors, type RejectApprovalResponse, type RejectApprovalResponses, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type RequiredAction, type ResourceDeclaration, type ResumeOrchestrationRunData, type ResumeOrchestrationRunErrors, type ResumeOrchestrationRunResponse, type ResumeOrchestrationRunResponses, type RotateTriggerSecretData, type RotateTriggerSecretErrors, type RotateTriggerSecretResponse, type RotateTriggerSecretResponses, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type RunUsageTotals, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type StartOrchestrationRunData, type StartOrchestrationRunErrors, type StartOrchestrationRunResponse, type StartOrchestrationRunResponses, type StartRunRequest, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitHumanInputData, type SubmitHumanInputErrors, type SubmitHumanInputResponse, type SubmitHumanInputResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type SynthesisConfig, type Task, type TaskTransition, Tasks, type Tool, type ToolBinding, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type TransitionTaskData, type TransitionTaskErrors, type TransitionTaskRequest, type TransitionTaskResponse, type TransitionTaskResponses, type Trigger, type TriggerFiring, type TriggerFiringListResponse, type TriggerResourceProperties, type TriggerSecretResponse, type TriggerWithSecret, Triggers, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderPricesData, type UpdateAiProviderPricesErrors, type UpdateAiProviderPricesResponse, type UpdateAiProviderPricesResponses, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDiscussionData, type UpdateDiscussionError, type UpdateDiscussionErrors, type UpdateDiscussionResponse, type UpdateDiscussionResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateGenerationData, type UpdateGenerationError, type UpdateGenerationErrors, type UpdateGenerationRequest, type UpdateGenerationResponse, type UpdateGenerationResponses, type UpdateGuardrailData, type UpdateGuardrailError, type UpdateGuardrailErrors, type UpdateGuardrailRequest, type UpdateGuardrailResponse, type UpdateGuardrailResponses, type UpdateIngestionRuleData, type UpdateIngestionRuleErrors, type UpdateIngestionRuleResponse, type UpdateIngestionRuleResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdateOrchestrationData, type UpdateOrchestrationErrors, type UpdateOrchestrationRequest, type UpdateOrchestrationResponse, type UpdateOrchestrationResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateProjectData, type UpdateProjectErrors, type UpdateProjectPricesData, type UpdateProjectPricesErrors, type UpdateProjectPricesResponse, type UpdateProjectPricesResponses, type UpdateProjectResponse, type UpdateProjectResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateTaskData, type UpdateTaskErrors, type UpdateTaskRequest, type UpdateTaskResponse, type UpdateTaskResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateTriggerData, type UpdateTriggerErrors, type UpdateTriggerRequest, type UpdateTriggerResponse, type UpdateTriggerResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkflowData, type UpdateWorkflowErrors, type UpdateWorkflowRequest, type UpdateWorkflowResponse, type UpdateWorkflowResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UploadFileWithTokenData, type UploadFileWithTokenError, type UploadFileWithTokenErrors, type UploadFileWithTokenRequest, type UploadFileWithTokenResponse, type UploadFileWithTokenResponses, type UpsertPriceBookData, type UpsertPriceBookError, type UpsertPriceBookErrors, type UpsertPriceBookResponse, type UpsertPriceBookResponses, type UpsertPricesRequest, type UpsertProjectPricesRequest, type UpsertProviderPricesRequest, Usage, type UsageAggregate, type UsageAggregateTotals, type UsageComponent, type UsageEvent, type UsageReceipt, type UsageThreshold, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidateOrchestrationData, type ValidateOrchestrationErrors, type ValidateOrchestrationRequest, type ValidateOrchestrationResponse, type ValidateOrchestrationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, type Workflow, type WorkflowResourceProperties, type WorkflowState, type WorkflowTransition, Workflows, createClient, createConfig };
|