@soat/sdk 0.12.5 → 0.13.1

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.d.mts CHANGED
@@ -2337,10 +2337,11 @@ type OrchestrationNode = {
2337
2337
  */
2338
2338
  memory_id?: string;
2339
2339
  /**
2340
- * Maps state paths to node input keys.
2340
+ * Maps node input keys to values. Each value is JSON Logic (https://jsonlogic.com), the same evaluator used by transform and condition nodes. A single-key object is evaluated against the run state — `{"var": "key"}` reads `state.key`, `{"cat": [...]}` and `{">": [...]}` compute derived values. Any other value (string, number, boolean, array, multi-key object) is passed through as a literal.
2341
+ *
2341
2342
  */
2342
2343
  input_mapping?: {
2343
- [key: string]: string;
2344
+ [key: string]: unknown;
2344
2345
  };
2345
2346
  /**
2346
2347
  * Maps node artifact keys to state paths.
@@ -2530,12 +2531,51 @@ type OrchestrationRun = {
2530
2531
  output?: {
2531
2532
  [key: string]: unknown;
2532
2533
  } | null;
2534
+ /**
2535
+ * Per-node execution records in chronological order. Each entry captures the resolved input, output, status, and error for a single node execution — the orchestration analogue of an LLM trace.
2536
+ */
2537
+ node_executions?: Array<NodeExecution>;
2533
2538
  required_action?: RequiredAction | null;
2534
2539
  started_at?: Date | null;
2535
2540
  completed_at?: Date | null;
2536
2541
  created_at: Date;
2537
2542
  updated_at: Date;
2538
2543
  };
2544
+ /**
2545
+ * Record of a single node execution within a run, used to debug which node failed, what input it received, and what it produced.
2546
+ */
2547
+ type NodeExecution = {
2548
+ /**
2549
+ * ID of the executed node.
2550
+ */
2551
+ node_id: string;
2552
+ /**
2553
+ * Type of the executed node (e.g. agent, transform).
2554
+ */
2555
+ node_type?: string | null;
2556
+ status: 'completed' | 'failed' | 'requires_action';
2557
+ /**
2558
+ * Resolved input_mapping the node received.
2559
+ */
2560
+ input?: {
2561
+ [key: string]: unknown;
2562
+ } | null;
2563
+ /**
2564
+ * Output artifact the node produced (null when failed).
2565
+ */
2566
+ output?: {
2567
+ [key: string]: unknown;
2568
+ } | null;
2569
+ /**
2570
+ * Error details when status is failed.
2571
+ */
2572
+ error?: {
2573
+ [key: string]: unknown;
2574
+ } | null;
2575
+ started_at?: Date | null;
2576
+ completed_at?: Date | null;
2577
+ created_at: Date;
2578
+ };
2539
2579
  /**
2540
2580
  * Details for a paused run waiting for human input.
2541
2581
  */
@@ -2560,6 +2600,10 @@ type HumanInputRequest = {
2560
2600
  };
2561
2601
  };
2562
2602
  type StartRunRequest = {
2603
+ /**
2604
+ * Orchestration to run (orch_...).
2605
+ */
2606
+ orchestration_id: string;
2563
2607
  /**
2564
2608
  * Initial state for the run (merged with orchestration defaults).
2565
2609
  */
@@ -2567,6 +2611,16 @@ type StartRunRequest = {
2567
2611
  [key: string]: unknown;
2568
2612
  };
2569
2613
  };
2614
+ type ValidateOrchestrationRequest = {
2615
+ nodes: Array<OrchestrationNode>;
2616
+ edges: Array<OrchestrationEdge>;
2617
+ /**
2618
+ * Optional JSON Schema for run inputs; its top-level properties seed state.
2619
+ */
2620
+ input_schema?: {
2621
+ [key: string]: unknown;
2622
+ } | null;
2623
+ };
2570
2624
  type PolicyStatement = {
2571
2625
  effect: 'Allow' | 'Deny';
2572
2626
  action: Array<string>;
@@ -2647,16 +2701,11 @@ type SessionRecord = {
2647
2701
  */
2648
2702
  last_activity_at?: Date | null;
2649
2703
  };
2650
- type SessionMessage = {
2651
- role?: 'user' | 'assistant' | 'unknown';
2652
- content?: string;
2653
- document_id?: string | null;
2654
- position?: number;
2655
- metadata?: {
2656
- [key: string]: unknown;
2657
- } | null;
2658
- };
2659
2704
  type CreateSessionRequest = {
2705
+ /**
2706
+ * Agent this session belongs to
2707
+ */
2708
+ agent_id: string;
2660
2709
  /**
2661
2710
  * Optional session name
2662
2711
  */
@@ -3036,16 +3085,6 @@ type TraceTreeNode = {
3036
3085
  */
3037
3086
  children?: Array<TraceTreeNode>;
3038
3087
  };
3039
- type TraceGenerations = {
3040
- /**
3041
- * Public ID of the trace
3042
- */
3043
- trace_id?: string;
3044
- /**
3045
- * Generation public IDs linked to this trace, ordered by start time
3046
- */
3047
- generation_ids?: Array<string>;
3048
- };
3049
3088
  type UserRecord = {
3050
3089
  /**
3051
3090
  * Public user ID (usr_ prefix)
@@ -3104,6 +3143,10 @@ type WebhookSecretResponse = {
3104
3143
  };
3105
3144
  type Delivery = {
3106
3145
  id?: string;
3146
+ /**
3147
+ * Public ID of the webhook this delivery belongs to
3148
+ */
3149
+ webhook_id?: string;
3107
3150
  event_type?: string;
3108
3151
  payload?: {
3109
3152
  [key: string]: unknown;
@@ -3150,6 +3193,19 @@ type ListActorsData = {
3150
3193
  * External ID to filter by (e.g. WhatsApp phone number)
3151
3194
  */
3152
3195
  external_id?: string;
3196
+ /**
3197
+ * Return only actors linked to this agent
3198
+ */
3199
+ agent_id?: string;
3200
+ /**
3201
+ * Return only actors linked to this chat
3202
+ */
3203
+ chat_id?: string;
3204
+ /**
3205
+ * Return only actors that participate in this conversation (derived from the conversation's messages).
3206
+ *
3207
+ */
3208
+ conversation_id?: string;
3153
3209
  /**
3154
3210
  * Maximum number of results to return
3155
3211
  */
@@ -3195,6 +3251,14 @@ type CreateActorData = {
3195
3251
  * Optional external identifier (e.g. WhatsApp phone number). If provided and an actor with this externalId already exists in the project, the existing actor is returned (idempotent — 200 OK).
3196
3252
  */
3197
3253
  external_id?: string;
3254
+ /**
3255
+ * Agent to link this actor to. Mutually exclusive with chat_id.
3256
+ */
3257
+ agent_id?: string;
3258
+ /**
3259
+ * Chat to link this actor to. Mutually exclusive with agent_id.
3260
+ */
3261
+ chat_id?: string;
3198
3262
  /**
3199
3263
  * Memory ID to link to this actor. Mutually exclusive with auto_create_memory.
3200
3264
  */
@@ -3680,59 +3744,6 @@ type SubmitAgentToolOutputsResponses = {
3680
3744
  200: AgentGenerationResponse;
3681
3745
  };
3682
3746
  type SubmitAgentToolOutputsResponse = SubmitAgentToolOutputsResponses[keyof SubmitAgentToolOutputsResponses];
3683
- type CreateAgentActorData = {
3684
- body: {
3685
- name: string;
3686
- /**
3687
- * Optional actor type
3688
- */
3689
- type?: string;
3690
- /**
3691
- * Optional external identifier
3692
- */
3693
- external_id?: string;
3694
- tags?: {
3695
- [key: string]: string;
3696
- };
3697
- };
3698
- path: {
3699
- /**
3700
- * Agent ID
3701
- */
3702
- agent_id: string;
3703
- };
3704
- query?: never;
3705
- url: '/api/v1/agents/{agent_id}/actors';
3706
- };
3707
- type CreateAgentActorErrors = {
3708
- /**
3709
- * Bad request
3710
- */
3711
- 400: ErrorResponse;
3712
- /**
3713
- * Unauthorized
3714
- */
3715
- 401: ErrorResponse;
3716
- /**
3717
- * Forbidden
3718
- */
3719
- 403: ErrorResponse;
3720
- /**
3721
- * Agent not found
3722
- */
3723
- 404: ErrorResponse;
3724
- };
3725
- type CreateAgentActorError = CreateAgentActorErrors[keyof CreateAgentActorErrors];
3726
- type CreateAgentActorResponses = {
3727
- /**
3728
- * Actor created
3729
- */
3730
- 201: {
3731
- id?: string;
3732
- name?: string;
3733
- };
3734
- };
3735
- type CreateAgentActorResponse = CreateAgentActorResponses[keyof CreateAgentActorResponses];
3736
3747
  type ListAiProvidersData = {
3737
3748
  body?: never;
3738
3749
  path?: never;
@@ -4281,7 +4292,7 @@ type CreateChatCompletionData = {
4281
4292
  body: ChatCompletionRequest;
4282
4293
  path?: never;
4283
4294
  query?: never;
4284
- url: '/api/v1/chats/completions';
4295
+ url: '/api/v1/chat/completions';
4285
4296
  };
4286
4297
  type CreateChatCompletionErrors = {
4287
4298
  /**
@@ -4305,59 +4316,6 @@ type CreateChatCompletionResponses = {
4305
4316
  200: ChatCompletionResponse;
4306
4317
  };
4307
4318
  type CreateChatCompletionResponse = CreateChatCompletionResponses[keyof CreateChatCompletionResponses];
4308
- type CreateChatActorData = {
4309
- body: {
4310
- name: string;
4311
- /**
4312
- * Optional actor type
4313
- */
4314
- type?: string;
4315
- /**
4316
- * Optional external identifier
4317
- */
4318
- external_id?: string;
4319
- tags?: {
4320
- [key: string]: string;
4321
- };
4322
- };
4323
- path: {
4324
- /**
4325
- * Chat ID
4326
- */
4327
- chat_id: string;
4328
- };
4329
- query?: never;
4330
- url: '/api/v1/chats/{chat_id}/actors';
4331
- };
4332
- type CreateChatActorErrors = {
4333
- /**
4334
- * Bad request
4335
- */
4336
- 400: ErrorResponse;
4337
- /**
4338
- * Unauthorized
4339
- */
4340
- 401: ErrorResponse;
4341
- /**
4342
- * Forbidden
4343
- */
4344
- 403: ErrorResponse;
4345
- /**
4346
- * Chat not found
4347
- */
4348
- 404: ErrorResponse;
4349
- };
4350
- type CreateChatActorError = CreateChatActorErrors[keyof CreateChatActorErrors];
4351
- type CreateChatActorResponses = {
4352
- /**
4353
- * Actor created
4354
- */
4355
- 201: {
4356
- id?: string;
4357
- name?: string;
4358
- };
4359
- };
4360
- type CreateChatActorResponse = CreateChatActorResponses[keyof CreateChatActorResponses];
4361
4319
  type ListConversationsData = {
4362
4320
  body?: never;
4363
4321
  path?: never;
@@ -4721,39 +4679,6 @@ type GenerateConversationMessageResponses = {
4721
4679
  200: GenerateConversationMessageResponse;
4722
4680
  };
4723
4681
  type GenerateConversationMessageResponse2 = GenerateConversationMessageResponses[keyof GenerateConversationMessageResponses];
4724
- type ListConversationActorsData = {
4725
- body?: never;
4726
- path: {
4727
- /**
4728
- * Conversation ID
4729
- */
4730
- conversation_id: string;
4731
- };
4732
- query?: never;
4733
- url: '/api/v1/conversations/{conversation_id}/actors';
4734
- };
4735
- type ListConversationActorsErrors = {
4736
- /**
4737
- * Unauthorized
4738
- */
4739
- 401: ErrorResponse;
4740
- /**
4741
- * Forbidden
4742
- */
4743
- 403: ErrorResponse;
4744
- /**
4745
- * Conversation not found
4746
- */
4747
- 404: ErrorResponse;
4748
- };
4749
- type ListConversationActorsError = ListConversationActorsErrors[keyof ListConversationActorsErrors];
4750
- type ListConversationActorsResponses = {
4751
- /**
4752
- * List of actors
4753
- */
4754
- 200: Array<ConversationActorRecord>;
4755
- };
4756
- type ListConversationActorsResponse = ListConversationActorsResponses[keyof ListConversationActorsResponses];
4757
4682
  type RemoveConversationMessageData = {
4758
4683
  body?: never;
4759
4684
  path: {
@@ -5968,6 +5893,50 @@ type ListFormationEventsResponses = {
5968
5893
  200: Array<FormationOperation>;
5969
5894
  };
5970
5895
  type ListFormationEventsResponse = ListFormationEventsResponses[keyof ListFormationEventsResponses];
5896
+ type ListGenerationsData = {
5897
+ body?: never;
5898
+ path?: never;
5899
+ query?: {
5900
+ /**
5901
+ * Filter by agent public ID
5902
+ */
5903
+ agent_id?: string;
5904
+ /**
5905
+ * Filter by trace public ID
5906
+ */
5907
+ trace_id?: string;
5908
+ /**
5909
+ * Filter by lifecycle status
5910
+ */
5911
+ status?: 'in_progress' | 'requires_action' | 'completed' | 'failed';
5912
+ limit?: number;
5913
+ offset?: number;
5914
+ };
5915
+ url: '/api/v1/generations';
5916
+ };
5917
+ type ListGenerationsErrors = {
5918
+ /**
5919
+ * Unauthorized
5920
+ */
5921
+ 401: ErrorResponse;
5922
+ /**
5923
+ * Forbidden
5924
+ */
5925
+ 403: ErrorResponse;
5926
+ };
5927
+ type ListGenerationsError = ListGenerationsErrors[keyof ListGenerationsErrors];
5928
+ type ListGenerationsResponses = {
5929
+ /**
5930
+ * Paginated list of generations
5931
+ */
5932
+ 200: {
5933
+ data?: Array<Generation>;
5934
+ total?: number;
5935
+ limit?: number;
5936
+ offset?: number;
5937
+ };
5938
+ };
5939
+ type ListGenerationsResponse = ListGenerationsResponses[keyof ListGenerationsResponses];
5971
5940
  type GetGenerationData = {
5972
5941
  body?: never;
5973
5942
  path: {
@@ -6263,11 +6232,14 @@ type UpdateMemoryResponses = {
6263
6232
  type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
6264
6233
  type ListMemoryEntriesData = {
6265
6234
  body?: never;
6266
- path: {
6235
+ path?: never;
6236
+ query: {
6237
+ /**
6238
+ * Memory container to list entries from (mem_...)
6239
+ */
6267
6240
  memory_id: string;
6268
6241
  };
6269
- query?: never;
6270
- url: '/api/v1/memories/{memory_id}/entries';
6242
+ url: '/api/v1/memory-entries';
6271
6243
  };
6272
6244
  type ListMemoryEntriesErrors = {
6273
6245
  /**
@@ -6296,6 +6268,10 @@ type ListMemoryEntriesResponses = {
6296
6268
  type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
6297
6269
  type CreateMemoryEntryData = {
6298
6270
  body: {
6271
+ /**
6272
+ * Memory container to add the entry to (mem_...)
6273
+ */
6274
+ memory_id: string;
6299
6275
  /**
6300
6276
  * The text content of the memory entry
6301
6277
  */
@@ -6313,11 +6289,9 @@ type CreateMemoryEntryData = {
6313
6289
  */
6314
6290
  update_threshold?: number;
6315
6291
  };
6316
- path: {
6317
- memory_id: string;
6318
- };
6292
+ path?: never;
6319
6293
  query?: never;
6320
- url: '/api/v1/memories/{memory_id}/entries';
6294
+ url: '/api/v1/memory-entries';
6321
6295
  };
6322
6296
  type CreateMemoryEntryErrors = {
6323
6297
  /**
@@ -6355,11 +6329,10 @@ type CreateMemoryEntryResponse = CreateMemoryEntryResponses[keyof CreateMemoryEn
6355
6329
  type DeleteMemoryEntryData = {
6356
6330
  body?: never;
6357
6331
  path: {
6358
- memory_id: string;
6359
6332
  entry_id: string;
6360
6333
  };
6361
6334
  query?: never;
6362
- url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
6335
+ url: '/api/v1/memory-entries/{entry_id}';
6363
6336
  };
6364
6337
  type DeleteMemoryEntryErrors = {
6365
6338
  /**
@@ -6389,11 +6362,10 @@ type DeleteMemoryEntryResponse = DeleteMemoryEntryResponses[keyof DeleteMemoryEn
6389
6362
  type GetMemoryEntryData = {
6390
6363
  body?: never;
6391
6364
  path: {
6392
- memory_id: string;
6393
6365
  entry_id: string;
6394
6366
  };
6395
6367
  query?: never;
6396
- url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
6368
+ url: '/api/v1/memory-entries/{entry_id}';
6397
6369
  };
6398
6370
  type GetMemoryEntryErrors = {
6399
6371
  /**
@@ -6428,11 +6400,10 @@ type UpdateMemoryEntryData = {
6428
6400
  content?: string;
6429
6401
  };
6430
6402
  path: {
6431
- memory_id: string;
6432
6403
  entry_id: string;
6433
6404
  };
6434
6405
  query?: never;
6435
- url: '/api/v1/memories/{memory_id}/entries/{entry_id}';
6406
+ url: '/api/v1/memory-entries/{entry_id}';
6436
6407
  };
6437
6408
  type UpdateMemoryEntryErrors = {
6438
6409
  /**
@@ -6514,6 +6485,25 @@ type CreateOrchestrationResponses = {
6514
6485
  201: Orchestration;
6515
6486
  };
6516
6487
  type CreateOrchestrationResponse = CreateOrchestrationResponses[keyof CreateOrchestrationResponses];
6488
+ type ValidateOrchestrationData = {
6489
+ body: ValidateOrchestrationRequest;
6490
+ path?: never;
6491
+ query?: never;
6492
+ url: '/api/v1/orchestrations/validate';
6493
+ };
6494
+ type ValidateOrchestrationErrors = {
6495
+ /**
6496
+ * Unauthorized
6497
+ */
6498
+ 401: unknown;
6499
+ };
6500
+ type ValidateOrchestrationResponses = {
6501
+ /**
6502
+ * Validation result
6503
+ */
6504
+ 200: ValidationResult;
6505
+ };
6506
+ type ValidateOrchestrationResponse = ValidateOrchestrationResponses[keyof ValidateOrchestrationResponses];
6517
6507
  type DeleteOrchestrationData = {
6518
6508
  body?: never;
6519
6509
  path: {
@@ -6616,14 +6606,14 @@ type UpdateOrchestrationResponses = {
6616
6606
  type UpdateOrchestrationResponse = UpdateOrchestrationResponses[keyof UpdateOrchestrationResponses];
6617
6607
  type ListOrchestrationRunsData = {
6618
6608
  body?: never;
6619
- path: {
6609
+ path?: never;
6610
+ query?: {
6620
6611
  /**
6621
- * Public ID of the orchestration (orch_...)
6612
+ * Filter by orchestration public ID (orch_...)
6622
6613
  */
6623
- orchestration_id: string;
6614
+ orchestration_id?: string;
6624
6615
  };
6625
- query?: never;
6626
- url: '/api/v1/orchestrations/{orchestration_id}/runs';
6616
+ url: '/api/v1/orchestration-runs';
6627
6617
  };
6628
6618
  type ListOrchestrationRunsErrors = {
6629
6619
  /**
@@ -6634,10 +6624,6 @@ type ListOrchestrationRunsErrors = {
6634
6624
  * Forbidden
6635
6625
  */
6636
6626
  403: unknown;
6637
- /**
6638
- * Orchestration not found
6639
- */
6640
- 404: unknown;
6641
6627
  };
6642
6628
  type ListOrchestrationRunsResponses = {
6643
6629
  /**
@@ -6647,15 +6633,10 @@ type ListOrchestrationRunsResponses = {
6647
6633
  };
6648
6634
  type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
6649
6635
  type StartOrchestrationRunData = {
6650
- body?: StartRunRequest;
6651
- path: {
6652
- /**
6653
- * Public ID of the orchestration (orch_...)
6654
- */
6655
- orchestration_id: string;
6656
- };
6636
+ body: StartRunRequest;
6637
+ path?: never;
6657
6638
  query?: never;
6658
- url: '/api/v1/orchestrations/{orchestration_id}/runs';
6639
+ url: '/api/v1/orchestration-runs';
6659
6640
  };
6660
6641
  type StartOrchestrationRunErrors = {
6661
6642
  /**
@@ -6685,17 +6666,13 @@ type StartOrchestrationRunResponse = StartOrchestrationRunResponses[keyof StartO
6685
6666
  type CancelOrchestrationRunData = {
6686
6667
  body?: never;
6687
6668
  path: {
6688
- /**
6689
- * Public ID of the orchestration (orch_...)
6690
- */
6691
- orchestration_id: string;
6692
6669
  /**
6693
6670
  * Public ID of the run (run_...)
6694
6671
  */
6695
6672
  run_id: string;
6696
6673
  };
6697
6674
  query?: never;
6698
- url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/cancel';
6675
+ url: '/api/v1/orchestration-runs/{run_id}/cancel';
6699
6676
  };
6700
6677
  type CancelOrchestrationRunErrors = {
6701
6678
  /**
@@ -6725,17 +6702,13 @@ type CancelOrchestrationRunResponse = CancelOrchestrationRunResponses[keyof Canc
6725
6702
  type SubmitHumanInputData = {
6726
6703
  body: HumanInputRequest;
6727
6704
  path: {
6728
- /**
6729
- * Public ID of the orchestration (orch_...)
6730
- */
6731
- orchestration_id: string;
6732
6705
  /**
6733
6706
  * Public ID of the run (run_...)
6734
6707
  */
6735
6708
  run_id: string;
6736
6709
  };
6737
6710
  query?: never;
6738
- url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/human-input';
6711
+ url: '/api/v1/orchestration-runs/{run_id}/human-input';
6739
6712
  };
6740
6713
  type SubmitHumanInputErrors = {
6741
6714
  /**
@@ -6769,17 +6742,13 @@ type SubmitHumanInputResponse = SubmitHumanInputResponses[keyof SubmitHumanInput
6769
6742
  type ResumeOrchestrationRunData = {
6770
6743
  body?: never;
6771
6744
  path: {
6772
- /**
6773
- * Public ID of the orchestration (orch_...)
6774
- */
6775
- orchestration_id: string;
6776
6745
  /**
6777
6746
  * Public ID of the run (run_...)
6778
6747
  */
6779
6748
  run_id: string;
6780
6749
  };
6781
6750
  query?: never;
6782
- url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/resume';
6751
+ url: '/api/v1/orchestration-runs/{run_id}/resume';
6783
6752
  };
6784
6753
  type ResumeOrchestrationRunErrors = {
6785
6754
  /**
@@ -6809,17 +6778,13 @@ type ResumeOrchestrationRunResponse = ResumeOrchestrationRunResponses[keyof Resu
6809
6778
  type GetOrchestrationRunData = {
6810
6779
  body?: never;
6811
6780
  path: {
6812
- /**
6813
- * Public ID of the orchestration (orch_...)
6814
- */
6815
- orchestration_id: string;
6816
6781
  /**
6817
6782
  * Public ID of the run (run_...)
6818
6783
  */
6819
6784
  run_id: string;
6820
6785
  };
6821
6786
  query?: never;
6822
- url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}';
6787
+ url: '/api/v1/orchestration-runs/{run_id}';
6823
6788
  };
6824
6789
  type GetOrchestrationRunErrors = {
6825
6790
  /**
@@ -6845,7 +6810,12 @@ type GetOrchestrationRunResponse = GetOrchestrationRunResponses[keyof GetOrchest
6845
6810
  type ListPoliciesData = {
6846
6811
  body?: never;
6847
6812
  path?: never;
6848
- query?: never;
6813
+ query?: {
6814
+ /**
6815
+ * Return only policies attached to this user (user_...)
6816
+ */
6817
+ user_id?: string;
6818
+ };
6849
6819
  url: '/api/v1/policies';
6850
6820
  };
6851
6821
  type ListPoliciesErrors = {
@@ -7328,15 +7298,14 @@ type UpdateSecretResponses = {
7328
7298
  */
7329
7299
  200: unknown;
7330
7300
  };
7331
- type ListAgentSessionsData = {
7301
+ type ListSessionsData = {
7332
7302
  body?: never;
7333
- path: {
7303
+ path?: never;
7304
+ query?: {
7334
7305
  /**
7335
- * Agent public ID
7306
+ * Filter by agent public ID
7336
7307
  */
7337
- agent_id: string;
7338
- };
7339
- query?: {
7308
+ agent_id?: string;
7340
7309
  /**
7341
7310
  * Filter by actor public ID
7342
7311
  */
@@ -7348,9 +7317,9 @@ type ListAgentSessionsData = {
7348
7317
  limit?: number;
7349
7318
  offset?: number;
7350
7319
  };
7351
- url: '/api/v1/agents/{agent_id}/sessions';
7320
+ url: '/api/v1/sessions';
7352
7321
  };
7353
- type ListAgentSessionsErrors = {
7322
+ type ListSessionsErrors = {
7354
7323
  /**
7355
7324
  * Authentication required
7356
7325
  */
@@ -7364,8 +7333,8 @@ type ListAgentSessionsErrors = {
7364
7333
  */
7365
7334
  404: ErrorResponse;
7366
7335
  };
7367
- type ListAgentSessionsError = ListAgentSessionsErrors[keyof ListAgentSessionsErrors];
7368
- type ListAgentSessionsResponses = {
7336
+ type ListSessionsError = ListSessionsErrors[keyof ListSessionsErrors];
7337
+ type ListSessionsResponses = {
7369
7338
  /**
7370
7339
  * Paginated list of sessions
7371
7340
  */
@@ -7376,19 +7345,14 @@ type ListAgentSessionsResponses = {
7376
7345
  offset?: number;
7377
7346
  };
7378
7347
  };
7379
- type ListAgentSessionsResponse = ListAgentSessionsResponses[keyof ListAgentSessionsResponses];
7380
- type CreateAgentSessionData = {
7348
+ type ListSessionsResponse = ListSessionsResponses[keyof ListSessionsResponses];
7349
+ type CreateSessionData = {
7381
7350
  body?: CreateSessionRequest;
7382
- path: {
7383
- /**
7384
- * Agent public ID
7385
- */
7386
- agent_id: string;
7387
- };
7351
+ path?: never;
7388
7352
  query?: never;
7389
- url: '/api/v1/agents/{agent_id}/sessions';
7353
+ url: '/api/v1/sessions';
7390
7354
  };
7391
- type CreateAgentSessionErrors = {
7355
+ type CreateSessionErrors = {
7392
7356
  /**
7393
7357
  * Authentication required
7394
7358
  */
@@ -7406,30 +7370,26 @@ type CreateAgentSessionErrors = {
7406
7370
  */
7407
7371
  409: ErrorResponse;
7408
7372
  };
7409
- type CreateAgentSessionError = CreateAgentSessionErrors[keyof CreateAgentSessionErrors];
7410
- type CreateAgentSessionResponses = {
7373
+ type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors];
7374
+ type CreateSessionResponses = {
7411
7375
  /**
7412
7376
  * Session created
7413
7377
  */
7414
7378
  201: SessionRecord;
7415
7379
  };
7416
- type CreateAgentSessionResponse = CreateAgentSessionResponses[keyof CreateAgentSessionResponses];
7417
- type DeleteAgentSessionData = {
7380
+ type CreateSessionResponse = CreateSessionResponses[keyof CreateSessionResponses];
7381
+ type DeleteSessionData = {
7418
7382
  body?: never;
7419
7383
  path: {
7420
- /**
7421
- * Agent public ID
7422
- */
7423
- agent_id: string;
7424
7384
  /**
7425
7385
  * Session public ID
7426
7386
  */
7427
7387
  session_id: string;
7428
7388
  };
7429
7389
  query?: never;
7430
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}';
7390
+ url: '/api/v1/sessions/{session_id}';
7431
7391
  };
7432
- type DeleteAgentSessionErrors = {
7392
+ type DeleteSessionErrors = {
7433
7393
  /**
7434
7394
  * Authentication required
7435
7395
  */
@@ -7443,30 +7403,26 @@ type DeleteAgentSessionErrors = {
7443
7403
  */
7444
7404
  404: ErrorResponse;
7445
7405
  };
7446
- type DeleteAgentSessionError = DeleteAgentSessionErrors[keyof DeleteAgentSessionErrors];
7447
- type DeleteAgentSessionResponses = {
7406
+ type DeleteSessionError = DeleteSessionErrors[keyof DeleteSessionErrors];
7407
+ type DeleteSessionResponses = {
7448
7408
  /**
7449
7409
  * Session deleted
7450
7410
  */
7451
7411
  204: void;
7452
7412
  };
7453
- type DeleteAgentSessionResponse = DeleteAgentSessionResponses[keyof DeleteAgentSessionResponses];
7454
- type GetAgentSessionData = {
7413
+ type DeleteSessionResponse = DeleteSessionResponses[keyof DeleteSessionResponses];
7414
+ type GetSessionData = {
7455
7415
  body?: never;
7456
7416
  path: {
7457
- /**
7458
- * Agent public ID
7459
- */
7460
- agent_id: string;
7461
7417
  /**
7462
7418
  * Session public ID
7463
7419
  */
7464
7420
  session_id: string;
7465
7421
  };
7466
7422
  query?: never;
7467
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}';
7423
+ url: '/api/v1/sessions/{session_id}';
7468
7424
  };
7469
- type GetAgentSessionErrors = {
7425
+ type GetSessionErrors = {
7470
7426
  /**
7471
7427
  * Authentication required
7472
7428
  */
@@ -7480,28 +7436,24 @@ type GetAgentSessionErrors = {
7480
7436
  */
7481
7437
  404: ErrorResponse;
7482
7438
  };
7483
- type GetAgentSessionError = GetAgentSessionErrors[keyof GetAgentSessionErrors];
7484
- type GetAgentSessionResponses = {
7439
+ type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
7440
+ type GetSessionResponses = {
7485
7441
  /**
7486
7442
  * Session details
7487
7443
  */
7488
7444
  200: SessionRecord;
7489
7445
  };
7490
- type GetAgentSessionResponse = GetAgentSessionResponses[keyof GetAgentSessionResponses];
7446
+ type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
7491
7447
  type UpdateSessionData = {
7492
7448
  body?: UpdateSessionRequest;
7493
7449
  path: {
7494
- /**
7495
- * Agent public ID
7496
- */
7497
- agent_id: string;
7498
7450
  /**
7499
7451
  * Session public ID
7500
7452
  */
7501
7453
  session_id: string;
7502
7454
  };
7503
7455
  query?: never;
7504
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}';
7456
+ url: '/api/v1/sessions/{session_id}';
7505
7457
  };
7506
7458
  type UpdateSessionErrors = {
7507
7459
  /**
@@ -7525,65 +7477,16 @@ type UpdateSessionResponses = {
7525
7477
  200: SessionRecord;
7526
7478
  };
7527
7479
  type UpdateSessionResponse = UpdateSessionResponses[keyof UpdateSessionResponses];
7528
- type ListAgentSessionMessagesData = {
7529
- body?: never;
7530
- path: {
7531
- /**
7532
- * Agent public ID
7533
- */
7534
- agent_id: string;
7535
- /**
7536
- * Session public ID
7537
- */
7538
- session_id: string;
7539
- };
7540
- query?: {
7541
- limit?: number;
7542
- offset?: number;
7543
- };
7544
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/messages';
7545
- };
7546
- type ListAgentSessionMessagesErrors = {
7547
- /**
7548
- * Authentication required
7549
- */
7550
- 401: ErrorResponse;
7551
- /**
7552
- * Insufficient permissions
7553
- */
7554
- 403: ErrorResponse;
7555
- /**
7556
- * Not found
7557
- */
7558
- 404: ErrorResponse;
7559
- };
7560
- type ListAgentSessionMessagesError = ListAgentSessionMessagesErrors[keyof ListAgentSessionMessagesErrors];
7561
- type ListAgentSessionMessagesResponses = {
7562
- /**
7563
- * Paginated list of messages
7564
- */
7565
- 200: {
7566
- data?: Array<SessionMessage>;
7567
- total?: number;
7568
- limit?: number;
7569
- offset?: number;
7570
- };
7571
- };
7572
- type ListAgentSessionMessagesResponse = ListAgentSessionMessagesResponses[keyof ListAgentSessionMessagesResponses];
7573
7480
  type AddSessionMessageData = {
7574
7481
  body: AddSessionMessageRequest;
7575
7482
  path: {
7576
- /**
7577
- * Agent public ID
7578
- */
7579
- agent_id: string;
7580
7483
  /**
7581
7484
  * Session public ID
7582
7485
  */
7583
7486
  session_id: string;
7584
7487
  };
7585
7488
  query?: never;
7586
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/messages';
7489
+ url: '/api/v1/sessions/{session_id}/messages';
7587
7490
  };
7588
7491
  type AddSessionMessageErrors = {
7589
7492
  /**
@@ -7614,10 +7517,6 @@ type AddSessionMessageResponse2 = AddSessionMessageResponses[keyof AddSessionMes
7614
7517
  type GenerateSessionResponseData = {
7615
7518
  body?: GenerateSessionRequest;
7616
7519
  path: {
7617
- /**
7618
- * Agent public ID
7619
- */
7620
- agent_id: string;
7621
7520
  /**
7622
7521
  * Session public ID
7623
7522
  */
@@ -7629,7 +7528,7 @@ type GenerateSessionResponseData = {
7629
7528
  */
7630
7529
  async?: boolean;
7631
7530
  };
7632
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/generate';
7531
+ url: '/api/v1/sessions/{session_id}/generate';
7633
7532
  };
7634
7533
  type GenerateSessionResponseErrors = {
7635
7534
  /**
@@ -7676,17 +7575,13 @@ type GenerateSessionResponseResponse = GenerateSessionResponseResponses[keyof Ge
7676
7575
  type SubmitSessionToolOutputsData = {
7677
7576
  body: SubmitSessionToolOutputsRequest;
7678
7577
  path: {
7679
- /**
7680
- * Agent public ID
7681
- */
7682
- agent_id: string;
7683
7578
  /**
7684
7579
  * Session public ID
7685
7580
  */
7686
7581
  session_id: string;
7687
7582
  };
7688
7583
  query?: never;
7689
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tool-outputs';
7584
+ url: '/api/v1/sessions/{session_id}/tool-outputs';
7690
7585
  };
7691
7586
  type SubmitSessionToolOutputsErrors = {
7692
7587
  /**
@@ -7713,17 +7608,13 @@ type SubmitSessionToolOutputsResponse = SubmitSessionToolOutputsResponses[keyof
7713
7608
  type GetSessionTagsData = {
7714
7609
  body?: never;
7715
7610
  path: {
7716
- /**
7717
- * Agent public ID
7718
- */
7719
- agent_id: string;
7720
7611
  /**
7721
7612
  * Session public ID
7722
7613
  */
7723
7614
  session_id: string;
7724
7615
  };
7725
7616
  query?: never;
7726
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tags';
7617
+ url: '/api/v1/sessions/{session_id}/tags';
7727
7618
  };
7728
7619
  type GetSessionTagsErrors = {
7729
7620
  /**
@@ -7754,17 +7645,13 @@ type MergeSessionTagsData = {
7754
7645
  [key: string]: string;
7755
7646
  };
7756
7647
  path: {
7757
- /**
7758
- * Agent public ID
7759
- */
7760
- agent_id: string;
7761
7648
  /**
7762
7649
  * Session public ID
7763
7650
  */
7764
7651
  session_id: string;
7765
7652
  };
7766
7653
  query?: never;
7767
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tags';
7654
+ url: '/api/v1/sessions/{session_id}/tags';
7768
7655
  };
7769
7656
  type MergeSessionTagsErrors = {
7770
7657
  /**
@@ -7795,17 +7682,13 @@ type ReplaceSessionTagsData = {
7795
7682
  [key: string]: string;
7796
7683
  };
7797
7684
  path: {
7798
- /**
7799
- * Agent public ID
7800
- */
7801
- agent_id: string;
7802
7685
  /**
7803
7686
  * Session public ID
7804
7687
  */
7805
7688
  session_id: string;
7806
7689
  };
7807
7690
  query?: never;
7808
- url: '/api/v1/agents/{agent_id}/sessions/{session_id}/tags';
7691
+ url: '/api/v1/sessions/{session_id}/tags';
7809
7692
  };
7810
7693
  type ReplaceSessionTagsErrors = {
7811
7694
  /**
@@ -8128,39 +8011,6 @@ type GetTraceTreeResponses = {
8128
8011
  200: TraceTreeNode;
8129
8012
  };
8130
8013
  type GetTraceTreeResponse = GetTraceTreeResponses[keyof GetTraceTreeResponses];
8131
- type GetTraceGenerationsData = {
8132
- body?: never;
8133
- path: {
8134
- /**
8135
- * Public ID of the trace
8136
- */
8137
- trace_id: string;
8138
- };
8139
- query?: never;
8140
- url: '/api/v1/traces/{trace_id}/generations';
8141
- };
8142
- type GetTraceGenerationsErrors = {
8143
- /**
8144
- * Unauthorized
8145
- */
8146
- 401: ErrorResponse;
8147
- /**
8148
- * Forbidden
8149
- */
8150
- 403: ErrorResponse;
8151
- /**
8152
- * Trace not found
8153
- */
8154
- 404: ErrorResponse;
8155
- };
8156
- type GetTraceGenerationsError = GetTraceGenerationsErrors[keyof GetTraceGenerationsErrors];
8157
- type GetTraceGenerationsResponses = {
8158
- /**
8159
- * Generation IDs linked to the trace
8160
- */
8161
- 200: TraceGenerations;
8162
- };
8163
- type GetTraceGenerationsResponse = GetTraceGenerationsResponses[keyof GetTraceGenerationsResponses];
8164
8014
  type GetCurrentUserData = {
8165
8015
  body?: never;
8166
8016
  path?: never;
@@ -8337,42 +8187,6 @@ type LoginUserResponses = {
8337
8187
  200: LoginResponse;
8338
8188
  };
8339
8189
  type LoginUserResponse = LoginUserResponses[keyof LoginUserResponses];
8340
- type GetUserPoliciesData = {
8341
- body?: never;
8342
- path: {
8343
- /**
8344
- * User public ID (usr_ prefix)
8345
- */
8346
- user_id: string;
8347
- };
8348
- query?: never;
8349
- url: '/api/v1/users/{user_id}/policies';
8350
- };
8351
- type GetUserPoliciesErrors = {
8352
- /**
8353
- * Unauthorized
8354
- */
8355
- 401: unknown;
8356
- /**
8357
- * Forbidden (non-admin user)
8358
- */
8359
- 403: unknown;
8360
- /**
8361
- * User not found
8362
- */
8363
- 404: unknown;
8364
- };
8365
- type GetUserPoliciesResponses = {
8366
- /**
8367
- * List of policies attached to the user
8368
- */
8369
- 200: Array<{
8370
- id?: string;
8371
- name?: string;
8372
- description?: string;
8373
- }>;
8374
- };
8375
- type GetUserPoliciesResponse = GetUserPoliciesResponses[keyof GetUserPoliciesResponses];
8376
8190
  type AttachUserPoliciesData = {
8377
8191
  body: {
8378
8192
  /**
@@ -8560,14 +8374,16 @@ type UpdateWebhookResponses = {
8560
8374
  type UpdateWebhookResponse = UpdateWebhookResponses[keyof UpdateWebhookResponses];
8561
8375
  type ListWebhookDeliveriesData = {
8562
8376
  body?: never;
8563
- path: {
8377
+ path?: never;
8378
+ query: {
8379
+ /**
8380
+ * Webhook to list deliveries for (wh_...)
8381
+ */
8564
8382
  webhook_id: string;
8565
- };
8566
- query?: {
8567
8383
  limit?: number;
8568
8384
  offset?: number;
8569
8385
  };
8570
- url: '/api/v1/webhooks/{webhook_id}/deliveries';
8386
+ url: '/api/v1/webhook-deliveries';
8571
8387
  };
8572
8388
  type ListWebhookDeliveriesErrors = {
8573
8389
  /**
@@ -8593,11 +8409,10 @@ type ListWebhookDeliveriesResponse = ListWebhookDeliveriesResponses[keyof ListWe
8593
8409
  type GetWebhookDeliveryData = {
8594
8410
  body?: never;
8595
8411
  path: {
8596
- webhook_id: string;
8597
8412
  delivery_id: string;
8598
8413
  };
8599
8414
  query?: never;
8600
- url: '/api/v1/webhooks/{webhook_id}/deliveries/{delivery_id}';
8415
+ url: '/api/v1/webhook-deliveries/{delivery_id}';
8601
8416
  };
8602
8417
  type GetWebhookDeliveryErrors = {
8603
8418
  /**
@@ -8788,12 +8603,6 @@ declare class Agents {
8788
8603
  *
8789
8604
  */
8790
8605
  static submitAgentToolOutputs<ThrowOnError extends boolean = false>(options: Options<SubmitAgentToolOutputsData, ThrowOnError>): RequestResult<SubmitAgentToolOutputsResponses, SubmitAgentToolOutputsErrors, ThrowOnError>;
8791
- /**
8792
- * Create an actor for an agent
8793
- *
8794
- * Creates a new actor associated with the specified agent
8795
- */
8796
- static createAgentActor<ThrowOnError extends boolean = false>(options: Options<CreateAgentActorData, ThrowOnError>): RequestResult<CreateAgentActorResponses, CreateAgentActorErrors, ThrowOnError>;
8797
8606
  }
8798
8607
  declare class AiProviders {
8799
8608
  /**
@@ -8896,16 +8705,10 @@ declare class Chats {
8896
8705
  /**
8897
8706
  * Create a chat completion (stateless)
8898
8707
  *
8899
- * OpenAI Chat Completions-compatible endpoint. Resolves the AI provider from `ai_provider_id`, decrypts its secret, and calls the appropriate Vercel AI SDK provider. `ai_provider_id` is required — there is no server-side model fallback.
8708
+ * OpenAI Chat Completions-compatible endpoint. Mirrors OpenAI's `POST /v1/chat/completions` path so an OpenAI SDK can target it by base URL alone. Resolves the AI provider from `ai_provider_id`, decrypts its secret, and calls the appropriate Vercel AI SDK provider. `ai_provider_id` is required — there is no server-side model fallback.
8900
8709
  *
8901
8710
  */
8902
8711
  static createChatCompletion<ThrowOnError extends boolean = false>(options: Options<CreateChatCompletionData, ThrowOnError>): RequestResult<CreateChatCompletionResponses, CreateChatCompletionErrors, ThrowOnError>;
8903
- /**
8904
- * Create an actor for a chat
8905
- *
8906
- * Creates a new actor associated with the specified chat
8907
- */
8908
- static createChatActor<ThrowOnError extends boolean = false>(options: Options<CreateChatActorData, ThrowOnError>): RequestResult<CreateChatActorResponses, CreateChatActorErrors, ThrowOnError>;
8909
8712
  }
8910
8713
  declare class Conversations {
8911
8714
  /**
@@ -8960,12 +8763,6 @@ declare class Conversations {
8960
8763
  *
8961
8764
  */
8962
8765
  static generateConversationMessage<ThrowOnError extends boolean = false>(options: Options<GenerateConversationMessageData, ThrowOnError>): RequestResult<GenerateConversationMessageResponses, GenerateConversationMessageErrors, ThrowOnError>;
8963
- /**
8964
- * List actors in a conversation
8965
- *
8966
- * Returns all distinct actors who have sent at least one message in the conversation
8967
- */
8968
- static listConversationActors<ThrowOnError extends boolean = false>(options: Options<ListConversationActorsData, ThrowOnError>): RequestResult<ListConversationActorsResponses, ListConversationActorsErrors, ThrowOnError>;
8969
8766
  /**
8970
8767
  * Remove a message from a conversation
8971
8768
  *
@@ -9183,6 +8980,13 @@ declare class Formations {
9183
8980
  static listFormationEvents<ThrowOnError extends boolean = false>(options: Options<ListFormationEventsData, ThrowOnError>): RequestResult<ListFormationEventsResponses, ListFormationEventsErrors, ThrowOnError>;
9184
8981
  }
9185
8982
  declare class Generations {
8983
+ /**
8984
+ * List generations
8985
+ *
8986
+ * Returns generations the caller can access, optionally filtered by agent, trace, and status. Replaces the former per-trace generations endpoint (use the trace_id query filter).
8987
+ *
8988
+ */
8989
+ static listGenerations<ThrowOnError extends boolean = false>(options?: Options<ListGenerationsData, ThrowOnError>): RequestResult<ListGenerationsResponses, ListGenerationsErrors, ThrowOnError>;
9186
8990
  /**
9187
8991
  * Get a generation
9188
8992
  *
@@ -9276,6 +9080,13 @@ declare class Orchestrations {
9276
9080
  * Creates a new orchestration workflow definition in the project.
9277
9081
  */
9278
9082
  static createOrchestration<ThrowOnError extends boolean = false>(options: Options<CreateOrchestrationData, ThrowOnError>): RequestResult<CreateOrchestrationResponses, CreateOrchestrationErrors, ThrowOnError>;
9083
+ /**
9084
+ * Validate an orchestration graph
9085
+ *
9086
+ * Statically validates an orchestration graph without persisting anything. Checks that every node has its required field, node ids are unique, edges reference existing nodes, the graph is acyclic (unless it contains a loop node), and every `input_mapping` `{"var": "..."}` reference resolves to a state key written by an upstream node or seeded by `input_schema`. Returns blocking `errors` and non-blocking `warnings` (e.g. a state key only written on a conditional branch). The same `errors` checks are enforced on create and update, which fail with `400` when any error is present.
9087
+ *
9088
+ */
9089
+ static validateOrchestration<ThrowOnError extends boolean = false>(options: Options<ValidateOrchestrationData, ThrowOnError>): RequestResult<ValidateOrchestrationResponses, ValidateOrchestrationErrors, ThrowOnError>;
9279
9090
  /**
9280
9091
  * Delete an orchestration
9281
9092
  *
@@ -9297,13 +9108,13 @@ declare class Orchestrations {
9297
9108
  /**
9298
9109
  * List orchestration runs
9299
9110
  *
9300
- * Returns all runs for an orchestration.
9111
+ * Returns orchestration runs the caller can access, optionally filtered by orchestration.
9301
9112
  */
9302
- static listOrchestrationRuns<ThrowOnError extends boolean = false>(options: Options<ListOrchestrationRunsData, ThrowOnError>): RequestResult<ListOrchestrationRunsResponses, ListOrchestrationRunsErrors, ThrowOnError>;
9113
+ static listOrchestrationRuns<ThrowOnError extends boolean = false>(options?: Options<ListOrchestrationRunsData, ThrowOnError>): RequestResult<ListOrchestrationRunsResponses, ListOrchestrationRunsErrors, ThrowOnError>;
9303
9114
  /**
9304
9115
  * Start an orchestration run
9305
9116
  *
9306
- * Creates and immediately executes a new run for the orchestration.
9117
+ * Creates and immediately executes a new run for the orchestration named by orchestration_id.
9307
9118
  */
9308
9119
  static startOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<StartOrchestrationRunData, ThrowOnError>): RequestResult<StartOrchestrationRunResponses, StartOrchestrationRunErrors, ThrowOnError>;
9309
9120
  /**
@@ -9335,7 +9146,8 @@ declare class Policies {
9335
9146
  /**
9336
9147
  * List all policies
9337
9148
  *
9338
- * Returns a list of all global policies. Requires admin role.
9149
+ * Returns global policies. Requires admin role. Pass user_id to list only the policies attached to that user (replaces the former per-user policies endpoint).
9150
+ *
9339
9151
  */
9340
9152
  static listPolicies<ThrowOnError extends boolean = false>(options?: Options<ListPoliciesData, ThrowOnError>): RequestResult<ListPoliciesResponses, ListPoliciesErrors, ThrowOnError>;
9341
9153
  /**
@@ -9426,41 +9238,34 @@ declare class Sessions {
9426
9238
  /**
9427
9239
  * List sessions
9428
9240
  *
9429
- * Returns sessions for the specified agent, optionally filtered by actorId and status.
9241
+ * Returns sessions the caller can access, optionally filtered by agent, actor and status.
9430
9242
  */
9431
- static listAgentSessions<ThrowOnError extends boolean = false>(options: Options<ListAgentSessionsData, ThrowOnError>): RequestResult<ListAgentSessionsResponses, ListAgentSessionsErrors, ThrowOnError>;
9243
+ static listSessions<ThrowOnError extends boolean = false>(options?: Options<ListSessionsData, ThrowOnError>): RequestResult<ListSessionsResponses, ListSessionsErrors, ThrowOnError>;
9432
9244
  /**
9433
9245
  * Create a session
9434
9246
  *
9435
9247
  * Creates a new session for the specified agent. Internally creates a conversation and two actors (agent + user) so the caller only needs this single call to start interacting with the agent.
9436
9248
  *
9437
9249
  */
9438
- static createAgentSession<ThrowOnError extends boolean = false>(options: Options<CreateAgentSessionData, ThrowOnError>): RequestResult<CreateAgentSessionResponses, CreateAgentSessionErrors, ThrowOnError>;
9250
+ static createSession<ThrowOnError extends boolean = false>(options?: Options<CreateSessionData, ThrowOnError>): RequestResult<CreateSessionResponses, CreateSessionErrors, ThrowOnError>;
9439
9251
  /**
9440
9252
  * Delete a session
9441
9253
  *
9442
9254
  * Deletes the session and its underlying conversation and actors.
9443
9255
  */
9444
- static deleteAgentSession<ThrowOnError extends boolean = false>(options: Options<DeleteAgentSessionData, ThrowOnError>): RequestResult<DeleteAgentSessionResponses, DeleteAgentSessionErrors, ThrowOnError>;
9256
+ static deleteSession<ThrowOnError extends boolean = false>(options: Options<DeleteSessionData, ThrowOnError>): RequestResult<DeleteSessionResponses, DeleteSessionErrors, ThrowOnError>;
9445
9257
  /**
9446
9258
  * Get a session
9447
9259
  *
9448
9260
  * Returns details of a single session.
9449
9261
  */
9450
- static getAgentSession<ThrowOnError extends boolean = false>(options: Options<GetAgentSessionData, ThrowOnError>): RequestResult<GetAgentSessionResponses, GetAgentSessionErrors, ThrowOnError>;
9262
+ static getSession<ThrowOnError extends boolean = false>(options: Options<GetSessionData, ThrowOnError>): RequestResult<GetSessionResponses, GetSessionErrors, ThrowOnError>;
9451
9263
  /**
9452
9264
  * Update a session
9453
9265
  *
9454
9266
  * Updates the session name and/or status.
9455
9267
  */
9456
9268
  static updateSession<ThrowOnError extends boolean = false>(options: Options<UpdateSessionData, ThrowOnError>): RequestResult<UpdateSessionResponses, UpdateSessionErrors, ThrowOnError>;
9457
- /**
9458
- * List session messages
9459
- *
9460
- * Returns messages in the session with simplified roles (user/assistant) instead of raw actor IDs.
9461
- *
9462
- */
9463
- static listAgentSessionMessages<ThrowOnError extends boolean = false>(options: Options<ListAgentSessionMessagesData, ThrowOnError>): RequestResult<ListAgentSessionMessagesResponses, ListAgentSessionMessagesErrors, ThrowOnError>;
9464
9269
  /**
9465
9270
  * Add a user message
9466
9271
  *
@@ -9562,12 +9367,6 @@ declare class Traces {
9562
9367
  *
9563
9368
  */
9564
9369
  static getTraceTree<ThrowOnError extends boolean = false>(options: Options<GetTraceTreeData, ThrowOnError>): RequestResult<GetTraceTreeResponses, GetTraceTreeErrors, ThrowOnError>;
9565
- /**
9566
- * Get generation IDs for a trace
9567
- *
9568
- * Returns all generation IDs associated with the trace.
9569
- */
9570
- static getTraceGenerations<ThrowOnError extends boolean = false>(options: Options<GetTraceGenerationsData, ThrowOnError>): RequestResult<GetTraceGenerationsResponses, GetTraceGenerationsErrors, ThrowOnError>;
9571
9370
  }
9572
9371
  declare class Users {
9573
9372
  /**
@@ -9612,12 +9411,6 @@ declare class Users {
9612
9411
  * Authenticates a user and returns a JWT token
9613
9412
  */
9614
9413
  static loginUser<ThrowOnError extends boolean = false>(options: Options<LoginUserData, ThrowOnError>): RequestResult<LoginUserResponses, LoginUserErrors, ThrowOnError>;
9615
- /**
9616
- * Get policies attached to a user
9617
- *
9618
- * Returns the list of policies attached to a user. Requires admin role.
9619
- */
9620
- static getUserPolicies<ThrowOnError extends boolean = false>(options: Options<GetUserPoliciesData, ThrowOnError>): RequestResult<GetUserPoliciesResponses, GetUserPoliciesErrors, ThrowOnError>;
9621
9414
  /**
9622
9415
  * Attach policies to a user
9623
9416
  *
@@ -9657,9 +9450,9 @@ declare class Webhooks {
9657
9450
  */
9658
9451
  static updateWebhook<ThrowOnError extends boolean = false>(options: Options<UpdateWebhookData, ThrowOnError>): RequestResult<UpdateWebhookResponses, UpdateWebhookErrors, ThrowOnError>;
9659
9452
  /**
9660
- * List deliveries for a webhook
9453
+ * List webhook deliveries
9661
9454
  *
9662
- * Lists all event deliveries for a specific webhook
9455
+ * Lists event deliveries for a webhook (webhook_id is required).
9663
9456
  */
9664
9457
  static listWebhookDeliveries<ThrowOnError extends boolean = false>(options: Options<ListWebhookDeliveriesData, ThrowOnError>): RequestResult<ListWebhookDeliveriesResponses, ListWebhookDeliveriesErrors, ThrowOnError>;
9665
9458
  /**
@@ -9751,4 +9544,4 @@ declare class SoatClient {
9751
9544
  }?: SoatClientOptions);
9752
9545
  }
9753
9546
  //#endregion
9754
- 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 AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, 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 ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, 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 CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, 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 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 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 CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionRequest, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, 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 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 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 DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, 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 FileResourceProperties, Files, 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 GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, 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 GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, 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 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 GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceGenerationsData, type GetTraceGenerationsError, type GetTraceGenerationsErrors, type GetTraceGenerationsResponse, type GetTraceGenerationsResponses, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, 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 HumanInputRequest, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, 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 ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, 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 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 ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, 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 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 Options, type Orchestration, type OrchestrationEdge, type OrchestrationId, type OrchestrationNode, type OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, 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 Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceGenerations, type TraceTreeNode, Traces, 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 UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, 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 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 UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
9547
+ 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 AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, 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 ConversationActorRecord, 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 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 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 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 CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, 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 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 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 DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteSessionData, type DeleteSessionError, type DeleteSessionErrors, type DeleteSessionResponse, type DeleteSessionResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentMessageContent, type DocumentRecord, type DocumentResourceProperties, 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 FileResourceProperties, Files, 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 GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, 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 GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, 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 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 GetProjectData, type GetProjectErrors, 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 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 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 HumanInputRequest, 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 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 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 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 ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, 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 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 OrchestrationRun, Orchestrations, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type RunId, 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 Tool, type ToolOutputMessageContent, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, 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 UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, 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 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 UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, 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, createClient, createConfig };