@soat/sdk 0.15.12 → 0.15.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -803,35 +803,80 @@ type SubmitToolOutputsRequest = {
803
803
  output: unknown;
804
804
  }>;
805
805
  };
806
+ /**
807
+ * Result of an agent generation. Mirrors the server's `GenerationResult`. When `status` is `completed` the model output is under `output`; when it is `requires_action` the pending client tool calls are under `required_action`.
808
+ *
809
+ */
806
810
  type AgentGenerationResponse = {
807
811
  /**
808
812
  * Public ID of the generation
809
813
  */
810
- id?: string;
814
+ id: string;
811
815
  /**
812
- * Generation status
816
+ * Public ID of the trace for this generation
813
817
  */
814
- status?: 'completed' | 'requires_action';
818
+ trace_id: string;
815
819
  /**
816
- * Final text output (when completed)
820
+ * Generation status
817
821
  */
818
- text?: string | null;
822
+ status: 'completed' | 'requires_action';
819
823
  /**
820
- * Structured object matching the agent's `output_schema` (when completed and `output_schema` is set)
824
+ * Model output (present when `status` is `completed`).
821
825
  */
822
- object?: {
823
- [key: string]: unknown;
826
+ output?: {
827
+ /**
828
+ * Model that produced the output
829
+ */
830
+ model: string;
831
+ /**
832
+ * Final text output
833
+ */
834
+ content: string;
835
+ /**
836
+ * Reason the model stopped generating
837
+ */
838
+ finish_reason: string;
839
+ /**
840
+ * Full AI SDK response messages (tool calls, tool results, final text)
841
+ */
842
+ response_messages?: Array<{
843
+ [key: string]: unknown;
844
+ }> | null;
845
+ /**
846
+ * Structured object matching the agent's `output_schema` (when `output_schema` is set)
847
+ */
848
+ object?: {
849
+ [key: string]: unknown;
850
+ } | null;
824
851
  } | null;
825
852
  /**
826
- * Pending tool calls (when requires_action)
853
+ * Pending action the caller must satisfy (present when `status` is `requires_action`).
827
854
  */
828
- tool_calls?: Array<{
829
- tool_call_id?: string;
830
- tool_name?: string;
831
- args?: {
832
- [key: string]: unknown;
833
- };
834
- }> | null;
855
+ required_action?: {
856
+ /**
857
+ * The kind of action required
858
+ */
859
+ type: 'submit_tool_outputs';
860
+ /**
861
+ * Pending tool calls to execute and submit outputs for
862
+ */
863
+ tool_calls: Array<{
864
+ /**
865
+ * Tool call ID
866
+ */
867
+ id?: string;
868
+ /**
869
+ * Name of the tool to invoke
870
+ */
871
+ tool_name?: string;
872
+ /**
873
+ * Arguments for the tool call
874
+ */
875
+ args?: {
876
+ [key: string]: unknown;
877
+ };
878
+ }>;
879
+ } | null;
835
880
  };
836
881
  type ProviderPrice = {
837
882
  /**
@@ -995,8 +1040,11 @@ type ApprovalItem = {
995
1040
  * Transition fired on approval (task_transition producer)
996
1041
  */
997
1042
  task_transition?: string | null;
998
- knowledge_version?: string | null;
999
1043
  policy_version?: string | null;
1044
+ /**
1045
+ * Prior item's ID when this proposal was re-filed after an earlier matching item (same dedup_key) had been rejected
1046
+ */
1047
+ previous_item_id?: string | null;
1000
1048
  /**
1001
1049
  * Resolving user's public ID; null on expiry
1002
1050
  */
@@ -5354,6 +5402,14 @@ type ListAgentsData = {
5354
5402
  * Project public ID to filter by
5355
5403
  */
5356
5404
  project_id?: string;
5405
+ /**
5406
+ * Maximum number of results to return
5407
+ */
5408
+ limit?: number;
5409
+ /**
5410
+ * Number of results to skip
5411
+ */
5412
+ offset?: number;
5357
5413
  };
5358
5414
  url: '/api/v1/agents';
5359
5415
  };
@@ -5372,7 +5428,12 @@ type ListAgentsResponses = {
5372
5428
  /**
5373
5429
  * List of agents
5374
5430
  */
5375
- 200: Array<Agent>;
5431
+ 200: {
5432
+ data: Array<Agent>;
5433
+ total: number;
5434
+ limit: number;
5435
+ offset: number;
5436
+ };
5376
5437
  };
5377
5438
  type ListAgentsResponse = ListAgentsResponses[keyof ListAgentsResponses];
5378
5439
  type CreateAgentData = {
@@ -5648,15 +5709,20 @@ type ListAiProvidersResponses = {
5648
5709
  /**
5649
5710
  * List of AI providers
5650
5711
  */
5651
- 200: Array<{
5652
- id?: string;
5653
- name?: string;
5654
- provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
5655
- default_model?: string;
5656
- project_id?: string;
5657
- created_at?: Date;
5658
- updated_at?: Date;
5659
- }>;
5712
+ 200: {
5713
+ data: Array<{
5714
+ id?: string;
5715
+ name?: string;
5716
+ provider?: 'openai' | 'anthropic' | 'google' | 'xai' | 'groq' | 'ollama' | 'azure' | 'bedrock' | 'gateway' | 'custom';
5717
+ default_model?: string;
5718
+ project_id?: string;
5719
+ created_at?: Date;
5720
+ updated_at?: Date;
5721
+ }>;
5722
+ total: number;
5723
+ limit: number;
5724
+ offset: number;
5725
+ };
5660
5726
  };
5661
5727
  type ListAiProvidersResponse = ListAiProvidersResponses[keyof ListAiProvidersResponses];
5662
5728
  type CreateAiProviderData = {
@@ -5935,7 +6001,16 @@ type UpdateAiProviderPricesResponse = UpdateAiProviderPricesResponses[keyof Upda
5935
6001
  type ListApiKeysData = {
5936
6002
  body?: never;
5937
6003
  path?: never;
5938
- query?: never;
6004
+ query?: {
6005
+ /**
6006
+ * Maximum number of results to return
6007
+ */
6008
+ limit?: number;
6009
+ /**
6010
+ * Number of results to skip
6011
+ */
6012
+ offset?: number;
6013
+ };
5939
6014
  url: '/api/v1/api-keys';
5940
6015
  };
5941
6016
  type ListApiKeysErrors = {
@@ -5948,7 +6023,12 @@ type ListApiKeysResponses = {
5948
6023
  /**
5949
6024
  * List of API keys
5950
6025
  */
5951
- 200: Array<ApiKeyRecord>;
6026
+ 200: {
6027
+ data: Array<ApiKeyRecord>;
6028
+ total: number;
6029
+ limit: number;
6030
+ offset: number;
6031
+ };
5952
6032
  };
5953
6033
  type ListApiKeysResponse = ListApiKeysResponses[keyof ListApiKeysResponses];
5954
6034
  type CreateApiKeyData = {
@@ -6119,10 +6199,22 @@ type ListApprovalsData = {
6119
6199
  * Return only items expiring at or before this timestamp
6120
6200
  */
6121
6201
  expires_before?: Date;
6202
+ /**
6203
+ * Maximum number of results to return
6204
+ */
6205
+ limit?: number;
6206
+ /**
6207
+ * Number of results to skip
6208
+ */
6209
+ offset?: number;
6122
6210
  };
6123
6211
  url: '/api/v1/approvals';
6124
6212
  };
6125
6213
  type ListApprovalsErrors = {
6214
+ /**
6215
+ * Invalid `status` or `origin` filter value
6216
+ */
6217
+ 400: unknown;
6126
6218
  /**
6127
6219
  * Unauthorized
6128
6220
  */
@@ -6140,7 +6232,12 @@ type ListApprovalsResponses = {
6140
6232
  /**
6141
6233
  * List of approval items
6142
6234
  */
6143
- 200: Array<ApprovalItem>;
6235
+ 200: {
6236
+ data: Array<ApprovalItem>;
6237
+ total: number;
6238
+ limit: number;
6239
+ offset: number;
6240
+ };
6144
6241
  };
6145
6242
  type ListApprovalsResponse = ListApprovalsResponses[keyof ListApprovalsResponses];
6146
6243
  type GetApprovalData = {
@@ -6376,6 +6473,14 @@ type ListChatsData = {
6376
6473
  * Project public ID to filter by
6377
6474
  */
6378
6475
  project_id?: string;
6476
+ /**
6477
+ * Maximum number of results to return
6478
+ */
6479
+ limit?: number;
6480
+ /**
6481
+ * Number of results to skip
6482
+ */
6483
+ offset?: number;
6379
6484
  };
6380
6485
  url: '/api/v1/chats';
6381
6486
  };
@@ -6394,7 +6499,12 @@ type ListChatsResponses = {
6394
6499
  /**
6395
6500
  * List of chats
6396
6501
  */
6397
- 200: Array<Chat>;
6502
+ 200: {
6503
+ data: Array<Chat>;
6504
+ total: number;
6505
+ limit: number;
6506
+ offset: number;
6507
+ };
6398
6508
  };
6399
6509
  type ListChatsResponse = ListChatsResponses[keyof ListChatsResponses];
6400
6510
  type CreateChatData = {
@@ -7988,6 +8098,14 @@ type ListExceptionsData = {
7988
8098
  * Filter by how the exception was filed
7989
8099
  */
7990
8100
  kind?: 'run_failed' | 'guardrail_tripwire' | 'approval_expired' | 'manual';
8101
+ /**
8102
+ * Maximum number of results to return
8103
+ */
8104
+ limit?: number;
8105
+ /**
8106
+ * Number of results to skip
8107
+ */
8108
+ offset?: number;
7991
8109
  };
7992
8110
  url: '/api/v1/exceptions';
7993
8111
  };
@@ -8009,7 +8127,12 @@ type ListExceptionsResponses = {
8009
8127
  /**
8010
8128
  * List of exception items
8011
8129
  */
8012
- 200: Array<ExceptionItem>;
8130
+ 200: {
8131
+ data: Array<ExceptionItem>;
8132
+ total: number;
8133
+ limit: number;
8134
+ offset: number;
8135
+ };
8013
8136
  };
8014
8137
  type ListExceptionsResponse = ListExceptionsResponses[keyof ListExceptionsResponses];
8015
8138
  type GetExceptionData = {
@@ -8726,6 +8849,14 @@ type ListFormationsData = {
8726
8849
  * Project ID (required if not using project key auth)
8727
8850
  */
8728
8851
  project_id?: string;
8852
+ /**
8853
+ * Maximum number of results to return
8854
+ */
8855
+ limit?: number;
8856
+ /**
8857
+ * Number of results to skip
8858
+ */
8859
+ offset?: number;
8729
8860
  };
8730
8861
  url: '/api/v1/formations';
8731
8862
  };
@@ -8743,7 +8874,12 @@ type ListFormationsResponses = {
8743
8874
  /**
8744
8875
  * List of formations
8745
8876
  */
8746
- 200: Array<Formation>;
8877
+ 200: {
8878
+ data: Array<Formation>;
8879
+ total: number;
8880
+ limit: number;
8881
+ offset: number;
8882
+ };
8747
8883
  };
8748
8884
  type ListFormationsResponse = ListFormationsResponses[keyof ListFormationsResponses];
8749
8885
  type CreateFormationData = {
@@ -8915,7 +9051,16 @@ type ListFormationEventsData = {
8915
9051
  path: {
8916
9052
  formation_id: string;
8917
9053
  };
8918
- query?: never;
9054
+ query?: {
9055
+ /**
9056
+ * Maximum number of results to return
9057
+ */
9058
+ limit?: number;
9059
+ /**
9060
+ * Number of results to skip
9061
+ */
9062
+ offset?: number;
9063
+ };
8919
9064
  url: '/api/v1/formations/{formation_id}/events';
8920
9065
  };
8921
9066
  type ListFormationEventsErrors = {
@@ -8936,7 +9081,12 @@ type ListFormationEventsResponses = {
8936
9081
  /**
8937
9082
  * List of operations
8938
9083
  */
8939
- 200: Array<FormationOperation>;
9084
+ 200: {
9085
+ data: Array<FormationOperation>;
9086
+ total: number;
9087
+ limit: number;
9088
+ offset: number;
9089
+ };
8940
9090
  };
8941
9091
  type ListFormationEventsResponse = ListFormationEventsResponses[keyof ListFormationEventsResponses];
8942
9092
  type ListGenerationsData = {
@@ -9066,6 +9216,14 @@ type ListGuardrailsData = {
9066
9216
  * Project public ID to filter by
9067
9217
  */
9068
9218
  project_id?: string;
9219
+ /**
9220
+ * Maximum number of results to return
9221
+ */
9222
+ limit?: number;
9223
+ /**
9224
+ * Number of results to skip
9225
+ */
9226
+ offset?: number;
9069
9227
  };
9070
9228
  url: '/api/v1/guardrails';
9071
9229
  };
@@ -9084,7 +9242,12 @@ type ListGuardrailsResponses = {
9084
9242
  /**
9085
9243
  * List of guardrails
9086
9244
  */
9087
- 200: Array<Guardrail>;
9245
+ 200: {
9246
+ data: Array<Guardrail>;
9247
+ total: number;
9248
+ limit: number;
9249
+ offset: number;
9250
+ };
9088
9251
  };
9089
9252
  type ListGuardrailsResponse = ListGuardrailsResponses[keyof ListGuardrailsResponses];
9090
9253
  type CreateGuardrailData = {
@@ -9329,7 +9492,12 @@ type ListIngestionRulesResponses = {
9329
9492
  /**
9330
9493
  * List of ingestion rules
9331
9494
  */
9332
- 200: Array<IngestionRule>;
9495
+ 200: {
9496
+ data: Array<IngestionRule>;
9497
+ total: number;
9498
+ limit: number;
9499
+ offset: number;
9500
+ };
9333
9501
  };
9334
9502
  type ListIngestionRulesResponse = ListIngestionRulesResponses[keyof ListIngestionRulesResponses];
9335
9503
  type CreateIngestionRuleData = {
@@ -9616,6 +9784,14 @@ type ListMemoriesData = {
9616
9784
  *
9617
9785
  */
9618
9786
  tags?: Array<string>;
9787
+ /**
9788
+ * Maximum number of results to return
9789
+ */
9790
+ limit?: number;
9791
+ /**
9792
+ * Number of results to skip
9793
+ */
9794
+ offset?: number;
9619
9795
  };
9620
9796
  url: '/api/v1/memories';
9621
9797
  };
@@ -9637,7 +9813,12 @@ type ListMemoriesResponses = {
9637
9813
  /**
9638
9814
  * List of memories
9639
9815
  */
9640
- 200: Array<Memory>;
9816
+ 200: {
9817
+ data: Array<Memory>;
9818
+ total: number;
9819
+ limit: number;
9820
+ offset: number;
9821
+ };
9641
9822
  };
9642
9823
  type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
9643
9824
  type CreateMemoryData = {
@@ -9808,6 +9989,14 @@ type ListMemoryEntriesData = {
9808
9989
  * Memory container to list entries from (mem_...)
9809
9990
  */
9810
9991
  memory_id: string;
9992
+ /**
9993
+ * Maximum number of results to return
9994
+ */
9995
+ limit?: number;
9996
+ /**
9997
+ * Number of results to skip
9998
+ */
9999
+ offset?: number;
9811
10000
  };
9812
10001
  url: '/api/v1/memory-entries';
9813
10002
  };
@@ -9833,7 +10022,12 @@ type ListMemoryEntriesResponses = {
9833
10022
  /**
9834
10023
  * List of memory entries
9835
10024
  */
9836
- 200: Array<MemoryEntry>;
10025
+ 200: {
10026
+ data: Array<MemoryEntry>;
10027
+ total: number;
10028
+ limit: number;
10029
+ offset: number;
10030
+ };
9837
10031
  };
9838
10032
  type ListMemoryEntriesResponse = ListMemoryEntriesResponses[keyof ListMemoryEntriesResponses];
9839
10033
  type CreateMemoryEntryData = {
@@ -10028,6 +10222,14 @@ type ListOrchestrationsData = {
10028
10222
  * Filter by project public ID
10029
10223
  */
10030
10224
  project_id?: string;
10225
+ /**
10226
+ * Maximum number of results to return
10227
+ */
10228
+ limit?: number;
10229
+ /**
10230
+ * Number of results to skip
10231
+ */
10232
+ offset?: number;
10031
10233
  };
10032
10234
  url: '/api/v1/orchestrations';
10033
10235
  };
@@ -10045,7 +10247,12 @@ type ListOrchestrationsResponses = {
10045
10247
  /**
10046
10248
  * List of orchestrations
10047
10249
  */
10048
- 200: Array<Orchestration>;
10250
+ 200: {
10251
+ data: Array<Orchestration>;
10252
+ total: number;
10253
+ limit: number;
10254
+ offset: number;
10255
+ };
10049
10256
  };
10050
10257
  type ListOrchestrationsResponse = ListOrchestrationsResponses[keyof ListOrchestrationsResponses];
10051
10258
  type CreateOrchestrationData = {
@@ -10225,6 +10432,14 @@ type ListOrchestrationRunsData = {
10225
10432
  * Filter by orchestration public ID (orch_...)
10226
10433
  */
10227
10434
  orchestration_id?: string;
10435
+ /**
10436
+ * Maximum number of results to return
10437
+ */
10438
+ limit?: number;
10439
+ /**
10440
+ * Number of results to skip
10441
+ */
10442
+ offset?: number;
10228
10443
  };
10229
10444
  url: '/api/v1/orchestration-runs';
10230
10445
  };
@@ -10242,7 +10457,12 @@ type ListOrchestrationRunsResponses = {
10242
10457
  /**
10243
10458
  * List of runs
10244
10459
  */
10245
- 200: Array<OrchestrationRun>;
10460
+ 200: {
10461
+ data: Array<OrchestrationRun>;
10462
+ total: number;
10463
+ limit: number;
10464
+ offset: number;
10465
+ };
10246
10466
  };
10247
10467
  type ListOrchestrationRunsResponse = ListOrchestrationRunsResponses[keyof ListOrchestrationRunsResponses];
10248
10468
  type StartOrchestrationRunData = {
@@ -10428,6 +10648,14 @@ type ListPoliciesData = {
10428
10648
  * Return only policies attached to this user (user_...)
10429
10649
  */
10430
10650
  user_id?: string;
10651
+ /**
10652
+ * Maximum number of results to return
10653
+ */
10654
+ limit?: number;
10655
+ /**
10656
+ * Number of results to skip
10657
+ */
10658
+ offset?: number;
10431
10659
  };
10432
10660
  url: '/api/v1/policies';
10433
10661
  };
@@ -10445,7 +10673,12 @@ type ListPoliciesResponses = {
10445
10673
  /**
10446
10674
  * List of policies
10447
10675
  */
10448
- 200: Array<PolicyRecord>;
10676
+ 200: {
10677
+ data: Array<PolicyRecord>;
10678
+ total: number;
10679
+ limit: number;
10680
+ offset: number;
10681
+ };
10449
10682
  };
10450
10683
  type ListPoliciesResponse = ListPoliciesResponses[keyof ListPoliciesResponses];
10451
10684
  type CreatePolicyData = {
@@ -10588,7 +10821,16 @@ type UpdatePolicyResponse = UpdatePolicyResponses[keyof UpdatePolicyResponses];
10588
10821
  type ListProjectsData = {
10589
10822
  body?: never;
10590
10823
  path?: never;
10591
- query?: never;
10824
+ query?: {
10825
+ /**
10826
+ * Maximum number of results to return
10827
+ */
10828
+ limit?: number;
10829
+ /**
10830
+ * Number of results to skip
10831
+ */
10832
+ offset?: number;
10833
+ };
10592
10834
  url: '/api/v1/projects';
10593
10835
  };
10594
10836
  type ListProjectsErrors = {
@@ -10601,7 +10843,12 @@ type ListProjectsResponses = {
10601
10843
  /**
10602
10844
  * List of projects
10603
10845
  */
10604
- 200: Array<ProjectRecord>;
10846
+ 200: {
10847
+ data: Array<ProjectRecord>;
10848
+ total: number;
10849
+ limit: number;
10850
+ offset: number;
10851
+ };
10605
10852
  };
10606
10853
  type ListProjectsResponse = ListProjectsResponses[keyof ListProjectsResponses];
10607
10854
  type CreateProjectData = {
@@ -10834,6 +11081,14 @@ type ListQuotasData = {
10834
11081
  * Project ID (required if not using project key auth)
10835
11082
  */
10836
11083
  project_id?: string;
11084
+ /**
11085
+ * Maximum number of results to return
11086
+ */
11087
+ limit?: number;
11088
+ /**
11089
+ * Number of results to skip
11090
+ */
11091
+ offset?: number;
10837
11092
  };
10838
11093
  url: '/api/v1/quotas';
10839
11094
  };
@@ -10855,7 +11110,12 @@ type ListQuotasResponses = {
10855
11110
  /**
10856
11111
  * List of quotas
10857
11112
  */
10858
- 200: Array<Quota>;
11113
+ 200: {
11114
+ data: Array<Quota>;
11115
+ total: number;
11116
+ limit: number;
11117
+ offset: number;
11118
+ };
10859
11119
  };
10860
11120
  type ListQuotasResponse = ListQuotasResponses[keyof ListQuotasResponses];
10861
11121
  type CreateQuotaData = {
@@ -11068,17 +11328,22 @@ type ListSecretsResponses = {
11068
11328
  /**
11069
11329
  * List of secrets
11070
11330
  */
11071
- 200: Array<{
11072
- id?: string;
11073
- name?: string;
11074
- /**
11075
- * Whether an encrypted value is stored for this secret
11076
- */
11077
- has_value?: boolean;
11078
- project_id?: string;
11079
- created_at?: Date;
11080
- updated_at?: Date;
11081
- }>;
11331
+ 200: {
11332
+ data: Array<{
11333
+ id?: string;
11334
+ name?: string;
11335
+ /**
11336
+ * Whether an encrypted value is stored for this secret
11337
+ */
11338
+ has_value?: boolean;
11339
+ project_id?: string;
11340
+ created_at?: Date;
11341
+ updated_at?: Date;
11342
+ }>;
11343
+ total: number;
11344
+ limit: number;
11345
+ offset: number;
11346
+ };
11082
11347
  };
11083
11348
  type ListSecretsResponse = ListSecretsResponses[keyof ListSecretsResponses];
11084
11349
  type CreateSecretData = {
@@ -11677,6 +11942,14 @@ type ListTasksData = {
11677
11942
  state?: string;
11678
11943
  status?: 'open' | 'closed';
11679
11944
  assignee?: string;
11945
+ /**
11946
+ * Maximum number of results to return
11947
+ */
11948
+ limit?: number;
11949
+ /**
11950
+ * Number of results to skip
11951
+ */
11952
+ offset?: number;
11680
11953
  };
11681
11954
  url: '/api/v1/tasks';
11682
11955
  };
@@ -11694,7 +11967,12 @@ type ListTasksResponses = {
11694
11967
  /**
11695
11968
  * A list of tasks
11696
11969
  */
11697
- 200: Array<Task>;
11970
+ 200: {
11971
+ data: Array<Task>;
11972
+ total: number;
11973
+ limit: number;
11974
+ offset: number;
11975
+ };
11698
11976
  };
11699
11977
  type ListTasksResponse = ListTasksResponses[keyof ListTasksResponses];
11700
11978
  type CreateTaskData = {
@@ -11893,6 +12171,14 @@ type ListToolsData = {
11893
12171
  * Project public ID to filter by
11894
12172
  */
11895
12173
  project_id?: string;
12174
+ /**
12175
+ * Maximum number of results to return
12176
+ */
12177
+ limit?: number;
12178
+ /**
12179
+ * Number of results to skip
12180
+ */
12181
+ offset?: number;
11896
12182
  };
11897
12183
  url: '/api/v1/tools';
11898
12184
  };
@@ -11912,7 +12198,10 @@ type ListToolsResponses = {
11912
12198
  * List of tools
11913
12199
  */
11914
12200
  200: {
11915
- data?: Array<Tool>;
12201
+ data: Array<Tool>;
12202
+ total: number;
12203
+ limit: number;
12204
+ offset: number;
11916
12205
  };
11917
12206
  };
11918
12207
  type ListToolsResponse = ListToolsResponses[keyof ListToolsResponses];
@@ -12200,6 +12489,14 @@ type ListTriggersData = {
12200
12489
  project_id?: string;
12201
12490
  type?: 'manual' | 'webhook' | 'schedule';
12202
12491
  target_type?: 'orchestration' | 'agent' | 'tool';
12492
+ /**
12493
+ * Maximum number of results to return
12494
+ */
12495
+ limit?: number;
12496
+ /**
12497
+ * Number of results to skip
12498
+ */
12499
+ offset?: number;
12203
12500
  };
12204
12501
  url: '/api/v1/triggers';
12205
12502
  };
@@ -12217,7 +12514,12 @@ type ListTriggersResponses = {
12217
12514
  /**
12218
12515
  * A list of triggers
12219
12516
  */
12220
- 200: Array<Trigger>;
12517
+ 200: {
12518
+ data: Array<Trigger>;
12519
+ total: number;
12520
+ limit: number;
12521
+ offset: number;
12522
+ };
12221
12523
  };
12222
12524
  type ListTriggersResponse = ListTriggersResponses[keyof ListTriggersResponses];
12223
12525
  type CreateTriggerData = {
@@ -12617,6 +12919,14 @@ type ListUsageThresholdsData = {
12617
12919
  * Filter by project public ID
12618
12920
  */
12619
12921
  project_id?: string;
12922
+ /**
12923
+ * Maximum number of results to return
12924
+ */
12925
+ limit?: number;
12926
+ /**
12927
+ * Number of results to skip
12928
+ */
12929
+ offset?: number;
12620
12930
  };
12621
12931
  url: '/api/v1/usage/thresholds';
12622
12932
  };
@@ -12636,7 +12946,10 @@ type ListUsageThresholdsResponses = {
12636
12946
  * The usage thresholds
12637
12947
  */
12638
12948
  200: {
12639
- data?: Array<UsageThreshold>;
12949
+ data: Array<UsageThreshold>;
12950
+ total: number;
12951
+ limit: number;
12952
+ offset: number;
12640
12953
  };
12641
12954
  };
12642
12955
  type ListUsageThresholdsResponse = ListUsageThresholdsResponses[keyof ListUsageThresholdsResponses];
@@ -12811,7 +13124,16 @@ type GetCurrentUserResponse = GetCurrentUserResponses[keyof GetCurrentUserRespon
12811
13124
  type ListUsersData = {
12812
13125
  body?: never;
12813
13126
  path?: never;
12814
- query?: never;
13127
+ query?: {
13128
+ /**
13129
+ * Maximum number of results to return
13130
+ */
13131
+ limit?: number;
13132
+ /**
13133
+ * Number of results to skip
13134
+ */
13135
+ offset?: number;
13136
+ };
12815
13137
  url: '/api/v1/users';
12816
13138
  };
12817
13139
  type ListUsersErrors = {
@@ -12825,7 +13147,12 @@ type ListUsersResponses = {
12825
13147
  /**
12826
13148
  * List of users returned successfully
12827
13149
  */
12828
- 200: Array<UserRecord>;
13150
+ 200: {
13151
+ data: Array<UserRecord>;
13152
+ total: number;
13153
+ limit: number;
13154
+ offset: number;
13155
+ };
12829
13156
  };
12830
13157
  type ListUsersResponse = ListUsersResponses[keyof ListUsersResponses];
12831
13158
  type CreateUserData = {
@@ -13011,6 +13338,14 @@ type ListWebhooksData = {
13011
13338
  path?: never;
13012
13339
  query?: {
13013
13340
  project_id?: string;
13341
+ /**
13342
+ * Maximum number of results to return
13343
+ */
13344
+ limit?: number;
13345
+ /**
13346
+ * Number of results to skip
13347
+ */
13348
+ offset?: number;
13014
13349
  };
13015
13350
  url: '/api/v1/webhooks';
13016
13351
  };
@@ -13028,7 +13363,12 @@ type ListWebhooksResponses = {
13028
13363
  /**
13029
13364
  * A list of webhooks
13030
13365
  */
13031
- 200: Array<Webhook>;
13366
+ 200: {
13367
+ data: Array<Webhook>;
13368
+ total: number;
13369
+ limit: number;
13370
+ offset: number;
13371
+ };
13032
13372
  };
13033
13373
  type ListWebhooksResponse = ListWebhooksResponses[keyof ListWebhooksResponses];
13034
13374
  type CreateWebhookData = {
@@ -13275,6 +13615,14 @@ type ListWorkflowsData = {
13275
13615
  path?: never;
13276
13616
  query?: {
13277
13617
  project_id?: string;
13618
+ /**
13619
+ * Maximum number of results to return
13620
+ */
13621
+ limit?: number;
13622
+ /**
13623
+ * Number of results to skip
13624
+ */
13625
+ offset?: number;
13278
13626
  };
13279
13627
  url: '/api/v1/workflows';
13280
13628
  };
@@ -13292,7 +13640,12 @@ type ListWorkflowsResponses = {
13292
13640
  /**
13293
13641
  * A list of workflows
13294
13642
  */
13295
- 200: Array<Workflow>;
13643
+ 200: {
13644
+ data: Array<Workflow>;
13645
+ total: number;
13646
+ limit: number;
13647
+ offset: number;
13648
+ };
13296
13649
  };
13297
13650
  type ListWorkflowsResponse = ListWorkflowsResponses[keyof ListWorkflowsResponses];
13298
13651
  type CreateWorkflowData = {