@lobehub/sdk 1.0.20261118164652 → 1.1.0

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.
@@ -261,6 +261,28 @@ type ChatGroupMember = {
261
261
  order: number | null;
262
262
  role: 'supervisor' | 'participant' | 'assistant' | null;
263
263
  };
264
+ type DocumentSummary = {
265
+ createdAt: string;
266
+ fileType: string;
267
+ id: string;
268
+ parentId: string | null;
269
+ slug: string | null;
270
+ title: string | null;
271
+ updatedAt: string;
272
+ };
273
+ type Document = {
274
+ createdAt: string;
275
+ fileType: string;
276
+ id: string;
277
+ parentId: string | null;
278
+ slug: string | null;
279
+ title: string | null;
280
+ updatedAt: string;
281
+ /**
282
+ * Markdown body.
283
+ */
284
+ content: string | null;
285
+ };
264
286
  type EvalRun = {
265
287
  config: {
266
288
  caseSelection?: {
@@ -962,10 +984,10 @@ type GoalGraphWorkVersionLink = {
962
984
  identifier: string | null;
963
985
  mimeType?: string;
964
986
  resourceId: string | null;
965
- resourceType?: 'canvas' | 'document' | 'github_issue' | 'github_pull_request' | 'linear_document' | 'linear_issue' | 'file' | 'goal_report' | 'task';
987
+ resourceType?: 'artboard' | 'canvas' | 'document' | 'github_issue' | 'github_pull_request' | 'linear_document' | 'linear_issue' | 'link' | 'file' | 'collection' | 'goal_report' | 'task';
966
988
  status: string | null;
967
989
  title: string | null;
968
- type: 'canvas' | 'document' | 'external' | 'file' | 'goal_report' | 'task';
990
+ type: 'artboard' | 'canvas' | 'document' | 'external' | 'file' | 'collection' | 'goal_report' | 'task';
969
991
  url: string | null;
970
992
  workId: string;
971
993
  };
@@ -1789,6 +1811,110 @@ type ResponseUsage = {
1789
1811
  };
1790
1812
  total_tokens: number;
1791
1813
  };
1814
+ type ResponseStreamEvent = ResponseCreatedEvent | ResponseInProgressEvent | ResponseCompletedEvent | ResponseFailedEvent | ResponseIncompleteEvent | ResponseOutputItemAddedEvent | ResponseOutputItemDoneEvent | ResponseContentPartAddedEvent | ResponseContentPartDoneEvent | ResponseOutputTextDeltaEvent | ResponseOutputTextDoneEvent | ResponseFunctionCallArgumentsDeltaEvent | ResponseFunctionCallArgumentsDoneEvent;
1815
+ type ResponseCreatedEvent = {
1816
+ sequence_number: number;
1817
+ type: 'response.created';
1818
+ response: ResponseObject;
1819
+ };
1820
+ type ResponseInProgressEvent = {
1821
+ sequence_number: number;
1822
+ type: 'response.in_progress';
1823
+ response: ResponseObject;
1824
+ };
1825
+ type ResponseCompletedEvent = {
1826
+ sequence_number: number;
1827
+ type: 'response.completed';
1828
+ response: ResponseObject;
1829
+ };
1830
+ type ResponseFailedEvent = {
1831
+ sequence_number: number;
1832
+ type: 'response.failed';
1833
+ response: ResponseObject;
1834
+ };
1835
+ type ResponseIncompleteEvent = {
1836
+ sequence_number: number;
1837
+ type: 'response.incomplete';
1838
+ response: ResponseObject;
1839
+ };
1840
+ type ResponseOutputItemAddedEvent = {
1841
+ sequence_number: number;
1842
+ type: 'response.output_item.added';
1843
+ item: ResponseOutputItem;
1844
+ output_index: number;
1845
+ };
1846
+ type ResponseOutputItemDoneEvent = {
1847
+ sequence_number: number;
1848
+ type: 'response.output_item.done';
1849
+ item: ResponseOutputItem;
1850
+ output_index: number;
1851
+ };
1852
+ type ResponseContentPartAddedEvent = {
1853
+ sequence_number: number;
1854
+ type: 'response.content_part.added';
1855
+ item_id: string;
1856
+ output_index: number;
1857
+ content_index: number;
1858
+ part: ResponseOutputText;
1859
+ };
1860
+ type ResponseContentPartDoneEvent = {
1861
+ sequence_number: number;
1862
+ type: 'response.content_part.done';
1863
+ item_id: string;
1864
+ output_index: number;
1865
+ content_index: number;
1866
+ part: ResponseOutputText;
1867
+ };
1868
+ type ResponseOutputTextDeltaEvent = {
1869
+ sequence_number: number;
1870
+ type: 'response.output_text.delta';
1871
+ item_id: string;
1872
+ output_index: number;
1873
+ content_index: number;
1874
+ delta: string;
1875
+ logprobs: Array<{
1876
+ bytes: Array<number>;
1877
+ logprob: number;
1878
+ token: string;
1879
+ top_logprobs: Array<{
1880
+ bytes: Array<number>;
1881
+ logprob: number;
1882
+ token: string;
1883
+ }>;
1884
+ }>;
1885
+ };
1886
+ type ResponseOutputTextDoneEvent = {
1887
+ sequence_number: number;
1888
+ type: 'response.output_text.done';
1889
+ item_id: string;
1890
+ output_index: number;
1891
+ content_index: number;
1892
+ logprobs: Array<{
1893
+ bytes: Array<number>;
1894
+ logprob: number;
1895
+ token: string;
1896
+ top_logprobs: Array<{
1897
+ bytes: Array<number>;
1898
+ logprob: number;
1899
+ token: string;
1900
+ }>;
1901
+ }>;
1902
+ text: string;
1903
+ };
1904
+ type ResponseFunctionCallArgumentsDeltaEvent = {
1905
+ sequence_number: number;
1906
+ type: 'response.function_call_arguments.delta';
1907
+ item_id: string;
1908
+ output_index: number;
1909
+ delta: string;
1910
+ };
1911
+ type ResponseFunctionCallArgumentsDoneEvent = {
1912
+ sequence_number: number;
1913
+ type: 'response.function_call_arguments.done';
1914
+ item_id: string;
1915
+ output_index: number;
1916
+ arguments: string;
1917
+ };
1792
1918
  type RoleList = {
1793
1919
  hasMore: PageHasMore;
1794
1920
  nextCursor: PageNextCursor;
@@ -2521,6 +2647,10 @@ type Usage = {
2521
2647
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
2522
2648
  */
2523
2649
  type IdempotencyKey = string;
2650
+ /**
2651
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2652
+ */
2653
+ type WorkspaceId = string;
2524
2654
  type GetApiV1HealthData = {
2525
2655
  body?: never;
2526
2656
  path?: never;
@@ -2540,6 +2670,12 @@ type GetApiV1HealthResponses = {
2540
2670
  type GetApiV1HealthResponse = GetApiV1HealthResponses[keyof GetApiV1HealthResponses];
2541
2671
  type GetApiV1AgentGroupsData = {
2542
2672
  body?: never;
2673
+ headers?: {
2674
+ /**
2675
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2676
+ */
2677
+ 'X-Workspace-Id'?: string;
2678
+ };
2543
2679
  path?: never;
2544
2680
  query?: {
2545
2681
  /**
@@ -2605,6 +2741,10 @@ type PostApiV1AgentGroupsData = {
2605
2741
  sort?: number | null;
2606
2742
  };
2607
2743
  headers?: {
2744
+ /**
2745
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2746
+ */
2747
+ 'X-Workspace-Id'?: string;
2608
2748
  /**
2609
2749
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
2610
2750
  */
@@ -2651,6 +2791,12 @@ type PostApiV1AgentGroupsResponses = {
2651
2791
  type PostApiV1AgentGroupsResponse = PostApiV1AgentGroupsResponses[keyof PostApiV1AgentGroupsResponses];
2652
2792
  type DeleteApiV1AgentGroupsByIdData = {
2653
2793
  body?: never;
2794
+ headers?: {
2795
+ /**
2796
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2797
+ */
2798
+ 'X-Workspace-Id'?: string;
2799
+ };
2654
2800
  path: {
2655
2801
  id: string;
2656
2802
  };
@@ -2694,6 +2840,12 @@ type DeleteApiV1AgentGroupsByIdResponses = {
2694
2840
  type DeleteApiV1AgentGroupsByIdResponse = DeleteApiV1AgentGroupsByIdResponses[keyof DeleteApiV1AgentGroupsByIdResponses];
2695
2841
  type GetApiV1AgentGroupsByIdData = {
2696
2842
  body?: never;
2843
+ headers?: {
2844
+ /**
2845
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2846
+ */
2847
+ 'X-Workspace-Id'?: string;
2848
+ };
2697
2849
  path: {
2698
2850
  id: string;
2699
2851
  };
@@ -2744,6 +2896,12 @@ type PatchApiV1AgentGroupsByIdData = {
2744
2896
  name?: string | null;
2745
2897
  sort?: number | null;
2746
2898
  };
2899
+ headers?: {
2900
+ /**
2901
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2902
+ */
2903
+ 'X-Workspace-Id'?: string;
2904
+ };
2747
2905
  path: {
2748
2906
  id: string;
2749
2907
  };
@@ -2787,6 +2945,12 @@ type PatchApiV1AgentGroupsByIdResponses = {
2787
2945
  type PatchApiV1AgentGroupsByIdResponse = PatchApiV1AgentGroupsByIdResponses[keyof PatchApiV1AgentGroupsByIdResponses];
2788
2946
  type GetApiV1AgentsData = {
2789
2947
  body?: never;
2948
+ headers?: {
2949
+ /**
2950
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
2951
+ */
2952
+ 'X-Workspace-Id'?: string;
2953
+ };
2790
2954
  path?: never;
2791
2955
  query?: {
2792
2956
  /**
@@ -2933,6 +3097,10 @@ type PostApiV1AgentsData = {
2933
3097
  title: string;
2934
3098
  };
2935
3099
  headers?: {
3100
+ /**
3101
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3102
+ */
3103
+ 'X-Workspace-Id'?: string;
2936
3104
  /**
2937
3105
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
2938
3106
  */
@@ -2979,6 +3147,12 @@ type PostApiV1AgentsResponses = {
2979
3147
  type PostApiV1AgentsResponse = PostApiV1AgentsResponses[keyof PostApiV1AgentsResponses];
2980
3148
  type DeleteApiV1AgentsByIdData = {
2981
3149
  body?: never;
3150
+ headers?: {
3151
+ /**
3152
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3153
+ */
3154
+ 'X-Workspace-Id'?: string;
3155
+ };
2982
3156
  path: {
2983
3157
  id: string;
2984
3158
  };
@@ -3022,6 +3196,12 @@ type DeleteApiV1AgentsByIdResponses = {
3022
3196
  type DeleteApiV1AgentsByIdResponse = DeleteApiV1AgentsByIdResponses[keyof DeleteApiV1AgentsByIdResponses];
3023
3197
  type GetApiV1AgentsByIdData = {
3024
3198
  body?: never;
3199
+ headers?: {
3200
+ /**
3201
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3202
+ */
3203
+ 'X-Workspace-Id'?: string;
3204
+ };
3025
3205
  path: {
3026
3206
  id: string;
3027
3207
  };
@@ -3150,6 +3330,12 @@ type PatchApiV1AgentsByIdData = {
3150
3330
  systemRole?: string | null;
3151
3331
  title?: string;
3152
3332
  };
3333
+ headers?: {
3334
+ /**
3335
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3336
+ */
3337
+ 'X-Workspace-Id'?: string;
3338
+ };
3153
3339
  path: {
3154
3340
  id: string;
3155
3341
  };
@@ -3196,6 +3382,10 @@ type PostApiV1AgentsByIdDuplicateData = {
3196
3382
  title?: string;
3197
3383
  };
3198
3384
  headers?: {
3385
+ /**
3386
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3387
+ */
3388
+ 'X-Workspace-Id'?: string;
3199
3389
  /**
3200
3390
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
3201
3391
  */
@@ -3248,6 +3438,12 @@ type PostApiV1AgentsByIdDuplicateResponses = {
3248
3438
  type PostApiV1AgentsByIdDuplicateResponse = PostApiV1AgentsByIdDuplicateResponses[keyof PostApiV1AgentsByIdDuplicateResponses];
3249
3439
  type GetApiV1AgentsByIdAccountsData = {
3250
3440
  body?: never;
3441
+ headers?: {
3442
+ /**
3443
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3444
+ */
3445
+ 'X-Workspace-Id'?: string;
3446
+ };
3251
3447
  path: {
3252
3448
  id: string;
3253
3449
  };
@@ -3316,6 +3512,10 @@ type PostApiV1AgentsByIdAccountsData = {
3316
3512
  provider: string;
3317
3513
  };
3318
3514
  headers?: {
3515
+ /**
3516
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3517
+ */
3518
+ 'X-Workspace-Id'?: string;
3319
3519
  /**
3320
3520
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
3321
3521
  */
@@ -3372,6 +3572,12 @@ type PostApiV1AgentsByIdAccountsResponses = {
3372
3572
  type PostApiV1AgentsByIdAccountsResponse = PostApiV1AgentsByIdAccountsResponses[keyof PostApiV1AgentsByIdAccountsResponses];
3373
3573
  type DeleteApiV1AgentsByIdAccountsByAccountIdData = {
3374
3574
  body?: never;
3575
+ headers?: {
3576
+ /**
3577
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3578
+ */
3579
+ 'X-Workspace-Id'?: string;
3580
+ };
3375
3581
  path: {
3376
3582
  accountId: string;
3377
3583
  id: string;
@@ -3423,6 +3629,12 @@ type DeleteApiV1AgentsByIdAccountsByAccountIdResponses = {
3423
3629
  type DeleteApiV1AgentsByIdAccountsByAccountIdResponse = DeleteApiV1AgentsByIdAccountsByAccountIdResponses[keyof DeleteApiV1AgentsByIdAccountsByAccountIdResponses];
3424
3630
  type GetApiV1AgentsByIdAccountsByAccountIdData = {
3425
3631
  body?: never;
3632
+ headers?: {
3633
+ /**
3634
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3635
+ */
3636
+ 'X-Workspace-Id'?: string;
3637
+ };
3426
3638
  path: {
3427
3639
  accountId: string;
3428
3640
  id: string;
@@ -3482,6 +3694,12 @@ type PatchApiV1AgentsByIdAccountsByAccountIdData = {
3482
3694
  [key: string]: unknown;
3483
3695
  };
3484
3696
  };
3697
+ headers?: {
3698
+ /**
3699
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3700
+ */
3701
+ 'X-Workspace-Id'?: string;
3702
+ };
3485
3703
  path: {
3486
3704
  accountId: string;
3487
3705
  id: string;
@@ -3543,6 +3761,12 @@ type PutApiV1AgentsByIdAccountsByAccountIdCredentialData = {
3543
3761
  username?: string;
3544
3762
  };
3545
3763
  };
3764
+ headers?: {
3765
+ /**
3766
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3767
+ */
3768
+ 'X-Workspace-Id'?: string;
3769
+ };
3546
3770
  path: {
3547
3771
  accountId: string;
3548
3772
  id: string;
@@ -3591,6 +3815,12 @@ type PutApiV1AgentsByIdAccountsByAccountIdCredentialResponses = {
3591
3815
  type PutApiV1AgentsByIdAccountsByAccountIdCredentialResponse = PutApiV1AgentsByIdAccountsByAccountIdCredentialResponses[keyof PutApiV1AgentsByIdAccountsByAccountIdCredentialResponses];
3592
3816
  type GetApiV1ApiKeysData = {
3593
3817
  body?: never;
3818
+ headers?: {
3819
+ /**
3820
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3821
+ */
3822
+ 'X-Workspace-Id'?: string;
3823
+ };
3594
3824
  path?: never;
3595
3825
  query?: {
3596
3826
  /**
@@ -3657,6 +3887,10 @@ type PostApiV1ApiKeysData = {
3657
3887
  scopes?: Array<'*' | 'agent:read' | 'agent:write' | 'agent:credential:write' | 'eval:read' | 'eval:write' | 'chat:read' | 'chat:write' | 'model:invoke' | 'model:read' | 'model:write' | 'file:read' | 'file:write' | 'knowledge:read' | 'knowledge:write' | 'mcp:read' | 'mcp:write' | 'usage:read' | 'workspace:read' | 'workspace:write' | 'user:read' | 'user:write'> | null;
3658
3888
  };
3659
3889
  headers?: {
3890
+ /**
3891
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3892
+ */
3893
+ 'X-Workspace-Id'?: string;
3660
3894
  /**
3661
3895
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
3662
3896
  */
@@ -3703,6 +3937,12 @@ type PostApiV1ApiKeysResponses = {
3703
3937
  type PostApiV1ApiKeysResponse = PostApiV1ApiKeysResponses[keyof PostApiV1ApiKeysResponses];
3704
3938
  type DeleteApiV1ApiKeysByIdData = {
3705
3939
  body?: never;
3940
+ headers?: {
3941
+ /**
3942
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3943
+ */
3944
+ 'X-Workspace-Id'?: string;
3945
+ };
3706
3946
  path: {
3707
3947
  id: string;
3708
3948
  };
@@ -3750,6 +3990,12 @@ type DeleteApiV1ApiKeysByIdResponses = {
3750
3990
  type DeleteApiV1ApiKeysByIdResponse = DeleteApiV1ApiKeysByIdResponses[keyof DeleteApiV1ApiKeysByIdResponses];
3751
3991
  type GetApiV1ApiKeysByIdData = {
3752
3992
  body?: never;
3993
+ headers?: {
3994
+ /**
3995
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
3996
+ */
3997
+ 'X-Workspace-Id'?: string;
3998
+ };
3753
3999
  path: {
3754
4000
  id: string;
3755
4001
  };
@@ -3801,6 +4047,12 @@ type PatchApiV1ApiKeysByIdData = {
3801
4047
  expiresAt?: string | null;
3802
4048
  name?: string;
3803
4049
  };
4050
+ headers?: {
4051
+ /**
4052
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4053
+ */
4054
+ 'X-Workspace-Id'?: string;
4055
+ };
3804
4056
  path: {
3805
4057
  id: string;
3806
4058
  };
@@ -3849,6 +4101,10 @@ type PatchApiV1ApiKeysByIdResponse = PatchApiV1ApiKeysByIdResponses[keyof PatchA
3849
4101
  type PostApiV1AudioSpeechData = {
3850
4102
  body?: never;
3851
4103
  headers?: {
4104
+ /**
4105
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4106
+ */
4107
+ 'X-Workspace-Id'?: string;
3852
4108
  /**
3853
4109
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
3854
4110
  */
@@ -3947,6 +4203,10 @@ type PostApiV1ChatData = {
3947
4203
  top_p?: number;
3948
4204
  };
3949
4205
  headers?: {
4206
+ /**
4207
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4208
+ */
4209
+ 'X-Workspace-Id'?: string;
3950
4210
  /**
3951
4211
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
3952
4212
  */
@@ -4000,6 +4260,10 @@ type PostApiV1ChatTranslateData = {
4000
4260
  to: string;
4001
4261
  };
4002
4262
  headers?: {
4263
+ /**
4264
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4265
+ */
4266
+ 'X-Workspace-Id'?: string;
4003
4267
  /**
4004
4268
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
4005
4269
  */
@@ -4073,6 +4337,10 @@ type PostApiV1ChatGenerateReplyData = {
4073
4337
  userMessage: string;
4074
4338
  };
4075
4339
  headers?: {
4340
+ /**
4341
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4342
+ */
4343
+ 'X-Workspace-Id'?: string;
4076
4344
  /**
4077
4345
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
4078
4346
  */
@@ -4119,6 +4387,12 @@ type PostApiV1ChatGenerateReplyResponses = {
4119
4387
  type PostApiV1ChatGenerateReplyResponse = PostApiV1ChatGenerateReplyResponses[keyof PostApiV1ChatGenerateReplyResponses];
4120
4388
  type GetApiV1ChatGroupsData = {
4121
4389
  body?: never;
4390
+ headers?: {
4391
+ /**
4392
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4393
+ */
4394
+ 'X-Workspace-Id'?: string;
4395
+ };
4122
4396
  path?: never;
4123
4397
  query?: {
4124
4398
  /**
@@ -4193,6 +4467,10 @@ type PostApiV1ChatGroupsData = {
4193
4467
  title: string;
4194
4468
  };
4195
4469
  headers?: {
4470
+ /**
4471
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4472
+ */
4473
+ 'X-Workspace-Id'?: string;
4196
4474
  /**
4197
4475
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
4198
4476
  */
@@ -4247,6 +4525,12 @@ type PostApiV1ChatGroupsResponses = {
4247
4525
  type PostApiV1ChatGroupsResponse = PostApiV1ChatGroupsResponses[keyof PostApiV1ChatGroupsResponses];
4248
4526
  type DeleteApiV1ChatGroupsByIdData = {
4249
4527
  body?: never;
4528
+ headers?: {
4529
+ /**
4530
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4531
+ */
4532
+ 'X-Workspace-Id'?: string;
4533
+ };
4250
4534
  path: {
4251
4535
  id: string;
4252
4536
  };
@@ -4294,6 +4578,12 @@ type DeleteApiV1ChatGroupsByIdResponses = {
4294
4578
  type DeleteApiV1ChatGroupsByIdResponse = DeleteApiV1ChatGroupsByIdResponses[keyof DeleteApiV1ChatGroupsByIdResponses];
4295
4579
  type GetApiV1ChatGroupsByIdData = {
4296
4580
  body?: never;
4581
+ headers?: {
4582
+ /**
4583
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4584
+ */
4585
+ 'X-Workspace-Id'?: string;
4586
+ };
4297
4587
  path: {
4298
4588
  id: string;
4299
4589
  };
@@ -4348,6 +4638,12 @@ type PatchApiV1ChatGroupsByIdData = {
4348
4638
  pinned?: boolean;
4349
4639
  title?: string;
4350
4640
  };
4641
+ headers?: {
4642
+ /**
4643
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4644
+ */
4645
+ 'X-Workspace-Id'?: string;
4646
+ };
4351
4647
  path: {
4352
4648
  id: string;
4353
4649
  };
@@ -4401,6 +4697,12 @@ type DeleteApiV1ChatGroupsByIdMembersData = {
4401
4697
  body: {
4402
4698
  agentIds: Array<string>;
4403
4699
  };
4700
+ headers?: {
4701
+ /**
4702
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4703
+ */
4704
+ 'X-Workspace-Id'?: string;
4705
+ };
4404
4706
  path: {
4405
4707
  id: string;
4406
4708
  };
@@ -4455,6 +4757,10 @@ type PostApiV1ChatGroupsByIdMembersData = {
4455
4757
  agentIds: Array<string>;
4456
4758
  };
4457
4759
  headers?: {
4760
+ /**
4761
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4762
+ */
4763
+ 'X-Workspace-Id'?: string;
4458
4764
  /**
4459
4765
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
4460
4766
  */
@@ -4505,8 +4811,14 @@ type PostApiV1ChatGroupsByIdMembersResponses = {
4505
4811
  };
4506
4812
  };
4507
4813
  type PostApiV1ChatGroupsByIdMembersResponse = PostApiV1ChatGroupsByIdMembersResponses[keyof PostApiV1ChatGroupsByIdMembersResponses];
4508
- type GetApiV1EvalRunsData = {
4814
+ type GetApiV1DocumentsData = {
4509
4815
  body?: never;
4816
+ headers?: {
4817
+ /**
4818
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4819
+ */
4820
+ 'X-Workspace-Id'?: string;
4821
+ };
4510
4822
  path?: never;
4511
4823
  query?: {
4512
4824
  /**
@@ -4518,30 +4830,13 @@ type GetApiV1EvalRunsData = {
4518
4830
  */
4519
4831
  limit?: number;
4520
4832
  /**
4521
- * Deprecated: use `cursor` instead.
4522
- *
4523
- * @deprecated
4524
- */
4525
- offset?: number;
4526
- /**
4527
- * Deprecated: use `cursor` instead.
4528
- *
4529
- * @deprecated
4530
- */
4531
- page?: number;
4532
- /**
4533
- * Deprecated: use `limit` instead.
4534
- *
4535
- * @deprecated
4833
+ * Only list the direct children of this folder (id or slug).
4536
4834
  */
4537
- pageSize?: number;
4538
- experimentId?: string;
4539
- datasetId?: string;
4540
- status?: 'idle' | 'pending' | 'running' | 'completed' | 'failed' | 'aborted' | 'external';
4835
+ parentId?: string;
4541
4836
  };
4542
- url: '/api/v1/eval/runs';
4837
+ url: '/api/v1/documents';
4543
4838
  };
4544
- type GetApiV1EvalRunsErrors = {
4839
+ type GetApiV1DocumentsErrors = {
4545
4840
  /**
4546
4841
  * Invalid request
4547
4842
  */
@@ -4563,16 +4858,16 @@ type GetApiV1EvalRunsErrors = {
4563
4858
  */
4564
4859
  500: ApiError;
4565
4860
  };
4566
- type GetApiV1EvalRunsError = GetApiV1EvalRunsErrors[keyof GetApiV1EvalRunsErrors];
4567
- type GetApiV1EvalRunsResponses = {
4861
+ type GetApiV1DocumentsError = GetApiV1DocumentsErrors[keyof GetApiV1DocumentsErrors];
4862
+ type GetApiV1DocumentsResponses = {
4568
4863
  /**
4569
4864
  * Successful response
4570
4865
  */
4571
4866
  200: {
4572
4867
  data: {
4868
+ items: Array<DocumentSummary>;
4573
4869
  hasMore: PageHasMore;
4574
4870
  nextCursor: PageNextCursor;
4575
- runs: Array<EvalRun>;
4576
4871
  total: PageTotal;
4577
4872
  };
4578
4873
  message?: string;
@@ -4580,29 +4875,28 @@ type GetApiV1EvalRunsResponses = {
4580
4875
  timestamp: string;
4581
4876
  };
4582
4877
  };
4583
- type GetApiV1EvalRunsResponse = GetApiV1EvalRunsResponses[keyof GetApiV1EvalRunsResponses];
4584
- type PostApiV1EvalRunsData = {
4878
+ type GetApiV1DocumentsResponse = GetApiV1DocumentsResponses[keyof GetApiV1DocumentsResponses];
4879
+ type PostApiV1DocumentsData = {
4585
4880
  body: {
4586
- config?: {
4587
- maxConcurrency?: number;
4588
- caseSelection?: {
4589
- mode: 'all';
4590
- } | {
4591
- mode: 'include' | 'exclude';
4592
- caseIds: Array<string>;
4593
- };
4594
- k?: number;
4595
- maxSteps?: number;
4596
- timeout?: number;
4597
- };
4598
- executionMode?: 'internal' | 'external';
4599
- experimentId?: string;
4600
- datasetId: string;
4601
- id?: string;
4602
- name?: string;
4603
- targetAgentId: string;
4881
+ /**
4882
+ * Markdown body. Omit for a folder.
4883
+ */
4884
+ content?: string;
4885
+ /**
4886
+ * `custom/folder` creates a folder; defaults to a page (`custom/document`).
4887
+ */
4888
+ fileType?: string;
4889
+ /**
4890
+ * Folder to create in (id or slug).
4891
+ */
4892
+ parentId?: string;
4893
+ title: string;
4604
4894
  };
4605
4895
  headers?: {
4896
+ /**
4897
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4898
+ */
4899
+ 'X-Workspace-Id'?: string;
4606
4900
  /**
4607
4901
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
4608
4902
  */
@@ -4610,9 +4904,9 @@ type PostApiV1EvalRunsData = {
4610
4904
  };
4611
4905
  path?: never;
4612
4906
  query?: never;
4613
- url: '/api/v1/eval/runs';
4907
+ url: '/api/v1/documents';
4614
4908
  };
4615
- type PostApiV1EvalRunsErrors = {
4909
+ type PostApiV1DocumentsErrors = {
4616
4910
  /**
4617
4911
  * Invalid request
4618
4912
  */
@@ -4629,10 +4923,6 @@ type PostApiV1EvalRunsErrors = {
4629
4923
  * Resource not found
4630
4924
  */
4631
4925
  404: ApiError;
4632
- /**
4633
- * Resource conflict
4634
- */
4635
- 409: ApiError;
4636
4926
  /**
4637
4927
  * Rate limit exceeded
4638
4928
  */
@@ -4642,47 +4932,325 @@ type PostApiV1EvalRunsErrors = {
4642
4932
  */
4643
4933
  500: ApiError;
4644
4934
  };
4645
- type PostApiV1EvalRunsError = PostApiV1EvalRunsErrors[keyof PostApiV1EvalRunsErrors];
4646
- type PostApiV1EvalRunsResponses = {
4935
+ type PostApiV1DocumentsError = PostApiV1DocumentsErrors[keyof PostApiV1DocumentsErrors];
4936
+ type PostApiV1DocumentsResponses = {
4647
4937
  /**
4648
4938
  * Successful response
4649
4939
  */
4650
- 202: {
4651
- data: EvalRun;
4940
+ 201: {
4941
+ data: Document;
4652
4942
  message?: string;
4653
4943
  success: true;
4654
4944
  timestamp: string;
4655
4945
  };
4656
4946
  };
4657
- type PostApiV1EvalRunsResponse = PostApiV1EvalRunsResponses[keyof PostApiV1EvalRunsResponses];
4658
- type GetApiV1EvalRunsByIdTopicsData = {
4947
+ type PostApiV1DocumentsResponse = PostApiV1DocumentsResponses[keyof PostApiV1DocumentsResponses];
4948
+ type GetApiV1DocumentsByIdData = {
4659
4949
  body?: never;
4950
+ headers?: {
4951
+ /**
4952
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
4953
+ */
4954
+ 'X-Workspace-Id'?: string;
4955
+ };
4660
4956
  path: {
4661
4957
  id: string;
4662
4958
  };
4663
- query?: {
4664
- /**
4665
- * Opaque cursor from the previous page's `nextCursor`. Omit for the first page.
4666
- */
4667
- cursor?: string;
4668
- /**
4669
- * Page size, 1–100. Defaults to 20.
4670
- */
4671
- limit?: number;
4672
- /**
4673
- * Deprecated: use `cursor` instead.
4674
- *
4675
- * @deprecated
4676
- */
4677
- offset?: number;
4678
- /**
4679
- * Deprecated: use `cursor` instead.
4680
- *
4681
- * @deprecated
4682
- */
4683
- page?: number;
4684
- /**
4685
- * Deprecated: use `limit` instead.
4959
+ query?: never;
4960
+ url: '/api/v1/documents/{id}';
4961
+ };
4962
+ type GetApiV1DocumentsByIdErrors = {
4963
+ /**
4964
+ * Invalid request
4965
+ */
4966
+ 400: ApiError;
4967
+ /**
4968
+ * Authentication required
4969
+ */
4970
+ 401: ApiError;
4971
+ /**
4972
+ * Insufficient permission
4973
+ */
4974
+ 403: ApiError;
4975
+ /**
4976
+ * Resource not found
4977
+ */
4978
+ 404: ApiError;
4979
+ /**
4980
+ * Rate limit exceeded
4981
+ */
4982
+ 429: ApiError;
4983
+ /**
4984
+ * Internal server error
4985
+ */
4986
+ 500: ApiError;
4987
+ };
4988
+ type GetApiV1DocumentsByIdError = GetApiV1DocumentsByIdErrors[keyof GetApiV1DocumentsByIdErrors];
4989
+ type GetApiV1DocumentsByIdResponses = {
4990
+ /**
4991
+ * Successful response
4992
+ */
4993
+ 200: {
4994
+ data: Document;
4995
+ message?: string;
4996
+ success: true;
4997
+ timestamp: string;
4998
+ };
4999
+ };
5000
+ type GetApiV1DocumentsByIdResponse = GetApiV1DocumentsByIdResponses[keyof GetApiV1DocumentsByIdResponses];
5001
+ type PatchApiV1DocumentsByIdData = {
5002
+ body: {
5003
+ /**
5004
+ * Markdown body; replaces the whole body.
5005
+ */
5006
+ content?: string;
5007
+ title?: string;
5008
+ };
5009
+ headers?: {
5010
+ /**
5011
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5012
+ */
5013
+ 'X-Workspace-Id'?: string;
5014
+ };
5015
+ path: {
5016
+ id: string;
5017
+ };
5018
+ query?: never;
5019
+ url: '/api/v1/documents/{id}';
5020
+ };
5021
+ type PatchApiV1DocumentsByIdErrors = {
5022
+ /**
5023
+ * Invalid request
5024
+ */
5025
+ 400: ApiError;
5026
+ /**
5027
+ * Authentication required
5028
+ */
5029
+ 401: ApiError;
5030
+ /**
5031
+ * Insufficient permission
5032
+ */
5033
+ 403: ApiError;
5034
+ /**
5035
+ * Resource not found
5036
+ */
5037
+ 404: ApiError;
5038
+ /**
5039
+ * Rate limit exceeded
5040
+ */
5041
+ 429: ApiError;
5042
+ /**
5043
+ * Internal server error
5044
+ */
5045
+ 500: ApiError;
5046
+ };
5047
+ type PatchApiV1DocumentsByIdError = PatchApiV1DocumentsByIdErrors[keyof PatchApiV1DocumentsByIdErrors];
5048
+ type PatchApiV1DocumentsByIdResponses = {
5049
+ /**
5050
+ * Successful response
5051
+ */
5052
+ 200: {
5053
+ data: Document;
5054
+ message?: string;
5055
+ success: true;
5056
+ timestamp: string;
5057
+ };
5058
+ };
5059
+ type PatchApiV1DocumentsByIdResponse = PatchApiV1DocumentsByIdResponses[keyof PatchApiV1DocumentsByIdResponses];
5060
+ type GetApiV1EvalRunsData = {
5061
+ body?: never;
5062
+ headers?: {
5063
+ /**
5064
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5065
+ */
5066
+ 'X-Workspace-Id'?: string;
5067
+ };
5068
+ path?: never;
5069
+ query?: {
5070
+ /**
5071
+ * Opaque cursor from the previous page's `nextCursor`. Omit for the first page.
5072
+ */
5073
+ cursor?: string;
5074
+ /**
5075
+ * Page size, 1–100. Defaults to 20.
5076
+ */
5077
+ limit?: number;
5078
+ /**
5079
+ * Deprecated: use `cursor` instead.
5080
+ *
5081
+ * @deprecated
5082
+ */
5083
+ offset?: number;
5084
+ /**
5085
+ * Deprecated: use `cursor` instead.
5086
+ *
5087
+ * @deprecated
5088
+ */
5089
+ page?: number;
5090
+ /**
5091
+ * Deprecated: use `limit` instead.
5092
+ *
5093
+ * @deprecated
5094
+ */
5095
+ pageSize?: number;
5096
+ experimentId?: string;
5097
+ datasetId?: string;
5098
+ status?: 'idle' | 'pending' | 'running' | 'completed' | 'failed' | 'aborted' | 'external';
5099
+ };
5100
+ url: '/api/v1/eval/runs';
5101
+ };
5102
+ type GetApiV1EvalRunsErrors = {
5103
+ /**
5104
+ * Invalid request
5105
+ */
5106
+ 400: ApiError;
5107
+ /**
5108
+ * Authentication required
5109
+ */
5110
+ 401: ApiError;
5111
+ /**
5112
+ * Insufficient permission
5113
+ */
5114
+ 403: ApiError;
5115
+ /**
5116
+ * Rate limit exceeded
5117
+ */
5118
+ 429: ApiError;
5119
+ /**
5120
+ * Internal server error
5121
+ */
5122
+ 500: ApiError;
5123
+ };
5124
+ type GetApiV1EvalRunsError = GetApiV1EvalRunsErrors[keyof GetApiV1EvalRunsErrors];
5125
+ type GetApiV1EvalRunsResponses = {
5126
+ /**
5127
+ * Successful response
5128
+ */
5129
+ 200: {
5130
+ data: {
5131
+ hasMore: PageHasMore;
5132
+ nextCursor: PageNextCursor;
5133
+ runs: Array<EvalRun>;
5134
+ total: PageTotal;
5135
+ };
5136
+ message?: string;
5137
+ success: true;
5138
+ timestamp: string;
5139
+ };
5140
+ };
5141
+ type GetApiV1EvalRunsResponse = GetApiV1EvalRunsResponses[keyof GetApiV1EvalRunsResponses];
5142
+ type PostApiV1EvalRunsData = {
5143
+ body: {
5144
+ config?: {
5145
+ maxConcurrency?: number;
5146
+ caseSelection?: {
5147
+ mode: 'all';
5148
+ } | {
5149
+ mode: 'include' | 'exclude';
5150
+ caseIds: Array<string>;
5151
+ };
5152
+ k?: number;
5153
+ maxSteps?: number;
5154
+ timeout?: number;
5155
+ };
5156
+ executionMode?: 'internal' | 'external';
5157
+ experimentId?: string;
5158
+ datasetId: string;
5159
+ id?: string;
5160
+ name?: string;
5161
+ targetAgentId: string;
5162
+ };
5163
+ headers?: {
5164
+ /**
5165
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5166
+ */
5167
+ 'X-Workspace-Id'?: string;
5168
+ /**
5169
+ * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
5170
+ */
5171
+ 'Idempotency-Key'?: string;
5172
+ };
5173
+ path?: never;
5174
+ query?: never;
5175
+ url: '/api/v1/eval/runs';
5176
+ };
5177
+ type PostApiV1EvalRunsErrors = {
5178
+ /**
5179
+ * Invalid request
5180
+ */
5181
+ 400: ApiError;
5182
+ /**
5183
+ * Authentication required
5184
+ */
5185
+ 401: ApiError;
5186
+ /**
5187
+ * Insufficient permission
5188
+ */
5189
+ 403: ApiError;
5190
+ /**
5191
+ * Resource not found
5192
+ */
5193
+ 404: ApiError;
5194
+ /**
5195
+ * Resource conflict
5196
+ */
5197
+ 409: ApiError;
5198
+ /**
5199
+ * Rate limit exceeded
5200
+ */
5201
+ 429: ApiError;
5202
+ /**
5203
+ * Internal server error
5204
+ */
5205
+ 500: ApiError;
5206
+ };
5207
+ type PostApiV1EvalRunsError = PostApiV1EvalRunsErrors[keyof PostApiV1EvalRunsErrors];
5208
+ type PostApiV1EvalRunsResponses = {
5209
+ /**
5210
+ * Successful response
5211
+ */
5212
+ 202: {
5213
+ data: EvalRun;
5214
+ message?: string;
5215
+ success: true;
5216
+ timestamp: string;
5217
+ };
5218
+ };
5219
+ type PostApiV1EvalRunsResponse = PostApiV1EvalRunsResponses[keyof PostApiV1EvalRunsResponses];
5220
+ type GetApiV1EvalRunsByIdTopicsData = {
5221
+ body?: never;
5222
+ headers?: {
5223
+ /**
5224
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5225
+ */
5226
+ 'X-Workspace-Id'?: string;
5227
+ };
5228
+ path: {
5229
+ id: string;
5230
+ };
5231
+ query?: {
5232
+ /**
5233
+ * Opaque cursor from the previous page's `nextCursor`. Omit for the first page.
5234
+ */
5235
+ cursor?: string;
5236
+ /**
5237
+ * Page size, 1–100. Defaults to 20.
5238
+ */
5239
+ limit?: number;
5240
+ /**
5241
+ * Deprecated: use `cursor` instead.
5242
+ *
5243
+ * @deprecated
5244
+ */
5245
+ offset?: number;
5246
+ /**
5247
+ * Deprecated: use `cursor` instead.
5248
+ *
5249
+ * @deprecated
5250
+ */
5251
+ page?: number;
5252
+ /**
5253
+ * Deprecated: use `limit` instead.
4686
5254
  *
4687
5255
  * @deprecated
4688
5256
  */
@@ -4737,6 +5305,12 @@ type GetApiV1EvalRunsByIdTopicsResponses = {
4737
5305
  type GetApiV1EvalRunsByIdTopicsResponse = GetApiV1EvalRunsByIdTopicsResponses[keyof GetApiV1EvalRunsByIdTopicsResponses];
4738
5306
  type GetApiV1EvalRunsByIdData = {
4739
5307
  body?: never;
5308
+ headers?: {
5309
+ /**
5310
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5311
+ */
5312
+ 'X-Workspace-Id'?: string;
5313
+ };
4740
5314
  path: {
4741
5315
  id: string;
4742
5316
  };
@@ -4784,6 +5358,12 @@ type GetApiV1EvalRunsByIdResponses = {
4784
5358
  type GetApiV1EvalRunsByIdResponse = GetApiV1EvalRunsByIdResponses[keyof GetApiV1EvalRunsByIdResponses];
4785
5359
  type GetApiV1EvalRunsByIdResultsData = {
4786
5360
  body?: never;
5361
+ headers?: {
5362
+ /**
5363
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5364
+ */
5365
+ 'X-Workspace-Id'?: string;
5366
+ };
4787
5367
  path: {
4788
5368
  id: string;
4789
5369
  };
@@ -4876,6 +5456,10 @@ type PostApiV1EvalRunsByIdResultsData = {
4876
5456
  }>;
4877
5457
  };
4878
5458
  headers?: {
5459
+ /**
5460
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5461
+ */
5462
+ 'X-Workspace-Id'?: string;
4879
5463
  /**
4880
5464
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
4881
5465
  */
@@ -4932,6 +5516,12 @@ type PostApiV1EvalRunsByIdResultsResponses = {
4932
5516
  type PostApiV1EvalRunsByIdResultsResponse = PostApiV1EvalRunsByIdResultsResponses[keyof PostApiV1EvalRunsByIdResultsResponses];
4933
5517
  type GetApiV1EvalBenchmarksData = {
4934
5518
  body?: never;
5519
+ headers?: {
5520
+ /**
5521
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5522
+ */
5523
+ 'X-Workspace-Id'?: string;
5524
+ };
4935
5525
  path?: never;
4936
5526
  query?: {
4937
5527
  /**
@@ -5079,6 +5669,10 @@ type PostApiV1EvalBenchmarksData = {
5079
5669
  }>;
5080
5670
  };
5081
5671
  headers?: {
5672
+ /**
5673
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5674
+ */
5675
+ 'X-Workspace-Id'?: string;
5082
5676
  /**
5083
5677
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
5084
5678
  */
@@ -5129,6 +5723,12 @@ type PostApiV1EvalBenchmarksResponses = {
5129
5723
  type PostApiV1EvalBenchmarksResponse = PostApiV1EvalBenchmarksResponses[keyof PostApiV1EvalBenchmarksResponses];
5130
5724
  type DeleteApiV1EvalBenchmarksByIdData = {
5131
5725
  body?: never;
5726
+ headers?: {
5727
+ /**
5728
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5729
+ */
5730
+ 'X-Workspace-Id'?: string;
5731
+ };
5132
5732
  path: {
5133
5733
  id: string;
5134
5734
  };
@@ -5176,6 +5776,12 @@ type DeleteApiV1EvalBenchmarksByIdResponses = {
5176
5776
  type DeleteApiV1EvalBenchmarksByIdResponse = DeleteApiV1EvalBenchmarksByIdResponses[keyof DeleteApiV1EvalBenchmarksByIdResponses];
5177
5777
  type GetApiV1EvalBenchmarksByIdData = {
5178
5778
  body?: never;
5779
+ headers?: {
5780
+ /**
5781
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5782
+ */
5783
+ 'X-Workspace-Id'?: string;
5784
+ };
5179
5785
  path: {
5180
5786
  id: string;
5181
5787
  };
@@ -5295,6 +5901,12 @@ type PatchApiV1EvalBenchmarksByIdData = {
5295
5901
  };
5296
5902
  }>;
5297
5903
  };
5904
+ headers?: {
5905
+ /**
5906
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5907
+ */
5908
+ 'X-Workspace-Id'?: string;
5909
+ };
5298
5910
  path: {
5299
5911
  id: string;
5300
5912
  };
@@ -5346,6 +5958,12 @@ type PatchApiV1EvalBenchmarksByIdResponses = {
5346
5958
  type PatchApiV1EvalBenchmarksByIdResponse = PatchApiV1EvalBenchmarksByIdResponses[keyof PatchApiV1EvalBenchmarksByIdResponses];
5347
5959
  type GetApiV1EvalDatasetsData = {
5348
5960
  body?: never;
5961
+ headers?: {
5962
+ /**
5963
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
5964
+ */
5965
+ 'X-Workspace-Id'?: string;
5966
+ };
5349
5967
  path?: never;
5350
5968
  query?: {
5351
5969
  /**
@@ -5434,6 +6052,10 @@ type PostApiV1EvalDatasetsData = {
5434
6052
  evalMode?: 'equals' | 'contains' | 'regex' | 'starts-with' | 'ends-with' | 'any-of' | 'numeric' | 'extract-match' | 'json-schema' | 'javascript' | 'python' | 'llm-rubric' | 'factuality' | 'answer-relevance' | 'similar' | 'levenshtein' | 'rubric' | 'external' | null;
5435
6053
  };
5436
6054
  headers?: {
6055
+ /**
6056
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6057
+ */
6058
+ 'X-Workspace-Id'?: string;
5437
6059
  /**
5438
6060
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
5439
6061
  */
@@ -5488,6 +6110,12 @@ type PostApiV1EvalDatasetsResponses = {
5488
6110
  type PostApiV1EvalDatasetsResponse = PostApiV1EvalDatasetsResponses[keyof PostApiV1EvalDatasetsResponses];
5489
6111
  type DeleteApiV1EvalDatasetsByIdData = {
5490
6112
  body?: never;
6113
+ headers?: {
6114
+ /**
6115
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6116
+ */
6117
+ 'X-Workspace-Id'?: string;
6118
+ };
5491
6119
  path: {
5492
6120
  id: string;
5493
6121
  };
@@ -5535,6 +6163,12 @@ type DeleteApiV1EvalDatasetsByIdResponses = {
5535
6163
  type DeleteApiV1EvalDatasetsByIdResponse = DeleteApiV1EvalDatasetsByIdResponses[keyof DeleteApiV1EvalDatasetsByIdResponses];
5536
6164
  type GetApiV1EvalDatasetsByIdData = {
5537
6165
  body?: never;
6166
+ headers?: {
6167
+ /**
6168
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6169
+ */
6170
+ 'X-Workspace-Id'?: string;
6171
+ };
5538
6172
  path: {
5539
6173
  id: string;
5540
6174
  };
@@ -5594,6 +6228,12 @@ type PatchApiV1EvalDatasetsByIdData = {
5594
6228
  } | null;
5595
6229
  evalMode?: 'equals' | 'contains' | 'regex' | 'starts-with' | 'ends-with' | 'any-of' | 'numeric' | 'extract-match' | 'json-schema' | 'javascript' | 'python' | 'llm-rubric' | 'factuality' | 'answer-relevance' | 'similar' | 'levenshtein' | 'rubric' | 'external' | null;
5596
6230
  };
6231
+ headers?: {
6232
+ /**
6233
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6234
+ */
6235
+ 'X-Workspace-Id'?: string;
6236
+ };
5597
6237
  path: {
5598
6238
  id: string;
5599
6239
  };
@@ -5645,6 +6285,12 @@ type PatchApiV1EvalDatasetsByIdResponses = {
5645
6285
  type PatchApiV1EvalDatasetsByIdResponse = PatchApiV1EvalDatasetsByIdResponses[keyof PatchApiV1EvalDatasetsByIdResponses];
5646
6286
  type GetApiV1EvalDatasetsByDatasetIdTestCasesData = {
5647
6287
  body?: never;
6288
+ headers?: {
6289
+ /**
6290
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6291
+ */
6292
+ 'X-Workspace-Id'?: string;
6293
+ };
5648
6294
  path: {
5649
6295
  datasetId: string;
5650
6296
  };
@@ -5784,6 +6430,10 @@ type PostApiV1EvalDatasetsByDatasetIdTestCasesData = {
5784
6430
  } | null;
5785
6431
  };
5786
6432
  headers?: {
6433
+ /**
6434
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6435
+ */
6436
+ 'X-Workspace-Id'?: string;
5787
6437
  /**
5788
6438
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
5789
6439
  */
@@ -5840,6 +6490,12 @@ type PostApiV1EvalDatasetsByDatasetIdTestCasesResponses = {
5840
6490
  type PostApiV1EvalDatasetsByDatasetIdTestCasesResponse = PostApiV1EvalDatasetsByDatasetIdTestCasesResponses[keyof PostApiV1EvalDatasetsByDatasetIdTestCasesResponses];
5841
6491
  type DeleteApiV1EvalTestCasesByIdData = {
5842
6492
  body?: never;
6493
+ headers?: {
6494
+ /**
6495
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6496
+ */
6497
+ 'X-Workspace-Id'?: string;
6498
+ };
5843
6499
  path: {
5844
6500
  id: string;
5845
6501
  };
@@ -5887,6 +6543,12 @@ type DeleteApiV1EvalTestCasesByIdResponses = {
5887
6543
  type DeleteApiV1EvalTestCasesByIdResponse = DeleteApiV1EvalTestCasesByIdResponses[keyof DeleteApiV1EvalTestCasesByIdResponses];
5888
6544
  type GetApiV1EvalTestCasesByIdData = {
5889
6545
  body?: never;
6546
+ headers?: {
6547
+ /**
6548
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6549
+ */
6550
+ 'X-Workspace-Id'?: string;
6551
+ };
5890
6552
  path: {
5891
6553
  id: string;
5892
6554
  };
@@ -5992,6 +6654,12 @@ type PatchApiV1EvalTestCasesByIdData = {
5992
6654
  [key: string]: unknown;
5993
6655
  } | null;
5994
6656
  };
6657
+ headers?: {
6658
+ /**
6659
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6660
+ */
6661
+ 'X-Workspace-Id'?: string;
6662
+ };
5995
6663
  path: {
5996
6664
  id: string;
5997
6665
  };
@@ -6040,6 +6708,10 @@ type PatchApiV1EvalTestCasesByIdResponse = PatchApiV1EvalTestCasesByIdResponses[
6040
6708
  type PostApiV1EvalRunsByIdClaimData = {
6041
6709
  body?: never;
6042
6710
  headers?: {
6711
+ /**
6712
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6713
+ */
6714
+ 'X-Workspace-Id'?: string;
6043
6715
  /**
6044
6716
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6045
6717
  */
@@ -6098,6 +6770,12 @@ type PatchApiV1EvalRunsByIdStatusData = {
6098
6770
  body: {
6099
6771
  status: 'running' | 'external' | 'completed' | 'failed' | 'aborted';
6100
6772
  };
6773
+ headers?: {
6774
+ /**
6775
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6776
+ */
6777
+ 'X-Workspace-Id'?: string;
6778
+ };
6101
6779
  path: {
6102
6780
  id: string;
6103
6781
  };
@@ -6150,6 +6828,10 @@ type PatchApiV1EvalRunsByIdStatusResponse = PatchApiV1EvalRunsByIdStatusResponse
6150
6828
  type PostApiV1EvalRunsByIdRetryErrorsData = {
6151
6829
  body?: never;
6152
6830
  headers?: {
6831
+ /**
6832
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6833
+ */
6834
+ 'X-Workspace-Id'?: string;
6153
6835
  /**
6154
6836
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6155
6837
  */
@@ -6214,6 +6896,12 @@ type PutApiV1EvalRunsByRunIdTopicsByTopicIdResultData = {
6214
6896
  };
6215
6897
  threadId?: string;
6216
6898
  };
6899
+ headers?: {
6900
+ /**
6901
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6902
+ */
6903
+ 'X-Workspace-Id'?: string;
6904
+ };
6217
6905
  path: {
6218
6906
  runId: string;
6219
6907
  topicId: string;
@@ -6266,6 +6954,12 @@ type PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponses = {
6266
6954
  type PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponse = PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponses[keyof PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponses];
6267
6955
  type GetApiV1PluginsData = {
6268
6956
  body?: never;
6957
+ headers?: {
6958
+ /**
6959
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
6960
+ */
6961
+ 'X-Workspace-Id'?: string;
6962
+ };
6269
6963
  path?: never;
6270
6964
  query?: {
6271
6965
  /**
@@ -6334,6 +7028,12 @@ type GetApiV1PluginsResponses = {
6334
7028
  type GetApiV1PluginsResponse = GetApiV1PluginsResponses[keyof GetApiV1PluginsResponses];
6335
7029
  type GetApiV1FilesData = {
6336
7030
  body?: never;
7031
+ headers?: {
7032
+ /**
7033
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7034
+ */
7035
+ 'X-Workspace-Id'?: string;
7036
+ };
6337
7037
  path?: never;
6338
7038
  query?: {
6339
7039
  /**
@@ -6412,6 +7112,10 @@ type PostApiV1FilesData = {
6412
7112
  skipDeduplication?: boolean;
6413
7113
  };
6414
7114
  headers?: {
7115
+ /**
7116
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7117
+ */
7118
+ 'X-Workspace-Id'?: string;
6415
7119
  /**
6416
7120
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6417
7121
  */
@@ -6458,6 +7162,12 @@ type PostApiV1FilesResponses = {
6458
7162
  type PostApiV1FilesResponse = PostApiV1FilesResponses[keyof PostApiV1FilesResponses];
6459
7163
  type DeleteApiV1FilesByIdData = {
6460
7164
  body?: never;
7165
+ headers?: {
7166
+ /**
7167
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7168
+ */
7169
+ 'X-Workspace-Id'?: string;
7170
+ };
6461
7171
  path: {
6462
7172
  id: string;
6463
7173
  };
@@ -6501,6 +7211,12 @@ type DeleteApiV1FilesByIdResponses = {
6501
7211
  type DeleteApiV1FilesByIdResponse = DeleteApiV1FilesByIdResponses[keyof DeleteApiV1FilesByIdResponses];
6502
7212
  type GetApiV1FilesByIdData = {
6503
7213
  body?: never;
7214
+ headers?: {
7215
+ /**
7216
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7217
+ */
7218
+ 'X-Workspace-Id'?: string;
7219
+ };
6504
7220
  path: {
6505
7221
  id: string;
6506
7222
  };
@@ -6546,6 +7262,12 @@ type PatchApiV1FilesByIdData = {
6546
7262
  body: {
6547
7263
  knowledgeBaseId?: string | null;
6548
7264
  };
7265
+ headers?: {
7266
+ /**
7267
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7268
+ */
7269
+ 'X-Workspace-Id'?: string;
7270
+ };
6549
7271
  path: {
6550
7272
  id: string;
6551
7273
  };
@@ -6593,6 +7315,12 @@ type PatchApiV1FilesByIdResponses = {
6593
7315
  type PatchApiV1FilesByIdResponse = PatchApiV1FilesByIdResponses[keyof PatchApiV1FilesByIdResponses];
6594
7316
  type GetApiV1FilesByIdUrlData = {
6595
7317
  body?: never;
7318
+ headers?: {
7319
+ /**
7320
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7321
+ */
7322
+ 'X-Workspace-Id'?: string;
7323
+ };
6596
7324
  path: {
6597
7325
  id: string;
6598
7326
  };
@@ -6639,6 +7367,10 @@ type GetApiV1FilesByIdUrlResponse = GetApiV1FilesByIdUrlResponses[keyof GetApiV1
6639
7367
  type PostApiV1FilesByIdParsesData = {
6640
7368
  body?: never;
6641
7369
  headers?: {
7370
+ /**
7371
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7372
+ */
7373
+ 'X-Workspace-Id'?: string;
6642
7374
  /**
6643
7375
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6644
7376
  */
@@ -6689,6 +7421,12 @@ type PostApiV1FilesByIdParsesResponses = {
6689
7421
  type PostApiV1FilesByIdParsesResponse = PostApiV1FilesByIdParsesResponses[keyof PostApiV1FilesByIdParsesResponses];
6690
7422
  type GetApiV1FilesByIdChunksData = {
6691
7423
  body?: never;
7424
+ headers?: {
7425
+ /**
7426
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7427
+ */
7428
+ 'X-Workspace-Id'?: string;
7429
+ };
6692
7430
  path: {
6693
7431
  id: string;
6694
7432
  };
@@ -6736,6 +7474,10 @@ type PostApiV1FilesByIdChunksData = {
6736
7474
  skipExist?: boolean;
6737
7475
  };
6738
7476
  headers?: {
7477
+ /**
7478
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7479
+ */
7480
+ 'X-Workspace-Id'?: string;
6739
7481
  /**
6740
7482
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6741
7483
  */
@@ -6792,6 +7534,10 @@ type PostApiV1FilesBatchesData = {
6792
7534
  skipCheckFileType?: boolean;
6793
7535
  };
6794
7536
  headers?: {
7537
+ /**
7538
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7539
+ */
7540
+ 'X-Workspace-Id'?: string;
6795
7541
  /**
6796
7542
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6797
7543
  */
@@ -6841,6 +7587,10 @@ type PostApiV1FilesQueriesData = {
6841
7587
  fileIds: Array<string>;
6842
7588
  };
6843
7589
  headers?: {
7590
+ /**
7591
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7592
+ */
7593
+ 'X-Workspace-Id'?: string;
6844
7594
  /**
6845
7595
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6846
7596
  */
@@ -6887,6 +7637,12 @@ type PostApiV1FilesQueriesResponses = {
6887
7637
  type PostApiV1FilesQueriesResponse = PostApiV1FilesQueriesResponses[keyof PostApiV1FilesQueriesResponses];
6888
7638
  type GetApiV1GoalsData = {
6889
7639
  body?: never;
7640
+ headers?: {
7641
+ /**
7642
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7643
+ */
7644
+ 'X-Workspace-Id'?: string;
7645
+ };
6890
7646
  path?: never;
6891
7647
  query?: {
6892
7648
  agentId?: string;
@@ -6968,6 +7724,10 @@ type PostApiV1GoalsData = {
6968
7724
  title: string;
6969
7725
  };
6970
7726
  headers?: {
7727
+ /**
7728
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7729
+ */
7730
+ 'X-Workspace-Id'?: string;
6971
7731
  /**
6972
7732
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
6973
7733
  */
@@ -7018,6 +7778,12 @@ type PostApiV1GoalsResponses = {
7018
7778
  type PostApiV1GoalsResponse = PostApiV1GoalsResponses[keyof PostApiV1GoalsResponses];
7019
7779
  type DeleteApiV1GoalsByIdData = {
7020
7780
  body?: never;
7781
+ headers?: {
7782
+ /**
7783
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7784
+ */
7785
+ 'X-Workspace-Id'?: string;
7786
+ };
7021
7787
  path: {
7022
7788
  id: string;
7023
7789
  };
@@ -7073,6 +7839,12 @@ type DeleteApiV1GoalsByIdResponses = {
7073
7839
  type DeleteApiV1GoalsByIdResponse = DeleteApiV1GoalsByIdResponses[keyof DeleteApiV1GoalsByIdResponses];
7074
7840
  type GetApiV1GoalsByIdData = {
7075
7841
  body?: never;
7842
+ headers?: {
7843
+ /**
7844
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7845
+ */
7846
+ 'X-Workspace-Id'?: string;
7847
+ };
7076
7848
  path: {
7077
7849
  id: string;
7078
7850
  };
@@ -7132,6 +7904,12 @@ type PatchApiV1GoalsByIdData = {
7132
7904
  };
7133
7905
  requirement?: string;
7134
7906
  };
7907
+ headers?: {
7908
+ /**
7909
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7910
+ */
7911
+ 'X-Workspace-Id'?: string;
7912
+ };
7135
7913
  path: {
7136
7914
  id: string;
7137
7915
  };
@@ -7179,6 +7957,12 @@ type PatchApiV1GoalsByIdResponses = {
7179
7957
  type PatchApiV1GoalsByIdResponse = PatchApiV1GoalsByIdResponses[keyof PatchApiV1GoalsByIdResponses];
7180
7958
  type GetApiV1GoalsByIdSupervisionData = {
7181
7959
  body?: never;
7960
+ headers?: {
7961
+ /**
7962
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
7963
+ */
7964
+ 'X-Workspace-Id'?: string;
7965
+ };
7182
7966
  path: {
7183
7967
  id: string;
7184
7968
  };
@@ -7227,6 +8011,10 @@ type GetApiV1GoalsByIdSupervisionResponse = GetApiV1GoalsByIdSupervisionResponse
7227
8011
  type PostApiV1GoalsByIdAdvanceData = {
7228
8012
  body?: never;
7229
8013
  headers?: {
8014
+ /**
8015
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8016
+ */
8017
+ 'X-Workspace-Id'?: string;
7230
8018
  /**
7231
8019
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7232
8020
  */
@@ -7280,6 +8068,10 @@ type PostApiV1GoalsByIdAdvanceResponse = PostApiV1GoalsByIdAdvanceResponses[keyo
7280
8068
  type PostApiV1GoalsByIdPauseData = {
7281
8069
  body?: never;
7282
8070
  headers?: {
8071
+ /**
8072
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8073
+ */
8074
+ 'X-Workspace-Id'?: string;
7283
8075
  /**
7284
8076
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7285
8077
  */
@@ -7341,6 +8133,10 @@ type PostApiV1GoalsByIdPauseResponse = PostApiV1GoalsByIdPauseResponses[keyof Po
7341
8133
  type PostApiV1GoalsByIdResumeData = {
7342
8134
  body?: never;
7343
8135
  headers?: {
8136
+ /**
8137
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8138
+ */
8139
+ 'X-Workspace-Id'?: string;
7344
8140
  /**
7345
8141
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7346
8142
  */
@@ -7404,6 +8200,10 @@ type PostApiV1GoalsByIdRestartData = {
7404
8200
  agentId?: string;
7405
8201
  };
7406
8202
  headers?: {
8203
+ /**
8204
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8205
+ */
8206
+ 'X-Workspace-Id'?: string;
7407
8207
  /**
7408
8208
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7409
8209
  */
@@ -7475,6 +8275,10 @@ type PostApiV1ImMessagesData = {
7475
8275
  topicId?: string | null;
7476
8276
  };
7477
8277
  headers?: {
8278
+ /**
8279
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8280
+ */
8281
+ 'X-Workspace-Id'?: string;
7478
8282
  /**
7479
8283
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7480
8284
  */
@@ -7529,6 +8333,12 @@ type PostApiV1ImMessagesResponses = {
7529
8333
  type PostApiV1ImMessagesResponse = PostApiV1ImMessagesResponses[keyof PostApiV1ImMessagesResponses];
7530
8334
  type GetApiV1ImTopicsByTopicIdSyncData = {
7531
8335
  body?: never;
8336
+ headers?: {
8337
+ /**
8338
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8339
+ */
8340
+ 'X-Workspace-Id'?: string;
8341
+ };
7532
8342
  path: {
7533
8343
  topicId: string;
7534
8344
  };
@@ -7584,6 +8394,10 @@ type PostApiV1ImTopicsByTopicIdReadData = {
7584
8394
  messageId: string;
7585
8395
  };
7586
8396
  headers?: {
8397
+ /**
8398
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8399
+ */
8400
+ 'X-Workspace-Id'?: string;
7587
8401
  /**
7588
8402
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7589
8403
  */
@@ -7636,6 +8450,12 @@ type PostApiV1ImTopicsByTopicIdReadResponses = {
7636
8450
  type PostApiV1ImTopicsByTopicIdReadResponse = PostApiV1ImTopicsByTopicIdReadResponses[keyof PostApiV1ImTopicsByTopicIdReadResponses];
7637
8451
  type GetApiV1KnowledgeBasesData = {
7638
8452
  body?: never;
8453
+ headers?: {
8454
+ /**
8455
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8456
+ */
8457
+ 'X-Workspace-Id'?: string;
8458
+ };
7639
8459
  path?: never;
7640
8460
  query?: {
7641
8461
  /**
@@ -7704,6 +8524,10 @@ type PostApiV1KnowledgeBasesData = {
7704
8524
  name: string;
7705
8525
  };
7706
8526
  headers?: {
8527
+ /**
8528
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8529
+ */
8530
+ 'X-Workspace-Id'?: string;
7707
8531
  /**
7708
8532
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
7709
8533
  */
@@ -7750,6 +8574,12 @@ type PostApiV1KnowledgeBasesResponses = {
7750
8574
  type PostApiV1KnowledgeBasesResponse = PostApiV1KnowledgeBasesResponses[keyof PostApiV1KnowledgeBasesResponses];
7751
8575
  type DeleteApiV1KnowledgeBasesByIdData = {
7752
8576
  body?: never;
8577
+ headers?: {
8578
+ /**
8579
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8580
+ */
8581
+ 'X-Workspace-Id'?: string;
8582
+ };
7753
8583
  path: {
7754
8584
  id: string;
7755
8585
  };
@@ -7797,6 +8627,12 @@ type DeleteApiV1KnowledgeBasesByIdResponses = {
7797
8627
  type DeleteApiV1KnowledgeBasesByIdResponse = DeleteApiV1KnowledgeBasesByIdResponses[keyof DeleteApiV1KnowledgeBasesByIdResponses];
7798
8628
  type GetApiV1KnowledgeBasesByIdData = {
7799
8629
  body?: never;
8630
+ headers?: {
8631
+ /**
8632
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8633
+ */
8634
+ 'X-Workspace-Id'?: string;
8635
+ };
7800
8636
  path: {
7801
8637
  id: string;
7802
8638
  };
@@ -7848,6 +8684,12 @@ type PatchApiV1KnowledgeBasesByIdData = {
7848
8684
  description?: string;
7849
8685
  name?: string;
7850
8686
  };
8687
+ headers?: {
8688
+ /**
8689
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8690
+ */
8691
+ 'X-Workspace-Id'?: string;
8692
+ };
7851
8693
  path: {
7852
8694
  id: string;
7853
8695
  };
@@ -7895,6 +8737,12 @@ type PatchApiV1KnowledgeBasesByIdResponses = {
7895
8737
  type PatchApiV1KnowledgeBasesByIdResponse = PatchApiV1KnowledgeBasesByIdResponses[keyof PatchApiV1KnowledgeBasesByIdResponses];
7896
8738
  type GetApiV1KnowledgeBasesByIdFilesData = {
7897
8739
  body?: never;
8740
+ headers?: {
8741
+ /**
8742
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8743
+ */
8744
+ 'X-Workspace-Id'?: string;
8745
+ };
7898
8746
  path: {
7899
8747
  id: string;
7900
8748
  };
@@ -7967,6 +8815,12 @@ type DeleteApiV1KnowledgeBasesByIdFilesBatchData = {
7967
8815
  body: {
7968
8816
  fileIds: Array<string>;
7969
8817
  };
8818
+ headers?: {
8819
+ /**
8820
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8821
+ */
8822
+ 'X-Workspace-Id'?: string;
8823
+ };
7970
8824
  path: {
7971
8825
  id: string;
7972
8826
  };
@@ -8017,6 +8871,10 @@ type PostApiV1KnowledgeBasesByIdFilesBatchData = {
8017
8871
  fileIds: Array<string>;
8018
8872
  };
8019
8873
  headers?: {
8874
+ /**
8875
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8876
+ */
8877
+ 'X-Workspace-Id'?: string;
8020
8878
  /**
8021
8879
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
8022
8880
  */
@@ -8073,6 +8931,10 @@ type PostApiV1KnowledgeBasesByIdFilesMoveData = {
8073
8931
  targetKnowledgeBaseId: string;
8074
8932
  };
8075
8933
  headers?: {
8934
+ /**
8935
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8936
+ */
8937
+ 'X-Workspace-Id'?: string;
8076
8938
  /**
8077
8939
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
8078
8940
  */
@@ -8125,6 +8987,12 @@ type PostApiV1KnowledgeBasesByIdFilesMoveResponses = {
8125
8987
  type PostApiV1KnowledgeBasesByIdFilesMoveResponse = PostApiV1KnowledgeBasesByIdFilesMoveResponses[keyof PostApiV1KnowledgeBasesByIdFilesMoveResponses];
8126
8988
  type GetApiV1McpServersData = {
8127
8989
  body?: never;
8990
+ headers?: {
8991
+ /**
8992
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
8993
+ */
8994
+ 'X-Workspace-Id'?: string;
8995
+ };
8128
8996
  path?: never;
8129
8997
  query?: {
8130
8998
  /**
@@ -8205,6 +9073,10 @@ type PostApiV1McpServersData = {
8205
9073
  serverUrl: string;
8206
9074
  };
8207
9075
  headers?: {
9076
+ /**
9077
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9078
+ */
9079
+ 'X-Workspace-Id'?: string;
8208
9080
  /**
8209
9081
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
8210
9082
  */
@@ -8255,6 +9127,12 @@ type PostApiV1McpServersResponses = {
8255
9127
  type PostApiV1McpServersResponse = PostApiV1McpServersResponses[keyof PostApiV1McpServersResponses];
8256
9128
  type DeleteApiV1McpServersByIdData = {
8257
9129
  body?: never;
9130
+ headers?: {
9131
+ /**
9132
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9133
+ */
9134
+ 'X-Workspace-Id'?: string;
9135
+ };
8258
9136
  path: {
8259
9137
  id: string;
8260
9138
  };
@@ -8302,6 +9180,12 @@ type DeleteApiV1McpServersByIdResponses = {
8302
9180
  type DeleteApiV1McpServersByIdResponse = DeleteApiV1McpServersByIdResponses[keyof DeleteApiV1McpServersByIdResponses];
8303
9181
  type GetApiV1McpServersByIdData = {
8304
9182
  body?: never;
9183
+ headers?: {
9184
+ /**
9185
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9186
+ */
9187
+ 'X-Workspace-Id'?: string;
9188
+ };
8305
9189
  path: {
8306
9190
  id: string;
8307
9191
  };
@@ -8366,6 +9250,12 @@ type PatchApiV1McpServersByIdData = {
8366
9250
  name?: string;
8367
9251
  serverUrl?: string;
8368
9252
  };
9253
+ headers?: {
9254
+ /**
9255
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9256
+ */
9257
+ 'X-Workspace-Id'?: string;
9258
+ };
8369
9259
  path: {
8370
9260
  id: string;
8371
9261
  };
@@ -8414,6 +9304,10 @@ type PatchApiV1McpServersByIdResponse = PatchApiV1McpServersByIdResponses[keyof
8414
9304
  type PostApiV1McpServersByIdSyncData = {
8415
9305
  body?: never;
8416
9306
  headers?: {
9307
+ /**
9308
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9309
+ */
9310
+ 'X-Workspace-Id'?: string;
8417
9311
  /**
8418
9312
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
8419
9313
  */
@@ -8466,6 +9360,12 @@ type PostApiV1McpServersByIdSyncResponses = {
8466
9360
  type PostApiV1McpServersByIdSyncResponse = PostApiV1McpServersByIdSyncResponses[keyof PostApiV1McpServersByIdSyncResponses];
8467
9361
  type GetApiV1MemoriesPersonaData = {
8468
9362
  body?: never;
9363
+ headers?: {
9364
+ /**
9365
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9366
+ */
9367
+ 'X-Workspace-Id'?: string;
9368
+ };
8469
9369
  path?: never;
8470
9370
  query?: never;
8471
9371
  url: '/api/v1/memories/persona';
@@ -8503,6 +9403,12 @@ type GetApiV1MemoriesPersonaResponses = {
8503
9403
  type GetApiV1MemoriesPersonaResponse = GetApiV1MemoriesPersonaResponses[keyof GetApiV1MemoriesPersonaResponses];
8504
9404
  type GetApiV1MemoriesPersonaVersionsData = {
8505
9405
  body?: never;
9406
+ headers?: {
9407
+ /**
9408
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9409
+ */
9410
+ 'X-Workspace-Id'?: string;
9411
+ };
8506
9412
  path?: never;
8507
9413
  query?: never;
8508
9414
  url: '/api/v1/memories/persona/versions';
@@ -8540,6 +9446,12 @@ type GetApiV1MemoriesPersonaVersionsResponses = {
8540
9446
  type GetApiV1MemoriesPersonaVersionsResponse = GetApiV1MemoriesPersonaVersionsResponses[keyof GetApiV1MemoriesPersonaVersionsResponses];
8541
9447
  type DeleteApiV1MemoriesData = {
8542
9448
  body?: never;
9449
+ headers?: {
9450
+ /**
9451
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9452
+ */
9453
+ 'X-Workspace-Id'?: string;
9454
+ };
8543
9455
  path?: never;
8544
9456
  query?: never;
8545
9457
  url: '/api/v1/memories';
@@ -8577,6 +9489,12 @@ type DeleteApiV1MemoriesResponses = {
8577
9489
  type DeleteApiV1MemoriesResponse = DeleteApiV1MemoriesResponses[keyof DeleteApiV1MemoriesResponses];
8578
9490
  type DeleteApiV1MemoriesByCategoryByIdData = {
8579
9491
  body?: never;
9492
+ headers?: {
9493
+ /**
9494
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9495
+ */
9496
+ 'X-Workspace-Id'?: string;
9497
+ };
8580
9498
  path: {
8581
9499
  category: 'identities' | 'preferences' | 'contexts' | 'activities' | 'experiences';
8582
9500
  id: string;
@@ -8625,6 +9543,12 @@ type DeleteApiV1MemoriesByCategoryByIdResponses = {
8625
9543
  type DeleteApiV1MemoriesByCategoryByIdResponse = DeleteApiV1MemoriesByCategoryByIdResponses[keyof DeleteApiV1MemoriesByCategoryByIdResponses];
8626
9544
  type GetApiV1MemoriesByCategoryData = {
8627
9545
  body?: never;
9546
+ headers?: {
9547
+ /**
9548
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9549
+ */
9550
+ 'X-Workspace-Id'?: string;
9551
+ };
8628
9552
  path: {
8629
9553
  category: 'identities' | 'preferences' | 'contexts' | 'activities' | 'experiences';
8630
9554
  };
@@ -8668,6 +9592,12 @@ type GetApiV1MemoriesByCategoryResponses = {
8668
9592
  type GetApiV1MemoriesByCategoryResponse = GetApiV1MemoriesByCategoryResponses[keyof GetApiV1MemoriesByCategoryResponses];
8669
9593
  type DeleteApiV1MessageTranslationsByMessageIdData = {
8670
9594
  body?: never;
9595
+ headers?: {
9596
+ /**
9597
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9598
+ */
9599
+ 'X-Workspace-Id'?: string;
9600
+ };
8671
9601
  path: {
8672
9602
  messageId: string;
8673
9603
  };
@@ -8715,6 +9645,12 @@ type DeleteApiV1MessageTranslationsByMessageIdResponses = {
8715
9645
  type DeleteApiV1MessageTranslationsByMessageIdResponse = DeleteApiV1MessageTranslationsByMessageIdResponses[keyof DeleteApiV1MessageTranslationsByMessageIdResponses];
8716
9646
  type GetApiV1MessageTranslationsByMessageIdData = {
8717
9647
  body?: never;
9648
+ headers?: {
9649
+ /**
9650
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9651
+ */
9652
+ 'X-Workspace-Id'?: string;
9653
+ };
8718
9654
  path: {
8719
9655
  messageId: string;
8720
9656
  };
@@ -8764,6 +9700,12 @@ type PatchApiV1MessageTranslationsByMessageIdData = {
8764
9700
  to: string;
8765
9701
  content?: string;
8766
9702
  };
9703
+ headers?: {
9704
+ /**
9705
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9706
+ */
9707
+ 'X-Workspace-Id'?: string;
9708
+ };
8767
9709
  path: {
8768
9710
  messageId: string;
8769
9711
  };
@@ -8813,6 +9755,10 @@ type PostApiV1MessageTranslationsByMessageIdData = {
8813
9755
  to: string;
8814
9756
  };
8815
9757
  headers?: {
9758
+ /**
9759
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9760
+ */
9761
+ 'X-Workspace-Id'?: string;
8816
9762
  /**
8817
9763
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
8818
9764
  */
@@ -8861,6 +9807,12 @@ type PostApiV1MessageTranslationsByMessageIdResponses = {
8861
9807
  type PostApiV1MessageTranslationsByMessageIdResponse = PostApiV1MessageTranslationsByMessageIdResponses[keyof PostApiV1MessageTranslationsByMessageIdResponses];
8862
9808
  type GetApiV1MessagesCountData = {
8863
9809
  body?: never;
9810
+ headers?: {
9811
+ /**
9812
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9813
+ */
9814
+ 'X-Workspace-Id'?: string;
9815
+ };
8864
9816
  path?: never;
8865
9817
  query?: {
8866
9818
  topicId?: string;
@@ -8911,6 +9863,12 @@ type DeleteApiV1MessagesData = {
8911
9863
  body: {
8912
9864
  messageIds: Array<string>;
8913
9865
  };
9866
+ headers?: {
9867
+ /**
9868
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9869
+ */
9870
+ 'X-Workspace-Id'?: string;
9871
+ };
8914
9872
  path?: never;
8915
9873
  query?: never;
8916
9874
  url: '/api/v1/messages';
@@ -8952,6 +9910,12 @@ type DeleteApiV1MessagesResponses = {
8952
9910
  type DeleteApiV1MessagesResponse = DeleteApiV1MessagesResponses[keyof DeleteApiV1MessagesResponses];
8953
9911
  type GetApiV1MessagesData = {
8954
9912
  body?: never;
9913
+ headers?: {
9914
+ /**
9915
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
9916
+ */
9917
+ 'X-Workspace-Id'?: string;
9918
+ };
8955
9919
  path?: never;
8956
9920
  query?: {
8957
9921
  threadId?: string;
@@ -9050,6 +10014,10 @@ type PostApiV1MessagesData = {
9050
10014
  favorite?: boolean | null;
9051
10015
  };
9052
10016
  headers?: {
10017
+ /**
10018
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10019
+ */
10020
+ 'X-Workspace-Id'?: string;
9053
10021
  /**
9054
10022
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9055
10023
  */
@@ -9096,6 +10064,12 @@ type PostApiV1MessagesResponses = {
9096
10064
  type PostApiV1MessagesResponse = PostApiV1MessagesResponses[keyof PostApiV1MessagesResponses];
9097
10065
  type DeleteApiV1MessagesByIdData = {
9098
10066
  body?: never;
10067
+ headers?: {
10068
+ /**
10069
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10070
+ */
10071
+ 'X-Workspace-Id'?: string;
10072
+ };
9099
10073
  path: {
9100
10074
  id: string;
9101
10075
  };
@@ -9143,6 +10117,12 @@ type DeleteApiV1MessagesByIdResponses = {
9143
10117
  type DeleteApiV1MessagesByIdResponse = DeleteApiV1MessagesByIdResponses[keyof DeleteApiV1MessagesByIdResponses];
9144
10118
  type GetApiV1MessagesByIdData = {
9145
10119
  body?: never;
10120
+ headers?: {
10121
+ /**
10122
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10123
+ */
10124
+ 'X-Workspace-Id'?: string;
10125
+ };
9146
10126
  path: {
9147
10127
  id: string;
9148
10128
  };
@@ -9210,6 +10190,10 @@ type PostApiV1MessagesRepliesData = {
9210
10190
  favorite?: boolean | null;
9211
10191
  };
9212
10192
  headers?: {
10193
+ /**
10194
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10195
+ */
10196
+ 'X-Workspace-Id'?: string;
9213
10197
  /**
9214
10198
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9215
10199
  */
@@ -9256,6 +10240,12 @@ type PostApiV1MessagesRepliesResponses = {
9256
10240
  type PostApiV1MessagesRepliesResponse = PostApiV1MessagesRepliesResponses[keyof PostApiV1MessagesRepliesResponses];
9257
10241
  type GetApiV1ModelsData = {
9258
10242
  body?: never;
10243
+ headers?: {
10244
+ /**
10245
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10246
+ */
10247
+ 'X-Workspace-Id'?: string;
10248
+ };
9259
10249
  path?: never;
9260
10250
  query?: {
9261
10251
  /**
@@ -9352,6 +10342,10 @@ type PostApiV1ModelsData = {
9352
10342
  providerId: string;
9353
10343
  };
9354
10344
  headers?: {
10345
+ /**
10346
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10347
+ */
10348
+ 'X-Workspace-Id'?: string;
9355
10349
  /**
9356
10350
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9357
10351
  */
@@ -9398,6 +10392,12 @@ type PostApiV1ModelsResponses = {
9398
10392
  type PostApiV1ModelsResponse = PostApiV1ModelsResponses[keyof PostApiV1ModelsResponses];
9399
10393
  type GetApiV1ModelsByProviderIdByModelIdData = {
9400
10394
  body?: never;
10395
+ headers?: {
10396
+ /**
10397
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10398
+ */
10399
+ 'X-Workspace-Id'?: string;
10400
+ };
9401
10401
  path: {
9402
10402
  modelId: string;
9403
10403
  providerId: string;
@@ -9468,6 +10468,12 @@ type PatchApiV1ModelsByProviderIdByModelIdData = {
9468
10468
  source?: 'remote' | 'custom' | 'builtin' | null;
9469
10469
  type?: 'chat' | 'embedding' | 'tts' | 'asr' | 'image' | 'text2video' | 'text2music' | 'realtime' | 'decision' | 'stt' | null;
9470
10470
  };
10471
+ headers?: {
10472
+ /**
10473
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10474
+ */
10475
+ 'X-Workspace-Id'?: string;
10476
+ };
9471
10477
  path: {
9472
10478
  modelId: string;
9473
10479
  providerId: string;
@@ -9516,6 +10522,12 @@ type PatchApiV1ModelsByProviderIdByModelIdResponses = {
9516
10522
  type PatchApiV1ModelsByProviderIdByModelIdResponse = PatchApiV1ModelsByProviderIdByModelIdResponses[keyof PatchApiV1ModelsByProviderIdByModelIdResponses];
9517
10523
  type GetApiV1NotificationsData = {
9518
10524
  body?: never;
10525
+ headers?: {
10526
+ /**
10527
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10528
+ */
10529
+ 'X-Workspace-Id'?: string;
10530
+ };
9519
10531
  path?: never;
9520
10532
  query?: {
9521
10533
  category?: string;
@@ -9563,6 +10575,12 @@ type GetApiV1NotificationsResponses = {
9563
10575
  type GetApiV1NotificationsResponse = GetApiV1NotificationsResponses[keyof GetApiV1NotificationsResponses];
9564
10576
  type GetApiV1NotificationsSettingsData = {
9565
10577
  body?: never;
10578
+ headers?: {
10579
+ /**
10580
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10581
+ */
10582
+ 'X-Workspace-Id'?: string;
10583
+ };
9566
10584
  path?: never;
9567
10585
  query?: {
9568
10586
  scope?: 'personal' | 'workspace';
@@ -9653,6 +10671,12 @@ type PatchApiV1NotificationsSettingsData = {
9653
10671
  };
9654
10672
  };
9655
10673
  };
10674
+ headers?: {
10675
+ /**
10676
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10677
+ */
10678
+ 'X-Workspace-Id'?: string;
10679
+ };
9656
10680
  path?: never;
9657
10681
  query?: {
9658
10682
  scope?: 'personal' | 'workspace';
@@ -9696,6 +10720,12 @@ type PatchApiV1NotificationsSettingsResponses = {
9696
10720
  type PatchApiV1NotificationsSettingsResponse = PatchApiV1NotificationsSettingsResponses[keyof PatchApiV1NotificationsSettingsResponses];
9697
10721
  type GetApiV1NotificationsUnreadCountData = {
9698
10722
  body?: never;
10723
+ headers?: {
10724
+ /**
10725
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10726
+ */
10727
+ 'X-Workspace-Id'?: string;
10728
+ };
9699
10729
  path?: never;
9700
10730
  query?: never;
9701
10731
  url: '/api/v1/notifications/unread-count';
@@ -9733,6 +10763,12 @@ type GetApiV1NotificationsUnreadCountResponses = {
9733
10763
  type GetApiV1NotificationsUnreadCountResponse = GetApiV1NotificationsUnreadCountResponses[keyof GetApiV1NotificationsUnreadCountResponses];
9734
10764
  type GetApiV1NotificationsCountsData = {
9735
10765
  body?: never;
10766
+ headers?: {
10767
+ /**
10768
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10769
+ */
10770
+ 'X-Workspace-Id'?: string;
10771
+ };
9736
10772
  path?: never;
9737
10773
  query?: never;
9738
10774
  url: '/api/v1/notifications/counts';
@@ -9773,6 +10809,10 @@ type PostApiV1NotificationsReadData = {
9773
10809
  ids: Array<string>;
9774
10810
  };
9775
10811
  headers?: {
10812
+ /**
10813
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10814
+ */
10815
+ 'X-Workspace-Id'?: string;
9776
10816
  /**
9777
10817
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9778
10818
  */
@@ -9819,6 +10859,10 @@ type PostApiV1NotificationsReadResponse = PostApiV1NotificationsReadResponses[ke
9819
10859
  type PostApiV1NotificationsReadAllData = {
9820
10860
  body?: never;
9821
10861
  headers?: {
10862
+ /**
10863
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10864
+ */
10865
+ 'X-Workspace-Id'?: string;
9822
10866
  /**
9823
10867
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9824
10868
  */
@@ -9861,6 +10905,10 @@ type PostApiV1NotificationsReadAllResponse = PostApiV1NotificationsReadAllRespon
9861
10905
  type PostApiV1NotificationsArchiveAllData = {
9862
10906
  body?: never;
9863
10907
  headers?: {
10908
+ /**
10909
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10910
+ */
10911
+ 'X-Workspace-Id'?: string;
9864
10912
  /**
9865
10913
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9866
10914
  */
@@ -9903,6 +10951,10 @@ type PostApiV1NotificationsArchiveAllResponse = PostApiV1NotificationsArchiveAll
9903
10951
  type PostApiV1NotificationsByIdArchiveData = {
9904
10952
  body?: never;
9905
10953
  headers?: {
10954
+ /**
10955
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
10956
+ */
10957
+ 'X-Workspace-Id'?: string;
9906
10958
  /**
9907
10959
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
9908
10960
  */
@@ -9950,6 +11002,12 @@ type PostApiV1NotificationsByIdArchiveResponses = {
9950
11002
  type PostApiV1NotificationsByIdArchiveResponse = PostApiV1NotificationsByIdArchiveResponses[keyof PostApiV1NotificationsByIdArchiveResponses];
9951
11003
  type GetApiV1PermissionsData = {
9952
11004
  body?: never;
11005
+ headers?: {
11006
+ /**
11007
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11008
+ */
11009
+ 'X-Workspace-Id'?: string;
11010
+ };
9953
11011
  path?: never;
9954
11012
  query?: {
9955
11013
  active?: string | null;
@@ -10022,6 +11080,10 @@ type PostApiV1PermissionsData = {
10022
11080
  name: string;
10023
11081
  };
10024
11082
  headers?: {
11083
+ /**
11084
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11085
+ */
11086
+ 'X-Workspace-Id'?: string;
10025
11087
  /**
10026
11088
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
10027
11089
  */
@@ -10068,6 +11130,12 @@ type PostApiV1PermissionsResponses = {
10068
11130
  type PostApiV1PermissionsResponse = PostApiV1PermissionsResponses[keyof PostApiV1PermissionsResponses];
10069
11131
  type DeleteApiV1PermissionsByIdData = {
10070
11132
  body?: never;
11133
+ headers?: {
11134
+ /**
11135
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11136
+ */
11137
+ 'X-Workspace-Id'?: string;
11138
+ };
10071
11139
  path: {
10072
11140
  id: string;
10073
11141
  };
@@ -10115,6 +11183,12 @@ type DeleteApiV1PermissionsByIdResponses = {
10115
11183
  type DeleteApiV1PermissionsByIdResponse = DeleteApiV1PermissionsByIdResponses[keyof DeleteApiV1PermissionsByIdResponses];
10116
11184
  type GetApiV1PermissionsByIdData = {
10117
11185
  body?: never;
11186
+ headers?: {
11187
+ /**
11188
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11189
+ */
11190
+ 'X-Workspace-Id'?: string;
11191
+ };
10118
11192
  path: {
10119
11193
  id: string;
10120
11194
  };
@@ -10168,6 +11242,12 @@ type PatchApiV1PermissionsByIdData = {
10168
11242
  isActive?: boolean | null;
10169
11243
  name?: string;
10170
11244
  };
11245
+ headers?: {
11246
+ /**
11247
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11248
+ */
11249
+ 'X-Workspace-Id'?: string;
11250
+ };
10171
11251
  path: {
10172
11252
  id: string;
10173
11253
  };
@@ -10215,6 +11295,12 @@ type PatchApiV1PermissionsByIdResponses = {
10215
11295
  type PatchApiV1PermissionsByIdResponse = PatchApiV1PermissionsByIdResponses[keyof PatchApiV1PermissionsByIdResponses];
10216
11296
  type GetApiV1ProvidersData = {
10217
11297
  body?: never;
11298
+ headers?: {
11299
+ /**
11300
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11301
+ */
11302
+ 'X-Workspace-Id'?: string;
11303
+ };
10218
11304
  path?: never;
10219
11305
  query?: {
10220
11306
  /**
@@ -10304,6 +11390,10 @@ type PostApiV1ProvidersData = {
10304
11390
  id: string;
10305
11391
  };
10306
11392
  headers?: {
11393
+ /**
11394
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11395
+ */
11396
+ 'X-Workspace-Id'?: string;
10307
11397
  /**
10308
11398
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
10309
11399
  */
@@ -10350,6 +11440,12 @@ type PostApiV1ProvidersResponses = {
10350
11440
  type PostApiV1ProvidersResponse = PostApiV1ProvidersResponses[keyof PostApiV1ProvidersResponses];
10351
11441
  type DeleteApiV1ProvidersByIdData = {
10352
11442
  body?: never;
11443
+ headers?: {
11444
+ /**
11445
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11446
+ */
11447
+ 'X-Workspace-Id'?: string;
11448
+ };
10353
11449
  path: {
10354
11450
  id: string;
10355
11451
  };
@@ -10397,6 +11493,12 @@ type DeleteApiV1ProvidersByIdResponses = {
10397
11493
  type DeleteApiV1ProvidersByIdResponse = DeleteApiV1ProvidersByIdResponses[keyof DeleteApiV1ProvidersByIdResponses];
10398
11494
  type GetApiV1ProvidersByIdData = {
10399
11495
  body?: never;
11496
+ headers?: {
11497
+ /**
11498
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11499
+ */
11500
+ 'X-Workspace-Id'?: string;
11501
+ };
10400
11502
  path: {
10401
11503
  id: string;
10402
11504
  };
@@ -10462,6 +11564,12 @@ type PatchApiV1ProvidersByIdData = {
10462
11564
  sort?: number | null;
10463
11565
  source?: 'builtin' | 'custom';
10464
11566
  };
11567
+ headers?: {
11568
+ /**
11569
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11570
+ */
11571
+ 'X-Workspace-Id'?: string;
11572
+ };
10465
11573
  path: {
10466
11574
  id: string;
10467
11575
  };
@@ -10509,6 +11617,12 @@ type PatchApiV1ProvidersByIdResponses = {
10509
11617
  type PatchApiV1ProvidersByIdResponse = PatchApiV1ProvidersByIdResponses[keyof PatchApiV1ProvidersByIdResponses];
10510
11618
  type DeleteApiV1PushTokensByDeviceIdData = {
10511
11619
  body?: never;
11620
+ headers?: {
11621
+ /**
11622
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11623
+ */
11624
+ 'X-Workspace-Id'?: string;
11625
+ };
10512
11626
  path: {
10513
11627
  deviceId: string;
10514
11628
  };
@@ -10559,6 +11673,12 @@ type PutApiV1PushTokensByDeviceIdData = {
10559
11673
  locale?: string;
10560
11674
  platform: 'ios' | 'android';
10561
11675
  };
11676
+ headers?: {
11677
+ /**
11678
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11679
+ */
11680
+ 'X-Workspace-Id'?: string;
11681
+ };
10562
11682
  path: {
10563
11683
  deviceId: string;
10564
11684
  };
@@ -10678,6 +11798,10 @@ type PostApiV1ResponsesData = {
10678
11798
  [key: string]: unknown;
10679
11799
  };
10680
11800
  headers?: {
11801
+ /**
11802
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11803
+ */
11804
+ 'X-Workspace-Id'?: string;
10681
11805
  /**
10682
11806
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
10683
11807
  */
@@ -10759,6 +11883,12 @@ type PostApiV1ResponsesResponses = {
10759
11883
  type PostApiV1ResponsesResponse = PostApiV1ResponsesResponses[keyof PostApiV1ResponsesResponses];
10760
11884
  type GetApiV1RolesData = {
10761
11885
  body?: never;
11886
+ headers?: {
11887
+ /**
11888
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11889
+ */
11890
+ 'X-Workspace-Id'?: string;
11891
+ };
10762
11892
  path?: never;
10763
11893
  query?: {
10764
11894
  active?: string | null;
@@ -10831,6 +11961,10 @@ type PostApiV1RolesData = {
10831
11961
  name: string;
10832
11962
  };
10833
11963
  headers?: {
11964
+ /**
11965
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
11966
+ */
11967
+ 'X-Workspace-Id'?: string;
10834
11968
  /**
10835
11969
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
10836
11970
  */
@@ -10877,6 +12011,12 @@ type PostApiV1RolesResponses = {
10877
12011
  type PostApiV1RolesResponse = PostApiV1RolesResponses[keyof PostApiV1RolesResponses];
10878
12012
  type DeleteApiV1RolesByIdData = {
10879
12013
  body?: never;
12014
+ headers?: {
12015
+ /**
12016
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12017
+ */
12018
+ 'X-Workspace-Id'?: string;
12019
+ };
10880
12020
  path: {
10881
12021
  id: string;
10882
12022
  };
@@ -10924,6 +12064,12 @@ type DeleteApiV1RolesByIdResponses = {
10924
12064
  type DeleteApiV1RolesByIdResponse = DeleteApiV1RolesByIdResponses[keyof DeleteApiV1RolesByIdResponses];
10925
12065
  type GetApiV1RolesByIdData = {
10926
12066
  body?: never;
12067
+ headers?: {
12068
+ /**
12069
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12070
+ */
12071
+ 'X-Workspace-Id'?: string;
12072
+ };
10927
12073
  path: {
10928
12074
  id: string;
10929
12075
  };
@@ -10977,6 +12123,12 @@ type PatchApiV1RolesByIdData = {
10977
12123
  isSystem?: boolean | null;
10978
12124
  name?: string;
10979
12125
  };
12126
+ headers?: {
12127
+ /**
12128
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12129
+ */
12130
+ 'X-Workspace-Id'?: string;
12131
+ };
10980
12132
  path: {
10981
12133
  id: string;
10982
12134
  };
@@ -11024,6 +12176,12 @@ type PatchApiV1RolesByIdResponses = {
11024
12176
  type PatchApiV1RolesByIdResponse = PatchApiV1RolesByIdResponses[keyof PatchApiV1RolesByIdResponses];
11025
12177
  type DeleteApiV1RolesByIdPermissionsData = {
11026
12178
  body?: never;
12179
+ headers?: {
12180
+ /**
12181
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12182
+ */
12183
+ 'X-Workspace-Id'?: string;
12184
+ };
11027
12185
  path: {
11028
12186
  id: string;
11029
12187
  };
@@ -11071,6 +12229,12 @@ type DeleteApiV1RolesByIdPermissionsResponses = {
11071
12229
  type DeleteApiV1RolesByIdPermissionsResponse = DeleteApiV1RolesByIdPermissionsResponses[keyof DeleteApiV1RolesByIdPermissionsResponses];
11072
12230
  type GetApiV1RolesByIdPermissionsData = {
11073
12231
  body?: never;
12232
+ headers?: {
12233
+ /**
12234
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12235
+ */
12236
+ 'X-Workspace-Id'?: string;
12237
+ };
11074
12238
  path: {
11075
12239
  id: string;
11076
12240
  };
@@ -11139,6 +12303,12 @@ type PatchApiV1RolesByIdPermissionsData = {
11139
12303
  grant?: Array<string> | null;
11140
12304
  revoke?: Array<string> | null;
11141
12305
  };
12306
+ headers?: {
12307
+ /**
12308
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12309
+ */
12310
+ 'X-Workspace-Id'?: string;
12311
+ };
11142
12312
  path: {
11143
12313
  id: string;
11144
12314
  };
@@ -11195,6 +12365,10 @@ type PostApiV1SignalsSourceEventsData = {
11195
12365
  timestamp?: number;
11196
12366
  };
11197
12367
  headers?: {
12368
+ /**
12369
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12370
+ */
12371
+ 'X-Workspace-Id'?: string;
11198
12372
  /**
11199
12373
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
11200
12374
  */
@@ -11256,6 +12430,10 @@ type PostApiV1SignalsTriggerData = {
11256
12430
  topicId?: string;
11257
12431
  };
11258
12432
  headers?: {
12433
+ /**
12434
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12435
+ */
12436
+ 'X-Workspace-Id'?: string;
11259
12437
  /**
11260
12438
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
11261
12439
  */
@@ -11306,6 +12484,12 @@ type PostApiV1SignalsTriggerResponses = {
11306
12484
  type PostApiV1SignalsTriggerResponse = PostApiV1SignalsTriggerResponses[keyof PostApiV1SignalsTriggerResponses];
11307
12485
  type GetApiV1SignalsReceiptsData = {
11308
12486
  body?: never;
12487
+ headers?: {
12488
+ /**
12489
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12490
+ */
12491
+ 'X-Workspace-Id'?: string;
12492
+ };
11309
12493
  path?: never;
11310
12494
  query: {
11311
12495
  agentId: string;
@@ -11353,6 +12537,12 @@ type GetApiV1SignalsReceiptsResponses = {
11353
12537
  type GetApiV1SignalsReceiptsResponse = GetApiV1SignalsReceiptsResponses[keyof GetApiV1SignalsReceiptsResponses];
11354
12538
  type GetApiV1TasksData = {
11355
12539
  body?: never;
12540
+ headers?: {
12541
+ /**
12542
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12543
+ */
12544
+ 'X-Workspace-Id'?: string;
12545
+ };
11356
12546
  path?: never;
11357
12547
  query?: {
11358
12548
  assigneeAgentId?: string;
@@ -11430,6 +12620,10 @@ type PostApiV1TasksData = {
11430
12620
  visibility?: 'private' | 'public';
11431
12621
  };
11432
12622
  headers?: {
12623
+ /**
12624
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12625
+ */
12626
+ 'X-Workspace-Id'?: string;
11433
12627
  /**
11434
12628
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
11435
12629
  */
@@ -11484,6 +12678,12 @@ type PostApiV1TasksResponses = {
11484
12678
  type PostApiV1TasksResponse = PostApiV1TasksResponses[keyof PostApiV1TasksResponses];
11485
12679
  type DeleteApiV1TasksByIdData = {
11486
12680
  body?: never;
12681
+ headers?: {
12682
+ /**
12683
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12684
+ */
12685
+ 'X-Workspace-Id'?: string;
12686
+ };
11487
12687
  path: {
11488
12688
  id: string;
11489
12689
  };
@@ -11535,6 +12735,12 @@ type DeleteApiV1TasksByIdResponses = {
11535
12735
  type DeleteApiV1TasksByIdResponse = DeleteApiV1TasksByIdResponses[keyof DeleteApiV1TasksByIdResponses];
11536
12736
  type GetApiV1TasksByIdData = {
11537
12737
  body?: never;
12738
+ headers?: {
12739
+ /**
12740
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12741
+ */
12742
+ 'X-Workspace-Id'?: string;
12743
+ };
11538
12744
  path: {
11539
12745
  id: string;
11540
12746
  };
@@ -11598,6 +12804,12 @@ type PatchApiV1TasksByIdData = {
11598
12804
  schedulePattern?: string | null;
11599
12805
  scheduleTimezone?: string | null;
11600
12806
  };
12807
+ headers?: {
12808
+ /**
12809
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12810
+ */
12811
+ 'X-Workspace-Id'?: string;
12812
+ };
11601
12813
  path: {
11602
12814
  id: string;
11603
12815
  };
@@ -11656,6 +12868,12 @@ type PatchApiV1TasksByIdStatusData = {
11656
12868
  error?: string;
11657
12869
  status: 'backlog' | 'running' | 'scheduled' | 'paused' | 'completed' | 'failed' | 'canceled';
11658
12870
  };
12871
+ headers?: {
12872
+ /**
12873
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12874
+ */
12875
+ 'X-Workspace-Id'?: string;
12876
+ };
11659
12877
  path: {
11660
12878
  id: string;
11661
12879
  };
@@ -11707,6 +12925,12 @@ type PatchApiV1TasksByIdStatusResponses = {
11707
12925
  type PatchApiV1TasksByIdStatusResponse = PatchApiV1TasksByIdStatusResponses[keyof PatchApiV1TasksByIdStatusResponses];
11708
12926
  type GetApiV1TasksByIdRunsData = {
11709
12927
  body?: never;
12928
+ headers?: {
12929
+ /**
12930
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12931
+ */
12932
+ 'X-Workspace-Id'?: string;
12933
+ };
11710
12934
  path: {
11711
12935
  id: string;
11712
12936
  };
@@ -11759,6 +12983,10 @@ type PostApiV1TasksByIdRunsData = {
11759
12983
  prompt?: string;
11760
12984
  };
11761
12985
  headers?: {
12986
+ /**
12987
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
12988
+ */
12989
+ 'X-Workspace-Id'?: string;
11762
12990
  /**
11763
12991
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
11764
12992
  */
@@ -11819,6 +13047,12 @@ type PostApiV1TasksByIdRunsResponses = {
11819
13047
  type PostApiV1TasksByIdRunsResponse = PostApiV1TasksByIdRunsResponses[keyof PostApiV1TasksByIdRunsResponses];
11820
13048
  type GetApiV1TopicsData = {
11821
13049
  body?: never;
13050
+ headers?: {
13051
+ /**
13052
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13053
+ */
13054
+ 'X-Workspace-Id'?: string;
13055
+ };
11822
13056
  path?: never;
11823
13057
  query?: {
11824
13058
  agentId?: string | null;
@@ -11899,6 +13133,10 @@ type PostApiV1TopicsData = {
11899
13133
  title: string;
11900
13134
  };
11901
13135
  headers?: {
13136
+ /**
13137
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13138
+ */
13139
+ 'X-Workspace-Id'?: string;
11902
13140
  /**
11903
13141
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
11904
13142
  */
@@ -11945,6 +13183,12 @@ type PostApiV1TopicsResponses = {
11945
13183
  type PostApiV1TopicsResponse = PostApiV1TopicsResponses[keyof PostApiV1TopicsResponses];
11946
13184
  type DeleteApiV1TopicsByIdData = {
11947
13185
  body?: never;
13186
+ headers?: {
13187
+ /**
13188
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13189
+ */
13190
+ 'X-Workspace-Id'?: string;
13191
+ };
11948
13192
  path: {
11949
13193
  id: string;
11950
13194
  };
@@ -11992,6 +13236,12 @@ type DeleteApiV1TopicsByIdResponses = {
11992
13236
  type DeleteApiV1TopicsByIdResponse = DeleteApiV1TopicsByIdResponses[keyof DeleteApiV1TopicsByIdResponses];
11993
13237
  type GetApiV1TopicsByIdData = {
11994
13238
  body?: never;
13239
+ headers?: {
13240
+ /**
13241
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13242
+ */
13243
+ 'X-Workspace-Id'?: string;
13244
+ };
11995
13245
  path: {
11996
13246
  id: string;
11997
13247
  };
@@ -12049,6 +13299,12 @@ type PatchApiV1TopicsByIdData = {
12049
13299
  };
12050
13300
  title?: string;
12051
13301
  };
13302
+ headers?: {
13303
+ /**
13304
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13305
+ */
13306
+ 'X-Workspace-Id'?: string;
13307
+ };
12052
13308
  path: {
12053
13309
  id: string;
12054
13310
  };
@@ -12096,6 +13352,12 @@ type PatchApiV1TopicsByIdResponses = {
12096
13352
  type PatchApiV1TopicsByIdResponse = PatchApiV1TopicsByIdResponses[keyof PatchApiV1TopicsByIdResponses];
12097
13353
  type GetApiV1TopicsByTopicIdThreadsData = {
12098
13354
  body?: never;
13355
+ headers?: {
13356
+ /**
13357
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13358
+ */
13359
+ 'X-Workspace-Id'?: string;
13360
+ };
12099
13361
  path: {
12100
13362
  topicId: string;
12101
13363
  };
@@ -12175,6 +13437,12 @@ type GetApiV1TopicsByTopicIdThreadsResponses = {
12175
13437
  type GetApiV1TopicsByTopicIdThreadsResponse = GetApiV1TopicsByTopicIdThreadsResponses[keyof GetApiV1TopicsByTopicIdThreadsResponses];
12176
13438
  type GetApiV1UsersMeData = {
12177
13439
  body?: never;
13440
+ headers?: {
13441
+ /**
13442
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13443
+ */
13444
+ 'X-Workspace-Id'?: string;
13445
+ };
12178
13446
  path?: never;
12179
13447
  query?: never;
12180
13448
  url: '/api/v1/users/me';
@@ -12216,6 +13484,12 @@ type GetApiV1UsersMeResponses = {
12216
13484
  type GetApiV1UsersMeResponse = GetApiV1UsersMeResponses[keyof GetApiV1UsersMeResponses];
12217
13485
  type GetApiV1UsersData = {
12218
13486
  body?: never;
13487
+ headers?: {
13488
+ /**
13489
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13490
+ */
13491
+ 'X-Workspace-Id'?: string;
13492
+ };
12219
13493
  path?: never;
12220
13494
  query?: {
12221
13495
  /**
@@ -12290,6 +13564,10 @@ type PostApiV1UsersData = {
12290
13564
  username?: string | null;
12291
13565
  };
12292
13566
  headers?: {
13567
+ /**
13568
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13569
+ */
13570
+ 'X-Workspace-Id'?: string;
12293
13571
  /**
12294
13572
  * Makes the request safe to retry: the first request with a key runs, and repeats with the same key and the same request within 24 hours get its stored response back (with `Idempotent-Replayed: true`). A repeat while the first is still running answers 409, and reusing a key for a different request (method, path or body) answers 422 (both `idempotency_conflict`). Server errors, 429s and streamed responses are not stored. Keys are scoped to the authenticated user, the credential (API key) and the resolved workspace. A request still running after 5 minutes releases its in-flight claim, after which a retry with the same key runs again.
12295
13573
  */
@@ -12336,6 +13614,12 @@ type PostApiV1UsersResponses = {
12336
13614
  type PostApiV1UsersResponse = PostApiV1UsersResponses[keyof PostApiV1UsersResponses];
12337
13615
  type DeleteApiV1UsersByIdData = {
12338
13616
  body?: never;
13617
+ headers?: {
13618
+ /**
13619
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13620
+ */
13621
+ 'X-Workspace-Id'?: string;
13622
+ };
12339
13623
  path: {
12340
13624
  id: string;
12341
13625
  };
@@ -12383,6 +13667,12 @@ type DeleteApiV1UsersByIdResponses = {
12383
13667
  type DeleteApiV1UsersByIdResponse = DeleteApiV1UsersByIdResponses[keyof DeleteApiV1UsersByIdResponses];
12384
13668
  type GetApiV1UsersByIdData = {
12385
13669
  body?: never;
13670
+ headers?: {
13671
+ /**
13672
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13673
+ */
13674
+ 'X-Workspace-Id'?: string;
13675
+ };
12386
13676
  path: {
12387
13677
  id: string;
12388
13678
  };
@@ -12441,6 +13731,12 @@ type PatchApiV1UsersByIdData = {
12441
13731
  roleIds?: Array<string> | null;
12442
13732
  username?: string | null;
12443
13733
  };
13734
+ headers?: {
13735
+ /**
13736
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13737
+ */
13738
+ 'X-Workspace-Id'?: string;
13739
+ };
12444
13740
  path: {
12445
13741
  id: string;
12446
13742
  };
@@ -12488,6 +13784,12 @@ type PatchApiV1UsersByIdResponses = {
12488
13784
  type PatchApiV1UsersByIdResponse = PatchApiV1UsersByIdResponses[keyof PatchApiV1UsersByIdResponses];
12489
13785
  type DeleteApiV1UsersByIdRolesData = {
12490
13786
  body?: never;
13787
+ headers?: {
13788
+ /**
13789
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13790
+ */
13791
+ 'X-Workspace-Id'?: string;
13792
+ };
12491
13793
  path: {
12492
13794
  id: string;
12493
13795
  };
@@ -12535,6 +13837,12 @@ type DeleteApiV1UsersByIdRolesResponses = {
12535
13837
  type DeleteApiV1UsersByIdRolesResponse = DeleteApiV1UsersByIdRolesResponses[keyof DeleteApiV1UsersByIdRolesResponses];
12536
13838
  type GetApiV1UsersByIdRolesData = {
12537
13839
  body?: never;
13840
+ headers?: {
13841
+ /**
13842
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13843
+ */
13844
+ 'X-Workspace-Id'?: string;
13845
+ };
12538
13846
  path: {
12539
13847
  id: string;
12540
13848
  };
@@ -12588,6 +13896,12 @@ type PatchApiV1UsersByIdRolesData = {
12588
13896
  }> | null;
12589
13897
  removeRoles?: Array<string> | null;
12590
13898
  };
13899
+ headers?: {
13900
+ /**
13901
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13902
+ */
13903
+ 'X-Workspace-Id'?: string;
13904
+ };
12591
13905
  path: {
12592
13906
  id: string;
12593
13907
  };
@@ -12635,6 +13949,12 @@ type PatchApiV1UsersByIdRolesResponses = {
12635
13949
  type PatchApiV1UsersByIdRolesResponse = PatchApiV1UsersByIdRolesResponses[keyof PatchApiV1UsersByIdRolesResponses];
12636
13950
  type GetApiV1UsageData = {
12637
13951
  body?: never;
13952
+ headers?: {
13953
+ /**
13954
+ * Run the request inside a workspace instead of the caller's personal space. Omit it for personal data. A personal API key cannot send it (403 `workspace_mismatch`); a workspace API key is bound to its workspace, so the header may be omitted and, when sent, must name that same workspace (403 `workspace_mismatch` otherwise). An unknown workspace answers 404, and a caller who is not a member answers 403 `workspace_mismatch`. Workspace API key access also depends on the workspace's plan. Routes that change workspace-wide settings additionally require the admin or owner role.
13955
+ */
13956
+ 'X-Workspace-Id'?: string;
13957
+ };
12638
13958
  path?: never;
12639
13959
  query?: never;
12640
13960
  url: '/api/v1/usage';
@@ -12671,4 +13991,4 @@ type GetApiV1UsageResponses = {
12671
13991
  };
12672
13992
  type GetApiV1UsageResponse = GetApiV1UsageResponses[keyof GetApiV1UsageResponses];
12673
13993
  //#endregion
12674
- export { Agent, AgentAccount, AgentAccountCapabilities, AgentAccountList, AgentDetail, AgentFile, AgentGroup, AgentKnowledgeBase, AgentList, AgentPlugin, AgentSignalEmission, AgentSignalReceipt, AgentSignalReceiptList, ApiError, ApiErrorCode, ApiKey, AsyncTaskError, BatchFileUploadResult, BatchGetFilesResult, ChatGenerateReplyResponse, ChatGroup, ChatGroupList, ChatGroupMember, ChatResponse, ChatTranslateResponse, ClientOptions, CreatedAgentGroup, CreatedApiKey, DeleteApiV1AgentGroupsByIdData, DeleteApiV1AgentGroupsByIdError, DeleteApiV1AgentGroupsByIdErrors, DeleteApiV1AgentGroupsByIdResponse, DeleteApiV1AgentGroupsByIdResponses, DeleteApiV1AgentsByIdAccountsByAccountIdData, DeleteApiV1AgentsByIdAccountsByAccountIdError, DeleteApiV1AgentsByIdAccountsByAccountIdErrors, DeleteApiV1AgentsByIdAccountsByAccountIdResponse, DeleteApiV1AgentsByIdAccountsByAccountIdResponses, DeleteApiV1AgentsByIdData, DeleteApiV1AgentsByIdError, DeleteApiV1AgentsByIdErrors, DeleteApiV1AgentsByIdResponse, DeleteApiV1AgentsByIdResponses, DeleteApiV1ApiKeysByIdData, DeleteApiV1ApiKeysByIdError, DeleteApiV1ApiKeysByIdErrors, DeleteApiV1ApiKeysByIdResponse, DeleteApiV1ApiKeysByIdResponses, DeleteApiV1ChatGroupsByIdData, DeleteApiV1ChatGroupsByIdError, DeleteApiV1ChatGroupsByIdErrors, DeleteApiV1ChatGroupsByIdMembersData, DeleteApiV1ChatGroupsByIdMembersError, DeleteApiV1ChatGroupsByIdMembersErrors, DeleteApiV1ChatGroupsByIdMembersResponse, DeleteApiV1ChatGroupsByIdMembersResponses, DeleteApiV1ChatGroupsByIdResponse, DeleteApiV1ChatGroupsByIdResponses, DeleteApiV1EvalBenchmarksByIdData, DeleteApiV1EvalBenchmarksByIdError, DeleteApiV1EvalBenchmarksByIdErrors, DeleteApiV1EvalBenchmarksByIdResponse, DeleteApiV1EvalBenchmarksByIdResponses, DeleteApiV1EvalDatasetsByIdData, DeleteApiV1EvalDatasetsByIdError, DeleteApiV1EvalDatasetsByIdErrors, DeleteApiV1EvalDatasetsByIdResponse, DeleteApiV1EvalDatasetsByIdResponses, DeleteApiV1EvalTestCasesByIdData, DeleteApiV1EvalTestCasesByIdError, DeleteApiV1EvalTestCasesByIdErrors, DeleteApiV1EvalTestCasesByIdResponse, DeleteApiV1EvalTestCasesByIdResponses, DeleteApiV1FilesByIdData, DeleteApiV1FilesByIdError, DeleteApiV1FilesByIdErrors, DeleteApiV1FilesByIdResponse, DeleteApiV1FilesByIdResponses, DeleteApiV1GoalsByIdData, DeleteApiV1GoalsByIdError, DeleteApiV1GoalsByIdErrors, DeleteApiV1GoalsByIdResponse, DeleteApiV1GoalsByIdResponses, DeleteApiV1KnowledgeBasesByIdData, DeleteApiV1KnowledgeBasesByIdError, DeleteApiV1KnowledgeBasesByIdErrors, DeleteApiV1KnowledgeBasesByIdFilesBatchData, DeleteApiV1KnowledgeBasesByIdFilesBatchError, DeleteApiV1KnowledgeBasesByIdFilesBatchErrors, DeleteApiV1KnowledgeBasesByIdFilesBatchResponse, DeleteApiV1KnowledgeBasesByIdFilesBatchResponses, DeleteApiV1KnowledgeBasesByIdResponse, DeleteApiV1KnowledgeBasesByIdResponses, DeleteApiV1McpServersByIdData, DeleteApiV1McpServersByIdError, DeleteApiV1McpServersByIdErrors, DeleteApiV1McpServersByIdResponse, DeleteApiV1McpServersByIdResponses, DeleteApiV1MemoriesByCategoryByIdData, DeleteApiV1MemoriesByCategoryByIdError, DeleteApiV1MemoriesByCategoryByIdErrors, DeleteApiV1MemoriesByCategoryByIdResponse, DeleteApiV1MemoriesByCategoryByIdResponses, DeleteApiV1MemoriesData, DeleteApiV1MemoriesError, DeleteApiV1MemoriesErrors, DeleteApiV1MemoriesResponse, DeleteApiV1MemoriesResponses, DeleteApiV1MessageTranslationsByMessageIdData, DeleteApiV1MessageTranslationsByMessageIdError, DeleteApiV1MessageTranslationsByMessageIdErrors, DeleteApiV1MessageTranslationsByMessageIdResponse, DeleteApiV1MessageTranslationsByMessageIdResponses, DeleteApiV1MessagesByIdData, DeleteApiV1MessagesByIdError, DeleteApiV1MessagesByIdErrors, DeleteApiV1MessagesByIdResponse, DeleteApiV1MessagesByIdResponses, DeleteApiV1MessagesData, DeleteApiV1MessagesError, DeleteApiV1MessagesErrors, DeleteApiV1MessagesResponse, DeleteApiV1MessagesResponses, DeleteApiV1PermissionsByIdData, DeleteApiV1PermissionsByIdError, DeleteApiV1PermissionsByIdErrors, DeleteApiV1PermissionsByIdResponse, DeleteApiV1PermissionsByIdResponses, DeleteApiV1ProvidersByIdData, DeleteApiV1ProvidersByIdError, DeleteApiV1ProvidersByIdErrors, DeleteApiV1ProvidersByIdResponse, DeleteApiV1ProvidersByIdResponses, DeleteApiV1PushTokensByDeviceIdData, DeleteApiV1PushTokensByDeviceIdError, DeleteApiV1PushTokensByDeviceIdErrors, DeleteApiV1PushTokensByDeviceIdResponse, DeleteApiV1PushTokensByDeviceIdResponses, DeleteApiV1RolesByIdData, DeleteApiV1RolesByIdError, DeleteApiV1RolesByIdErrors, DeleteApiV1RolesByIdPermissionsData, DeleteApiV1RolesByIdPermissionsError, DeleteApiV1RolesByIdPermissionsErrors, DeleteApiV1RolesByIdPermissionsResponse, DeleteApiV1RolesByIdPermissionsResponses, DeleteApiV1RolesByIdResponse, DeleteApiV1RolesByIdResponses, DeleteApiV1TasksByIdData, DeleteApiV1TasksByIdError, DeleteApiV1TasksByIdErrors, DeleteApiV1TasksByIdResponse, DeleteApiV1TasksByIdResponses, DeleteApiV1TopicsByIdData, DeleteApiV1TopicsByIdError, DeleteApiV1TopicsByIdErrors, DeleteApiV1TopicsByIdResponse, DeleteApiV1TopicsByIdResponses, DeleteApiV1UsersByIdData, DeleteApiV1UsersByIdError, DeleteApiV1UsersByIdErrors, DeleteApiV1UsersByIdResponse, DeleteApiV1UsersByIdResponses, DeleteApiV1UsersByIdRolesData, DeleteApiV1UsersByIdRolesError, DeleteApiV1UsersByIdRolesErrors, DeleteApiV1UsersByIdRolesResponse, DeleteApiV1UsersByIdRolesResponses, DeletedResource, DeletedResources, EvalBatchReportResult, EvalBenchmark, EvalBenchmarkRubric, EvalCaseResult, EvalDataset, EvalReportReceipt, EvalReportResult, EvalRetryErrors, EvalRubricScore, EvalRun, EvalRunMetrics, EvalRunResult, EvalRunTopic, EvalStoredResult, EvalTestCase, EvalThreadResult, File, FileAsyncTask, FileChunkStatus, FileChunkTask, FileDetail, FileKnowledgeBaseRef, FileList, FileListItem, FileParseResult, FileUrl, FileUser, GetApiV1AgentGroupsByIdData, GetApiV1AgentGroupsByIdError, GetApiV1AgentGroupsByIdErrors, GetApiV1AgentGroupsByIdResponse, GetApiV1AgentGroupsByIdResponses, GetApiV1AgentGroupsData, GetApiV1AgentGroupsError, GetApiV1AgentGroupsErrors, GetApiV1AgentGroupsResponse, GetApiV1AgentGroupsResponses, GetApiV1AgentsByIdAccountsByAccountIdData, GetApiV1AgentsByIdAccountsByAccountIdError, GetApiV1AgentsByIdAccountsByAccountIdErrors, GetApiV1AgentsByIdAccountsByAccountIdResponse, GetApiV1AgentsByIdAccountsByAccountIdResponses, GetApiV1AgentsByIdAccountsData, GetApiV1AgentsByIdAccountsError, GetApiV1AgentsByIdAccountsErrors, GetApiV1AgentsByIdAccountsResponse, GetApiV1AgentsByIdAccountsResponses, GetApiV1AgentsByIdData, GetApiV1AgentsByIdError, GetApiV1AgentsByIdErrors, GetApiV1AgentsByIdResponse, GetApiV1AgentsByIdResponses, GetApiV1AgentsData, GetApiV1AgentsError, GetApiV1AgentsErrors, GetApiV1AgentsResponse, GetApiV1AgentsResponses, GetApiV1ApiKeysByIdData, GetApiV1ApiKeysByIdError, GetApiV1ApiKeysByIdErrors, GetApiV1ApiKeysByIdResponse, GetApiV1ApiKeysByIdResponses, GetApiV1ApiKeysData, GetApiV1ApiKeysError, GetApiV1ApiKeysErrors, GetApiV1ApiKeysResponse, GetApiV1ApiKeysResponses, GetApiV1ChatGroupsByIdData, GetApiV1ChatGroupsByIdError, GetApiV1ChatGroupsByIdErrors, GetApiV1ChatGroupsByIdResponse, GetApiV1ChatGroupsByIdResponses, GetApiV1ChatGroupsData, GetApiV1ChatGroupsError, GetApiV1ChatGroupsErrors, GetApiV1ChatGroupsResponse, GetApiV1ChatGroupsResponses, GetApiV1EvalBenchmarksByIdData, GetApiV1EvalBenchmarksByIdError, GetApiV1EvalBenchmarksByIdErrors, GetApiV1EvalBenchmarksByIdResponse, GetApiV1EvalBenchmarksByIdResponses, GetApiV1EvalBenchmarksData, GetApiV1EvalBenchmarksError, GetApiV1EvalBenchmarksErrors, GetApiV1EvalBenchmarksResponse, GetApiV1EvalBenchmarksResponses, GetApiV1EvalDatasetsByDatasetIdTestCasesData, GetApiV1EvalDatasetsByDatasetIdTestCasesError, GetApiV1EvalDatasetsByDatasetIdTestCasesErrors, GetApiV1EvalDatasetsByDatasetIdTestCasesResponse, GetApiV1EvalDatasetsByDatasetIdTestCasesResponses, GetApiV1EvalDatasetsByIdData, GetApiV1EvalDatasetsByIdError, GetApiV1EvalDatasetsByIdErrors, GetApiV1EvalDatasetsByIdResponse, GetApiV1EvalDatasetsByIdResponses, GetApiV1EvalDatasetsData, GetApiV1EvalDatasetsError, GetApiV1EvalDatasetsErrors, GetApiV1EvalDatasetsResponse, GetApiV1EvalDatasetsResponses, GetApiV1EvalRunsByIdData, GetApiV1EvalRunsByIdError, GetApiV1EvalRunsByIdErrors, GetApiV1EvalRunsByIdResponse, GetApiV1EvalRunsByIdResponses, GetApiV1EvalRunsByIdResultsData, GetApiV1EvalRunsByIdResultsError, GetApiV1EvalRunsByIdResultsErrors, GetApiV1EvalRunsByIdResultsResponse, GetApiV1EvalRunsByIdResultsResponses, GetApiV1EvalRunsByIdTopicsData, GetApiV1EvalRunsByIdTopicsError, GetApiV1EvalRunsByIdTopicsErrors, GetApiV1EvalRunsByIdTopicsResponse, GetApiV1EvalRunsByIdTopicsResponses, GetApiV1EvalRunsData, GetApiV1EvalRunsError, GetApiV1EvalRunsErrors, GetApiV1EvalRunsResponse, GetApiV1EvalRunsResponses, GetApiV1EvalTestCasesByIdData, GetApiV1EvalTestCasesByIdError, GetApiV1EvalTestCasesByIdErrors, GetApiV1EvalTestCasesByIdResponse, GetApiV1EvalTestCasesByIdResponses, GetApiV1FilesByIdChunksData, GetApiV1FilesByIdChunksError, GetApiV1FilesByIdChunksErrors, GetApiV1FilesByIdChunksResponse, GetApiV1FilesByIdChunksResponses, GetApiV1FilesByIdData, GetApiV1FilesByIdError, GetApiV1FilesByIdErrors, GetApiV1FilesByIdResponse, GetApiV1FilesByIdResponses, GetApiV1FilesByIdUrlData, GetApiV1FilesByIdUrlError, GetApiV1FilesByIdUrlErrors, GetApiV1FilesByIdUrlResponse, GetApiV1FilesByIdUrlResponses, GetApiV1FilesData, GetApiV1FilesError, GetApiV1FilesErrors, GetApiV1FilesResponse, GetApiV1FilesResponses, GetApiV1GoalsByIdData, GetApiV1GoalsByIdError, GetApiV1GoalsByIdErrors, GetApiV1GoalsByIdResponse, GetApiV1GoalsByIdResponses, GetApiV1GoalsByIdSupervisionData, GetApiV1GoalsByIdSupervisionError, GetApiV1GoalsByIdSupervisionErrors, GetApiV1GoalsByIdSupervisionResponse, GetApiV1GoalsByIdSupervisionResponses, GetApiV1GoalsData, GetApiV1GoalsError, GetApiV1GoalsErrors, GetApiV1GoalsResponse, GetApiV1GoalsResponses, GetApiV1HealthData, GetApiV1HealthResponse, GetApiV1HealthResponses, GetApiV1ImTopicsByTopicIdSyncData, GetApiV1ImTopicsByTopicIdSyncError, GetApiV1ImTopicsByTopicIdSyncErrors, GetApiV1ImTopicsByTopicIdSyncResponse, GetApiV1ImTopicsByTopicIdSyncResponses, GetApiV1KnowledgeBasesByIdData, GetApiV1KnowledgeBasesByIdError, GetApiV1KnowledgeBasesByIdErrors, GetApiV1KnowledgeBasesByIdFilesData, GetApiV1KnowledgeBasesByIdFilesError, GetApiV1KnowledgeBasesByIdFilesErrors, GetApiV1KnowledgeBasesByIdFilesResponse, GetApiV1KnowledgeBasesByIdFilesResponses, GetApiV1KnowledgeBasesByIdResponse, GetApiV1KnowledgeBasesByIdResponses, GetApiV1KnowledgeBasesData, GetApiV1KnowledgeBasesError, GetApiV1KnowledgeBasesErrors, GetApiV1KnowledgeBasesResponse, GetApiV1KnowledgeBasesResponses, GetApiV1McpServersByIdData, GetApiV1McpServersByIdError, GetApiV1McpServersByIdErrors, GetApiV1McpServersByIdResponse, GetApiV1McpServersByIdResponses, GetApiV1McpServersData, GetApiV1McpServersError, GetApiV1McpServersErrors, GetApiV1McpServersResponse, GetApiV1McpServersResponses, GetApiV1MemoriesByCategoryData, GetApiV1MemoriesByCategoryError, GetApiV1MemoriesByCategoryErrors, GetApiV1MemoriesByCategoryResponse, GetApiV1MemoriesByCategoryResponses, GetApiV1MemoriesPersonaData, GetApiV1MemoriesPersonaError, GetApiV1MemoriesPersonaErrors, GetApiV1MemoriesPersonaResponse, GetApiV1MemoriesPersonaResponses, GetApiV1MemoriesPersonaVersionsData, GetApiV1MemoriesPersonaVersionsError, GetApiV1MemoriesPersonaVersionsErrors, GetApiV1MemoriesPersonaVersionsResponse, GetApiV1MemoriesPersonaVersionsResponses, GetApiV1MessageTranslationsByMessageIdData, GetApiV1MessageTranslationsByMessageIdError, GetApiV1MessageTranslationsByMessageIdErrors, GetApiV1MessageTranslationsByMessageIdResponse, GetApiV1MessageTranslationsByMessageIdResponses, GetApiV1MessagesByIdData, GetApiV1MessagesByIdError, GetApiV1MessagesByIdErrors, GetApiV1MessagesByIdResponse, GetApiV1MessagesByIdResponses, GetApiV1MessagesCountData, GetApiV1MessagesCountError, GetApiV1MessagesCountErrors, GetApiV1MessagesCountResponse, GetApiV1MessagesCountResponses, GetApiV1MessagesData, GetApiV1MessagesError, GetApiV1MessagesErrors, GetApiV1MessagesResponse, GetApiV1MessagesResponses, GetApiV1ModelsByProviderIdByModelIdData, GetApiV1ModelsByProviderIdByModelIdError, GetApiV1ModelsByProviderIdByModelIdErrors, GetApiV1ModelsByProviderIdByModelIdResponse, GetApiV1ModelsByProviderIdByModelIdResponses, GetApiV1ModelsData, GetApiV1ModelsError, GetApiV1ModelsErrors, GetApiV1ModelsResponse, GetApiV1ModelsResponses, GetApiV1NotificationsCountsData, GetApiV1NotificationsCountsError, GetApiV1NotificationsCountsErrors, GetApiV1NotificationsCountsResponse, GetApiV1NotificationsCountsResponses, GetApiV1NotificationsData, GetApiV1NotificationsError, GetApiV1NotificationsErrors, GetApiV1NotificationsResponse, GetApiV1NotificationsResponses, GetApiV1NotificationsSettingsData, GetApiV1NotificationsSettingsError, GetApiV1NotificationsSettingsErrors, GetApiV1NotificationsSettingsResponse, GetApiV1NotificationsSettingsResponses, GetApiV1NotificationsUnreadCountData, GetApiV1NotificationsUnreadCountError, GetApiV1NotificationsUnreadCountErrors, GetApiV1NotificationsUnreadCountResponse, GetApiV1NotificationsUnreadCountResponses, GetApiV1PermissionsByIdData, GetApiV1PermissionsByIdError, GetApiV1PermissionsByIdErrors, GetApiV1PermissionsByIdResponse, GetApiV1PermissionsByIdResponses, GetApiV1PermissionsData, GetApiV1PermissionsError, GetApiV1PermissionsErrors, GetApiV1PermissionsResponse, GetApiV1PermissionsResponses, GetApiV1PluginsData, GetApiV1PluginsError, GetApiV1PluginsErrors, GetApiV1PluginsResponse, GetApiV1PluginsResponses, GetApiV1ProvidersByIdData, GetApiV1ProvidersByIdError, GetApiV1ProvidersByIdErrors, GetApiV1ProvidersByIdResponse, GetApiV1ProvidersByIdResponses, GetApiV1ProvidersData, GetApiV1ProvidersError, GetApiV1ProvidersErrors, GetApiV1ProvidersResponse, GetApiV1ProvidersResponses, GetApiV1RolesByIdData, GetApiV1RolesByIdError, GetApiV1RolesByIdErrors, GetApiV1RolesByIdPermissionsData, GetApiV1RolesByIdPermissionsError, GetApiV1RolesByIdPermissionsErrors, GetApiV1RolesByIdPermissionsResponse, GetApiV1RolesByIdPermissionsResponses, GetApiV1RolesByIdResponse, GetApiV1RolesByIdResponses, GetApiV1RolesData, GetApiV1RolesError, GetApiV1RolesErrors, GetApiV1RolesResponse, GetApiV1RolesResponses, GetApiV1SignalsReceiptsData, GetApiV1SignalsReceiptsError, GetApiV1SignalsReceiptsErrors, GetApiV1SignalsReceiptsResponse, GetApiV1SignalsReceiptsResponses, GetApiV1TasksByIdData, GetApiV1TasksByIdError, GetApiV1TasksByIdErrors, GetApiV1TasksByIdResponse, GetApiV1TasksByIdResponses, GetApiV1TasksByIdRunsData, GetApiV1TasksByIdRunsError, GetApiV1TasksByIdRunsErrors, GetApiV1TasksByIdRunsResponse, GetApiV1TasksByIdRunsResponses, GetApiV1TasksData, GetApiV1TasksError, GetApiV1TasksErrors, GetApiV1TasksResponse, GetApiV1TasksResponses, GetApiV1TopicsByIdData, GetApiV1TopicsByIdError, GetApiV1TopicsByIdErrors, GetApiV1TopicsByIdResponse, GetApiV1TopicsByIdResponses, GetApiV1TopicsByTopicIdThreadsData, GetApiV1TopicsByTopicIdThreadsError, GetApiV1TopicsByTopicIdThreadsErrors, GetApiV1TopicsByTopicIdThreadsResponse, GetApiV1TopicsByTopicIdThreadsResponses, GetApiV1TopicsData, GetApiV1TopicsError, GetApiV1TopicsErrors, GetApiV1TopicsResponse, GetApiV1TopicsResponses, GetApiV1UsageData, GetApiV1UsageError, GetApiV1UsageErrors, GetApiV1UsageResponse, GetApiV1UsageResponses, GetApiV1UsersByIdData, GetApiV1UsersByIdError, GetApiV1UsersByIdErrors, GetApiV1UsersByIdResponse, GetApiV1UsersByIdResponses, GetApiV1UsersByIdRolesData, GetApiV1UsersByIdRolesError, GetApiV1UsersByIdRolesErrors, GetApiV1UsersByIdRolesResponse, GetApiV1UsersByIdRolesResponses, GetApiV1UsersData, GetApiV1UsersError, GetApiV1UsersErrors, GetApiV1UsersMeData, GetApiV1UsersMeError, GetApiV1UsersMeErrors, GetApiV1UsersMeResponse, GetApiV1UsersMeResponses, GetApiV1UsersResponse, GetApiV1UsersResponses, Goal, GoalAdvanceResult, GoalDecisionOption, GoalGraph, GoalGraphDecision, GoalGraphEdge, GoalGraphEvent, GoalGraphNode, GoalGraphSnapshot, GoalGraphWorkVersionLink, GoalList, GoalListItem, GoalRestartResult, GoalSupervision, IdempotencyKey, ImMessage, ImReadResult, ImSendResult, ImSyncResult, InstalledPlugin, InstalledPluginList, KnowledgeBase, KnowledgeBaseDetail, KnowledgeBaseFileOperationResult, KnowledgeBaseList, KnowledgeBaseListItem, McpServer, McpServerSyncResult, McpServerTool, MemoryActivity, MemoryCategoryEntries, MemoryContext, MemoryExperience, MemoryIdentity, MemoryPersona, MemoryPersonaVersion, MemoryPreference, Message, MessageTranslation, MessageTranslationWrite, Model, Notification, NotificationCategoryCount, NotificationSettings, NotificationUnreadCount, PageHasMore, PageNextCursor, PageTotal, PatchApiV1AgentGroupsByIdData, PatchApiV1AgentGroupsByIdError, PatchApiV1AgentGroupsByIdErrors, PatchApiV1AgentGroupsByIdResponse, PatchApiV1AgentGroupsByIdResponses, PatchApiV1AgentsByIdAccountsByAccountIdData, PatchApiV1AgentsByIdAccountsByAccountIdError, PatchApiV1AgentsByIdAccountsByAccountIdErrors, PatchApiV1AgentsByIdAccountsByAccountIdResponse, PatchApiV1AgentsByIdAccountsByAccountIdResponses, PatchApiV1AgentsByIdData, PatchApiV1AgentsByIdError, PatchApiV1AgentsByIdErrors, PatchApiV1AgentsByIdResponse, PatchApiV1AgentsByIdResponses, PatchApiV1ApiKeysByIdData, PatchApiV1ApiKeysByIdError, PatchApiV1ApiKeysByIdErrors, PatchApiV1ApiKeysByIdResponse, PatchApiV1ApiKeysByIdResponses, PatchApiV1ChatGroupsByIdData, PatchApiV1ChatGroupsByIdError, PatchApiV1ChatGroupsByIdErrors, PatchApiV1ChatGroupsByIdResponse, PatchApiV1ChatGroupsByIdResponses, PatchApiV1EvalBenchmarksByIdData, PatchApiV1EvalBenchmarksByIdError, PatchApiV1EvalBenchmarksByIdErrors, PatchApiV1EvalBenchmarksByIdResponse, PatchApiV1EvalBenchmarksByIdResponses, PatchApiV1EvalDatasetsByIdData, PatchApiV1EvalDatasetsByIdError, PatchApiV1EvalDatasetsByIdErrors, PatchApiV1EvalDatasetsByIdResponse, PatchApiV1EvalDatasetsByIdResponses, PatchApiV1EvalRunsByIdStatusData, PatchApiV1EvalRunsByIdStatusError, PatchApiV1EvalRunsByIdStatusErrors, PatchApiV1EvalRunsByIdStatusResponse, PatchApiV1EvalRunsByIdStatusResponses, PatchApiV1EvalTestCasesByIdData, PatchApiV1EvalTestCasesByIdError, PatchApiV1EvalTestCasesByIdErrors, PatchApiV1EvalTestCasesByIdResponse, PatchApiV1EvalTestCasesByIdResponses, PatchApiV1FilesByIdData, PatchApiV1FilesByIdError, PatchApiV1FilesByIdErrors, PatchApiV1FilesByIdResponse, PatchApiV1FilesByIdResponses, PatchApiV1GoalsByIdData, PatchApiV1GoalsByIdError, PatchApiV1GoalsByIdErrors, PatchApiV1GoalsByIdResponse, PatchApiV1GoalsByIdResponses, PatchApiV1KnowledgeBasesByIdData, PatchApiV1KnowledgeBasesByIdError, PatchApiV1KnowledgeBasesByIdErrors, PatchApiV1KnowledgeBasesByIdResponse, PatchApiV1KnowledgeBasesByIdResponses, PatchApiV1McpServersByIdData, PatchApiV1McpServersByIdError, PatchApiV1McpServersByIdErrors, PatchApiV1McpServersByIdResponse, PatchApiV1McpServersByIdResponses, PatchApiV1MessageTranslationsByMessageIdData, PatchApiV1MessageTranslationsByMessageIdError, PatchApiV1MessageTranslationsByMessageIdErrors, PatchApiV1MessageTranslationsByMessageIdResponse, PatchApiV1MessageTranslationsByMessageIdResponses, PatchApiV1ModelsByProviderIdByModelIdData, PatchApiV1ModelsByProviderIdByModelIdError, PatchApiV1ModelsByProviderIdByModelIdErrors, PatchApiV1ModelsByProviderIdByModelIdResponse, PatchApiV1ModelsByProviderIdByModelIdResponses, PatchApiV1NotificationsSettingsData, PatchApiV1NotificationsSettingsError, PatchApiV1NotificationsSettingsErrors, PatchApiV1NotificationsSettingsResponse, PatchApiV1NotificationsSettingsResponses, PatchApiV1PermissionsByIdData, PatchApiV1PermissionsByIdError, PatchApiV1PermissionsByIdErrors, PatchApiV1PermissionsByIdResponse, PatchApiV1PermissionsByIdResponses, PatchApiV1ProvidersByIdData, PatchApiV1ProvidersByIdError, PatchApiV1ProvidersByIdErrors, PatchApiV1ProvidersByIdResponse, PatchApiV1ProvidersByIdResponses, PatchApiV1RolesByIdData, PatchApiV1RolesByIdError, PatchApiV1RolesByIdErrors, PatchApiV1RolesByIdPermissionsData, PatchApiV1RolesByIdPermissionsError, PatchApiV1RolesByIdPermissionsErrors, PatchApiV1RolesByIdPermissionsResponse, PatchApiV1RolesByIdPermissionsResponses, PatchApiV1RolesByIdResponse, PatchApiV1RolesByIdResponses, PatchApiV1TasksByIdData, PatchApiV1TasksByIdError, PatchApiV1TasksByIdErrors, PatchApiV1TasksByIdResponse, PatchApiV1TasksByIdResponses, PatchApiV1TasksByIdStatusData, PatchApiV1TasksByIdStatusError, PatchApiV1TasksByIdStatusErrors, PatchApiV1TasksByIdStatusResponse, PatchApiV1TasksByIdStatusResponses, PatchApiV1TopicsByIdData, PatchApiV1TopicsByIdError, PatchApiV1TopicsByIdErrors, PatchApiV1TopicsByIdResponse, PatchApiV1TopicsByIdResponses, PatchApiV1UsersByIdData, PatchApiV1UsersByIdError, PatchApiV1UsersByIdErrors, PatchApiV1UsersByIdResponse, PatchApiV1UsersByIdResponses, PatchApiV1UsersByIdRolesData, PatchApiV1UsersByIdRolesError, PatchApiV1UsersByIdRolesErrors, PatchApiV1UsersByIdRolesResponse, PatchApiV1UsersByIdRolesResponses, Permission, PermissionList, PostApiV1AgentGroupsData, PostApiV1AgentGroupsError, PostApiV1AgentGroupsErrors, PostApiV1AgentGroupsResponse, PostApiV1AgentGroupsResponses, PostApiV1AgentsByIdAccountsData, PostApiV1AgentsByIdAccountsError, PostApiV1AgentsByIdAccountsErrors, PostApiV1AgentsByIdAccountsResponse, PostApiV1AgentsByIdAccountsResponses, PostApiV1AgentsByIdDuplicateData, PostApiV1AgentsByIdDuplicateError, PostApiV1AgentsByIdDuplicateErrors, PostApiV1AgentsByIdDuplicateResponse, PostApiV1AgentsByIdDuplicateResponses, PostApiV1AgentsData, PostApiV1AgentsError, PostApiV1AgentsErrors, PostApiV1AgentsResponse, PostApiV1AgentsResponses, PostApiV1ApiKeysData, PostApiV1ApiKeysError, PostApiV1ApiKeysErrors, PostApiV1ApiKeysResponse, PostApiV1ApiKeysResponses, PostApiV1AudioSpeechData, PostApiV1AudioSpeechError, PostApiV1AudioSpeechErrors, PostApiV1AudioSpeechResponse, PostApiV1AudioSpeechResponses, PostApiV1ChatData, PostApiV1ChatError, PostApiV1ChatErrors, PostApiV1ChatGenerateReplyData, PostApiV1ChatGenerateReplyError, PostApiV1ChatGenerateReplyErrors, PostApiV1ChatGenerateReplyResponse, PostApiV1ChatGenerateReplyResponses, PostApiV1ChatGroupsByIdMembersData, PostApiV1ChatGroupsByIdMembersError, PostApiV1ChatGroupsByIdMembersErrors, PostApiV1ChatGroupsByIdMembersResponse, PostApiV1ChatGroupsByIdMembersResponses, PostApiV1ChatGroupsData, PostApiV1ChatGroupsError, PostApiV1ChatGroupsErrors, PostApiV1ChatGroupsResponse, PostApiV1ChatGroupsResponses, PostApiV1ChatResponse, PostApiV1ChatResponses, PostApiV1ChatTranslateData, PostApiV1ChatTranslateError, PostApiV1ChatTranslateErrors, PostApiV1ChatTranslateResponse, PostApiV1ChatTranslateResponses, PostApiV1EvalBenchmarksData, PostApiV1EvalBenchmarksError, PostApiV1EvalBenchmarksErrors, PostApiV1EvalBenchmarksResponse, PostApiV1EvalBenchmarksResponses, PostApiV1EvalDatasetsByDatasetIdTestCasesData, PostApiV1EvalDatasetsByDatasetIdTestCasesError, PostApiV1EvalDatasetsByDatasetIdTestCasesErrors, PostApiV1EvalDatasetsByDatasetIdTestCasesResponse, PostApiV1EvalDatasetsByDatasetIdTestCasesResponses, PostApiV1EvalDatasetsData, PostApiV1EvalDatasetsError, PostApiV1EvalDatasetsErrors, PostApiV1EvalDatasetsResponse, PostApiV1EvalDatasetsResponses, PostApiV1EvalRunsByIdClaimData, PostApiV1EvalRunsByIdClaimError, PostApiV1EvalRunsByIdClaimErrors, PostApiV1EvalRunsByIdClaimResponse, PostApiV1EvalRunsByIdClaimResponses, PostApiV1EvalRunsByIdResultsData, PostApiV1EvalRunsByIdResultsError, PostApiV1EvalRunsByIdResultsErrors, PostApiV1EvalRunsByIdResultsResponse, PostApiV1EvalRunsByIdResultsResponses, PostApiV1EvalRunsByIdRetryErrorsData, PostApiV1EvalRunsByIdRetryErrorsError, PostApiV1EvalRunsByIdRetryErrorsErrors, PostApiV1EvalRunsByIdRetryErrorsResponse, PostApiV1EvalRunsByIdRetryErrorsResponses, PostApiV1EvalRunsData, PostApiV1EvalRunsError, PostApiV1EvalRunsErrors, PostApiV1EvalRunsResponse, PostApiV1EvalRunsResponses, PostApiV1FilesBatchesData, PostApiV1FilesBatchesError, PostApiV1FilesBatchesErrors, PostApiV1FilesBatchesResponse, PostApiV1FilesBatchesResponses, PostApiV1FilesByIdChunksData, PostApiV1FilesByIdChunksError, PostApiV1FilesByIdChunksErrors, PostApiV1FilesByIdChunksResponse, PostApiV1FilesByIdChunksResponses, PostApiV1FilesByIdParsesData, PostApiV1FilesByIdParsesError, PostApiV1FilesByIdParsesErrors, PostApiV1FilesByIdParsesResponse, PostApiV1FilesByIdParsesResponses, PostApiV1FilesData, PostApiV1FilesError, PostApiV1FilesErrors, PostApiV1FilesQueriesData, PostApiV1FilesQueriesError, PostApiV1FilesQueriesErrors, PostApiV1FilesQueriesResponse, PostApiV1FilesQueriesResponses, PostApiV1FilesResponse, PostApiV1FilesResponses, PostApiV1GoalsByIdAdvanceData, PostApiV1GoalsByIdAdvanceError, PostApiV1GoalsByIdAdvanceErrors, PostApiV1GoalsByIdAdvanceResponse, PostApiV1GoalsByIdAdvanceResponses, PostApiV1GoalsByIdPauseData, PostApiV1GoalsByIdPauseError, PostApiV1GoalsByIdPauseErrors, PostApiV1GoalsByIdPauseResponse, PostApiV1GoalsByIdPauseResponses, PostApiV1GoalsByIdRestartData, PostApiV1GoalsByIdRestartError, PostApiV1GoalsByIdRestartErrors, PostApiV1GoalsByIdRestartResponse, PostApiV1GoalsByIdRestartResponses, PostApiV1GoalsByIdResumeData, PostApiV1GoalsByIdResumeError, PostApiV1GoalsByIdResumeErrors, PostApiV1GoalsByIdResumeResponse, PostApiV1GoalsByIdResumeResponses, PostApiV1GoalsData, PostApiV1GoalsError, PostApiV1GoalsErrors, PostApiV1GoalsResponse, PostApiV1GoalsResponses, PostApiV1ImMessagesData, PostApiV1ImMessagesError, PostApiV1ImMessagesErrors, PostApiV1ImMessagesResponse, PostApiV1ImMessagesResponses, PostApiV1ImTopicsByTopicIdReadData, PostApiV1ImTopicsByTopicIdReadError, PostApiV1ImTopicsByTopicIdReadErrors, PostApiV1ImTopicsByTopicIdReadResponse, PostApiV1ImTopicsByTopicIdReadResponses, PostApiV1KnowledgeBasesByIdFilesBatchData, PostApiV1KnowledgeBasesByIdFilesBatchError, PostApiV1KnowledgeBasesByIdFilesBatchErrors, PostApiV1KnowledgeBasesByIdFilesBatchResponse, PostApiV1KnowledgeBasesByIdFilesBatchResponses, PostApiV1KnowledgeBasesByIdFilesMoveData, PostApiV1KnowledgeBasesByIdFilesMoveError, PostApiV1KnowledgeBasesByIdFilesMoveErrors, PostApiV1KnowledgeBasesByIdFilesMoveResponse, PostApiV1KnowledgeBasesByIdFilesMoveResponses, PostApiV1KnowledgeBasesData, PostApiV1KnowledgeBasesError, PostApiV1KnowledgeBasesErrors, PostApiV1KnowledgeBasesResponse, PostApiV1KnowledgeBasesResponses, PostApiV1McpServersByIdSyncData, PostApiV1McpServersByIdSyncError, PostApiV1McpServersByIdSyncErrors, PostApiV1McpServersByIdSyncResponse, PostApiV1McpServersByIdSyncResponses, PostApiV1McpServersData, PostApiV1McpServersError, PostApiV1McpServersErrors, PostApiV1McpServersResponse, PostApiV1McpServersResponses, PostApiV1MessageTranslationsByMessageIdData, PostApiV1MessageTranslationsByMessageIdError, PostApiV1MessageTranslationsByMessageIdErrors, PostApiV1MessageTranslationsByMessageIdResponse, PostApiV1MessageTranslationsByMessageIdResponses, PostApiV1MessagesData, PostApiV1MessagesError, PostApiV1MessagesErrors, PostApiV1MessagesRepliesData, PostApiV1MessagesRepliesError, PostApiV1MessagesRepliesErrors, PostApiV1MessagesRepliesResponse, PostApiV1MessagesRepliesResponses, PostApiV1MessagesResponse, PostApiV1MessagesResponses, PostApiV1ModelsData, PostApiV1ModelsError, PostApiV1ModelsErrors, PostApiV1ModelsResponse, PostApiV1ModelsResponses, PostApiV1NotificationsArchiveAllData, PostApiV1NotificationsArchiveAllError, PostApiV1NotificationsArchiveAllErrors, PostApiV1NotificationsArchiveAllResponse, PostApiV1NotificationsArchiveAllResponses, PostApiV1NotificationsByIdArchiveData, PostApiV1NotificationsByIdArchiveError, PostApiV1NotificationsByIdArchiveErrors, PostApiV1NotificationsByIdArchiveResponse, PostApiV1NotificationsByIdArchiveResponses, PostApiV1NotificationsReadAllData, PostApiV1NotificationsReadAllError, PostApiV1NotificationsReadAllErrors, PostApiV1NotificationsReadAllResponse, PostApiV1NotificationsReadAllResponses, PostApiV1NotificationsReadData, PostApiV1NotificationsReadError, PostApiV1NotificationsReadErrors, PostApiV1NotificationsReadResponse, PostApiV1NotificationsReadResponses, PostApiV1PermissionsData, PostApiV1PermissionsError, PostApiV1PermissionsErrors, PostApiV1PermissionsResponse, PostApiV1PermissionsResponses, PostApiV1ProvidersData, PostApiV1ProvidersError, PostApiV1ProvidersErrors, PostApiV1ProvidersResponse, PostApiV1ProvidersResponses, PostApiV1ResponsesData, PostApiV1ResponsesError, PostApiV1ResponsesErrors, PostApiV1ResponsesResponse, PostApiV1ResponsesResponses, PostApiV1RolesData, PostApiV1RolesError, PostApiV1RolesErrors, PostApiV1RolesResponse, PostApiV1RolesResponses, PostApiV1SignalsSourceEventsData, PostApiV1SignalsSourceEventsError, PostApiV1SignalsSourceEventsErrors, PostApiV1SignalsSourceEventsResponse, PostApiV1SignalsSourceEventsResponses, PostApiV1SignalsTriggerData, PostApiV1SignalsTriggerError, PostApiV1SignalsTriggerErrors, PostApiV1SignalsTriggerResponse, PostApiV1SignalsTriggerResponses, PostApiV1TasksByIdRunsData, PostApiV1TasksByIdRunsError, PostApiV1TasksByIdRunsErrors, PostApiV1TasksByIdRunsResponse, PostApiV1TasksByIdRunsResponses, PostApiV1TasksData, PostApiV1TasksError, PostApiV1TasksErrors, PostApiV1TasksResponse, PostApiV1TasksResponses, PostApiV1TopicsData, PostApiV1TopicsError, PostApiV1TopicsErrors, PostApiV1TopicsResponse, PostApiV1TopicsResponses, PostApiV1UsersData, PostApiV1UsersError, PostApiV1UsersErrors, PostApiV1UsersResponse, PostApiV1UsersResponses, Provider, PushTokenRegistration, PutApiV1AgentsByIdAccountsByAccountIdCredentialData, PutApiV1AgentsByIdAccountsByAccountIdCredentialError, PutApiV1AgentsByIdAccountsByAccountIdCredentialErrors, PutApiV1AgentsByIdAccountsByAccountIdCredentialResponse, PutApiV1AgentsByIdAccountsByAccountIdCredentialResponses, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultData, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultError, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultErrors, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponse, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponses, PutApiV1PushTokensByDeviceIdData, PutApiV1PushTokensByDeviceIdError, PutApiV1PushTokensByDeviceIdErrors, PutApiV1PushTokensByDeviceIdResponse, PutApiV1PushTokensByDeviceIdResponses, ResponseError, ResponseFunctionCall, ResponseFunctionCallOutput, ResponseObject, ResponseOutputItem, ResponseOutputMessage, ResponseOutputText, ResponseUsage, Role, RoleList, RolePermission, RolePermissionList, RolePermissionsUpdateResult, Task, TaskDetail, TaskDetailActivity, TaskDetailSubtask, TaskDetailWorkspaceNode, TaskLabelRef, TaskList, TaskListItem, TaskRun, TaskRunStarted, TaskStatusUpdateResult, Topic, TopicSummary, TopicThread, Usage, User, UserIdentity, UserList, UserRole };
13994
+ export { Agent, AgentAccount, AgentAccountCapabilities, AgentAccountList, AgentDetail, AgentFile, AgentGroup, AgentKnowledgeBase, AgentList, AgentPlugin, AgentSignalEmission, AgentSignalReceipt, AgentSignalReceiptList, ApiError, ApiErrorCode, ApiKey, AsyncTaskError, BatchFileUploadResult, BatchGetFilesResult, ChatGenerateReplyResponse, ChatGroup, ChatGroupList, ChatGroupMember, ChatResponse, ChatTranslateResponse, ClientOptions, CreatedAgentGroup, CreatedApiKey, DeleteApiV1AgentGroupsByIdData, DeleteApiV1AgentGroupsByIdError, DeleteApiV1AgentGroupsByIdErrors, DeleteApiV1AgentGroupsByIdResponse, DeleteApiV1AgentGroupsByIdResponses, DeleteApiV1AgentsByIdAccountsByAccountIdData, DeleteApiV1AgentsByIdAccountsByAccountIdError, DeleteApiV1AgentsByIdAccountsByAccountIdErrors, DeleteApiV1AgentsByIdAccountsByAccountIdResponse, DeleteApiV1AgentsByIdAccountsByAccountIdResponses, DeleteApiV1AgentsByIdData, DeleteApiV1AgentsByIdError, DeleteApiV1AgentsByIdErrors, DeleteApiV1AgentsByIdResponse, DeleteApiV1AgentsByIdResponses, DeleteApiV1ApiKeysByIdData, DeleteApiV1ApiKeysByIdError, DeleteApiV1ApiKeysByIdErrors, DeleteApiV1ApiKeysByIdResponse, DeleteApiV1ApiKeysByIdResponses, DeleteApiV1ChatGroupsByIdData, DeleteApiV1ChatGroupsByIdError, DeleteApiV1ChatGroupsByIdErrors, DeleteApiV1ChatGroupsByIdMembersData, DeleteApiV1ChatGroupsByIdMembersError, DeleteApiV1ChatGroupsByIdMembersErrors, DeleteApiV1ChatGroupsByIdMembersResponse, DeleteApiV1ChatGroupsByIdMembersResponses, DeleteApiV1ChatGroupsByIdResponse, DeleteApiV1ChatGroupsByIdResponses, DeleteApiV1EvalBenchmarksByIdData, DeleteApiV1EvalBenchmarksByIdError, DeleteApiV1EvalBenchmarksByIdErrors, DeleteApiV1EvalBenchmarksByIdResponse, DeleteApiV1EvalBenchmarksByIdResponses, DeleteApiV1EvalDatasetsByIdData, DeleteApiV1EvalDatasetsByIdError, DeleteApiV1EvalDatasetsByIdErrors, DeleteApiV1EvalDatasetsByIdResponse, DeleteApiV1EvalDatasetsByIdResponses, DeleteApiV1EvalTestCasesByIdData, DeleteApiV1EvalTestCasesByIdError, DeleteApiV1EvalTestCasesByIdErrors, DeleteApiV1EvalTestCasesByIdResponse, DeleteApiV1EvalTestCasesByIdResponses, DeleteApiV1FilesByIdData, DeleteApiV1FilesByIdError, DeleteApiV1FilesByIdErrors, DeleteApiV1FilesByIdResponse, DeleteApiV1FilesByIdResponses, DeleteApiV1GoalsByIdData, DeleteApiV1GoalsByIdError, DeleteApiV1GoalsByIdErrors, DeleteApiV1GoalsByIdResponse, DeleteApiV1GoalsByIdResponses, DeleteApiV1KnowledgeBasesByIdData, DeleteApiV1KnowledgeBasesByIdError, DeleteApiV1KnowledgeBasesByIdErrors, DeleteApiV1KnowledgeBasesByIdFilesBatchData, DeleteApiV1KnowledgeBasesByIdFilesBatchError, DeleteApiV1KnowledgeBasesByIdFilesBatchErrors, DeleteApiV1KnowledgeBasesByIdFilesBatchResponse, DeleteApiV1KnowledgeBasesByIdFilesBatchResponses, DeleteApiV1KnowledgeBasesByIdResponse, DeleteApiV1KnowledgeBasesByIdResponses, DeleteApiV1McpServersByIdData, DeleteApiV1McpServersByIdError, DeleteApiV1McpServersByIdErrors, DeleteApiV1McpServersByIdResponse, DeleteApiV1McpServersByIdResponses, DeleteApiV1MemoriesByCategoryByIdData, DeleteApiV1MemoriesByCategoryByIdError, DeleteApiV1MemoriesByCategoryByIdErrors, DeleteApiV1MemoriesByCategoryByIdResponse, DeleteApiV1MemoriesByCategoryByIdResponses, DeleteApiV1MemoriesData, DeleteApiV1MemoriesError, DeleteApiV1MemoriesErrors, DeleteApiV1MemoriesResponse, DeleteApiV1MemoriesResponses, DeleteApiV1MessageTranslationsByMessageIdData, DeleteApiV1MessageTranslationsByMessageIdError, DeleteApiV1MessageTranslationsByMessageIdErrors, DeleteApiV1MessageTranslationsByMessageIdResponse, DeleteApiV1MessageTranslationsByMessageIdResponses, DeleteApiV1MessagesByIdData, DeleteApiV1MessagesByIdError, DeleteApiV1MessagesByIdErrors, DeleteApiV1MessagesByIdResponse, DeleteApiV1MessagesByIdResponses, DeleteApiV1MessagesData, DeleteApiV1MessagesError, DeleteApiV1MessagesErrors, DeleteApiV1MessagesResponse, DeleteApiV1MessagesResponses, DeleteApiV1PermissionsByIdData, DeleteApiV1PermissionsByIdError, DeleteApiV1PermissionsByIdErrors, DeleteApiV1PermissionsByIdResponse, DeleteApiV1PermissionsByIdResponses, DeleteApiV1ProvidersByIdData, DeleteApiV1ProvidersByIdError, DeleteApiV1ProvidersByIdErrors, DeleteApiV1ProvidersByIdResponse, DeleteApiV1ProvidersByIdResponses, DeleteApiV1PushTokensByDeviceIdData, DeleteApiV1PushTokensByDeviceIdError, DeleteApiV1PushTokensByDeviceIdErrors, DeleteApiV1PushTokensByDeviceIdResponse, DeleteApiV1PushTokensByDeviceIdResponses, DeleteApiV1RolesByIdData, DeleteApiV1RolesByIdError, DeleteApiV1RolesByIdErrors, DeleteApiV1RolesByIdPermissionsData, DeleteApiV1RolesByIdPermissionsError, DeleteApiV1RolesByIdPermissionsErrors, DeleteApiV1RolesByIdPermissionsResponse, DeleteApiV1RolesByIdPermissionsResponses, DeleteApiV1RolesByIdResponse, DeleteApiV1RolesByIdResponses, DeleteApiV1TasksByIdData, DeleteApiV1TasksByIdError, DeleteApiV1TasksByIdErrors, DeleteApiV1TasksByIdResponse, DeleteApiV1TasksByIdResponses, DeleteApiV1TopicsByIdData, DeleteApiV1TopicsByIdError, DeleteApiV1TopicsByIdErrors, DeleteApiV1TopicsByIdResponse, DeleteApiV1TopicsByIdResponses, DeleteApiV1UsersByIdData, DeleteApiV1UsersByIdError, DeleteApiV1UsersByIdErrors, DeleteApiV1UsersByIdResponse, DeleteApiV1UsersByIdResponses, DeleteApiV1UsersByIdRolesData, DeleteApiV1UsersByIdRolesError, DeleteApiV1UsersByIdRolesErrors, DeleteApiV1UsersByIdRolesResponse, DeleteApiV1UsersByIdRolesResponses, DeletedResource, DeletedResources, Document, DocumentSummary, EvalBatchReportResult, EvalBenchmark, EvalBenchmarkRubric, EvalCaseResult, EvalDataset, EvalReportReceipt, EvalReportResult, EvalRetryErrors, EvalRubricScore, EvalRun, EvalRunMetrics, EvalRunResult, EvalRunTopic, EvalStoredResult, EvalTestCase, EvalThreadResult, File, FileAsyncTask, FileChunkStatus, FileChunkTask, FileDetail, FileKnowledgeBaseRef, FileList, FileListItem, FileParseResult, FileUrl, FileUser, GetApiV1AgentGroupsByIdData, GetApiV1AgentGroupsByIdError, GetApiV1AgentGroupsByIdErrors, GetApiV1AgentGroupsByIdResponse, GetApiV1AgentGroupsByIdResponses, GetApiV1AgentGroupsData, GetApiV1AgentGroupsError, GetApiV1AgentGroupsErrors, GetApiV1AgentGroupsResponse, GetApiV1AgentGroupsResponses, GetApiV1AgentsByIdAccountsByAccountIdData, GetApiV1AgentsByIdAccountsByAccountIdError, GetApiV1AgentsByIdAccountsByAccountIdErrors, GetApiV1AgentsByIdAccountsByAccountIdResponse, GetApiV1AgentsByIdAccountsByAccountIdResponses, GetApiV1AgentsByIdAccountsData, GetApiV1AgentsByIdAccountsError, GetApiV1AgentsByIdAccountsErrors, GetApiV1AgentsByIdAccountsResponse, GetApiV1AgentsByIdAccountsResponses, GetApiV1AgentsByIdData, GetApiV1AgentsByIdError, GetApiV1AgentsByIdErrors, GetApiV1AgentsByIdResponse, GetApiV1AgentsByIdResponses, GetApiV1AgentsData, GetApiV1AgentsError, GetApiV1AgentsErrors, GetApiV1AgentsResponse, GetApiV1AgentsResponses, GetApiV1ApiKeysByIdData, GetApiV1ApiKeysByIdError, GetApiV1ApiKeysByIdErrors, GetApiV1ApiKeysByIdResponse, GetApiV1ApiKeysByIdResponses, GetApiV1ApiKeysData, GetApiV1ApiKeysError, GetApiV1ApiKeysErrors, GetApiV1ApiKeysResponse, GetApiV1ApiKeysResponses, GetApiV1ChatGroupsByIdData, GetApiV1ChatGroupsByIdError, GetApiV1ChatGroupsByIdErrors, GetApiV1ChatGroupsByIdResponse, GetApiV1ChatGroupsByIdResponses, GetApiV1ChatGroupsData, GetApiV1ChatGroupsError, GetApiV1ChatGroupsErrors, GetApiV1ChatGroupsResponse, GetApiV1ChatGroupsResponses, GetApiV1DocumentsByIdData, GetApiV1DocumentsByIdError, GetApiV1DocumentsByIdErrors, GetApiV1DocumentsByIdResponse, GetApiV1DocumentsByIdResponses, GetApiV1DocumentsData, GetApiV1DocumentsError, GetApiV1DocumentsErrors, GetApiV1DocumentsResponse, GetApiV1DocumentsResponses, GetApiV1EvalBenchmarksByIdData, GetApiV1EvalBenchmarksByIdError, GetApiV1EvalBenchmarksByIdErrors, GetApiV1EvalBenchmarksByIdResponse, GetApiV1EvalBenchmarksByIdResponses, GetApiV1EvalBenchmarksData, GetApiV1EvalBenchmarksError, GetApiV1EvalBenchmarksErrors, GetApiV1EvalBenchmarksResponse, GetApiV1EvalBenchmarksResponses, GetApiV1EvalDatasetsByDatasetIdTestCasesData, GetApiV1EvalDatasetsByDatasetIdTestCasesError, GetApiV1EvalDatasetsByDatasetIdTestCasesErrors, GetApiV1EvalDatasetsByDatasetIdTestCasesResponse, GetApiV1EvalDatasetsByDatasetIdTestCasesResponses, GetApiV1EvalDatasetsByIdData, GetApiV1EvalDatasetsByIdError, GetApiV1EvalDatasetsByIdErrors, GetApiV1EvalDatasetsByIdResponse, GetApiV1EvalDatasetsByIdResponses, GetApiV1EvalDatasetsData, GetApiV1EvalDatasetsError, GetApiV1EvalDatasetsErrors, GetApiV1EvalDatasetsResponse, GetApiV1EvalDatasetsResponses, GetApiV1EvalRunsByIdData, GetApiV1EvalRunsByIdError, GetApiV1EvalRunsByIdErrors, GetApiV1EvalRunsByIdResponse, GetApiV1EvalRunsByIdResponses, GetApiV1EvalRunsByIdResultsData, GetApiV1EvalRunsByIdResultsError, GetApiV1EvalRunsByIdResultsErrors, GetApiV1EvalRunsByIdResultsResponse, GetApiV1EvalRunsByIdResultsResponses, GetApiV1EvalRunsByIdTopicsData, GetApiV1EvalRunsByIdTopicsError, GetApiV1EvalRunsByIdTopicsErrors, GetApiV1EvalRunsByIdTopicsResponse, GetApiV1EvalRunsByIdTopicsResponses, GetApiV1EvalRunsData, GetApiV1EvalRunsError, GetApiV1EvalRunsErrors, GetApiV1EvalRunsResponse, GetApiV1EvalRunsResponses, GetApiV1EvalTestCasesByIdData, GetApiV1EvalTestCasesByIdError, GetApiV1EvalTestCasesByIdErrors, GetApiV1EvalTestCasesByIdResponse, GetApiV1EvalTestCasesByIdResponses, GetApiV1FilesByIdChunksData, GetApiV1FilesByIdChunksError, GetApiV1FilesByIdChunksErrors, GetApiV1FilesByIdChunksResponse, GetApiV1FilesByIdChunksResponses, GetApiV1FilesByIdData, GetApiV1FilesByIdError, GetApiV1FilesByIdErrors, GetApiV1FilesByIdResponse, GetApiV1FilesByIdResponses, GetApiV1FilesByIdUrlData, GetApiV1FilesByIdUrlError, GetApiV1FilesByIdUrlErrors, GetApiV1FilesByIdUrlResponse, GetApiV1FilesByIdUrlResponses, GetApiV1FilesData, GetApiV1FilesError, GetApiV1FilesErrors, GetApiV1FilesResponse, GetApiV1FilesResponses, GetApiV1GoalsByIdData, GetApiV1GoalsByIdError, GetApiV1GoalsByIdErrors, GetApiV1GoalsByIdResponse, GetApiV1GoalsByIdResponses, GetApiV1GoalsByIdSupervisionData, GetApiV1GoalsByIdSupervisionError, GetApiV1GoalsByIdSupervisionErrors, GetApiV1GoalsByIdSupervisionResponse, GetApiV1GoalsByIdSupervisionResponses, GetApiV1GoalsData, GetApiV1GoalsError, GetApiV1GoalsErrors, GetApiV1GoalsResponse, GetApiV1GoalsResponses, GetApiV1HealthData, GetApiV1HealthResponse, GetApiV1HealthResponses, GetApiV1ImTopicsByTopicIdSyncData, GetApiV1ImTopicsByTopicIdSyncError, GetApiV1ImTopicsByTopicIdSyncErrors, GetApiV1ImTopicsByTopicIdSyncResponse, GetApiV1ImTopicsByTopicIdSyncResponses, GetApiV1KnowledgeBasesByIdData, GetApiV1KnowledgeBasesByIdError, GetApiV1KnowledgeBasesByIdErrors, GetApiV1KnowledgeBasesByIdFilesData, GetApiV1KnowledgeBasesByIdFilesError, GetApiV1KnowledgeBasesByIdFilesErrors, GetApiV1KnowledgeBasesByIdFilesResponse, GetApiV1KnowledgeBasesByIdFilesResponses, GetApiV1KnowledgeBasesByIdResponse, GetApiV1KnowledgeBasesByIdResponses, GetApiV1KnowledgeBasesData, GetApiV1KnowledgeBasesError, GetApiV1KnowledgeBasesErrors, GetApiV1KnowledgeBasesResponse, GetApiV1KnowledgeBasesResponses, GetApiV1McpServersByIdData, GetApiV1McpServersByIdError, GetApiV1McpServersByIdErrors, GetApiV1McpServersByIdResponse, GetApiV1McpServersByIdResponses, GetApiV1McpServersData, GetApiV1McpServersError, GetApiV1McpServersErrors, GetApiV1McpServersResponse, GetApiV1McpServersResponses, GetApiV1MemoriesByCategoryData, GetApiV1MemoriesByCategoryError, GetApiV1MemoriesByCategoryErrors, GetApiV1MemoriesByCategoryResponse, GetApiV1MemoriesByCategoryResponses, GetApiV1MemoriesPersonaData, GetApiV1MemoriesPersonaError, GetApiV1MemoriesPersonaErrors, GetApiV1MemoriesPersonaResponse, GetApiV1MemoriesPersonaResponses, GetApiV1MemoriesPersonaVersionsData, GetApiV1MemoriesPersonaVersionsError, GetApiV1MemoriesPersonaVersionsErrors, GetApiV1MemoriesPersonaVersionsResponse, GetApiV1MemoriesPersonaVersionsResponses, GetApiV1MessageTranslationsByMessageIdData, GetApiV1MessageTranslationsByMessageIdError, GetApiV1MessageTranslationsByMessageIdErrors, GetApiV1MessageTranslationsByMessageIdResponse, GetApiV1MessageTranslationsByMessageIdResponses, GetApiV1MessagesByIdData, GetApiV1MessagesByIdError, GetApiV1MessagesByIdErrors, GetApiV1MessagesByIdResponse, GetApiV1MessagesByIdResponses, GetApiV1MessagesCountData, GetApiV1MessagesCountError, GetApiV1MessagesCountErrors, GetApiV1MessagesCountResponse, GetApiV1MessagesCountResponses, GetApiV1MessagesData, GetApiV1MessagesError, GetApiV1MessagesErrors, GetApiV1MessagesResponse, GetApiV1MessagesResponses, GetApiV1ModelsByProviderIdByModelIdData, GetApiV1ModelsByProviderIdByModelIdError, GetApiV1ModelsByProviderIdByModelIdErrors, GetApiV1ModelsByProviderIdByModelIdResponse, GetApiV1ModelsByProviderIdByModelIdResponses, GetApiV1ModelsData, GetApiV1ModelsError, GetApiV1ModelsErrors, GetApiV1ModelsResponse, GetApiV1ModelsResponses, GetApiV1NotificationsCountsData, GetApiV1NotificationsCountsError, GetApiV1NotificationsCountsErrors, GetApiV1NotificationsCountsResponse, GetApiV1NotificationsCountsResponses, GetApiV1NotificationsData, GetApiV1NotificationsError, GetApiV1NotificationsErrors, GetApiV1NotificationsResponse, GetApiV1NotificationsResponses, GetApiV1NotificationsSettingsData, GetApiV1NotificationsSettingsError, GetApiV1NotificationsSettingsErrors, GetApiV1NotificationsSettingsResponse, GetApiV1NotificationsSettingsResponses, GetApiV1NotificationsUnreadCountData, GetApiV1NotificationsUnreadCountError, GetApiV1NotificationsUnreadCountErrors, GetApiV1NotificationsUnreadCountResponse, GetApiV1NotificationsUnreadCountResponses, GetApiV1PermissionsByIdData, GetApiV1PermissionsByIdError, GetApiV1PermissionsByIdErrors, GetApiV1PermissionsByIdResponse, GetApiV1PermissionsByIdResponses, GetApiV1PermissionsData, GetApiV1PermissionsError, GetApiV1PermissionsErrors, GetApiV1PermissionsResponse, GetApiV1PermissionsResponses, GetApiV1PluginsData, GetApiV1PluginsError, GetApiV1PluginsErrors, GetApiV1PluginsResponse, GetApiV1PluginsResponses, GetApiV1ProvidersByIdData, GetApiV1ProvidersByIdError, GetApiV1ProvidersByIdErrors, GetApiV1ProvidersByIdResponse, GetApiV1ProvidersByIdResponses, GetApiV1ProvidersData, GetApiV1ProvidersError, GetApiV1ProvidersErrors, GetApiV1ProvidersResponse, GetApiV1ProvidersResponses, GetApiV1RolesByIdData, GetApiV1RolesByIdError, GetApiV1RolesByIdErrors, GetApiV1RolesByIdPermissionsData, GetApiV1RolesByIdPermissionsError, GetApiV1RolesByIdPermissionsErrors, GetApiV1RolesByIdPermissionsResponse, GetApiV1RolesByIdPermissionsResponses, GetApiV1RolesByIdResponse, GetApiV1RolesByIdResponses, GetApiV1RolesData, GetApiV1RolesError, GetApiV1RolesErrors, GetApiV1RolesResponse, GetApiV1RolesResponses, GetApiV1SignalsReceiptsData, GetApiV1SignalsReceiptsError, GetApiV1SignalsReceiptsErrors, GetApiV1SignalsReceiptsResponse, GetApiV1SignalsReceiptsResponses, GetApiV1TasksByIdData, GetApiV1TasksByIdError, GetApiV1TasksByIdErrors, GetApiV1TasksByIdResponse, GetApiV1TasksByIdResponses, GetApiV1TasksByIdRunsData, GetApiV1TasksByIdRunsError, GetApiV1TasksByIdRunsErrors, GetApiV1TasksByIdRunsResponse, GetApiV1TasksByIdRunsResponses, GetApiV1TasksData, GetApiV1TasksError, GetApiV1TasksErrors, GetApiV1TasksResponse, GetApiV1TasksResponses, GetApiV1TopicsByIdData, GetApiV1TopicsByIdError, GetApiV1TopicsByIdErrors, GetApiV1TopicsByIdResponse, GetApiV1TopicsByIdResponses, GetApiV1TopicsByTopicIdThreadsData, GetApiV1TopicsByTopicIdThreadsError, GetApiV1TopicsByTopicIdThreadsErrors, GetApiV1TopicsByTopicIdThreadsResponse, GetApiV1TopicsByTopicIdThreadsResponses, GetApiV1TopicsData, GetApiV1TopicsError, GetApiV1TopicsErrors, GetApiV1TopicsResponse, GetApiV1TopicsResponses, GetApiV1UsageData, GetApiV1UsageError, GetApiV1UsageErrors, GetApiV1UsageResponse, GetApiV1UsageResponses, GetApiV1UsersByIdData, GetApiV1UsersByIdError, GetApiV1UsersByIdErrors, GetApiV1UsersByIdResponse, GetApiV1UsersByIdResponses, GetApiV1UsersByIdRolesData, GetApiV1UsersByIdRolesError, GetApiV1UsersByIdRolesErrors, GetApiV1UsersByIdRolesResponse, GetApiV1UsersByIdRolesResponses, GetApiV1UsersData, GetApiV1UsersError, GetApiV1UsersErrors, GetApiV1UsersMeData, GetApiV1UsersMeError, GetApiV1UsersMeErrors, GetApiV1UsersMeResponse, GetApiV1UsersMeResponses, GetApiV1UsersResponse, GetApiV1UsersResponses, Goal, GoalAdvanceResult, GoalDecisionOption, GoalGraph, GoalGraphDecision, GoalGraphEdge, GoalGraphEvent, GoalGraphNode, GoalGraphSnapshot, GoalGraphWorkVersionLink, GoalList, GoalListItem, GoalRestartResult, GoalSupervision, IdempotencyKey, ImMessage, ImReadResult, ImSendResult, ImSyncResult, InstalledPlugin, InstalledPluginList, KnowledgeBase, KnowledgeBaseDetail, KnowledgeBaseFileOperationResult, KnowledgeBaseList, KnowledgeBaseListItem, McpServer, McpServerSyncResult, McpServerTool, MemoryActivity, MemoryCategoryEntries, MemoryContext, MemoryExperience, MemoryIdentity, MemoryPersona, MemoryPersonaVersion, MemoryPreference, Message, MessageTranslation, MessageTranslationWrite, Model, Notification, NotificationCategoryCount, NotificationSettings, NotificationUnreadCount, PageHasMore, PageNextCursor, PageTotal, PatchApiV1AgentGroupsByIdData, PatchApiV1AgentGroupsByIdError, PatchApiV1AgentGroupsByIdErrors, PatchApiV1AgentGroupsByIdResponse, PatchApiV1AgentGroupsByIdResponses, PatchApiV1AgentsByIdAccountsByAccountIdData, PatchApiV1AgentsByIdAccountsByAccountIdError, PatchApiV1AgentsByIdAccountsByAccountIdErrors, PatchApiV1AgentsByIdAccountsByAccountIdResponse, PatchApiV1AgentsByIdAccountsByAccountIdResponses, PatchApiV1AgentsByIdData, PatchApiV1AgentsByIdError, PatchApiV1AgentsByIdErrors, PatchApiV1AgentsByIdResponse, PatchApiV1AgentsByIdResponses, PatchApiV1ApiKeysByIdData, PatchApiV1ApiKeysByIdError, PatchApiV1ApiKeysByIdErrors, PatchApiV1ApiKeysByIdResponse, PatchApiV1ApiKeysByIdResponses, PatchApiV1ChatGroupsByIdData, PatchApiV1ChatGroupsByIdError, PatchApiV1ChatGroupsByIdErrors, PatchApiV1ChatGroupsByIdResponse, PatchApiV1ChatGroupsByIdResponses, PatchApiV1DocumentsByIdData, PatchApiV1DocumentsByIdError, PatchApiV1DocumentsByIdErrors, PatchApiV1DocumentsByIdResponse, PatchApiV1DocumentsByIdResponses, PatchApiV1EvalBenchmarksByIdData, PatchApiV1EvalBenchmarksByIdError, PatchApiV1EvalBenchmarksByIdErrors, PatchApiV1EvalBenchmarksByIdResponse, PatchApiV1EvalBenchmarksByIdResponses, PatchApiV1EvalDatasetsByIdData, PatchApiV1EvalDatasetsByIdError, PatchApiV1EvalDatasetsByIdErrors, PatchApiV1EvalDatasetsByIdResponse, PatchApiV1EvalDatasetsByIdResponses, PatchApiV1EvalRunsByIdStatusData, PatchApiV1EvalRunsByIdStatusError, PatchApiV1EvalRunsByIdStatusErrors, PatchApiV1EvalRunsByIdStatusResponse, PatchApiV1EvalRunsByIdStatusResponses, PatchApiV1EvalTestCasesByIdData, PatchApiV1EvalTestCasesByIdError, PatchApiV1EvalTestCasesByIdErrors, PatchApiV1EvalTestCasesByIdResponse, PatchApiV1EvalTestCasesByIdResponses, PatchApiV1FilesByIdData, PatchApiV1FilesByIdError, PatchApiV1FilesByIdErrors, PatchApiV1FilesByIdResponse, PatchApiV1FilesByIdResponses, PatchApiV1GoalsByIdData, PatchApiV1GoalsByIdError, PatchApiV1GoalsByIdErrors, PatchApiV1GoalsByIdResponse, PatchApiV1GoalsByIdResponses, PatchApiV1KnowledgeBasesByIdData, PatchApiV1KnowledgeBasesByIdError, PatchApiV1KnowledgeBasesByIdErrors, PatchApiV1KnowledgeBasesByIdResponse, PatchApiV1KnowledgeBasesByIdResponses, PatchApiV1McpServersByIdData, PatchApiV1McpServersByIdError, PatchApiV1McpServersByIdErrors, PatchApiV1McpServersByIdResponse, PatchApiV1McpServersByIdResponses, PatchApiV1MessageTranslationsByMessageIdData, PatchApiV1MessageTranslationsByMessageIdError, PatchApiV1MessageTranslationsByMessageIdErrors, PatchApiV1MessageTranslationsByMessageIdResponse, PatchApiV1MessageTranslationsByMessageIdResponses, PatchApiV1ModelsByProviderIdByModelIdData, PatchApiV1ModelsByProviderIdByModelIdError, PatchApiV1ModelsByProviderIdByModelIdErrors, PatchApiV1ModelsByProviderIdByModelIdResponse, PatchApiV1ModelsByProviderIdByModelIdResponses, PatchApiV1NotificationsSettingsData, PatchApiV1NotificationsSettingsError, PatchApiV1NotificationsSettingsErrors, PatchApiV1NotificationsSettingsResponse, PatchApiV1NotificationsSettingsResponses, PatchApiV1PermissionsByIdData, PatchApiV1PermissionsByIdError, PatchApiV1PermissionsByIdErrors, PatchApiV1PermissionsByIdResponse, PatchApiV1PermissionsByIdResponses, PatchApiV1ProvidersByIdData, PatchApiV1ProvidersByIdError, PatchApiV1ProvidersByIdErrors, PatchApiV1ProvidersByIdResponse, PatchApiV1ProvidersByIdResponses, PatchApiV1RolesByIdData, PatchApiV1RolesByIdError, PatchApiV1RolesByIdErrors, PatchApiV1RolesByIdPermissionsData, PatchApiV1RolesByIdPermissionsError, PatchApiV1RolesByIdPermissionsErrors, PatchApiV1RolesByIdPermissionsResponse, PatchApiV1RolesByIdPermissionsResponses, PatchApiV1RolesByIdResponse, PatchApiV1RolesByIdResponses, PatchApiV1TasksByIdData, PatchApiV1TasksByIdError, PatchApiV1TasksByIdErrors, PatchApiV1TasksByIdResponse, PatchApiV1TasksByIdResponses, PatchApiV1TasksByIdStatusData, PatchApiV1TasksByIdStatusError, PatchApiV1TasksByIdStatusErrors, PatchApiV1TasksByIdStatusResponse, PatchApiV1TasksByIdStatusResponses, PatchApiV1TopicsByIdData, PatchApiV1TopicsByIdError, PatchApiV1TopicsByIdErrors, PatchApiV1TopicsByIdResponse, PatchApiV1TopicsByIdResponses, PatchApiV1UsersByIdData, PatchApiV1UsersByIdError, PatchApiV1UsersByIdErrors, PatchApiV1UsersByIdResponse, PatchApiV1UsersByIdResponses, PatchApiV1UsersByIdRolesData, PatchApiV1UsersByIdRolesError, PatchApiV1UsersByIdRolesErrors, PatchApiV1UsersByIdRolesResponse, PatchApiV1UsersByIdRolesResponses, Permission, PermissionList, PostApiV1AgentGroupsData, PostApiV1AgentGroupsError, PostApiV1AgentGroupsErrors, PostApiV1AgentGroupsResponse, PostApiV1AgentGroupsResponses, PostApiV1AgentsByIdAccountsData, PostApiV1AgentsByIdAccountsError, PostApiV1AgentsByIdAccountsErrors, PostApiV1AgentsByIdAccountsResponse, PostApiV1AgentsByIdAccountsResponses, PostApiV1AgentsByIdDuplicateData, PostApiV1AgentsByIdDuplicateError, PostApiV1AgentsByIdDuplicateErrors, PostApiV1AgentsByIdDuplicateResponse, PostApiV1AgentsByIdDuplicateResponses, PostApiV1AgentsData, PostApiV1AgentsError, PostApiV1AgentsErrors, PostApiV1AgentsResponse, PostApiV1AgentsResponses, PostApiV1ApiKeysData, PostApiV1ApiKeysError, PostApiV1ApiKeysErrors, PostApiV1ApiKeysResponse, PostApiV1ApiKeysResponses, PostApiV1AudioSpeechData, PostApiV1AudioSpeechError, PostApiV1AudioSpeechErrors, PostApiV1AudioSpeechResponse, PostApiV1AudioSpeechResponses, PostApiV1ChatData, PostApiV1ChatError, PostApiV1ChatErrors, PostApiV1ChatGenerateReplyData, PostApiV1ChatGenerateReplyError, PostApiV1ChatGenerateReplyErrors, PostApiV1ChatGenerateReplyResponse, PostApiV1ChatGenerateReplyResponses, PostApiV1ChatGroupsByIdMembersData, PostApiV1ChatGroupsByIdMembersError, PostApiV1ChatGroupsByIdMembersErrors, PostApiV1ChatGroupsByIdMembersResponse, PostApiV1ChatGroupsByIdMembersResponses, PostApiV1ChatGroupsData, PostApiV1ChatGroupsError, PostApiV1ChatGroupsErrors, PostApiV1ChatGroupsResponse, PostApiV1ChatGroupsResponses, PostApiV1ChatResponse, PostApiV1ChatResponses, PostApiV1ChatTranslateData, PostApiV1ChatTranslateError, PostApiV1ChatTranslateErrors, PostApiV1ChatTranslateResponse, PostApiV1ChatTranslateResponses, PostApiV1DocumentsData, PostApiV1DocumentsError, PostApiV1DocumentsErrors, PostApiV1DocumentsResponse, PostApiV1DocumentsResponses, PostApiV1EvalBenchmarksData, PostApiV1EvalBenchmarksError, PostApiV1EvalBenchmarksErrors, PostApiV1EvalBenchmarksResponse, PostApiV1EvalBenchmarksResponses, PostApiV1EvalDatasetsByDatasetIdTestCasesData, PostApiV1EvalDatasetsByDatasetIdTestCasesError, PostApiV1EvalDatasetsByDatasetIdTestCasesErrors, PostApiV1EvalDatasetsByDatasetIdTestCasesResponse, PostApiV1EvalDatasetsByDatasetIdTestCasesResponses, PostApiV1EvalDatasetsData, PostApiV1EvalDatasetsError, PostApiV1EvalDatasetsErrors, PostApiV1EvalDatasetsResponse, PostApiV1EvalDatasetsResponses, PostApiV1EvalRunsByIdClaimData, PostApiV1EvalRunsByIdClaimError, PostApiV1EvalRunsByIdClaimErrors, PostApiV1EvalRunsByIdClaimResponse, PostApiV1EvalRunsByIdClaimResponses, PostApiV1EvalRunsByIdResultsData, PostApiV1EvalRunsByIdResultsError, PostApiV1EvalRunsByIdResultsErrors, PostApiV1EvalRunsByIdResultsResponse, PostApiV1EvalRunsByIdResultsResponses, PostApiV1EvalRunsByIdRetryErrorsData, PostApiV1EvalRunsByIdRetryErrorsError, PostApiV1EvalRunsByIdRetryErrorsErrors, PostApiV1EvalRunsByIdRetryErrorsResponse, PostApiV1EvalRunsByIdRetryErrorsResponses, PostApiV1EvalRunsData, PostApiV1EvalRunsError, PostApiV1EvalRunsErrors, PostApiV1EvalRunsResponse, PostApiV1EvalRunsResponses, PostApiV1FilesBatchesData, PostApiV1FilesBatchesError, PostApiV1FilesBatchesErrors, PostApiV1FilesBatchesResponse, PostApiV1FilesBatchesResponses, PostApiV1FilesByIdChunksData, PostApiV1FilesByIdChunksError, PostApiV1FilesByIdChunksErrors, PostApiV1FilesByIdChunksResponse, PostApiV1FilesByIdChunksResponses, PostApiV1FilesByIdParsesData, PostApiV1FilesByIdParsesError, PostApiV1FilesByIdParsesErrors, PostApiV1FilesByIdParsesResponse, PostApiV1FilesByIdParsesResponses, PostApiV1FilesData, PostApiV1FilesError, PostApiV1FilesErrors, PostApiV1FilesQueriesData, PostApiV1FilesQueriesError, PostApiV1FilesQueriesErrors, PostApiV1FilesQueriesResponse, PostApiV1FilesQueriesResponses, PostApiV1FilesResponse, PostApiV1FilesResponses, PostApiV1GoalsByIdAdvanceData, PostApiV1GoalsByIdAdvanceError, PostApiV1GoalsByIdAdvanceErrors, PostApiV1GoalsByIdAdvanceResponse, PostApiV1GoalsByIdAdvanceResponses, PostApiV1GoalsByIdPauseData, PostApiV1GoalsByIdPauseError, PostApiV1GoalsByIdPauseErrors, PostApiV1GoalsByIdPauseResponse, PostApiV1GoalsByIdPauseResponses, PostApiV1GoalsByIdRestartData, PostApiV1GoalsByIdRestartError, PostApiV1GoalsByIdRestartErrors, PostApiV1GoalsByIdRestartResponse, PostApiV1GoalsByIdRestartResponses, PostApiV1GoalsByIdResumeData, PostApiV1GoalsByIdResumeError, PostApiV1GoalsByIdResumeErrors, PostApiV1GoalsByIdResumeResponse, PostApiV1GoalsByIdResumeResponses, PostApiV1GoalsData, PostApiV1GoalsError, PostApiV1GoalsErrors, PostApiV1GoalsResponse, PostApiV1GoalsResponses, PostApiV1ImMessagesData, PostApiV1ImMessagesError, PostApiV1ImMessagesErrors, PostApiV1ImMessagesResponse, PostApiV1ImMessagesResponses, PostApiV1ImTopicsByTopicIdReadData, PostApiV1ImTopicsByTopicIdReadError, PostApiV1ImTopicsByTopicIdReadErrors, PostApiV1ImTopicsByTopicIdReadResponse, PostApiV1ImTopicsByTopicIdReadResponses, PostApiV1KnowledgeBasesByIdFilesBatchData, PostApiV1KnowledgeBasesByIdFilesBatchError, PostApiV1KnowledgeBasesByIdFilesBatchErrors, PostApiV1KnowledgeBasesByIdFilesBatchResponse, PostApiV1KnowledgeBasesByIdFilesBatchResponses, PostApiV1KnowledgeBasesByIdFilesMoveData, PostApiV1KnowledgeBasesByIdFilesMoveError, PostApiV1KnowledgeBasesByIdFilesMoveErrors, PostApiV1KnowledgeBasesByIdFilesMoveResponse, PostApiV1KnowledgeBasesByIdFilesMoveResponses, PostApiV1KnowledgeBasesData, PostApiV1KnowledgeBasesError, PostApiV1KnowledgeBasesErrors, PostApiV1KnowledgeBasesResponse, PostApiV1KnowledgeBasesResponses, PostApiV1McpServersByIdSyncData, PostApiV1McpServersByIdSyncError, PostApiV1McpServersByIdSyncErrors, PostApiV1McpServersByIdSyncResponse, PostApiV1McpServersByIdSyncResponses, PostApiV1McpServersData, PostApiV1McpServersError, PostApiV1McpServersErrors, PostApiV1McpServersResponse, PostApiV1McpServersResponses, PostApiV1MessageTranslationsByMessageIdData, PostApiV1MessageTranslationsByMessageIdError, PostApiV1MessageTranslationsByMessageIdErrors, PostApiV1MessageTranslationsByMessageIdResponse, PostApiV1MessageTranslationsByMessageIdResponses, PostApiV1MessagesData, PostApiV1MessagesError, PostApiV1MessagesErrors, PostApiV1MessagesRepliesData, PostApiV1MessagesRepliesError, PostApiV1MessagesRepliesErrors, PostApiV1MessagesRepliesResponse, PostApiV1MessagesRepliesResponses, PostApiV1MessagesResponse, PostApiV1MessagesResponses, PostApiV1ModelsData, PostApiV1ModelsError, PostApiV1ModelsErrors, PostApiV1ModelsResponse, PostApiV1ModelsResponses, PostApiV1NotificationsArchiveAllData, PostApiV1NotificationsArchiveAllError, PostApiV1NotificationsArchiveAllErrors, PostApiV1NotificationsArchiveAllResponse, PostApiV1NotificationsArchiveAllResponses, PostApiV1NotificationsByIdArchiveData, PostApiV1NotificationsByIdArchiveError, PostApiV1NotificationsByIdArchiveErrors, PostApiV1NotificationsByIdArchiveResponse, PostApiV1NotificationsByIdArchiveResponses, PostApiV1NotificationsReadAllData, PostApiV1NotificationsReadAllError, PostApiV1NotificationsReadAllErrors, PostApiV1NotificationsReadAllResponse, PostApiV1NotificationsReadAllResponses, PostApiV1NotificationsReadData, PostApiV1NotificationsReadError, PostApiV1NotificationsReadErrors, PostApiV1NotificationsReadResponse, PostApiV1NotificationsReadResponses, PostApiV1PermissionsData, PostApiV1PermissionsError, PostApiV1PermissionsErrors, PostApiV1PermissionsResponse, PostApiV1PermissionsResponses, PostApiV1ProvidersData, PostApiV1ProvidersError, PostApiV1ProvidersErrors, PostApiV1ProvidersResponse, PostApiV1ProvidersResponses, PostApiV1ResponsesData, PostApiV1ResponsesError, PostApiV1ResponsesErrors, PostApiV1ResponsesResponse, PostApiV1ResponsesResponses, PostApiV1RolesData, PostApiV1RolesError, PostApiV1RolesErrors, PostApiV1RolesResponse, PostApiV1RolesResponses, PostApiV1SignalsSourceEventsData, PostApiV1SignalsSourceEventsError, PostApiV1SignalsSourceEventsErrors, PostApiV1SignalsSourceEventsResponse, PostApiV1SignalsSourceEventsResponses, PostApiV1SignalsTriggerData, PostApiV1SignalsTriggerError, PostApiV1SignalsTriggerErrors, PostApiV1SignalsTriggerResponse, PostApiV1SignalsTriggerResponses, PostApiV1TasksByIdRunsData, PostApiV1TasksByIdRunsError, PostApiV1TasksByIdRunsErrors, PostApiV1TasksByIdRunsResponse, PostApiV1TasksByIdRunsResponses, PostApiV1TasksData, PostApiV1TasksError, PostApiV1TasksErrors, PostApiV1TasksResponse, PostApiV1TasksResponses, PostApiV1TopicsData, PostApiV1TopicsError, PostApiV1TopicsErrors, PostApiV1TopicsResponse, PostApiV1TopicsResponses, PostApiV1UsersData, PostApiV1UsersError, PostApiV1UsersErrors, PostApiV1UsersResponse, PostApiV1UsersResponses, Provider, PushTokenRegistration, PutApiV1AgentsByIdAccountsByAccountIdCredentialData, PutApiV1AgentsByIdAccountsByAccountIdCredentialError, PutApiV1AgentsByIdAccountsByAccountIdCredentialErrors, PutApiV1AgentsByIdAccountsByAccountIdCredentialResponse, PutApiV1AgentsByIdAccountsByAccountIdCredentialResponses, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultData, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultError, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultErrors, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponse, PutApiV1EvalRunsByRunIdTopicsByTopicIdResultResponses, PutApiV1PushTokensByDeviceIdData, PutApiV1PushTokensByDeviceIdError, PutApiV1PushTokensByDeviceIdErrors, PutApiV1PushTokensByDeviceIdResponse, PutApiV1PushTokensByDeviceIdResponses, ResponseCompletedEvent, ResponseContentPartAddedEvent, ResponseContentPartDoneEvent, ResponseCreatedEvent, ResponseError, ResponseFailedEvent, ResponseFunctionCall, ResponseFunctionCallArgumentsDeltaEvent, ResponseFunctionCallArgumentsDoneEvent, ResponseFunctionCallOutput, ResponseInProgressEvent, ResponseIncompleteEvent, ResponseObject, ResponseOutputItem, ResponseOutputItemAddedEvent, ResponseOutputItemDoneEvent, ResponseOutputMessage, ResponseOutputText, ResponseOutputTextDeltaEvent, ResponseOutputTextDoneEvent, ResponseStreamEvent, ResponseUsage, Role, RoleList, RolePermission, RolePermissionList, RolePermissionsUpdateResult, Task, TaskDetail, TaskDetailActivity, TaskDetailSubtask, TaskDetailWorkspaceNode, TaskLabelRef, TaskList, TaskListItem, TaskRun, TaskRunStarted, TaskStatusUpdateResult, Topic, TopicSummary, TopicThread, Usage, User, UserIdentity, UserList, UserRole, WorkspaceId };