@soat/sdk 0.6.1 → 0.6.3

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/esm/index.js CHANGED
@@ -2114,22 +2114,22 @@ var Orchestrations = class {
2114
2114
  });
2115
2115
  }
2116
2116
  /**
2117
- * List runs
2117
+ * List orchestration runs
2118
2118
  *
2119
2119
  * Returns all runs for an orchestration.
2120
2120
  */
2121
- static listRuns(options) {
2121
+ static listOrchestrationRuns(options) {
2122
2122
  return (options.client ?? client).get({
2123
2123
  url: "/api/v1/orchestrations/{orchestration_id}/runs",
2124
2124
  ...options
2125
2125
  });
2126
2126
  }
2127
2127
  /**
2128
- * Start a run
2128
+ * Start an orchestration run
2129
2129
  *
2130
2130
  * Creates and immediately executes a new run for the orchestration.
2131
2131
  */
2132
- static startRun(options) {
2132
+ static startOrchestrationRun(options) {
2133
2133
  return (options.client ?? client).post({
2134
2134
  url: "/api/v1/orchestrations/{orchestration_id}/runs",
2135
2135
  ...options,
@@ -2140,11 +2140,11 @@ var Orchestrations = class {
2140
2140
  });
2141
2141
  }
2142
2142
  /**
2143
- * Cancel a run
2143
+ * Cancel an orchestration run
2144
2144
  *
2145
2145
  * Cancels a running or paused orchestration run.
2146
2146
  */
2147
- static cancelRun(options) {
2147
+ static cancelOrchestrationRun(options) {
2148
2148
  return (options.client ?? client).post({
2149
2149
  url: "/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/cancel",
2150
2150
  ...options
@@ -2166,22 +2166,22 @@ var Orchestrations = class {
2166
2166
  });
2167
2167
  }
2168
2168
  /**
2169
- * Resume a run
2169
+ * Resume an orchestration run
2170
2170
  *
2171
2171
  * Resumes a paused orchestration run from its last checkpoint.
2172
2172
  */
2173
- static resumeRun(options) {
2173
+ static resumeOrchestrationRun(options) {
2174
2174
  return (options.client ?? client).post({
2175
2175
  url: "/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/resume",
2176
2176
  ...options
2177
2177
  });
2178
2178
  }
2179
2179
  /**
2180
- * Get a run
2180
+ * Get an orchestration run
2181
2181
  *
2182
2182
  * Returns the status, state, and artifacts of a specific run.
2183
2183
  */
2184
- static getRun(options) {
2184
+ static getOrchestrationRun(options) {
2185
2185
  return (options.client ?? client).get({
2186
2186
  url: "/api/v1/orchestrations/{orchestration_id}/runs/{run_id}",
2187
2187
  ...options
@@ -2660,6 +2660,17 @@ var Traces = class {
2660
2660
  ...options
2661
2661
  });
2662
2662
  }
2663
+ /**
2664
+ * Get generation IDs for a trace
2665
+ *
2666
+ * Returns all generation IDs associated with the trace.
2667
+ */
2668
+ static getTraceGenerations(options) {
2669
+ return (options.client ?? client).get({
2670
+ url: "/api/v1/traces/{trace_id}/generations",
2671
+ ...options
2672
+ });
2673
+ }
2663
2674
  };
2664
2675
  var Users = class {
2665
2676
  static {
package/dist/index.d.cts CHANGED
@@ -431,6 +431,14 @@ type Agent = {
431
431
  */
432
432
  write_memory_id?: string | null;
433
433
  } | null;
434
+ /**
435
+ * Maximum number of recent messages to include in the context window sent to the model. When null, all messages are included.
436
+ */
437
+ max_context_messages?: number | null;
438
+ /**
439
+ * When true, only one open session per actor_id is allowed for this agent. Creating a second open session for the same actor returns 409.
440
+ */
441
+ single_session_per_actor?: boolean;
434
442
  created_at?: Date;
435
443
  updated_at?: Date;
436
444
  };
@@ -474,6 +482,14 @@ type CreateAgentRequest = {
474
482
  */
475
483
  write_memory_id?: string | null;
476
484
  };
485
+ /**
486
+ * Maximum number of recent messages included in the context window. Null means no limit.
487
+ */
488
+ max_context_messages?: number;
489
+ /**
490
+ * When true, only one open session per actor_id is allowed for this agent.
491
+ */
492
+ single_session_per_actor?: boolean;
477
493
  };
478
494
  type UpdateAgentRequest = {
479
495
  ai_provider_id?: string;
@@ -508,11 +524,19 @@ type UpdateAgentRequest = {
508
524
  */
509
525
  write_memory_id?: string | null;
510
526
  } | null;
527
+ /**
528
+ * Maximum number of recent messages included in the context window. Null means no limit.
529
+ */
530
+ max_context_messages?: number | null;
531
+ /**
532
+ * When true, only one open session per actor_id is allowed for this agent.
533
+ */
534
+ single_session_per_actor?: boolean | null;
511
535
  };
512
536
  type CreateAgentGenerationRequest = {
513
537
  messages: Array<{
514
538
  role: 'system' | 'user' | 'assistant';
515
- content: string;
539
+ content: string | ToolOutputMessageContent | DocumentMessageContent;
516
540
  }>;
517
541
  /**
518
542
  * When true the response is an SSE stream
@@ -541,6 +565,34 @@ type CreateAgentGenerationRequest = {
541
565
  [key: string]: string;
542
566
  } | null;
543
567
  };
568
+ type ToolOutputMessageContent = {
569
+ type: 'tool_output';
570
+ /**
571
+ * Public ID of the tool to execute before generation.
572
+ */
573
+ tool_id: string;
574
+ /**
575
+ * Optional action name for tools that require action selection (for example soat and mcp tools).
576
+ */
577
+ action?: string | null;
578
+ /**
579
+ * Input payload passed to the tool call.
580
+ */
581
+ input?: {
582
+ [key: string]: unknown;
583
+ } | null;
584
+ /**
585
+ * Optional dot-notation path used to extract a value from the tool output.
586
+ */
587
+ output_path?: string | null;
588
+ };
589
+ type DocumentMessageContent = {
590
+ type: 'document';
591
+ /**
592
+ * Public ID of a document to use as the message content.
593
+ */
594
+ document_id: string;
595
+ };
544
596
  type SubmitToolOutputsRequest = {
545
597
  tool_outputs: Array<{
546
598
  /**
@@ -2075,7 +2127,7 @@ type SessionRecord = {
2075
2127
  * Underlying conversation public ID
2076
2128
  */
2077
2129
  conversation_id?: string;
2078
- status?: 'open' | 'closed';
2130
+ status?: 'open' | 'closed' | 'expired';
2079
2131
  name?: string | null;
2080
2132
  /**
2081
2133
  * Public ID of the user actor
@@ -2100,6 +2152,14 @@ type SessionRecord = {
2100
2152
  tool_context?: {
2101
2153
  [key: string]: string;
2102
2154
  } | null;
2155
+ /**
2156
+ * Number of seconds of inactivity after which the session expires. 0 means the session never expires.
2157
+ */
2158
+ inactivity_ttl_seconds?: number;
2159
+ /**
2160
+ * Timestamp of the last activity on the session (message added or response generated).
2161
+ */
2162
+ last_activity_at?: Date | null;
2103
2163
  };
2104
2164
  type SessionMessage = {
2105
2165
  role?: 'user' | 'assistant' | 'unknown';
@@ -2129,6 +2189,10 @@ type CreateSessionRequest = {
2129
2189
  tool_context?: {
2130
2190
  [key: string]: string;
2131
2191
  } | null;
2192
+ /**
2193
+ * Number of seconds of inactivity after which the session expires. 0 means the session never expires.
2194
+ */
2195
+ inactivity_ttl_seconds?: number;
2132
2196
  };
2133
2197
  type UpdateSessionRequest = {
2134
2198
  /**
@@ -2138,7 +2202,7 @@ type UpdateSessionRequest = {
2138
2202
  /**
2139
2203
  * Session status
2140
2204
  */
2141
- status?: 'open' | 'closed';
2205
+ status?: 'open' | 'closed' | 'expired';
2142
2206
  /**
2143
2207
  * Enable or disable automatic generation after user messages.
2144
2208
  */
@@ -2161,6 +2225,17 @@ type AddSessionMessageRequest = {
2161
2225
  tool_context?: {
2162
2226
  [key: string]: string;
2163
2227
  } | null;
2228
+ } | {
2229
+ /**
2230
+ * Public ID of a document used as the user message content.
2231
+ */
2232
+ document_id: string;
2233
+ /**
2234
+ * Key-value pairs injected as context headers into all tool call requests made during this generation.
2235
+ */
2236
+ tool_context?: {
2237
+ [key: string]: string;
2238
+ } | null;
2164
2239
  };
2165
2240
  /**
2166
2241
  * Message saved; auto-generate is off or a generation is already in progress.
@@ -2168,6 +2243,7 @@ type AddSessionMessageRequest = {
2168
2243
  type AddSessionMessageSaved = {
2169
2244
  role?: 'user';
2170
2245
  content?: string;
2246
+ document_id?: string | null;
2171
2247
  };
2172
2248
  type AddSessionMessageResponse = AddSessionMessageSaved | GenerateSessionResponse;
2173
2249
  type GenerateSessionRequest = {
@@ -2432,6 +2508,16 @@ type TraceTreeNode = {
2432
2508
  */
2433
2509
  children?: Array<TraceTreeNode>;
2434
2510
  };
2511
+ type TraceGenerations = {
2512
+ /**
2513
+ * Public ID of the trace
2514
+ */
2515
+ trace_id?: string;
2516
+ /**
2517
+ * Generation public IDs linked to this trace, ordered by start time
2518
+ */
2519
+ generation_ids?: Array<string>;
2520
+ };
2435
2521
  type UserRecord = {
2436
2522
  /**
2437
2523
  * Public user ID (usr_ prefix)
@@ -5924,7 +6010,7 @@ type UpdateOrchestrationResponses = {
5924
6010
  200: Orchestration;
5925
6011
  };
5926
6012
  type UpdateOrchestrationResponse = UpdateOrchestrationResponses[keyof UpdateOrchestrationResponses];
5927
- type ListRunsData = {
6013
+ type ListOrchestrationRunsData = {
5928
6014
  body?: never;
5929
6015
  path: {
5930
6016
  /**
@@ -5935,7 +6021,7 @@ type ListRunsData = {
5935
6021
  query?: never;
5936
6022
  url: '/api/v1/orchestrations/{orchestration_id}/runs';
5937
6023
  };
5938
- type ListRunsErrors = {
6024
+ type ListOrchestrationRunsErrors = {
5939
6025
  /**
5940
6026
  * Unauthorized
5941
6027
  */
@@ -5949,14 +6035,14 @@ type ListRunsErrors = {
5949
6035
  */
5950
6036
  404: unknown;
5951
6037
  };
5952
- type ListRunsResponses = {
6038
+ type ListOrchestrationRunsResponses = {
5953
6039
  /**
5954
6040
  * List of runs
5955
6041
  */
5956
6042
  200: Array<OrchestrationRun>;
5957
6043
  };
5958
- type ListRunsResponse = ListRunsResponses[keyof ListRunsResponses];
5959
- type StartRunData = {
6044
+ type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
6045
+ type StartOrchestrationRunData = {
5960
6046
  body?: StartRunRequest;
5961
6047
  path: {
5962
6048
  /**
@@ -5967,7 +6053,7 @@ type StartRunData = {
5967
6053
  query?: never;
5968
6054
  url: '/api/v1/orchestrations/{orchestration_id}/runs';
5969
6055
  };
5970
- type StartRunErrors = {
6056
+ type StartOrchestrationRunErrors = {
5971
6057
  /**
5972
6058
  * Validation error
5973
6059
  */
@@ -5985,14 +6071,14 @@ type StartRunErrors = {
5985
6071
  */
5986
6072
  404: unknown;
5987
6073
  };
5988
- type StartRunResponses = {
6074
+ type StartOrchestrationRunResponses = {
5989
6075
  /**
5990
6076
  * Run created and executed
5991
6077
  */
5992
6078
  201: OrchestrationRun;
5993
6079
  };
5994
- type StartRunResponse = StartRunResponses[keyof StartRunResponses];
5995
- type CancelRunData = {
6080
+ type StartOrchestrationRunResponse = StartOrchestrationRunResponses[keyof StartOrchestrationRunResponses];
6081
+ type CancelOrchestrationRunData = {
5996
6082
  body?: never;
5997
6083
  path: {
5998
6084
  /**
@@ -6007,7 +6093,7 @@ type CancelRunData = {
6007
6093
  query?: never;
6008
6094
  url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/cancel';
6009
6095
  };
6010
- type CancelRunErrors = {
6096
+ type CancelOrchestrationRunErrors = {
6011
6097
  /**
6012
6098
  * Unauthorized
6013
6099
  */
@@ -6025,13 +6111,13 @@ type CancelRunErrors = {
6025
6111
  */
6026
6112
  409: unknown;
6027
6113
  };
6028
- type CancelRunResponses = {
6114
+ type CancelOrchestrationRunResponses = {
6029
6115
  /**
6030
6116
  * Cancelled run
6031
6117
  */
6032
6118
  200: OrchestrationRun;
6033
6119
  };
6034
- type CancelRunResponse = CancelRunResponses[keyof CancelRunResponses];
6120
+ type CancelOrchestrationRunResponse = CancelOrchestrationRunResponses[keyof CancelOrchestrationRunResponses];
6035
6121
  type SubmitHumanInputData = {
6036
6122
  body: HumanInputRequest;
6037
6123
  path: {
@@ -6076,7 +6162,7 @@ type SubmitHumanInputResponses = {
6076
6162
  200: OrchestrationRun;
6077
6163
  };
6078
6164
  type SubmitHumanInputResponse = SubmitHumanInputResponses[keyof SubmitHumanInputResponses];
6079
- type ResumeRunData = {
6165
+ type ResumeOrchestrationRunData = {
6080
6166
  body?: never;
6081
6167
  path: {
6082
6168
  /**
@@ -6091,7 +6177,7 @@ type ResumeRunData = {
6091
6177
  query?: never;
6092
6178
  url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/resume';
6093
6179
  };
6094
- type ResumeRunErrors = {
6180
+ type ResumeOrchestrationRunErrors = {
6095
6181
  /**
6096
6182
  * Unauthorized
6097
6183
  */
@@ -6109,14 +6195,14 @@ type ResumeRunErrors = {
6109
6195
  */
6110
6196
  409: unknown;
6111
6197
  };
6112
- type ResumeRunResponses = {
6198
+ type ResumeOrchestrationRunResponses = {
6113
6199
  /**
6114
6200
  * Resumed run
6115
6201
  */
6116
6202
  200: OrchestrationRun;
6117
6203
  };
6118
- type ResumeRunResponse = ResumeRunResponses[keyof ResumeRunResponses];
6119
- type GetRunData = {
6204
+ type ResumeOrchestrationRunResponse = ResumeOrchestrationRunResponses[keyof ResumeOrchestrationRunResponses];
6205
+ type GetOrchestrationRunData = {
6120
6206
  body?: never;
6121
6207
  path: {
6122
6208
  /**
@@ -6131,7 +6217,7 @@ type GetRunData = {
6131
6217
  query?: never;
6132
6218
  url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}';
6133
6219
  };
6134
- type GetRunErrors = {
6220
+ type GetOrchestrationRunErrors = {
6135
6221
  /**
6136
6222
  * Unauthorized
6137
6223
  */
@@ -6145,13 +6231,13 @@ type GetRunErrors = {
6145
6231
  */
6146
6232
  404: unknown;
6147
6233
  };
6148
- type GetRunResponses = {
6234
+ type GetOrchestrationRunResponses = {
6149
6235
  /**
6150
6236
  * Run details
6151
6237
  */
6152
6238
  200: OrchestrationRun;
6153
6239
  };
6154
- type GetRunResponse = GetRunResponses[keyof GetRunResponses];
6240
+ type GetOrchestrationRunResponse = GetOrchestrationRunResponses[keyof GetOrchestrationRunResponses];
6155
6241
  type ListPoliciesData = {
6156
6242
  body?: never;
6157
6243
  path?: never;
@@ -6633,9 +6719,9 @@ type ListAgentSessionsData = {
6633
6719
  */
6634
6720
  actor_id?: string;
6635
6721
  /**
6636
- * Filter by session status (open or closed)
6722
+ * Filter by session status (open, closed, or expired)
6637
6723
  */
6638
- status?: 'open' | 'closed';
6724
+ status?: 'open' | 'closed' | 'expired';
6639
6725
  limit?: number;
6640
6726
  offset?: number;
6641
6727
  };
@@ -6692,6 +6778,10 @@ type CreateAgentSessionErrors = {
6692
6778
  * Not found
6693
6779
  */
6694
6780
  404: ErrorResponse;
6781
+ /**
6782
+ * An open session already exists for this actor (single_session_per_actor is enabled)
6783
+ */
6784
+ 409: ErrorResponse;
6695
6785
  };
6696
6786
  type CreateAgentSessionError = CreateAgentSessionErrors[keyof CreateAgentSessionErrors];
6697
6787
  type CreateAgentSessionResponses = {
@@ -6931,6 +7021,10 @@ type GenerateSessionResponseErrors = {
6931
7021
  * Generation already in progress
6932
7022
  */
6933
7023
  409: ErrorResponse;
7024
+ /**
7025
+ * Session has expired due to inactivity
7026
+ */
7027
+ 410: ErrorResponse;
6934
7028
  };
6935
7029
  type GenerateSessionResponseError = GenerateSessionResponseErrors[keyof GenerateSessionResponseErrors];
6936
7030
  type GenerateSessionResponseResponses = {
@@ -7402,6 +7496,39 @@ type GetTraceTreeResponses = {
7402
7496
  200: TraceTreeNode;
7403
7497
  };
7404
7498
  type GetTraceTreeResponse = GetTraceTreeResponses[keyof GetTraceTreeResponses];
7499
+ type GetTraceGenerationsData = {
7500
+ body?: never;
7501
+ path: {
7502
+ /**
7503
+ * Public ID of the trace
7504
+ */
7505
+ trace_id: string;
7506
+ };
7507
+ query?: never;
7508
+ url: '/api/v1/traces/{trace_id}/generations';
7509
+ };
7510
+ type GetTraceGenerationsErrors = {
7511
+ /**
7512
+ * Unauthorized
7513
+ */
7514
+ 401: ErrorResponse;
7515
+ /**
7516
+ * Forbidden
7517
+ */
7518
+ 403: ErrorResponse;
7519
+ /**
7520
+ * Trace not found
7521
+ */
7522
+ 404: ErrorResponse;
7523
+ };
7524
+ type GetTraceGenerationsError = GetTraceGenerationsErrors[keyof GetTraceGenerationsErrors];
7525
+ type GetTraceGenerationsResponses = {
7526
+ /**
7527
+ * Generation IDs linked to the trace
7528
+ */
7529
+ 200: TraceGenerations;
7530
+ };
7531
+ type GetTraceGenerationsResponse = GetTraceGenerationsResponses[keyof GetTraceGenerationsResponses];
7405
7532
  type ListUsersData = {
7406
7533
  body?: never;
7407
7534
  path?: never;
@@ -8504,23 +8631,23 @@ declare class Orchestrations {
8504
8631
  */
8505
8632
  static updateOrchestration<ThrowOnError extends boolean = false>(options: Options<UpdateOrchestrationData, ThrowOnError>): RequestResult<UpdateOrchestrationResponses, UpdateOrchestrationErrors, ThrowOnError, "fields">;
8506
8633
  /**
8507
- * List runs
8634
+ * List orchestration runs
8508
8635
  *
8509
8636
  * Returns all runs for an orchestration.
8510
8637
  */
8511
- static listRuns<ThrowOnError extends boolean = false>(options: Options<ListRunsData, ThrowOnError>): RequestResult<ListRunsResponses, ListRunsErrors, ThrowOnError, "fields">;
8638
+ static listOrchestrationRuns<ThrowOnError extends boolean = false>(options: Options<ListOrchestrationRunsData, ThrowOnError>): RequestResult<ListOrchestrationRunsResponses, ListOrchestrationRunsErrors, ThrowOnError, "fields">;
8512
8639
  /**
8513
- * Start a run
8640
+ * Start an orchestration run
8514
8641
  *
8515
8642
  * Creates and immediately executes a new run for the orchestration.
8516
8643
  */
8517
- static startRun<ThrowOnError extends boolean = false>(options: Options<StartRunData, ThrowOnError>): RequestResult<StartRunResponses, StartRunErrors, ThrowOnError, "fields">;
8644
+ static startOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<StartOrchestrationRunData, ThrowOnError>): RequestResult<StartOrchestrationRunResponses, StartOrchestrationRunErrors, ThrowOnError, "fields">;
8518
8645
  /**
8519
- * Cancel a run
8646
+ * Cancel an orchestration run
8520
8647
  *
8521
8648
  * Cancels a running or paused orchestration run.
8522
8649
  */
8523
- static cancelRun<ThrowOnError extends boolean = false>(options: Options<CancelRunData, ThrowOnError>): RequestResult<CancelRunResponses, CancelRunErrors, ThrowOnError, "fields">;
8650
+ static cancelOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<CancelOrchestrationRunData, ThrowOnError>): RequestResult<CancelOrchestrationRunResponses, CancelOrchestrationRunErrors, ThrowOnError, "fields">;
8524
8651
  /**
8525
8652
  * Submit human input
8526
8653
  *
@@ -8528,17 +8655,17 @@ declare class Orchestrations {
8528
8655
  */
8529
8656
  static submitHumanInput<ThrowOnError extends boolean = false>(options: Options<SubmitHumanInputData, ThrowOnError>): RequestResult<SubmitHumanInputResponses, SubmitHumanInputErrors, ThrowOnError, "fields">;
8530
8657
  /**
8531
- * Resume a run
8658
+ * Resume an orchestration run
8532
8659
  *
8533
8660
  * Resumes a paused orchestration run from its last checkpoint.
8534
8661
  */
8535
- static resumeRun<ThrowOnError extends boolean = false>(options: Options<ResumeRunData, ThrowOnError>): RequestResult<ResumeRunResponses, ResumeRunErrors, ThrowOnError, "fields">;
8662
+ static resumeOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<ResumeOrchestrationRunData, ThrowOnError>): RequestResult<ResumeOrchestrationRunResponses, ResumeOrchestrationRunErrors, ThrowOnError, "fields">;
8536
8663
  /**
8537
- * Get a run
8664
+ * Get an orchestration run
8538
8665
  *
8539
8666
  * Returns the status, state, and artifacts of a specific run.
8540
8667
  */
8541
- static getRun<ThrowOnError extends boolean = false>(options: Options<GetRunData, ThrowOnError>): RequestResult<GetRunResponses, GetRunErrors, ThrowOnError, "fields">;
8668
+ static getOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<GetOrchestrationRunData, ThrowOnError>): RequestResult<GetOrchestrationRunResponses, GetOrchestrationRunErrors, ThrowOnError, "fields">;
8542
8669
  }
8543
8670
  declare class Policies {
8544
8671
  /**
@@ -8764,6 +8891,12 @@ declare class Traces {
8764
8891
  *
8765
8892
  */
8766
8893
  static getTraceTree<ThrowOnError extends boolean = false>(options: Options<GetTraceTreeData, ThrowOnError>): RequestResult<GetTraceTreeResponses, GetTraceTreeErrors, ThrowOnError, "fields">;
8894
+ /**
8895
+ * Get generation IDs for a trace
8896
+ *
8897
+ * Returns all generation IDs associated with the trace.
8898
+ */
8899
+ static getTraceGenerations<ThrowOnError extends boolean = false>(options: Options<GetTraceGenerationsData, ThrowOnError>): RequestResult<GetTraceGenerationsResponses, GetTraceGenerationsErrors, ThrowOnError, "fields">;
8767
8900
  }
8768
8901
  declare class Users {
8769
8902
  /**
@@ -8936,4 +9069,4 @@ declare class SoatClient {
8936
9069
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
8937
9070
  }
8938
9071
 
8939
- 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 CancelRunData, type CancelRunErrors, type CancelRunResponse, type CancelRunResponses, 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 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 DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, 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 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 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 GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetRunData, type GetRunErrors, type GetRunResponse, type GetRunResponses, 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 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 ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListRunsData, type ListRunsErrors, type ListRunsResponse, type ListRunsResponses, 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 ResumeRunData, type ResumeRunErrors, type ResumeRunResponse, type ResumeRunResponses, 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 StartRunData, type StartRunErrors, type StartRunRequest, type StartRunResponse, type StartRunResponses, 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 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 ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
9072
+ 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 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, 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 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 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 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 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 };
package/dist/index.d.ts CHANGED
@@ -431,6 +431,14 @@ type Agent = {
431
431
  */
432
432
  write_memory_id?: string | null;
433
433
  } | null;
434
+ /**
435
+ * Maximum number of recent messages to include in the context window sent to the model. When null, all messages are included.
436
+ */
437
+ max_context_messages?: number | null;
438
+ /**
439
+ * When true, only one open session per actor_id is allowed for this agent. Creating a second open session for the same actor returns 409.
440
+ */
441
+ single_session_per_actor?: boolean;
434
442
  created_at?: Date;
435
443
  updated_at?: Date;
436
444
  };
@@ -474,6 +482,14 @@ type CreateAgentRequest = {
474
482
  */
475
483
  write_memory_id?: string | null;
476
484
  };
485
+ /**
486
+ * Maximum number of recent messages included in the context window. Null means no limit.
487
+ */
488
+ max_context_messages?: number;
489
+ /**
490
+ * When true, only one open session per actor_id is allowed for this agent.
491
+ */
492
+ single_session_per_actor?: boolean;
477
493
  };
478
494
  type UpdateAgentRequest = {
479
495
  ai_provider_id?: string;
@@ -508,11 +524,19 @@ type UpdateAgentRequest = {
508
524
  */
509
525
  write_memory_id?: string | null;
510
526
  } | null;
527
+ /**
528
+ * Maximum number of recent messages included in the context window. Null means no limit.
529
+ */
530
+ max_context_messages?: number | null;
531
+ /**
532
+ * When true, only one open session per actor_id is allowed for this agent.
533
+ */
534
+ single_session_per_actor?: boolean | null;
511
535
  };
512
536
  type CreateAgentGenerationRequest = {
513
537
  messages: Array<{
514
538
  role: 'system' | 'user' | 'assistant';
515
- content: string;
539
+ content: string | ToolOutputMessageContent | DocumentMessageContent;
516
540
  }>;
517
541
  /**
518
542
  * When true the response is an SSE stream
@@ -541,6 +565,34 @@ type CreateAgentGenerationRequest = {
541
565
  [key: string]: string;
542
566
  } | null;
543
567
  };
568
+ type ToolOutputMessageContent = {
569
+ type: 'tool_output';
570
+ /**
571
+ * Public ID of the tool to execute before generation.
572
+ */
573
+ tool_id: string;
574
+ /**
575
+ * Optional action name for tools that require action selection (for example soat and mcp tools).
576
+ */
577
+ action?: string | null;
578
+ /**
579
+ * Input payload passed to the tool call.
580
+ */
581
+ input?: {
582
+ [key: string]: unknown;
583
+ } | null;
584
+ /**
585
+ * Optional dot-notation path used to extract a value from the tool output.
586
+ */
587
+ output_path?: string | null;
588
+ };
589
+ type DocumentMessageContent = {
590
+ type: 'document';
591
+ /**
592
+ * Public ID of a document to use as the message content.
593
+ */
594
+ document_id: string;
595
+ };
544
596
  type SubmitToolOutputsRequest = {
545
597
  tool_outputs: Array<{
546
598
  /**
@@ -2075,7 +2127,7 @@ type SessionRecord = {
2075
2127
  * Underlying conversation public ID
2076
2128
  */
2077
2129
  conversation_id?: string;
2078
- status?: 'open' | 'closed';
2130
+ status?: 'open' | 'closed' | 'expired';
2079
2131
  name?: string | null;
2080
2132
  /**
2081
2133
  * Public ID of the user actor
@@ -2100,6 +2152,14 @@ type SessionRecord = {
2100
2152
  tool_context?: {
2101
2153
  [key: string]: string;
2102
2154
  } | null;
2155
+ /**
2156
+ * Number of seconds of inactivity after which the session expires. 0 means the session never expires.
2157
+ */
2158
+ inactivity_ttl_seconds?: number;
2159
+ /**
2160
+ * Timestamp of the last activity on the session (message added or response generated).
2161
+ */
2162
+ last_activity_at?: Date | null;
2103
2163
  };
2104
2164
  type SessionMessage = {
2105
2165
  role?: 'user' | 'assistant' | 'unknown';
@@ -2129,6 +2189,10 @@ type CreateSessionRequest = {
2129
2189
  tool_context?: {
2130
2190
  [key: string]: string;
2131
2191
  } | null;
2192
+ /**
2193
+ * Number of seconds of inactivity after which the session expires. 0 means the session never expires.
2194
+ */
2195
+ inactivity_ttl_seconds?: number;
2132
2196
  };
2133
2197
  type UpdateSessionRequest = {
2134
2198
  /**
@@ -2138,7 +2202,7 @@ type UpdateSessionRequest = {
2138
2202
  /**
2139
2203
  * Session status
2140
2204
  */
2141
- status?: 'open' | 'closed';
2205
+ status?: 'open' | 'closed' | 'expired';
2142
2206
  /**
2143
2207
  * Enable or disable automatic generation after user messages.
2144
2208
  */
@@ -2161,6 +2225,17 @@ type AddSessionMessageRequest = {
2161
2225
  tool_context?: {
2162
2226
  [key: string]: string;
2163
2227
  } | null;
2228
+ } | {
2229
+ /**
2230
+ * Public ID of a document used as the user message content.
2231
+ */
2232
+ document_id: string;
2233
+ /**
2234
+ * Key-value pairs injected as context headers into all tool call requests made during this generation.
2235
+ */
2236
+ tool_context?: {
2237
+ [key: string]: string;
2238
+ } | null;
2164
2239
  };
2165
2240
  /**
2166
2241
  * Message saved; auto-generate is off or a generation is already in progress.
@@ -2168,6 +2243,7 @@ type AddSessionMessageRequest = {
2168
2243
  type AddSessionMessageSaved = {
2169
2244
  role?: 'user';
2170
2245
  content?: string;
2246
+ document_id?: string | null;
2171
2247
  };
2172
2248
  type AddSessionMessageResponse = AddSessionMessageSaved | GenerateSessionResponse;
2173
2249
  type GenerateSessionRequest = {
@@ -2432,6 +2508,16 @@ type TraceTreeNode = {
2432
2508
  */
2433
2509
  children?: Array<TraceTreeNode>;
2434
2510
  };
2511
+ type TraceGenerations = {
2512
+ /**
2513
+ * Public ID of the trace
2514
+ */
2515
+ trace_id?: string;
2516
+ /**
2517
+ * Generation public IDs linked to this trace, ordered by start time
2518
+ */
2519
+ generation_ids?: Array<string>;
2520
+ };
2435
2521
  type UserRecord = {
2436
2522
  /**
2437
2523
  * Public user ID (usr_ prefix)
@@ -5924,7 +6010,7 @@ type UpdateOrchestrationResponses = {
5924
6010
  200: Orchestration;
5925
6011
  };
5926
6012
  type UpdateOrchestrationResponse = UpdateOrchestrationResponses[keyof UpdateOrchestrationResponses];
5927
- type ListRunsData = {
6013
+ type ListOrchestrationRunsData = {
5928
6014
  body?: never;
5929
6015
  path: {
5930
6016
  /**
@@ -5935,7 +6021,7 @@ type ListRunsData = {
5935
6021
  query?: never;
5936
6022
  url: '/api/v1/orchestrations/{orchestration_id}/runs';
5937
6023
  };
5938
- type ListRunsErrors = {
6024
+ type ListOrchestrationRunsErrors = {
5939
6025
  /**
5940
6026
  * Unauthorized
5941
6027
  */
@@ -5949,14 +6035,14 @@ type ListRunsErrors = {
5949
6035
  */
5950
6036
  404: unknown;
5951
6037
  };
5952
- type ListRunsResponses = {
6038
+ type ListOrchestrationRunsResponses = {
5953
6039
  /**
5954
6040
  * List of runs
5955
6041
  */
5956
6042
  200: Array<OrchestrationRun>;
5957
6043
  };
5958
- type ListRunsResponse = ListRunsResponses[keyof ListRunsResponses];
5959
- type StartRunData = {
6044
+ type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
6045
+ type StartOrchestrationRunData = {
5960
6046
  body?: StartRunRequest;
5961
6047
  path: {
5962
6048
  /**
@@ -5967,7 +6053,7 @@ type StartRunData = {
5967
6053
  query?: never;
5968
6054
  url: '/api/v1/orchestrations/{orchestration_id}/runs';
5969
6055
  };
5970
- type StartRunErrors = {
6056
+ type StartOrchestrationRunErrors = {
5971
6057
  /**
5972
6058
  * Validation error
5973
6059
  */
@@ -5985,14 +6071,14 @@ type StartRunErrors = {
5985
6071
  */
5986
6072
  404: unknown;
5987
6073
  };
5988
- type StartRunResponses = {
6074
+ type StartOrchestrationRunResponses = {
5989
6075
  /**
5990
6076
  * Run created and executed
5991
6077
  */
5992
6078
  201: OrchestrationRun;
5993
6079
  };
5994
- type StartRunResponse = StartRunResponses[keyof StartRunResponses];
5995
- type CancelRunData = {
6080
+ type StartOrchestrationRunResponse = StartOrchestrationRunResponses[keyof StartOrchestrationRunResponses];
6081
+ type CancelOrchestrationRunData = {
5996
6082
  body?: never;
5997
6083
  path: {
5998
6084
  /**
@@ -6007,7 +6093,7 @@ type CancelRunData = {
6007
6093
  query?: never;
6008
6094
  url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/cancel';
6009
6095
  };
6010
- type CancelRunErrors = {
6096
+ type CancelOrchestrationRunErrors = {
6011
6097
  /**
6012
6098
  * Unauthorized
6013
6099
  */
@@ -6025,13 +6111,13 @@ type CancelRunErrors = {
6025
6111
  */
6026
6112
  409: unknown;
6027
6113
  };
6028
- type CancelRunResponses = {
6114
+ type CancelOrchestrationRunResponses = {
6029
6115
  /**
6030
6116
  * Cancelled run
6031
6117
  */
6032
6118
  200: OrchestrationRun;
6033
6119
  };
6034
- type CancelRunResponse = CancelRunResponses[keyof CancelRunResponses];
6120
+ type CancelOrchestrationRunResponse = CancelOrchestrationRunResponses[keyof CancelOrchestrationRunResponses];
6035
6121
  type SubmitHumanInputData = {
6036
6122
  body: HumanInputRequest;
6037
6123
  path: {
@@ -6076,7 +6162,7 @@ type SubmitHumanInputResponses = {
6076
6162
  200: OrchestrationRun;
6077
6163
  };
6078
6164
  type SubmitHumanInputResponse = SubmitHumanInputResponses[keyof SubmitHumanInputResponses];
6079
- type ResumeRunData = {
6165
+ type ResumeOrchestrationRunData = {
6080
6166
  body?: never;
6081
6167
  path: {
6082
6168
  /**
@@ -6091,7 +6177,7 @@ type ResumeRunData = {
6091
6177
  query?: never;
6092
6178
  url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/resume';
6093
6179
  };
6094
- type ResumeRunErrors = {
6180
+ type ResumeOrchestrationRunErrors = {
6095
6181
  /**
6096
6182
  * Unauthorized
6097
6183
  */
@@ -6109,14 +6195,14 @@ type ResumeRunErrors = {
6109
6195
  */
6110
6196
  409: unknown;
6111
6197
  };
6112
- type ResumeRunResponses = {
6198
+ type ResumeOrchestrationRunResponses = {
6113
6199
  /**
6114
6200
  * Resumed run
6115
6201
  */
6116
6202
  200: OrchestrationRun;
6117
6203
  };
6118
- type ResumeRunResponse = ResumeRunResponses[keyof ResumeRunResponses];
6119
- type GetRunData = {
6204
+ type ResumeOrchestrationRunResponse = ResumeOrchestrationRunResponses[keyof ResumeOrchestrationRunResponses];
6205
+ type GetOrchestrationRunData = {
6120
6206
  body?: never;
6121
6207
  path: {
6122
6208
  /**
@@ -6131,7 +6217,7 @@ type GetRunData = {
6131
6217
  query?: never;
6132
6218
  url: '/api/v1/orchestrations/{orchestration_id}/runs/{run_id}';
6133
6219
  };
6134
- type GetRunErrors = {
6220
+ type GetOrchestrationRunErrors = {
6135
6221
  /**
6136
6222
  * Unauthorized
6137
6223
  */
@@ -6145,13 +6231,13 @@ type GetRunErrors = {
6145
6231
  */
6146
6232
  404: unknown;
6147
6233
  };
6148
- type GetRunResponses = {
6234
+ type GetOrchestrationRunResponses = {
6149
6235
  /**
6150
6236
  * Run details
6151
6237
  */
6152
6238
  200: OrchestrationRun;
6153
6239
  };
6154
- type GetRunResponse = GetRunResponses[keyof GetRunResponses];
6240
+ type GetOrchestrationRunResponse = GetOrchestrationRunResponses[keyof GetOrchestrationRunResponses];
6155
6241
  type ListPoliciesData = {
6156
6242
  body?: never;
6157
6243
  path?: never;
@@ -6633,9 +6719,9 @@ type ListAgentSessionsData = {
6633
6719
  */
6634
6720
  actor_id?: string;
6635
6721
  /**
6636
- * Filter by session status (open or closed)
6722
+ * Filter by session status (open, closed, or expired)
6637
6723
  */
6638
- status?: 'open' | 'closed';
6724
+ status?: 'open' | 'closed' | 'expired';
6639
6725
  limit?: number;
6640
6726
  offset?: number;
6641
6727
  };
@@ -6692,6 +6778,10 @@ type CreateAgentSessionErrors = {
6692
6778
  * Not found
6693
6779
  */
6694
6780
  404: ErrorResponse;
6781
+ /**
6782
+ * An open session already exists for this actor (single_session_per_actor is enabled)
6783
+ */
6784
+ 409: ErrorResponse;
6695
6785
  };
6696
6786
  type CreateAgentSessionError = CreateAgentSessionErrors[keyof CreateAgentSessionErrors];
6697
6787
  type CreateAgentSessionResponses = {
@@ -6931,6 +7021,10 @@ type GenerateSessionResponseErrors = {
6931
7021
  * Generation already in progress
6932
7022
  */
6933
7023
  409: ErrorResponse;
7024
+ /**
7025
+ * Session has expired due to inactivity
7026
+ */
7027
+ 410: ErrorResponse;
6934
7028
  };
6935
7029
  type GenerateSessionResponseError = GenerateSessionResponseErrors[keyof GenerateSessionResponseErrors];
6936
7030
  type GenerateSessionResponseResponses = {
@@ -7402,6 +7496,39 @@ type GetTraceTreeResponses = {
7402
7496
  200: TraceTreeNode;
7403
7497
  };
7404
7498
  type GetTraceTreeResponse = GetTraceTreeResponses[keyof GetTraceTreeResponses];
7499
+ type GetTraceGenerationsData = {
7500
+ body?: never;
7501
+ path: {
7502
+ /**
7503
+ * Public ID of the trace
7504
+ */
7505
+ trace_id: string;
7506
+ };
7507
+ query?: never;
7508
+ url: '/api/v1/traces/{trace_id}/generations';
7509
+ };
7510
+ type GetTraceGenerationsErrors = {
7511
+ /**
7512
+ * Unauthorized
7513
+ */
7514
+ 401: ErrorResponse;
7515
+ /**
7516
+ * Forbidden
7517
+ */
7518
+ 403: ErrorResponse;
7519
+ /**
7520
+ * Trace not found
7521
+ */
7522
+ 404: ErrorResponse;
7523
+ };
7524
+ type GetTraceGenerationsError = GetTraceGenerationsErrors[keyof GetTraceGenerationsErrors];
7525
+ type GetTraceGenerationsResponses = {
7526
+ /**
7527
+ * Generation IDs linked to the trace
7528
+ */
7529
+ 200: TraceGenerations;
7530
+ };
7531
+ type GetTraceGenerationsResponse = GetTraceGenerationsResponses[keyof GetTraceGenerationsResponses];
7405
7532
  type ListUsersData = {
7406
7533
  body?: never;
7407
7534
  path?: never;
@@ -8504,23 +8631,23 @@ declare class Orchestrations {
8504
8631
  */
8505
8632
  static updateOrchestration<ThrowOnError extends boolean = false>(options: Options<UpdateOrchestrationData, ThrowOnError>): RequestResult<UpdateOrchestrationResponses, UpdateOrchestrationErrors, ThrowOnError, "fields">;
8506
8633
  /**
8507
- * List runs
8634
+ * List orchestration runs
8508
8635
  *
8509
8636
  * Returns all runs for an orchestration.
8510
8637
  */
8511
- static listRuns<ThrowOnError extends boolean = false>(options: Options<ListRunsData, ThrowOnError>): RequestResult<ListRunsResponses, ListRunsErrors, ThrowOnError, "fields">;
8638
+ static listOrchestrationRuns<ThrowOnError extends boolean = false>(options: Options<ListOrchestrationRunsData, ThrowOnError>): RequestResult<ListOrchestrationRunsResponses, ListOrchestrationRunsErrors, ThrowOnError, "fields">;
8512
8639
  /**
8513
- * Start a run
8640
+ * Start an orchestration run
8514
8641
  *
8515
8642
  * Creates and immediately executes a new run for the orchestration.
8516
8643
  */
8517
- static startRun<ThrowOnError extends boolean = false>(options: Options<StartRunData, ThrowOnError>): RequestResult<StartRunResponses, StartRunErrors, ThrowOnError, "fields">;
8644
+ static startOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<StartOrchestrationRunData, ThrowOnError>): RequestResult<StartOrchestrationRunResponses, StartOrchestrationRunErrors, ThrowOnError, "fields">;
8518
8645
  /**
8519
- * Cancel a run
8646
+ * Cancel an orchestration run
8520
8647
  *
8521
8648
  * Cancels a running or paused orchestration run.
8522
8649
  */
8523
- static cancelRun<ThrowOnError extends boolean = false>(options: Options<CancelRunData, ThrowOnError>): RequestResult<CancelRunResponses, CancelRunErrors, ThrowOnError, "fields">;
8650
+ static cancelOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<CancelOrchestrationRunData, ThrowOnError>): RequestResult<CancelOrchestrationRunResponses, CancelOrchestrationRunErrors, ThrowOnError, "fields">;
8524
8651
  /**
8525
8652
  * Submit human input
8526
8653
  *
@@ -8528,17 +8655,17 @@ declare class Orchestrations {
8528
8655
  */
8529
8656
  static submitHumanInput<ThrowOnError extends boolean = false>(options: Options<SubmitHumanInputData, ThrowOnError>): RequestResult<SubmitHumanInputResponses, SubmitHumanInputErrors, ThrowOnError, "fields">;
8530
8657
  /**
8531
- * Resume a run
8658
+ * Resume an orchestration run
8532
8659
  *
8533
8660
  * Resumes a paused orchestration run from its last checkpoint.
8534
8661
  */
8535
- static resumeRun<ThrowOnError extends boolean = false>(options: Options<ResumeRunData, ThrowOnError>): RequestResult<ResumeRunResponses, ResumeRunErrors, ThrowOnError, "fields">;
8662
+ static resumeOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<ResumeOrchestrationRunData, ThrowOnError>): RequestResult<ResumeOrchestrationRunResponses, ResumeOrchestrationRunErrors, ThrowOnError, "fields">;
8536
8663
  /**
8537
- * Get a run
8664
+ * Get an orchestration run
8538
8665
  *
8539
8666
  * Returns the status, state, and artifacts of a specific run.
8540
8667
  */
8541
- static getRun<ThrowOnError extends boolean = false>(options: Options<GetRunData, ThrowOnError>): RequestResult<GetRunResponses, GetRunErrors, ThrowOnError, "fields">;
8668
+ static getOrchestrationRun<ThrowOnError extends boolean = false>(options: Options<GetOrchestrationRunData, ThrowOnError>): RequestResult<GetOrchestrationRunResponses, GetOrchestrationRunErrors, ThrowOnError, "fields">;
8542
8669
  }
8543
8670
  declare class Policies {
8544
8671
  /**
@@ -8764,6 +8891,12 @@ declare class Traces {
8764
8891
  *
8765
8892
  */
8766
8893
  static getTraceTree<ThrowOnError extends boolean = false>(options: Options<GetTraceTreeData, ThrowOnError>): RequestResult<GetTraceTreeResponses, GetTraceTreeErrors, ThrowOnError, "fields">;
8894
+ /**
8895
+ * Get generation IDs for a trace
8896
+ *
8897
+ * Returns all generation IDs associated with the trace.
8898
+ */
8899
+ static getTraceGenerations<ThrowOnError extends boolean = false>(options: Options<GetTraceGenerationsData, ThrowOnError>): RequestResult<GetTraceGenerationsResponses, GetTraceGenerationsErrors, ThrowOnError, "fields">;
8767
8900
  }
8768
8901
  declare class Users {
8769
8902
  /**
@@ -8936,4 +9069,4 @@ declare class SoatClient {
8936
9069
  constructor({ baseUrl, token, headers }?: SoatClientOptions);
8937
9070
  }
8938
9071
 
8939
- 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 CancelRunData, type CancelRunErrors, type CancelRunResponse, type CancelRunResponses, 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 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 DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, 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 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 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 GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetOrchestrationData, type GetOrchestrationErrors, type GetOrchestrationResponse, type GetOrchestrationResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetRunData, type GetRunErrors, type GetRunResponse, type GetRunResponses, 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 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 ListOrchestrationsData, type ListOrchestrationsErrors, type ListOrchestrationsResponse, type ListOrchestrationsResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListRunsData, type ListRunsErrors, type ListRunsResponse, type ListRunsResponses, 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 ResumeRunData, type ResumeRunErrors, type ResumeRunResponse, type ResumeRunResponses, 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 StartRunData, type StartRunErrors, type StartRunRequest, type StartRunResponse, type StartRunResponses, 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 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 ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
9072
+ 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 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, 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 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 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 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 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 };
package/dist/index.js CHANGED
@@ -2167,22 +2167,22 @@ var Orchestrations = class {
2167
2167
  });
2168
2168
  }
2169
2169
  /**
2170
- * List runs
2170
+ * List orchestration runs
2171
2171
  *
2172
2172
  * Returns all runs for an orchestration.
2173
2173
  */
2174
- static listRuns(options) {
2174
+ static listOrchestrationRuns(options) {
2175
2175
  return (options.client ?? client).get({
2176
2176
  url: "/api/v1/orchestrations/{orchestration_id}/runs",
2177
2177
  ...options
2178
2178
  });
2179
2179
  }
2180
2180
  /**
2181
- * Start a run
2181
+ * Start an orchestration run
2182
2182
  *
2183
2183
  * Creates and immediately executes a new run for the orchestration.
2184
2184
  */
2185
- static startRun(options) {
2185
+ static startOrchestrationRun(options) {
2186
2186
  return (options.client ?? client).post({
2187
2187
  url: "/api/v1/orchestrations/{orchestration_id}/runs",
2188
2188
  ...options,
@@ -2193,11 +2193,11 @@ var Orchestrations = class {
2193
2193
  });
2194
2194
  }
2195
2195
  /**
2196
- * Cancel a run
2196
+ * Cancel an orchestration run
2197
2197
  *
2198
2198
  * Cancels a running or paused orchestration run.
2199
2199
  */
2200
- static cancelRun(options) {
2200
+ static cancelOrchestrationRun(options) {
2201
2201
  return (options.client ?? client).post({
2202
2202
  url: "/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/cancel",
2203
2203
  ...options
@@ -2219,22 +2219,22 @@ var Orchestrations = class {
2219
2219
  });
2220
2220
  }
2221
2221
  /**
2222
- * Resume a run
2222
+ * Resume an orchestration run
2223
2223
  *
2224
2224
  * Resumes a paused orchestration run from its last checkpoint.
2225
2225
  */
2226
- static resumeRun(options) {
2226
+ static resumeOrchestrationRun(options) {
2227
2227
  return (options.client ?? client).post({
2228
2228
  url: "/api/v1/orchestrations/{orchestration_id}/runs/{run_id}/resume",
2229
2229
  ...options
2230
2230
  });
2231
2231
  }
2232
2232
  /**
2233
- * Get a run
2233
+ * Get an orchestration run
2234
2234
  *
2235
2235
  * Returns the status, state, and artifacts of a specific run.
2236
2236
  */
2237
- static getRun(options) {
2237
+ static getOrchestrationRun(options) {
2238
2238
  return (options.client ?? client).get({
2239
2239
  url: "/api/v1/orchestrations/{orchestration_id}/runs/{run_id}",
2240
2240
  ...options
@@ -2713,6 +2713,17 @@ var Traces = class {
2713
2713
  ...options
2714
2714
  });
2715
2715
  }
2716
+ /**
2717
+ * Get generation IDs for a trace
2718
+ *
2719
+ * Returns all generation IDs associated with the trace.
2720
+ */
2721
+ static getTraceGenerations(options) {
2722
+ return (options.client ?? client).get({
2723
+ url: "/api/v1/traces/{trace_id}/generations",
2724
+ ...options
2725
+ });
2726
+ }
2716
2727
  };
2717
2728
  var Users = class {
2718
2729
  static {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "TypeScript SDK for the SOAT API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",