@arbidocs/client 0.3.95 → 0.3.97

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.
Files changed (3) hide show
  1. package/dist/index.d.cts +1357 -289
  2. package/dist/index.d.ts +1357 -289
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -14,13 +14,25 @@ interface paths {
14
14
  };
15
15
  /**
16
16
  * List Projects
17
- * @description List all projects owned by the current user.
17
+ * @description List all projects visible to the caller.
18
+ *
19
+ * Agents are allowed (read-only): ``projects_select_policy`` grants owner-group
20
+ * visibility, so an agent sees its parent's projects and uses one as its own —
21
+ * e.g. to create workspaces. Project *mutation* endpoints keep
22
+ * ``reject_agent_token``, so agents can look but not change.
18
23
  */
19
24
  get: operations['list_projects'];
20
25
  put?: never;
21
26
  /**
22
27
  * Create Project
23
28
  * @description Create a new project.
29
+ *
30
+ * Created as 'pending' (awaiting Stripe payment) with NO AI credits — a project
31
+ * only becomes usable once checkout succeeds (refresh_project links the Stripe
32
+ * subscription, sets packs and grants the paid budget). This prevents a
33
+ * cancelled checkout from leaving behind a usable free project. (The free
34
+ * personal project created at signup stays subscription='none' and keeps the
35
+ * free-tier credits — see user.py.)
24
36
  */
25
37
  post: operations['create_project'];
26
38
  delete?: never;
@@ -357,60 +369,6 @@ interface paths {
357
369
  patch?: never;
358
370
  trace?: never;
359
371
  };
360
- '/v1/user/agents': {
361
- parameters: {
362
- query?: never;
363
- header?: never;
364
- path?: never;
365
- cookie?: never;
366
- };
367
- /**
368
- * List User Agents
369
- * @description List current user's persistent agents.
370
- */
371
- get: operations['list_agents'];
372
- put?: never;
373
- post?: never;
374
- /**
375
- * Delete User Agents
376
- * @description Delete agents by external ID.
377
- *
378
- * A BEFORE DELETE trigger on users reassigns created_by to parent_user_id,
379
- * nulls updated_by, and deletes contacts. CASCADE handles WorkspaceUsers.
380
- */
381
- delete: operations['delete_agents'];
382
- options?: never;
383
- head?: never;
384
- patch?: never;
385
- trace?: never;
386
- };
387
- '/v1/user/agent': {
388
- parameters: {
389
- query?: never;
390
- header?: never;
391
- path?: never;
392
- cookie?: never;
393
- };
394
- get?: never;
395
- put?: never;
396
- /**
397
- * Create Agent
398
- * @description Create a persistent agent owned by the current user.
399
- *
400
- * The frontend generates an Ed25519 keypair from a random seed (the agent's password).
401
- * Only the public key is sent here. The agent logs in via POST /user/login using its
402
- * synthetic email (``agentname.usr-XXXXXXXX@deploymentdomain``) and a signature derived
403
- * from the seed.
404
- *
405
- * Workspace access is granted separately via POST /workspace/{id}/users.
406
- */
407
- post: operations['create_agent'];
408
- delete?: never;
409
- options?: never;
410
- head?: never;
411
- patch?: never;
412
- trace?: never;
413
- };
414
372
  '/v1/user/logout': {
415
373
  parameters: {
416
374
  query?: never;
@@ -1661,6 +1619,10 @@ interface paths {
1661
1619
  * @description Process a user query against documents in a workspace.
1662
1620
  * Performs retrieval augmented generation with streaming response.
1663
1621
  *
1622
+ * An agent runs this exactly like any user: it first obtains a session via
1623
+ * ``POST /v1/agents/{id}/wake`` (which the parent authorizes) and then calls
1624
+ * this endpoint with that session token — no special-casing here.
1625
+ *
1664
1626
  * Requires active project if Stripe is configured.
1665
1627
  */
1666
1628
  post: operations['generate'];
@@ -1889,6 +1851,90 @@ interface paths {
1889
1851
  patch: operations['update_tag'];
1890
1852
  trace?: never;
1891
1853
  };
1854
+ '/v1/memory/': {
1855
+ parameters: {
1856
+ query?: never;
1857
+ header?: never;
1858
+ path?: never;
1859
+ cookie?: never;
1860
+ };
1861
+ get?: never;
1862
+ put?: never;
1863
+ /**
1864
+ * Create Memory Endpoint
1865
+ * @description Create a memory in the active workspace.
1866
+ */
1867
+ post: operations['create_memory'];
1868
+ delete?: never;
1869
+ options?: never;
1870
+ head?: never;
1871
+ patch?: never;
1872
+ trace?: never;
1873
+ };
1874
+ '/v1/memory/list': {
1875
+ parameters: {
1876
+ query?: never;
1877
+ header?: never;
1878
+ path?: never;
1879
+ cookie?: never;
1880
+ };
1881
+ /**
1882
+ * List Memories Endpoint
1883
+ * @description List memories visible in the active workspace (newest first).
1884
+ */
1885
+ get: operations['list_memories'];
1886
+ put?: never;
1887
+ post?: never;
1888
+ delete?: never;
1889
+ options?: never;
1890
+ head?: never;
1891
+ patch?: never;
1892
+ trace?: never;
1893
+ };
1894
+ '/v1/memory/search': {
1895
+ parameters: {
1896
+ query?: never;
1897
+ header?: never;
1898
+ path?: never;
1899
+ cookie?: never;
1900
+ };
1901
+ get?: never;
1902
+ put?: never;
1903
+ /**
1904
+ * Search Memories Endpoint
1905
+ * @description Hybrid recall over the workspace's memories.
1906
+ */
1907
+ post: operations['search_memories'];
1908
+ delete?: never;
1909
+ options?: never;
1910
+ head?: never;
1911
+ patch?: never;
1912
+ trace?: never;
1913
+ };
1914
+ '/v1/memory/{memory_ext_id}': {
1915
+ parameters: {
1916
+ query?: never;
1917
+ header?: never;
1918
+ path?: never;
1919
+ cookie?: never;
1920
+ };
1921
+ get?: never;
1922
+ put?: never;
1923
+ post?: never;
1924
+ /**
1925
+ * Delete Memory Endpoint
1926
+ * @description Soft-delete a memory. RLS governs permission; a blocked delete returns 403.
1927
+ */
1928
+ delete: operations['delete_memory'];
1929
+ options?: never;
1930
+ head?: never;
1931
+ /**
1932
+ * Update Memory Endpoint
1933
+ * @description Patch a memory. A content edit replaces it (append + soft-delete); pin/share toggle in place.
1934
+ */
1935
+ patch: operations['update_memory'];
1936
+ trace?: never;
1937
+ };
1892
1938
  '/v1/notifications/ws-schemas': {
1893
1939
  parameters: {
1894
1940
  query?: never;
@@ -2084,6 +2130,147 @@ interface paths {
2084
2130
  patch?: never;
2085
2131
  trace?: never;
2086
2132
  };
2133
+ '/v1/agents': {
2134
+ parameters: {
2135
+ query?: never;
2136
+ header?: never;
2137
+ path?: never;
2138
+ cookie?: never;
2139
+ };
2140
+ /**
2141
+ * List Agents
2142
+ * @description List the current user's persistent agents.
2143
+ */
2144
+ get: operations['list_agents'];
2145
+ put?: never;
2146
+ /**
2147
+ * Create Agent
2148
+ * @description Create a persistent agent owned by the current user.
2149
+ *
2150
+ * The agent's Ed25519 keypair is generated **server-side** (see
2151
+ * :func:`generate_agent_identity`): only the public halves and a deployment-
2152
+ * wrapped seed are stored, so the server — and only the server — can later log
2153
+ * in on the agent's behalf when a DM/email/task wakes it. The human never holds
2154
+ * the agent's key.
2155
+ *
2156
+ * Workspace access is granted like for any user — the owner shares via
2157
+ * ``POST /v1/workspace/users`` (permanent, or temporary session deposit), or the
2158
+ * agent obtains content per-session via the access-request flow.
2159
+ */
2160
+ post: operations['create_agent'];
2161
+ /**
2162
+ * Delete Agents
2163
+ * @description Delete agents by external ID.
2164
+ *
2165
+ * A BEFORE DELETE trigger on users reassigns created_by to parent_user_id,
2166
+ * nulls updated_by, and deletes contacts. CASCADE handles WorkspaceUsers.
2167
+ */
2168
+ delete: operations['delete_agents'];
2169
+ options?: never;
2170
+ head?: never;
2171
+ patch?: never;
2172
+ trace?: never;
2173
+ };
2174
+ '/v1/agents/{agent_ext_id}/config': {
2175
+ parameters: {
2176
+ query?: never;
2177
+ header?: never;
2178
+ path?: never;
2179
+ cookie?: never;
2180
+ };
2181
+ /**
2182
+ * Get Agent Config
2183
+ * @description Return the agent's pinned config (its ``settings['last_config']``).
2184
+ *
2185
+ * Fills the read-by-id gap: the builder loads the agent's active behavior into
2186
+ * the config form. Returns the library default when nothing is pinned yet.
2187
+ */
2188
+ get: operations['get_agent_config'];
2189
+ put?: never;
2190
+ post?: never;
2191
+ delete?: never;
2192
+ options?: never;
2193
+ head?: never;
2194
+ patch?: never;
2195
+ trace?: never;
2196
+ };
2197
+ '/v1/agents/{agent_ext_id}/workspaces': {
2198
+ parameters: {
2199
+ query?: never;
2200
+ header?: never;
2201
+ path?: never;
2202
+ cookie?: never;
2203
+ };
2204
+ /**
2205
+ * List Agent Workspaces
2206
+ * @description List the workspaces the agent is a (live) member of, with its role in each.
2207
+ */
2208
+ get: operations['list_agent_workspaces'];
2209
+ put?: never;
2210
+ post?: never;
2211
+ delete?: never;
2212
+ options?: never;
2213
+ head?: never;
2214
+ patch?: never;
2215
+ trace?: never;
2216
+ };
2217
+ '/v1/tasks': {
2218
+ parameters: {
2219
+ query?: never;
2220
+ header?: never;
2221
+ path?: never;
2222
+ cookie?: never;
2223
+ };
2224
+ /** List Tasks */
2225
+ get: operations['list_tasks_v1_tasks_get'];
2226
+ put?: never;
2227
+ /** Create Task */
2228
+ post: operations['create_task_v1_tasks_post'];
2229
+ delete?: never;
2230
+ options?: never;
2231
+ head?: never;
2232
+ patch?: never;
2233
+ trace?: never;
2234
+ };
2235
+ '/v1/tasks/{task_id}': {
2236
+ parameters: {
2237
+ query?: never;
2238
+ header?: never;
2239
+ path?: never;
2240
+ cookie?: never;
2241
+ };
2242
+ /** Get Task */
2243
+ get: operations['get_task_v1_tasks__task_id__get'];
2244
+ put?: never;
2245
+ post?: never;
2246
+ /** Delete Task */
2247
+ delete: operations['delete_task_v1_tasks__task_id__delete'];
2248
+ options?: never;
2249
+ head?: never;
2250
+ /** Update Task */
2251
+ patch: operations['update_task_v1_tasks__task_id__patch'];
2252
+ trace?: never;
2253
+ };
2254
+ '/v1/tasks/{task_id}/run': {
2255
+ parameters: {
2256
+ query?: never;
2257
+ header?: never;
2258
+ path?: never;
2259
+ cookie?: never;
2260
+ };
2261
+ get?: never;
2262
+ put?: never;
2263
+ /**
2264
+ * Run Now
2265
+ * @description Fire the task immediately (wake the agent / notify), without changing its schedule.
2266
+ */
2267
+ post: operations['run_now_v1_tasks__task_id__run_post'];
2268
+ delete?: never;
2269
+ options?: never;
2270
+ head?: never;
2271
+ patch?: never;
2272
+ trace?: never;
2273
+ };
2087
2274
  '/v1/files': {
2088
2275
  parameters: {
2089
2276
  query?: never;
@@ -2214,7 +2401,7 @@ interface paths {
2214
2401
  };
2215
2402
  /**
2216
2403
  * List active connector catalog entries
2217
- * @description Return all active connector catalog entries (no secrets).
2404
+ * @description Return all active connector catalog entries (code-defined, no secrets).
2218
2405
  */
2219
2406
  get: operations['list_connectors'];
2220
2407
  put?: never;
@@ -2234,7 +2421,7 @@ interface paths {
2234
2421
  };
2235
2422
  /**
2236
2423
  * List current user's installed connectors
2237
- * @description Return the list of connectors the current user has installed.
2424
+ * @description Return the connectors the current user has installed (skips unknown/inactive vendors).
2238
2425
  */
2239
2426
  get: operations['list_my_connectors'];
2240
2427
  put?: never;
@@ -2254,7 +2441,7 @@ interface paths {
2254
2441
  };
2255
2442
  /**
2256
2443
  * Check if user is connected to a vendor
2257
- * @description Return catalog info plus is_connected and vendor_user_identity for this user/vendor pair.
2444
+ * @description Return is_connected and vendor_user_identity for this user/vendor pair.
2258
2445
  */
2259
2446
  get: operations['get_connector_status'];
2260
2447
  put?: never;
@@ -2273,10 +2460,8 @@ interface paths {
2273
2460
  cookie?: never;
2274
2461
  };
2275
2462
  /**
2276
- * Initiate PKCE OAuth 2.1 flow (dynamic discovery)
2277
- * @description Discover OAuth endpoints, build PKCE state, and return the vendor authorization URL.
2278
- *
2279
- * The frontend navigates to the returned URL to initiate the vendor OAuth consent page.
2463
+ * Initiate PKCE OAuth 2.1 flow
2464
+ * @description Resolve OAuth endpoints, build PKCE state, and return the vendor authorization URL.
2280
2465
  */
2281
2466
  get: operations['authorize_connector'];
2282
2467
  put?: never;
@@ -2319,7 +2504,7 @@ interface paths {
2319
2504
  post?: never;
2320
2505
  /**
2321
2506
  * Disconnect a connector
2322
- * @description Delete the user's tokens and UserConnector row for this vendor.
2507
+ * @description Delete the user's connection (and its tokens) for this vendor. Idempotent.
2323
2508
  */
2324
2509
  delete: operations['disconnect_connector'];
2325
2510
  options?: never;
@@ -2379,6 +2564,11 @@ interface paths {
2379
2564
  type webhooks = Record<string, never>;
2380
2565
  interface components {
2381
2566
  schemas: {
2567
+ /**
2568
+ * ActionType
2569
+ * @enum {string}
2570
+ */
2571
+ ActionType: 'notify' | 'agent_prompt' | 'run_skill';
2382
2572
  /**
2383
2573
  * AddContactsRequest
2384
2574
  * @description Request model for adding contacts by email.
@@ -2567,6 +2757,22 @@ interface components {
2567
2757
  */
2568
2758
  selected_model?: string | null;
2569
2759
  };
2760
+ /**
2761
+ * AgentWorkspaceResponse
2762
+ * @description One workspace an agent can access, with its role.
2763
+ */
2764
+ AgentWorkspaceResponse: {
2765
+ /** Workspace Ext Id */
2766
+ workspace_ext_id: string;
2767
+ /** Name */
2768
+ name: string;
2769
+ role: components['schemas']['WorkspaceRole'];
2770
+ /**
2771
+ * Joined At
2772
+ * Format: date-time
2773
+ */
2774
+ joined_at: string;
2775
+ };
2570
2776
  /**
2571
2777
  * AgentsConfig
2572
2778
  * @description Configuration for agent workflow.
@@ -2584,10 +2790,18 @@ interface components {
2584
2790
  * @default false
2585
2791
  */
2586
2792
  HUMAN_IN_THE_LOOP: boolean;
2587
- /** @description Web search tool configuration. */
2588
- WEB_SEARCH?: components['schemas']['WebSearchConfig'];
2589
- /** @description Configuration for the run_code tool (Docker sandbox code execution). */
2590
- RUN_CODE?: components['schemas']['RunCodeConfig'];
2793
+ /**
2794
+ * Web Search Enabled
2795
+ * @description Enable the web_search and read_url tools. (Tuning lives in the developer-only WebSearch config.)
2796
+ * @default false
2797
+ */
2798
+ WEB_SEARCH_ENABLED: boolean;
2799
+ /**
2800
+ * Run Code Enabled
2801
+ * @description Enable the run_code tool (sandboxed code execution). (Sandbox tuning lives in the developer-only RunCode config.)
2802
+ * @default false
2803
+ */
2804
+ RUN_CODE_ENABLED: boolean;
2591
2805
  /**
2592
2806
  * Mcp Tools
2593
2807
  * @description MCP tool names to enable from LiteLLM (e.g. ['read_wiki_contents', 'ask_question']).
@@ -2638,10 +2852,16 @@ interface components {
2638
2852
  PERSONAL_AGENT: boolean;
2639
2853
  /**
2640
2854
  * Memory Enabled
2641
- * @description Run memory synthesis (skills, memories) after agent queries.
2855
+ * @description Workspace memory is readable AND writable by the agent: pinned core memories are injected into the prompt, and the agent gets the memory_search (recall) and memory_update (write) tools.
2642
2856
  * @default false
2643
2857
  */
2644
2858
  MEMORY_ENABLED: boolean;
2859
+ /**
2860
+ * Persist Learnings
2861
+ * @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of MEMORY_ENABLED.
2862
+ * @default false
2863
+ */
2864
+ PERSIST_LEARNINGS: boolean;
2645
2865
  /**
2646
2866
  * Skills Enabled
2647
2867
  * @description Enable the skills system: /skill (create) and /<skill-name> (invoke) commands. Skills are a global feature (the marketplace); on by default. Command dispatch no longer gates on this flag, but it remains for config-level introspection.
@@ -2654,6 +2874,17 @@ interface components {
2654
2874
  * @default false
2655
2875
  */
2656
2876
  SKILL_CREATION: boolean;
2877
+ /**
2878
+ * Workspace Tools Enabled
2879
+ * @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
2880
+ * @default false
2881
+ */
2882
+ WORKSPACE_TOOLS_ENABLED: boolean;
2883
+ /**
2884
+ * Enabled Skills
2885
+ * @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
2886
+ */
2887
+ ENABLED_SKILLS?: string[] | null;
2657
2888
  /**
2658
2889
  * Memory Creation
2659
2890
  * @description Transient flag set by /setup command to enable the save_memory agent tool (authors the per-workspace practice-profile memory document).
@@ -2785,23 +3016,130 @@ interface components {
2785
3016
  */
2786
3017
  ENABLED: boolean;
2787
3018
  /**
2788
- * Memory Enabled
2789
- * @description Run memory synthesis (skills, memories) after agent queries.
3019
+ * Human In The Loop
3020
+ * @description Enable the ask_user tool, allowing the agent to pause and ask the user a question with options.
2790
3021
  * @default false
2791
3022
  */
2792
- MEMORY_ENABLED: boolean;
3023
+ HUMAN_IN_THE_LOOP: boolean;
2793
3024
  /**
2794
- * Persona
2795
- * @description Agent persona prepended to the system prompt. Customise to change the agent's identity and tone.
2796
- * @default You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.
3025
+ * Web Search Enabled
3026
+ * @description Enable the web_search and read_url tools. (Tuning lives in the developer-only WebSearch config.)
3027
+ * @default false
2797
3028
  */
2798
- PERSONA: string;
3029
+ WEB_SEARCH_ENABLED: boolean;
3030
+ /**
3031
+ * Run Code Enabled
3032
+ * @description Enable the run_code tool (sandboxed code execution). (Sandbox tuning lives in the developer-only RunCode config.)
3033
+ * @default false
3034
+ */
3035
+ RUN_CODE_ENABLED: boolean;
3036
+ /**
3037
+ * Mcp Tools
3038
+ * @description MCP tool names to enable from LiteLLM (e.g. ['read_wiki_contents', 'ask_question']).
3039
+ * @default []
3040
+ */
3041
+ MCP_TOOLS: string[];
3042
+ /**
3043
+ * Planning Enabled
3044
+ * @description Include the create_plan tool so the agent can generate a research plan when it deems a task complex enough. Plan approval is configured on PlanningLLM.
3045
+ * @default false
3046
+ */
3047
+ PLANNING_ENABLED: boolean;
3048
+ /**
3049
+ * Deep Research Enabled
3050
+ * @description Include the deep_research tool so the agent can delegate a focused research topic to a nested retrieval sub-agent (document + web search), keeping the main context clean while citations from the sub-agent's sources flow back.
3051
+ * @default false
3052
+ */
3053
+ DEEP_RESEARCH_ENABLED: boolean;
3054
+ /**
3055
+ * Suggested Queries
3056
+ * @description Generate a single suggested follow-up query after each response.
3057
+ * @default false
3058
+ */
3059
+ SUGGESTED_QUERIES: boolean;
3060
+ /**
3061
+ * Artifacts Enabled
3062
+ * @description Enable the create_artifact tool for generating standalone documents (summaries, reports, drafts) displayed in a side panel.
3063
+ * @default false
3064
+ */
3065
+ ARTIFACTS_ENABLED: boolean;
3066
+ /**
3067
+ * Vision Enabled
3068
+ * @description Enable the view_document_pages tool for visual inspection of document pages (figures, charts, scanned pages) using a vision-capable model.
3069
+ * @default false
3070
+ */
3071
+ VISION_ENABLED: boolean;
3072
+ /**
3073
+ * Conversation Search Enabled
3074
+ * @description Enable the search_conversations tool so the agent can semantically search past conversation messages in the workspace. Independent of the user-facing conversation search feature flag (show_conversation_search).
3075
+ * @default false
3076
+ */
3077
+ CONVERSATION_SEARCH_ENABLED: boolean;
3078
+ /**
3079
+ * Memory Enabled
3080
+ * @description Workspace memory is readable AND writable by the agent: pinned core memories are injected into the prompt, and the agent gets the memory_search (recall) and memory_update (write) tools.
3081
+ * @default false
3082
+ */
3083
+ MEMORY_ENABLED: boolean;
3084
+ /**
3085
+ * Persist Learnings
3086
+ * @description After each turn, the curator consolidates this turn's learnings into durable memories (dedupe + supersede). Independent of MEMORY_ENABLED.
3087
+ * @default false
3088
+ */
3089
+ PERSIST_LEARNINGS: boolean;
3090
+ /**
3091
+ * Skills Enabled
3092
+ * @description Enable the skills system: /skill (create) and /<skill-name> (invoke) commands. Skills are a global feature (the marketplace); on by default. Command dispatch no longer gates on this flag, but it remains for config-level introspection.
3093
+ * @default true
3094
+ */
3095
+ SKILLS_ENABLED: boolean;
3096
+ /**
3097
+ * Workspace Tools Enabled
3098
+ * @description Enable native user-action tools so the agent can act as an ARBI user within its active workspace: list_workspaces, upload_document, create_tag and tag_documents. In-process and RLS-native — bounded by the agent's workspace memberships. Off by default.
3099
+ * @default false
3100
+ */
3101
+ WORKSPACE_TOOLS_ENABLED: boolean;
3102
+ /**
3103
+ * Enabled Skills
3104
+ * @description Allowlist of skill slugs this config may invoke via run_skill/list_skills. None = no restriction (every skill the caller can see — back-compat default). A list (including []) restricts to exactly those slugs. Set a list on an agent's config to scope which skills that agent can use.
3105
+ */
3106
+ ENABLED_SKILLS?: string[] | null;
3107
+ /**
3108
+ * Goals Enabled
3109
+ * @description Feature gate for the goal/Ralph-loop system. When False, the /goal command is unavailable (falls through to a normal query) and the router may not auto-escalate to goal mode. Mirrors SKILLS_ENABLED; set per workspace/config to expose the feature.
3110
+ * @default false
3111
+ */
3112
+ GOALS_ENABLED: boolean;
3113
+ /**
3114
+ * Goal Max Outer Loops
3115
+ * @description Maximum number of outer Ralph-loop passes before the loop stops and returns its best answer, even if the goal judge has not declared the goal satisfied.
3116
+ * @default 6
3117
+ */
3118
+ GOAL_MAX_OUTER_LOOPS: number;
3119
+ /**
3120
+ * Persona
3121
+ * @description Agent persona prepended to the system prompt. Customise to change the agent's identity and tone.
3122
+ * @default You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.
3123
+ */
3124
+ PERSONA: string;
2799
3125
  /**
2800
3126
  * Agent Model Name
2801
3127
  * @description The name of the model to be used for the agent decision-making.
2802
3128
  * @default auto
2803
3129
  */
2804
3130
  AGENT_MODEL_NAME: string;
3131
+ /**
3132
+ * Enable Thinking
3133
+ * @description Enable reasoning/thinking mode for the agentic loop LLM.
3134
+ * @default false
3135
+ */
3136
+ ENABLE_THINKING: boolean;
3137
+ /**
3138
+ * Agent Max Iterations
3139
+ * @description Maximum number of tool call iterations before forcing an answer.
3140
+ * @default 20
3141
+ */
3142
+ AGENT_MAX_ITERATIONS: number;
2805
3143
  };
2806
3144
  /** AllConfigs */
2807
3145
  AllConfigs: {
@@ -2809,17 +3147,8 @@ interface components {
2809
3147
  * @default {
2810
3148
  * "ENABLED": true,
2811
3149
  * "HUMAN_IN_THE_LOOP": false,
2812
- * "WEB_SEARCH": {
2813
- * "ENABLED": false,
2814
- * "SAVE_SOURCES": true
2815
- * },
2816
- * "RUN_CODE": {
2817
- * "ENABLED": false,
2818
- * "IMAGE": "arbi-sandbox:bookworm-slim",
2819
- * "MEMORY_LIMIT": "512m",
2820
- * "NETWORK": "bridge",
2821
- * "TIMEOUT_SECONDS": 60
2822
- * },
3150
+ * "WEB_SEARCH_ENABLED": false,
3151
+ * "RUN_CODE_ENABLED": false,
2823
3152
  * "MCP_TOOLS": [],
2824
3153
  * "PLANNING_ENABLED": false,
2825
3154
  * "DEEP_RESEARCH_ENABLED": false,
@@ -2829,8 +3158,10 @@ interface components {
2829
3158
  * "CONVERSATION_SEARCH_ENABLED": false,
2830
3159
  * "PERSONAL_AGENT": false,
2831
3160
  * "MEMORY_ENABLED": false,
3161
+ * "PERSIST_LEARNINGS": false,
2832
3162
  * "SKILLS_ENABLED": true,
2833
3163
  * "SKILL_CREATION": false,
3164
+ * "WORKSPACE_TOOLS_ENABLED": false,
2834
3165
  * "MEMORY_CREATION": false,
2835
3166
  * "GOALS_ENABLED": false,
2836
3167
  * "GOAL_MAX_OUTER_LOOPS": 6,
@@ -3041,6 +3372,21 @@ interface components {
3041
3372
  * }
3042
3373
  */
3043
3374
  ModelCitation: components['schemas']['ModelCitationConfig'];
3375
+ /**
3376
+ * @default {
3377
+ * "SAVE_SOURCES": true
3378
+ * }
3379
+ */
3380
+ WebSearch: components['schemas']['WebSearchConfig'];
3381
+ /**
3382
+ * @default {
3383
+ * "IMAGE": "arbi-sandbox:bookworm-slim",
3384
+ * "TIMEOUT_SECONDS": 60,
3385
+ * "MEMORY_LIMIT": "512m",
3386
+ * "NETWORK": "bridge"
3387
+ * }
3388
+ */
3389
+ RunCode: components['schemas']['RunCodeConfig'];
3044
3390
  /**
3045
3391
  * @default {
3046
3392
  * "agent": {
@@ -3732,6 +4078,8 @@ interface components {
3732
4078
  Retriever?: components['schemas']['RetrieverConfig'] | null;
3733
4079
  Reranker?: components['schemas']['RerankerConfig'] | null;
3734
4080
  KeywordEmbedder?: components['schemas']['KeywordEmbedderConfig'] | null;
4081
+ WebSearch?: components['schemas']['WebSearchConfig'] | null;
4082
+ RunCode?: components['schemas']['RunCodeConfig'] | null;
3735
4083
  /**
3736
4084
  * Title
3737
4085
  * @default
@@ -3739,6 +4087,8 @@ interface components {
3739
4087
  title: string;
3740
4088
  /** Parent Message Ext Id */
3741
4089
  parent_message_ext_id?: string | null;
4090
+ /** Agent Ext Id */
4091
+ agent_ext_id?: string | null;
3742
4092
  };
3743
4093
  /** ConfigVersionInfo */
3744
4094
  ConfigVersionInfo: {
@@ -3793,15 +4143,14 @@ interface components {
3793
4143
  /** Message */
3794
4144
  message: string;
3795
4145
  };
3796
- /** ConnectorCatalogRead */
4146
+ /**
4147
+ * ConnectorCatalogRead
4148
+ * @description Catalog entry shape returned by /v1/connectors (built from a ConnectorDef).
4149
+ */
3797
4150
  ConnectorCatalogRead: {
3798
- /**
3799
- * Id
3800
- * Format: uuid
3801
- */
4151
+ /** Id */
3802
4152
  id: string;
3803
- /** Vendor Key */
3804
- vendor_key: string;
4153
+ vendor_key: components['schemas']['VendorKey'];
3805
4154
  /** Display Name */
3806
4155
  display_name: string;
3807
4156
  /** Description */
@@ -4057,10 +4406,11 @@ interface components {
4057
4406
  *
4058
4407
  * Used by: POST /user/agent (authenticated, non-agent)
4059
4408
  *
4060
- * Frontend generates an Ed25519 keypair from a random seed (the agent's "password").
4061
- * Only the public key is sent here; the seed is given to the agent CLI.
4062
- * The agent's synthetic email is ``agentname.usr-XXXXXXXX@deploymentdomain``.
4063
- * The agent logs in via POST /user/login using this email + Ed25519 signature.
4409
+ * The agent's Ed25519 keypair is generated **server-side** — the seed is sealed
4410
+ * to the deployment wrap key (``users.recovery_key``) and never leaves the
4411
+ * server, so the server can log in on the agent's behalf when it is woken. The
4412
+ * client only supplies a name. The agent's synthetic email is
4413
+ * ``agentname.usr-XXXXXXXX@deploymentdomain``.
4064
4414
  *
4065
4415
  * Agent name must be composed of letters, digits, hyphens, and underscores only
4066
4416
  * (must start with a letter or digit) so it is valid as an email local-part.
@@ -4068,10 +4418,39 @@ interface components {
4068
4418
  CreateAgentRequest: {
4069
4419
  /** Name */
4070
4420
  name: string;
4071
- /** Signing Key */
4072
- signing_key: string;
4073
- /** Recovery Key */
4074
- recovery_key?: string | null;
4421
+ };
4422
+ /**
4423
+ * CreateAgentResponse
4424
+ * @description ``create_agent`` result — a normal user plus the agent's signing key, once.
4425
+ *
4426
+ * ``signing_private_key`` (base64 of the raw 64-byte ``seed||pubkey``) is the
4427
+ * agent's full login credential. It is returned **only here, only at creation**
4428
+ * so the owner can hand it to an external agent / CLI that should log in as this
4429
+ * agent. It is stored server-side deployment-wrapped, never in the clear, and
4430
+ * cannot be retrieved again — treat it like a password.
4431
+ */
4432
+ CreateAgentResponse: {
4433
+ /** External Id */
4434
+ external_id: string;
4435
+ /** Parent Ext Id */
4436
+ parent_ext_id?: string | null;
4437
+ /** Email */
4438
+ email: string;
4439
+ /** Given Name */
4440
+ given_name: string;
4441
+ /** Family Name */
4442
+ family_name?: string | null;
4443
+ /** Picture */
4444
+ picture?: string | null;
4445
+ /** Encryption Public Key */
4446
+ encryption_public_key: string;
4447
+ /**
4448
+ * Is Sso
4449
+ * @default false
4450
+ */
4451
+ is_sso: boolean;
4452
+ /** Signing Private Key */
4453
+ signing_private_key: string;
4075
4454
  };
4076
4455
  /**
4077
4456
  * CreateArtifactDetail
@@ -4139,6 +4518,30 @@ interface components {
4139
4518
  [key: string]: components['schemas']['CitationData'];
4140
4519
  } | null;
4141
4520
  };
4521
+ /**
4522
+ * CreateMemoryRequest
4523
+ * @description Create a memory in the active workspace.
4524
+ */
4525
+ CreateMemoryRequest: {
4526
+ /** Content */
4527
+ content: string;
4528
+ /**
4529
+ * Pinned
4530
+ * @default false
4531
+ */
4532
+ pinned: boolean;
4533
+ /**
4534
+ * Shared
4535
+ * @default false
4536
+ */
4537
+ shared: boolean;
4538
+ /**
4539
+ * Source
4540
+ * @default manual
4541
+ * @enum {string}
4542
+ */
4543
+ source: 'manual' | 'learning' | 'curator';
4544
+ };
4142
4545
  /**
4143
4546
  * CreatePlanDetail
4144
4547
  * @description Detail for a create_plan tool call.
@@ -4171,6 +4574,39 @@ interface components {
4171
4574
  /** Parent Ext Id */
4172
4575
  parent_ext_id?: string | null;
4173
4576
  };
4577
+ /** CreateTaskRequest */
4578
+ CreateTaskRequest: {
4579
+ /** Name */
4580
+ name: string;
4581
+ /** @default one_time */
4582
+ trigger_type: components['schemas']['TriggerType'];
4583
+ /** Rrule */
4584
+ rrule?: string | null;
4585
+ /** Run At */
4586
+ run_at?: string | null;
4587
+ /**
4588
+ * Timezone
4589
+ * @default UTC
4590
+ */
4591
+ timezone: string;
4592
+ /** Event Kind */
4593
+ event_kind?: string | null;
4594
+ /** @default notify */
4595
+ action_type: components['schemas']['ActionType'];
4596
+ /**
4597
+ * Prompt
4598
+ * @default
4599
+ */
4600
+ prompt: string;
4601
+ /** Skill Ref */
4602
+ skill_ref?: string | null;
4603
+ /** Notify On Complete */
4604
+ notify_on_complete?: boolean | null;
4605
+ /** Workspace Ext Id */
4606
+ workspace_ext_id?: string | null;
4607
+ /** Agent Ext Id */
4608
+ agent_ext_id?: string | null;
4609
+ };
4174
4610
  /**
4175
4611
  * DailyUsage
4176
4612
  * @description Usage for a single day.
@@ -5129,6 +5565,14 @@ interface components {
5129
5565
  /** Tools */
5130
5566
  tools: components['schemas']['McpToolInfo'][];
5131
5567
  };
5568
+ /** MemoryDeleteResponse */
5569
+ MemoryDeleteResponse: {
5570
+ /**
5571
+ * Detail
5572
+ * @default Memory deleted successfully
5573
+ */
5574
+ detail: string;
5575
+ };
5132
5576
  /**
5133
5577
  * MemoryLLMConfig
5134
5578
  * @description Configuration for MemoryLLM - synthesizes memory documents (skills, memories, reports).
@@ -5206,6 +5650,119 @@ interface components {
5206
5650
  */
5207
5651
  MAX_CONCURRENT: number;
5208
5652
  };
5653
+ /** MemoryResponse */
5654
+ MemoryResponse: {
5655
+ /** External Id */
5656
+ external_id: string;
5657
+ /** Workspace Ext Id */
5658
+ workspace_ext_id: string;
5659
+ /** Content */
5660
+ content: string;
5661
+ /** Pinned */
5662
+ pinned: boolean;
5663
+ /** Shared */
5664
+ shared: boolean;
5665
+ /** Source */
5666
+ source: string;
5667
+ /** Citations */
5668
+ citations?: {
5669
+ [key: string]: components['schemas']['CitationData'];
5670
+ } | null;
5671
+ /** Created By Ext Id */
5672
+ created_by_ext_id: string;
5673
+ /**
5674
+ * Created At
5675
+ * Format: date-time
5676
+ */
5677
+ created_at: string;
5678
+ /**
5679
+ * Updated At
5680
+ * Format: date-time
5681
+ */
5682
+ updated_at: string;
5683
+ };
5684
+ /** MemorySearchHit */
5685
+ MemorySearchHit: {
5686
+ /** External Id */
5687
+ external_id: string;
5688
+ /** Content */
5689
+ content: string;
5690
+ /** Pinned */
5691
+ pinned: boolean;
5692
+ /** Source */
5693
+ source: string;
5694
+ /** Score */
5695
+ score: number;
5696
+ };
5697
+ /**
5698
+ * MemorySearchRequest
5699
+ * @description Hybrid recall over the workspace's memories.
5700
+ */
5701
+ MemorySearchRequest: {
5702
+ /**
5703
+ * Query
5704
+ * @description Search query text
5705
+ */
5706
+ query: string;
5707
+ /**
5708
+ * Search Mode
5709
+ * @description Retrieval mode
5710
+ * @default hybrid
5711
+ * @enum {string}
5712
+ */
5713
+ search_mode: 'semantic' | 'keyword' | 'hybrid';
5714
+ /**
5715
+ * Limit
5716
+ * @description Maximum number of memories to return
5717
+ * @default 10
5718
+ */
5719
+ limit: number;
5720
+ };
5721
+ /** MemorySearchResponse */
5722
+ MemorySearchResponse: {
5723
+ /**
5724
+ * Memories
5725
+ * @default []
5726
+ */
5727
+ memories: components['schemas']['MemorySearchHit'][];
5728
+ };
5729
+ /** MemoryTool */
5730
+ MemoryTool: {
5731
+ /**
5732
+ * @description discriminator enum property added by openapi-typescript
5733
+ * @enum {string}
5734
+ */
5735
+ name: 'memory';
5736
+ /**
5737
+ * Description
5738
+ * @default memory consolidation
5739
+ */
5740
+ description: string;
5741
+ /**
5742
+ * @default {
5743
+ * "written": [],
5744
+ * "superseded": []
5745
+ * }
5746
+ */
5747
+ tool_responses: components['schemas']['MemoryToolResponse'];
5748
+ };
5749
+ /**
5750
+ * MemoryToolResponse
5751
+ * @description Outcome of the post-turn memory consolidation (pointer-only — ext ids,
5752
+ * not content, so nothing here is sensitive).
5753
+ */
5754
+ MemoryToolResponse: {
5755
+ /**
5756
+ * Written
5757
+ * @default []
5758
+ */
5759
+ written: string[];
5760
+ /**
5761
+ * Superseded
5762
+ * @default []
5763
+ */
5764
+ superseded: string[];
5765
+ };
5209
5766
  /** MessageDeleteResponse */
5210
5767
  MessageDeleteResponse: {
5211
5768
  /**
@@ -5220,7 +5777,7 @@ interface components {
5220
5777
  input: string;
5221
5778
  /** Tools */
5222
5779
  tools?: {
5223
- [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'];
5780
+ [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
5224
5781
  };
5225
5782
  /**
5226
5783
  * Workspace Ext Id
@@ -5272,7 +5829,7 @@ interface components {
5272
5829
  content: string;
5273
5830
  /** Tools */
5274
5831
  tools?: {
5275
- [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'];
5832
+ [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
5276
5833
  };
5277
5834
  /** Config Ext Id */
5278
5835
  config_ext_id?: string | null;
@@ -5376,7 +5933,7 @@ interface components {
5376
5933
  content: string;
5377
5934
  /** Tools */
5378
5935
  tools?: {
5379
- [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'];
5936
+ [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
5380
5937
  };
5381
5938
  /** Config Ext Id */
5382
5939
  config_ext_id?: string | null;
@@ -5648,7 +6205,7 @@ interface components {
5648
6205
  * Type is self-descriptive, no need to parse content field.
5649
6206
  * @enum {string}
5650
6207
  */
5651
- NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'workspace_access_request';
6208
+ NotificationType: 'user_message' | 'workspaceuser_added_owner' | 'workspaceuser_added_collaborator' | 'workspaceuser_added_guest' | 'workspaceuser_removed' | 'workspaceuser_updated_owner' | 'workspaceuser_updated_collaborator' | 'workspaceuser_updated_guest' | 'contact_accepted' | 'signup_reward' | 'referral_reward' | 'email_reply' | 'quota_threshold_50' | 'quota_threshold_90' | 'quota_threshold_100' | 'doc_shared' | 'workspace_access_request' | 'task_started' | 'task_completed';
5652
6209
  /**
5653
6210
  * NotificationUpdate
5654
6211
  * @description Single notification update for bulk PATCH.
@@ -7208,15 +7765,10 @@ interface components {
7208
7765
  };
7209
7766
  /**
7210
7767
  * RunCodeConfig
7211
- * @description Configuration for the run_code agent tool (Docker sandbox).
7768
+ * @description run_code sandbox tuning (developer-only — image/network/limits are infra,
7769
+ * never user-editable). The on/off lives on AgentsConfig.RUN_CODE_ENABLED.
7212
7770
  */
7213
7771
  RunCodeConfig: {
7214
- /**
7215
- * Enabled
7216
- * @description Enable the run_code tool for sandboxed code execution.
7217
- * @default false
7218
- */
7219
- ENABLED: boolean;
7220
7772
  /**
7221
7773
  * Image
7222
7774
  * @description Docker image for sandbox containers.
@@ -7862,8 +8414,70 @@ interface components {
7862
8414
  instruction?: string | null;
7863
8415
  tag_type?: components['schemas']['TagFormat'];
7864
8416
  };
7865
- /**
7866
- * TaskUpdateMessage
8417
+ /** TaskResponse */
8418
+ TaskResponse: {
8419
+ /** External Id */
8420
+ external_id: string;
8421
+ /** Name */
8422
+ name: string;
8423
+ /** Trigger Type */
8424
+ trigger_type: string;
8425
+ /** Rrule */
8426
+ rrule: string | null;
8427
+ /** Run At */
8428
+ run_at: string | null;
8429
+ /** Timezone */
8430
+ timezone: string;
8431
+ /** Event Kind */
8432
+ event_kind: string | null;
8433
+ /** Action Type */
8434
+ action_type: string;
8435
+ /** Prompt */
8436
+ prompt: string;
8437
+ /** Skill Ref */
8438
+ skill_ref: string | null;
8439
+ /** Status */
8440
+ status: string;
8441
+ /** Next Run At */
8442
+ next_run_at: string | null;
8443
+ /** Last Run At */
8444
+ last_run_at: string | null;
8445
+ /** Last Error */
8446
+ last_error: string | null;
8447
+ /** In Progress */
8448
+ in_progress: boolean;
8449
+ /** Active Run Id */
8450
+ active_run_id: string | null;
8451
+ /** Agent Session */
8452
+ agent_session: string | null;
8453
+ /** Run Started At */
8454
+ run_started_at: string | null;
8455
+ /** Notify On Complete */
8456
+ notify_on_complete: boolean;
8457
+ /** Created By Kind */
8458
+ created_by_kind: string;
8459
+ /** Workspace Ext Id */
8460
+ workspace_ext_id?: string | null;
8461
+ /** Agent Ext Id */
8462
+ agent_ext_id?: string | null;
8463
+ /**
8464
+ * Created At
8465
+ * Format: date-time
8466
+ */
8467
+ created_at: string;
8468
+ /**
8469
+ * Updated At
8470
+ * Format: date-time
8471
+ */
8472
+ updated_at: string;
8473
+ };
8474
+ /**
8475
+ * TaskStatus
8476
+ * @enum {string}
8477
+ */
8478
+ TaskStatus: 'active' | 'paused' | 'completed' | 'failed';
8479
+ /**
8480
+ * TaskUpdateMessage
7867
8481
  * @description Document processing progress update.
7868
8482
  */
7869
8483
  TaskUpdateMessage: {
@@ -8131,6 +8745,11 @@ interface components {
8131
8745
  [key: string]: unknown;
8132
8746
  }[];
8133
8747
  };
8748
+ /**
8749
+ * TriggerType
8750
+ * @enum {string}
8751
+ */
8752
+ TriggerType: 'one_time' | 'recurring' | 'event';
8134
8753
  /**
8135
8754
  * UpdateDocTagRequest
8136
8755
  * @description Update a doctag's note or citations. Identified by (tag_ext_id, doc_ext_id) pair.
@@ -8155,6 +8774,20 @@ interface components {
8155
8774
  /** Documents */
8156
8775
  documents: components['schemas']['DocUpdateRequest'][];
8157
8776
  };
8777
+ /**
8778
+ * UpdateMemoryRequest
8779
+ * @description Patch a memory. An edit to ``content`` soft-deletes the old row and
8780
+ * inserts a replacement (append + soft-delete lifecycle); ``pinned``/``shared``
8781
+ * toggles update in place.
8782
+ */
8783
+ UpdateMemoryRequest: {
8784
+ /** Content */
8785
+ content?: string | null;
8786
+ /** Pinned */
8787
+ pinned?: boolean | null;
8788
+ /** Shared */
8789
+ shared?: boolean | null;
8790
+ };
8158
8791
  /**
8159
8792
  * UpdateNotificationsRequest
8160
8793
  * @description Bulk update notifications.
@@ -8195,6 +8828,24 @@ interface components {
8195
8828
  /** Parent Ext Id */
8196
8829
  parent_ext_id?: string | null;
8197
8830
  };
8831
+ /** UpdateTaskRequest */
8832
+ UpdateTaskRequest: {
8833
+ /** Name */
8834
+ name?: string | null;
8835
+ /** Rrule */
8836
+ rrule?: string | null;
8837
+ /** Run At */
8838
+ run_at?: string | null;
8839
+ /** Timezone */
8840
+ timezone?: string | null;
8841
+ /** Prompt */
8842
+ prompt?: string | null;
8843
+ /** Skill Ref */
8844
+ skill_ref?: string | null;
8845
+ /** Notify On Complete */
8846
+ notify_on_complete?: boolean | null;
8847
+ status?: components['schemas']['TaskStatus'] | null;
8848
+ };
8198
8849
  /**
8199
8850
  * UpdateWorkspaceUserRolesRequest
8200
8851
  * @description Request to update user or agent roles in a workspace (PATCH /workspace/{id}/users).
@@ -8285,8 +8936,7 @@ interface components {
8285
8936
  * Format: uuid
8286
8937
  */
8287
8938
  id: string;
8288
- /** Vendor Key */
8289
- vendor_key: string;
8939
+ vendor_key: components['schemas']['VendorKey'];
8290
8940
  /** Display Name */
8291
8941
  display_name: string;
8292
8942
  /** Icon Url */
@@ -8379,7 +9029,7 @@ interface components {
8379
9029
  content: string;
8380
9030
  /** Tools */
8381
9031
  tools?: {
8382
- [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'];
9032
+ [key: string]: components['schemas']['ModelCitationTool'] | components['schemas']['RetrievalChunkTool'] | components['schemas']['RetrievalFullContextTool'] | components['schemas']['RetrievalTOCTool'] | components['schemas']['TraceTool'] | components['schemas']['CompactionTool'] | components['schemas']['PersonalAgentTool'] | components['schemas']['StreamEventsTool'] | components['schemas']['MemoryTool'];
8383
9033
  };
8384
9034
  /** Config Ext Id */
8385
9035
  config_ext_id?: string | null;
@@ -8551,6 +9201,11 @@ interface components {
8551
9201
  * @default true
8552
9202
  */
8553
9203
  show_hints: boolean;
9204
+ /**
9205
+ * Show Tasks
9206
+ * @default false
9207
+ */
9208
+ show_tasks: boolean;
8554
9209
  /** Dismissed Tips */
8555
9210
  dismissed_tips?: string[];
8556
9211
  /**
@@ -8623,6 +9278,8 @@ interface components {
8623
9278
  show_file_explorer?: boolean | null;
8624
9279
  /** Show Hints */
8625
9280
  show_hints?: boolean | null;
9281
+ /** Show Tasks */
9282
+ show_tasks?: boolean | null;
8626
9283
  /** Dismissed Tips */
8627
9284
  dismissed_tips?: string[] | null;
8628
9285
  /** Use S3 Direct Upload */
@@ -8650,6 +9307,16 @@ interface components {
8650
9307
  /** Context */
8651
9308
  ctx?: Record<string, never>;
8652
9309
  };
9310
+ /**
9311
+ * VendorKey
9312
+ * @description Known connector identifiers — the typed source of truth.
9313
+ *
9314
+ * Lives in code, NOT as a Postgres enum: the DB column is plain text, so adding
9315
+ * or removing a connector here never needs a migration. Used for API path params
9316
+ * (FastAPI validates + documents the allowed set) and the catalog keys.
9317
+ * @enum {string}
9318
+ */
9319
+ VendorKey: 'microsoft' | 'gdrive' | 'imanage' | 'westlaw' | 'ms365_mail';
8653
9320
  /** VerifyEmailRequest */
8654
9321
  VerifyEmailRequest: {
8655
9322
  /**
@@ -8745,15 +9412,10 @@ interface components {
8745
9412
  };
8746
9413
  /**
8747
9414
  * WebSearchConfig
8748
- * @description Configuration for web search tools.
9415
+ * @description Web-search tuning (developer-only). The on/off lives on
9416
+ * AgentsConfig.WEB_SEARCH_ENABLED (flat, user-facing).
8749
9417
  */
8750
9418
  WebSearchConfig: {
8751
- /**
8752
- * Enabled
8753
- * @description Enable web_search and read_url tools.
8754
- * @default false
8755
- */
8756
- ENABLED: boolean;
8757
9419
  /**
8758
9420
  * Save Sources
8759
9421
  * @description Save fetched webpages as workspace documents for citations.
@@ -9566,94 +10228,6 @@ interface operations {
9566
10228
  };
9567
10229
  };
9568
10230
  };
9569
- list_agents: {
9570
- parameters: {
9571
- query?: never;
9572
- header?: never;
9573
- path?: never;
9574
- cookie?: never;
9575
- };
9576
- requestBody?: never;
9577
- responses: {
9578
- /** @description Successful Response */
9579
- 200: {
9580
- headers: {
9581
- [name: string]: unknown;
9582
- };
9583
- content: {
9584
- 'application/json': components['schemas']['UserResponse'][];
9585
- };
9586
- };
9587
- };
9588
- };
9589
- delete_agents: {
9590
- parameters: {
9591
- query?: never;
9592
- header?: never;
9593
- path?: never;
9594
- cookie?: never;
9595
- };
9596
- requestBody: {
9597
- content: {
9598
- 'application/json': components['schemas']['DeleteAgentsRequest'];
9599
- };
9600
- };
9601
- responses: {
9602
- /** @description Successful Response */
9603
- 200: {
9604
- headers: {
9605
- [name: string]: unknown;
9606
- };
9607
- content: {
9608
- 'application/json': {
9609
- [key: string]: unknown;
9610
- };
9611
- };
9612
- };
9613
- /** @description Validation Error */
9614
- 422: {
9615
- headers: {
9616
- [name: string]: unknown;
9617
- };
9618
- content: {
9619
- 'application/json': components['schemas']['HTTPValidationError'];
9620
- };
9621
- };
9622
- };
9623
- };
9624
- create_agent: {
9625
- parameters: {
9626
- query?: never;
9627
- header?: never;
9628
- path?: never;
9629
- cookie?: never;
9630
- };
9631
- requestBody: {
9632
- content: {
9633
- 'application/json': components['schemas']['CreateAgentRequest'];
9634
- };
9635
- };
9636
- responses: {
9637
- /** @description Successful Response */
9638
- 201: {
9639
- headers: {
9640
- [name: string]: unknown;
9641
- };
9642
- content: {
9643
- 'application/json': components['schemas']['UserResponse'];
9644
- };
9645
- };
9646
- /** @description Validation Error */
9647
- 422: {
9648
- headers: {
9649
- [name: string]: unknown;
9650
- };
9651
- content: {
9652
- 'application/json': components['schemas']['HTTPValidationError'];
9653
- };
9654
- };
9655
- };
9656
- };
9657
10231
  logout: {
9658
10232
  parameters: {
9659
10233
  query?: {
@@ -11757,39 +12331,18 @@ interface operations {
11757
12331
  };
11758
12332
  };
11759
12333
  };
11760
- get_websocket_schema: {
12334
+ create_memory: {
11761
12335
  parameters: {
11762
12336
  query?: never;
11763
12337
  header?: never;
11764
12338
  path?: never;
11765
12339
  cookie?: never;
11766
12340
  };
11767
- requestBody?: never;
11768
- responses: {
11769
- /** @description Successful Response */
11770
- 200: {
11771
- headers: {
11772
- [name: string]: unknown;
11773
- };
11774
- content: {
11775
- 'application/json': components['schemas']['WebSocketSchemas'];
11776
- };
11777
- };
11778
- };
11779
- };
11780
- get_notifications: {
11781
- parameters: {
11782
- query?: {
11783
- /** @description Maximum number of notifications to return, newest first. Defaults to 100 — almost everyone only cares about the latest. Increase or page via offset to walk further back in history. */
11784
- limit?: number;
11785
- /** @description Number of notifications to skip from the newest, for paging. */
11786
- offset?: number;
12341
+ requestBody: {
12342
+ content: {
12343
+ 'application/json': components['schemas']['CreateMemoryRequest'];
11787
12344
  };
11788
- header?: never;
11789
- path?: never;
11790
- cookie?: never;
11791
12345
  };
11792
- requestBody?: never;
11793
12346
  responses: {
11794
12347
  /** @description Successful Response */
11795
12348
  200: {
@@ -11797,7 +12350,7 @@ interface operations {
11797
12350
  [name: string]: unknown;
11798
12351
  };
11799
12352
  content: {
11800
- 'application/json': components['schemas']['NotificationResponse'][];
12353
+ 'application/json': components['schemas']['MemoryResponse'];
11801
12354
  };
11802
12355
  };
11803
12356
  /** @description Validation Error */
@@ -11811,26 +12364,24 @@ interface operations {
11811
12364
  };
11812
12365
  };
11813
12366
  };
11814
- send_messages: {
12367
+ list_memories: {
11815
12368
  parameters: {
11816
- query?: never;
12369
+ query?: {
12370
+ pinned_only?: boolean;
12371
+ };
11817
12372
  header?: never;
11818
12373
  path?: never;
11819
12374
  cookie?: never;
11820
12375
  };
11821
- requestBody: {
11822
- content: {
11823
- 'application/json': components['schemas']['SendMessageRequest'];
11824
- };
11825
- };
12376
+ requestBody?: never;
11826
12377
  responses: {
11827
12378
  /** @description Successful Response */
11828
- 201: {
12379
+ 200: {
11829
12380
  headers: {
11830
12381
  [name: string]: unknown;
11831
12382
  };
11832
12383
  content: {
11833
- 'application/json': components['schemas']['NotificationResponse'][];
12384
+ 'application/json': components['schemas']['MemoryResponse'][];
11834
12385
  };
11835
12386
  };
11836
12387
  /** @description Validation Error */
@@ -11844,7 +12395,7 @@ interface operations {
11844
12395
  };
11845
12396
  };
11846
12397
  };
11847
- delete_notifications: {
12398
+ search_memories: {
11848
12399
  parameters: {
11849
12400
  query?: never;
11850
12401
  header?: never;
@@ -11853,16 +12404,18 @@ interface operations {
11853
12404
  };
11854
12405
  requestBody: {
11855
12406
  content: {
11856
- 'application/json': components['schemas']['DeleteNotificationsRequest'];
12407
+ 'application/json': components['schemas']['MemorySearchRequest'];
11857
12408
  };
11858
12409
  };
11859
12410
  responses: {
11860
12411
  /** @description Successful Response */
11861
- 204: {
12412
+ 200: {
11862
12413
  headers: {
11863
12414
  [name: string]: unknown;
11864
12415
  };
11865
- content?: never;
12416
+ content: {
12417
+ 'application/json': components['schemas']['MemorySearchResponse'];
12418
+ };
11866
12419
  };
11867
12420
  /** @description Validation Error */
11868
12421
  422: {
@@ -11875,18 +12428,16 @@ interface operations {
11875
12428
  };
11876
12429
  };
11877
12430
  };
11878
- update_notifications: {
12431
+ delete_memory: {
11879
12432
  parameters: {
11880
12433
  query?: never;
11881
12434
  header?: never;
11882
- path?: never;
11883
- cookie?: never;
11884
- };
11885
- requestBody: {
11886
- content: {
11887
- 'application/json': components['schemas']['UpdateNotificationsRequest'];
12435
+ path: {
12436
+ memory_ext_id: string;
11888
12437
  };
12438
+ cookie?: never;
11889
12439
  };
12440
+ requestBody?: never;
11890
12441
  responses: {
11891
12442
  /** @description Successful Response */
11892
12443
  200: {
@@ -11894,7 +12445,7 @@ interface operations {
11894
12445
  [name: string]: unknown;
11895
12446
  };
11896
12447
  content: {
11897
- 'application/json': components['schemas']['NotificationResponse'][];
12448
+ 'application/json': components['schemas']['MemoryDeleteResponse'];
11898
12449
  };
11899
12450
  };
11900
12451
  /** @description Validation Error */
@@ -11908,26 +12459,28 @@ interface operations {
11908
12459
  };
11909
12460
  };
11910
12461
  };
11911
- create_access_request: {
12462
+ update_memory: {
11912
12463
  parameters: {
11913
12464
  query?: never;
11914
12465
  header?: never;
11915
- path?: never;
12466
+ path: {
12467
+ memory_ext_id: string;
12468
+ };
11916
12469
  cookie?: never;
11917
12470
  };
11918
12471
  requestBody: {
11919
12472
  content: {
11920
- 'application/json': components['schemas']['RequestWorkspaceAccessRequest'];
12473
+ 'application/json': components['schemas']['UpdateMemoryRequest'];
11921
12474
  };
11922
12475
  };
11923
12476
  responses: {
11924
12477
  /** @description Successful Response */
11925
- 201: {
12478
+ 200: {
11926
12479
  headers: {
11927
12480
  [name: string]: unknown;
11928
12481
  };
11929
12482
  content: {
11930
- 'application/json': components['schemas']['NotificationResponse'];
12483
+ 'application/json': components['schemas']['MemoryResponse'];
11931
12484
  };
11932
12485
  };
11933
12486
  /** @description Validation Error */
@@ -11941,7 +12494,7 @@ interface operations {
11941
12494
  };
11942
12495
  };
11943
12496
  };
11944
- get_config_schema: {
12497
+ get_websocket_schema: {
11945
12498
  parameters: {
11946
12499
  query?: never;
11947
12500
  header?: never;
@@ -11956,14 +12509,19 @@ interface operations {
11956
12509
  [name: string]: unknown;
11957
12510
  };
11958
12511
  content: {
11959
- 'application/json': unknown;
12512
+ 'application/json': components['schemas']['WebSocketSchemas'];
11960
12513
  };
11961
12514
  };
11962
12515
  };
11963
12516
  };
11964
- get_config_versions: {
12517
+ get_notifications: {
11965
12518
  parameters: {
11966
- query?: never;
12519
+ query?: {
12520
+ /** @description Maximum number of notifications to return, newest first. Defaults to 100 — almost everyone only cares about the latest. Increase or page via offset to walk further back in history. */
12521
+ limit?: number;
12522
+ /** @description Number of notifications to skip from the newest, for paging. */
12523
+ offset?: number;
12524
+ };
11967
12525
  header?: never;
11968
12526
  path?: never;
11969
12527
  cookie?: never;
@@ -11976,30 +12534,40 @@ interface operations {
11976
12534
  [name: string]: unknown;
11977
12535
  };
11978
12536
  content: {
11979
- 'application/json': components['schemas']['ConfigVersionsResponse'];
12537
+ 'application/json': components['schemas']['NotificationResponse'][];
12538
+ };
12539
+ };
12540
+ /** @description Validation Error */
12541
+ 422: {
12542
+ headers: {
12543
+ [name: string]: unknown;
12544
+ };
12545
+ content: {
12546
+ 'application/json': components['schemas']['HTTPValidationError'];
11980
12547
  };
11981
12548
  };
11982
12549
  };
11983
12550
  };
11984
- get_config: {
12551
+ send_messages: {
11985
12552
  parameters: {
11986
12553
  query?: never;
11987
12554
  header?: never;
11988
- path: {
11989
- /** @description Config name: 'cfg-XXXXXXXX' or 'default' for system default */
11990
- config_ext_id: string;
11991
- };
12555
+ path?: never;
11992
12556
  cookie?: never;
11993
12557
  };
11994
- requestBody?: never;
12558
+ requestBody: {
12559
+ content: {
12560
+ 'application/json': components['schemas']['SendMessageRequest'];
12561
+ };
12562
+ };
11995
12563
  responses: {
11996
12564
  /** @description Successful Response */
11997
- 200: {
12565
+ 201: {
11998
12566
  headers: {
11999
12567
  [name: string]: unknown;
12000
12568
  };
12001
12569
  content: {
12002
- 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
12570
+ 'application/json': components['schemas']['NotificationResponse'][];
12003
12571
  };
12004
12572
  };
12005
12573
  /** @description Validation Error */
@@ -12013,19 +12581,188 @@ interface operations {
12013
12581
  };
12014
12582
  };
12015
12583
  };
12016
- delete_config: {
12584
+ delete_notifications: {
12017
12585
  parameters: {
12018
12586
  query?: never;
12019
12587
  header?: never;
12020
- path: {
12021
- config_ext_id: string;
12022
- };
12588
+ path?: never;
12023
12589
  cookie?: never;
12024
12590
  };
12025
- requestBody?: never;
12026
- responses: {
12027
- /** @description Successful Response */
12028
- 200: {
12591
+ requestBody: {
12592
+ content: {
12593
+ 'application/json': components['schemas']['DeleteNotificationsRequest'];
12594
+ };
12595
+ };
12596
+ responses: {
12597
+ /** @description Successful Response */
12598
+ 204: {
12599
+ headers: {
12600
+ [name: string]: unknown;
12601
+ };
12602
+ content?: never;
12603
+ };
12604
+ /** @description Validation Error */
12605
+ 422: {
12606
+ headers: {
12607
+ [name: string]: unknown;
12608
+ };
12609
+ content: {
12610
+ 'application/json': components['schemas']['HTTPValidationError'];
12611
+ };
12612
+ };
12613
+ };
12614
+ };
12615
+ update_notifications: {
12616
+ parameters: {
12617
+ query?: never;
12618
+ header?: never;
12619
+ path?: never;
12620
+ cookie?: never;
12621
+ };
12622
+ requestBody: {
12623
+ content: {
12624
+ 'application/json': components['schemas']['UpdateNotificationsRequest'];
12625
+ };
12626
+ };
12627
+ responses: {
12628
+ /** @description Successful Response */
12629
+ 200: {
12630
+ headers: {
12631
+ [name: string]: unknown;
12632
+ };
12633
+ content: {
12634
+ 'application/json': components['schemas']['NotificationResponse'][];
12635
+ };
12636
+ };
12637
+ /** @description Validation Error */
12638
+ 422: {
12639
+ headers: {
12640
+ [name: string]: unknown;
12641
+ };
12642
+ content: {
12643
+ 'application/json': components['schemas']['HTTPValidationError'];
12644
+ };
12645
+ };
12646
+ };
12647
+ };
12648
+ create_access_request: {
12649
+ parameters: {
12650
+ query?: never;
12651
+ header?: never;
12652
+ path?: never;
12653
+ cookie?: never;
12654
+ };
12655
+ requestBody: {
12656
+ content: {
12657
+ 'application/json': components['schemas']['RequestWorkspaceAccessRequest'];
12658
+ };
12659
+ };
12660
+ responses: {
12661
+ /** @description Successful Response */
12662
+ 201: {
12663
+ headers: {
12664
+ [name: string]: unknown;
12665
+ };
12666
+ content: {
12667
+ 'application/json': components['schemas']['NotificationResponse'];
12668
+ };
12669
+ };
12670
+ /** @description Validation Error */
12671
+ 422: {
12672
+ headers: {
12673
+ [name: string]: unknown;
12674
+ };
12675
+ content: {
12676
+ 'application/json': components['schemas']['HTTPValidationError'];
12677
+ };
12678
+ };
12679
+ };
12680
+ };
12681
+ get_config_schema: {
12682
+ parameters: {
12683
+ query?: never;
12684
+ header?: never;
12685
+ path?: never;
12686
+ cookie?: never;
12687
+ };
12688
+ requestBody?: never;
12689
+ responses: {
12690
+ /** @description Successful Response */
12691
+ 200: {
12692
+ headers: {
12693
+ [name: string]: unknown;
12694
+ };
12695
+ content: {
12696
+ 'application/json': unknown;
12697
+ };
12698
+ };
12699
+ };
12700
+ };
12701
+ get_config_versions: {
12702
+ parameters: {
12703
+ query?: never;
12704
+ header?: never;
12705
+ path?: never;
12706
+ cookie?: never;
12707
+ };
12708
+ requestBody?: never;
12709
+ responses: {
12710
+ /** @description Successful Response */
12711
+ 200: {
12712
+ headers: {
12713
+ [name: string]: unknown;
12714
+ };
12715
+ content: {
12716
+ 'application/json': components['schemas']['ConfigVersionsResponse'];
12717
+ };
12718
+ };
12719
+ };
12720
+ };
12721
+ get_config: {
12722
+ parameters: {
12723
+ query?: never;
12724
+ header?: never;
12725
+ path: {
12726
+ /** @description Config name: 'cfg-XXXXXXXX' or 'default' for system default */
12727
+ config_ext_id: string;
12728
+ };
12729
+ cookie?: never;
12730
+ };
12731
+ requestBody?: never;
12732
+ responses: {
12733
+ /** @description Successful Response */
12734
+ 200: {
12735
+ headers: {
12736
+ [name: string]: unknown;
12737
+ };
12738
+ content: {
12739
+ 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
12740
+ };
12741
+ };
12742
+ /** @description Validation Error */
12743
+ 422: {
12744
+ headers: {
12745
+ [name: string]: unknown;
12746
+ };
12747
+ content: {
12748
+ 'application/json': components['schemas']['HTTPValidationError'];
12749
+ };
12750
+ };
12751
+ };
12752
+ };
12753
+ delete_config: {
12754
+ parameters: {
12755
+ query?: never;
12756
+ header?: never;
12757
+ path: {
12758
+ config_ext_id: string;
12759
+ };
12760
+ cookie?: never;
12761
+ };
12762
+ requestBody?: never;
12763
+ responses: {
12764
+ /** @description Successful Response */
12765
+ 200: {
12029
12766
  headers: {
12030
12767
  [name: string]: unknown;
12031
12768
  };
@@ -12077,6 +12814,337 @@ interface operations {
12077
12814
  };
12078
12815
  };
12079
12816
  };
12817
+ list_agents: {
12818
+ parameters: {
12819
+ query?: never;
12820
+ header?: never;
12821
+ path?: never;
12822
+ cookie?: never;
12823
+ };
12824
+ requestBody?: never;
12825
+ responses: {
12826
+ /** @description Successful Response */
12827
+ 200: {
12828
+ headers: {
12829
+ [name: string]: unknown;
12830
+ };
12831
+ content: {
12832
+ 'application/json': components['schemas']['UserResponse'][];
12833
+ };
12834
+ };
12835
+ };
12836
+ };
12837
+ create_agent: {
12838
+ parameters: {
12839
+ query?: never;
12840
+ header?: never;
12841
+ path?: never;
12842
+ cookie?: never;
12843
+ };
12844
+ requestBody: {
12845
+ content: {
12846
+ 'application/json': components['schemas']['CreateAgentRequest'];
12847
+ };
12848
+ };
12849
+ responses: {
12850
+ /** @description Successful Response */
12851
+ 201: {
12852
+ headers: {
12853
+ [name: string]: unknown;
12854
+ };
12855
+ content: {
12856
+ 'application/json': components['schemas']['CreateAgentResponse'];
12857
+ };
12858
+ };
12859
+ /** @description Validation Error */
12860
+ 422: {
12861
+ headers: {
12862
+ [name: string]: unknown;
12863
+ };
12864
+ content: {
12865
+ 'application/json': components['schemas']['HTTPValidationError'];
12866
+ };
12867
+ };
12868
+ };
12869
+ };
12870
+ delete_agents: {
12871
+ parameters: {
12872
+ query?: never;
12873
+ header?: never;
12874
+ path?: never;
12875
+ cookie?: never;
12876
+ };
12877
+ requestBody: {
12878
+ content: {
12879
+ 'application/json': components['schemas']['DeleteAgentsRequest'];
12880
+ };
12881
+ };
12882
+ responses: {
12883
+ /** @description Successful Response */
12884
+ 200: {
12885
+ headers: {
12886
+ [name: string]: unknown;
12887
+ };
12888
+ content: {
12889
+ 'application/json': {
12890
+ [key: string]: unknown;
12891
+ };
12892
+ };
12893
+ };
12894
+ /** @description Validation Error */
12895
+ 422: {
12896
+ headers: {
12897
+ [name: string]: unknown;
12898
+ };
12899
+ content: {
12900
+ 'application/json': components['schemas']['HTTPValidationError'];
12901
+ };
12902
+ };
12903
+ };
12904
+ };
12905
+ get_agent_config: {
12906
+ parameters: {
12907
+ query?: never;
12908
+ header?: never;
12909
+ path: {
12910
+ /** @description Agent external id (agt-XXXXXXXX) */
12911
+ agent_ext_id: string;
12912
+ };
12913
+ cookie?: never;
12914
+ };
12915
+ requestBody?: never;
12916
+ responses: {
12917
+ /** @description Successful Response */
12918
+ 200: {
12919
+ headers: {
12920
+ [name: string]: unknown;
12921
+ };
12922
+ content: {
12923
+ 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
12924
+ };
12925
+ };
12926
+ /** @description Validation Error */
12927
+ 422: {
12928
+ headers: {
12929
+ [name: string]: unknown;
12930
+ };
12931
+ content: {
12932
+ 'application/json': components['schemas']['HTTPValidationError'];
12933
+ };
12934
+ };
12935
+ };
12936
+ };
12937
+ list_agent_workspaces: {
12938
+ parameters: {
12939
+ query?: never;
12940
+ header?: never;
12941
+ path: {
12942
+ /** @description Agent external id (agt-XXXXXXXX) */
12943
+ agent_ext_id: string;
12944
+ };
12945
+ cookie?: never;
12946
+ };
12947
+ requestBody?: never;
12948
+ responses: {
12949
+ /** @description Successful Response */
12950
+ 200: {
12951
+ headers: {
12952
+ [name: string]: unknown;
12953
+ };
12954
+ content: {
12955
+ 'application/json': components['schemas']['AgentWorkspaceResponse'][];
12956
+ };
12957
+ };
12958
+ /** @description Validation Error */
12959
+ 422: {
12960
+ headers: {
12961
+ [name: string]: unknown;
12962
+ };
12963
+ content: {
12964
+ 'application/json': components['schemas']['HTTPValidationError'];
12965
+ };
12966
+ };
12967
+ };
12968
+ };
12969
+ list_tasks_v1_tasks_get: {
12970
+ parameters: {
12971
+ query?: never;
12972
+ header?: never;
12973
+ path?: never;
12974
+ cookie?: never;
12975
+ };
12976
+ requestBody?: never;
12977
+ responses: {
12978
+ /** @description Successful Response */
12979
+ 200: {
12980
+ headers: {
12981
+ [name: string]: unknown;
12982
+ };
12983
+ content: {
12984
+ 'application/json': components['schemas']['TaskResponse'][];
12985
+ };
12986
+ };
12987
+ };
12988
+ };
12989
+ create_task_v1_tasks_post: {
12990
+ parameters: {
12991
+ query?: never;
12992
+ header?: never;
12993
+ path?: never;
12994
+ cookie?: never;
12995
+ };
12996
+ requestBody: {
12997
+ content: {
12998
+ 'application/json': components['schemas']['CreateTaskRequest'];
12999
+ };
13000
+ };
13001
+ responses: {
13002
+ /** @description Successful Response */
13003
+ 201: {
13004
+ headers: {
13005
+ [name: string]: unknown;
13006
+ };
13007
+ content: {
13008
+ 'application/json': components['schemas']['TaskResponse'];
13009
+ };
13010
+ };
13011
+ /** @description Validation Error */
13012
+ 422: {
13013
+ headers: {
13014
+ [name: string]: unknown;
13015
+ };
13016
+ content: {
13017
+ 'application/json': components['schemas']['HTTPValidationError'];
13018
+ };
13019
+ };
13020
+ };
13021
+ };
13022
+ get_task_v1_tasks__task_id__get: {
13023
+ parameters: {
13024
+ query?: never;
13025
+ header?: never;
13026
+ path: {
13027
+ task_id: string;
13028
+ };
13029
+ cookie?: never;
13030
+ };
13031
+ requestBody?: never;
13032
+ responses: {
13033
+ /** @description Successful Response */
13034
+ 200: {
13035
+ headers: {
13036
+ [name: string]: unknown;
13037
+ };
13038
+ content: {
13039
+ 'application/json': components['schemas']['TaskResponse'];
13040
+ };
13041
+ };
13042
+ /** @description Validation Error */
13043
+ 422: {
13044
+ headers: {
13045
+ [name: string]: unknown;
13046
+ };
13047
+ content: {
13048
+ 'application/json': components['schemas']['HTTPValidationError'];
13049
+ };
13050
+ };
13051
+ };
13052
+ };
13053
+ delete_task_v1_tasks__task_id__delete: {
13054
+ parameters: {
13055
+ query?: never;
13056
+ header?: never;
13057
+ path: {
13058
+ task_id: string;
13059
+ };
13060
+ cookie?: never;
13061
+ };
13062
+ requestBody?: never;
13063
+ responses: {
13064
+ /** @description Successful Response */
13065
+ 204: {
13066
+ headers: {
13067
+ [name: string]: unknown;
13068
+ };
13069
+ content?: never;
13070
+ };
13071
+ /** @description Validation Error */
13072
+ 422: {
13073
+ headers: {
13074
+ [name: string]: unknown;
13075
+ };
13076
+ content: {
13077
+ 'application/json': components['schemas']['HTTPValidationError'];
13078
+ };
13079
+ };
13080
+ };
13081
+ };
13082
+ update_task_v1_tasks__task_id__patch: {
13083
+ parameters: {
13084
+ query?: never;
13085
+ header?: never;
13086
+ path: {
13087
+ task_id: string;
13088
+ };
13089
+ cookie?: never;
13090
+ };
13091
+ requestBody: {
13092
+ content: {
13093
+ 'application/json': components['schemas']['UpdateTaskRequest'];
13094
+ };
13095
+ };
13096
+ responses: {
13097
+ /** @description Successful Response */
13098
+ 200: {
13099
+ headers: {
13100
+ [name: string]: unknown;
13101
+ };
13102
+ content: {
13103
+ 'application/json': components['schemas']['TaskResponse'];
13104
+ };
13105
+ };
13106
+ /** @description Validation Error */
13107
+ 422: {
13108
+ headers: {
13109
+ [name: string]: unknown;
13110
+ };
13111
+ content: {
13112
+ 'application/json': components['schemas']['HTTPValidationError'];
13113
+ };
13114
+ };
13115
+ };
13116
+ };
13117
+ run_now_v1_tasks__task_id__run_post: {
13118
+ parameters: {
13119
+ query?: never;
13120
+ header?: never;
13121
+ path: {
13122
+ task_id: string;
13123
+ };
13124
+ cookie?: never;
13125
+ };
13126
+ requestBody?: never;
13127
+ responses: {
13128
+ /** @description Successful Response */
13129
+ 200: {
13130
+ headers: {
13131
+ [name: string]: unknown;
13132
+ };
13133
+ content: {
13134
+ 'application/json': components['schemas']['TaskResponse'];
13135
+ };
13136
+ };
13137
+ /** @description Validation Error */
13138
+ 422: {
13139
+ headers: {
13140
+ [name: string]: unknown;
13141
+ };
13142
+ content: {
13143
+ 'application/json': components['schemas']['HTTPValidationError'];
13144
+ };
13145
+ };
13146
+ };
13147
+ };
12080
13148
  list_files: {
12081
13149
  parameters: {
12082
13150
  query?: {
@@ -12354,7 +13422,7 @@ interface operations {
12354
13422
  query?: never;
12355
13423
  header?: never;
12356
13424
  path: {
12357
- vendor_key: string;
13425
+ vendor_key: components['schemas']['VendorKey'];
12358
13426
  };
12359
13427
  cookie?: never;
12360
13428
  };
@@ -12387,7 +13455,7 @@ interface operations {
12387
13455
  query?: never;
12388
13456
  header?: never;
12389
13457
  path: {
12390
- vendor_key: string;
13458
+ vendor_key: components['schemas']['VendorKey'];
12391
13459
  };
12392
13460
  cookie?: never;
12393
13461
  };
@@ -12423,7 +13491,7 @@ interface operations {
12423
13491
  };
12424
13492
  header?: never;
12425
13493
  path: {
12426
- vendor_key: string;
13494
+ vendor_key: components['schemas']['VendorKey'];
12427
13495
  };
12428
13496
  cookie?: never;
12429
13497
  };
@@ -12454,7 +13522,7 @@ interface operations {
12454
13522
  query?: never;
12455
13523
  header?: never;
12456
13524
  path: {
12457
- vendor_key: string;
13525
+ vendor_key: components['schemas']['VendorKey'];
12458
13526
  };
12459
13527
  cookie?: never;
12460
13528
  };