@arbidocs/client 0.4.16 → 0.4.17

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 +1666 -764
  2. package/dist/index.d.ts +1666 -764
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1531,10 +1531,126 @@ interface paths {
1531
1531
  delete: operations['delete_conversation'];
1532
1532
  options?: never;
1533
1533
  head?: never;
1534
+ /**
1535
+ * Update Conversation
1536
+ * @description Change a conversation: its title, sharing, and its work fields. Every field is optional.
1537
+ *
1538
+ * * ``shared`` — its creator only (a row nobody else can see cannot be written by them): nobody else decides.
1539
+ * * everything else — the owner, or a collaborator of the workspace on a shared item.
1540
+ * * ``status`` — ``todo`` or ``done`` only. ``done`` is human-only (the sign-off person); ``todo`` reopens.
1541
+ * ``generating`` / ``ready_for_review`` are set only by runs and review.
1542
+ * * ``parent_conversation_ext_id`` — cycle-checked; ``null`` detaches.
1543
+ * * ``signoff_user_ext_id`` — a human who can edit the workspace; ``null`` falls back to the owner.
1544
+ */
1545
+ patch: operations['update_conversation'];
1546
+ trace?: never;
1547
+ };
1548
+ '/v1/conversation/message': {
1549
+ parameters: {
1550
+ query?: never;
1551
+ header?: never;
1552
+ path?: never;
1553
+ cookie?: never;
1554
+ };
1555
+ get?: never;
1556
+ put?: never;
1557
+ /**
1558
+ * Post Conversation Message
1559
+ * @description Post a human message to a conversation WITHOUT running the assistant.
1560
+ *
1561
+ * This is how people talk to each other in a ``mentioned``-mode conversation:
1562
+ * the message is stored and shown, and no LLM run starts. To get an answer,
1563
+ * @mention the assistant and send through ``POST /v1/assistant/query`` instead
1564
+ * (with ``mentions``); that endpoint keeps streaming the reply as today.
1565
+ *
1566
+ * - ``mentions`` of people must name current members of the workspace (422
1567
+ * otherwise). Mentioning someone in a conversation that is not shared yet
1568
+ * shares it with the workspace, atomically with this post, and notifies them.
1569
+ * - Rejects (409) a conversation in ``always`` mode: there every message gets a
1570
+ * reply, so a reply-less comment would break that promise.
1571
+ * - Rejects (422) an assistant mention: that message is meant to run it.
1572
+ */
1573
+ post: operations['post_conversation_message'];
1574
+ delete?: never;
1575
+ options?: never;
1576
+ head?: never;
1577
+ patch?: never;
1578
+ trace?: never;
1579
+ };
1580
+ '/v1/conversation/{conversation_ext_id}/assistant-mode': {
1581
+ parameters: {
1582
+ query?: never;
1583
+ header?: never;
1584
+ path?: never;
1585
+ cookie?: never;
1586
+ };
1587
+ get?: never;
1588
+ put?: never;
1589
+ post?: never;
1590
+ delete?: never;
1591
+ options?: never;
1592
+ head?: never;
1593
+ /**
1594
+ * Update Conversation Assistant Mode
1595
+ * @description Switch when the assistant answers in a conversation.
1596
+ *
1597
+ * ``always``: every message gets a reply (an ordinary chat). ``mentioned``: only
1598
+ * messages that @mention the assistant do; everything else is a comment between
1599
+ * people. RLS decides who may change it (the same rule as renaming).
1600
+ */
1601
+ patch: operations['update_conversation_assistant_mode'];
1602
+ trace?: never;
1603
+ };
1604
+ '/v1/conversation/work': {
1605
+ parameters: {
1606
+ query?: never;
1607
+ header?: never;
1608
+ path?: never;
1609
+ cookie?: never;
1610
+ };
1611
+ get?: never;
1612
+ put?: never;
1613
+ /**
1614
+ * Create Work
1615
+ * @description Create a work item (a conversation with a status) in the active workspace.
1616
+ *
1617
+ * No ``prompt``/``skill_ref`` (and no ``plan``) → a plain to-do (``todo``). With one → the conversation is
1618
+ * created ``generating`` and the run starts now, in the conversation's own thread. The caller is present, so
1619
+ * there is no access question: with no ``agent_ext_id`` the run is the caller's own, under their session and
1620
+ * capability; with one, the agent's run session is granted from the caller's workspace key.
1621
+ */
1622
+ post: operations['create_work'];
1623
+ delete?: never;
1624
+ options?: never;
1625
+ head?: never;
1626
+ patch?: never;
1627
+ trace?: never;
1628
+ };
1629
+ '/v1/conversation/work/plan': {
1630
+ parameters: {
1631
+ query?: never;
1632
+ header?: never;
1633
+ path?: never;
1634
+ cookie?: never;
1635
+ };
1636
+ get?: never;
1637
+ put?: never;
1638
+ /**
1639
+ * Plan Work
1640
+ * @description Draft a reviewable ``TaskPlan`` for the active workspace from a plain objective.
1641
+ *
1642
+ * The unified planner (``filter_and_plan`` → ``author_checklist``): formulates the goal, proposes the doc
1643
+ * set, and authors the acceptance criteria. Stateless — the caller attaches the returned plan to a create
1644
+ * body (new work) or a PATCH (re-plan).
1645
+ */
1646
+ post: operations['plan_work'];
1647
+ delete?: never;
1648
+ options?: never;
1649
+ head?: never;
1534
1650
  patch?: never;
1535
1651
  trace?: never;
1536
1652
  };
1537
- '/v1/conversation/{conversation_ext_id}/share': {
1653
+ '/v1/conversation/{conversation_ext_id}/run': {
1538
1654
  parameters: {
1539
1655
  query?: never;
1540
1656
  header?: never;
@@ -1544,19 +1660,22 @@ interface paths {
1544
1660
  get?: never;
1545
1661
  put?: never;
1546
1662
  /**
1547
- * Share Conversation
1548
- * @description Share all messages in a conversation by setting their shared flag to true.
1663
+ * Run Conversation
1664
+ * @description Run the work now (or retry it): the agent works in this conversation's own thread.
1549
1665
  *
1550
- * Only the conversation creator can share a conversation.
1666
+ * The caller is present, so the run's session is granted from their own workspace key — no access
1667
+ * question (``auth_mode`` only matters for unattended runs). 409 while a run is live. When the run cannot
1668
+ * start (no assistant, ...) the 409 carries the reason; an unattended-style park is not an error here:
1669
+ * the response then has ``pending_auth_request_id`` (see ``GET /{id}/pending-auth``).
1551
1670
  */
1552
- post: operations['share_conversation'];
1671
+ post: operations['run_conversation'];
1553
1672
  delete?: never;
1554
1673
  options?: never;
1555
1674
  head?: never;
1556
1675
  patch?: never;
1557
1676
  trace?: never;
1558
1677
  };
1559
- '/v1/conversation/{conversation_ext_id}/title': {
1678
+ '/v1/conversation/{conversation_ext_id}/review': {
1560
1679
  parameters: {
1561
1680
  query?: never;
1562
1681
  header?: never;
@@ -1565,16 +1684,89 @@ interface paths {
1565
1684
  };
1566
1685
  get?: never;
1567
1686
  put?: never;
1687
+ /**
1688
+ * Review Conversation
1689
+ * @description A person's verdict on prepared work (``ready_for_review``). Never an agent.
1690
+ *
1691
+ * ``approve`` (sign-off person only) marks it done and emits ``conversation_done`` so workflows waiting
1692
+ * on it can start.
1693
+ * ``request_changes`` sends ``feedback`` back to the agent as the next turn of the SAME thread and the
1694
+ * status goes back to ``generating``.
1695
+ */
1696
+ post: operations['review_conversation'];
1697
+ delete?: never;
1698
+ options?: never;
1699
+ head?: never;
1700
+ patch?: never;
1701
+ trace?: never;
1702
+ };
1703
+ '/v1/conversation/{conversation_ext_id}/activity': {
1704
+ parameters: {
1705
+ query?: never;
1706
+ header?: never;
1707
+ path?: never;
1708
+ cookie?: never;
1709
+ };
1710
+ /**
1711
+ * Get Conversation Activity
1712
+ * @description The task's history, oldest first: when it started, went through each stage, was handed on or sent back.
1713
+ *
1714
+ * Anyone who can see the conversation can read it. Notes (feedback, hand-off messages) are decrypted for the
1715
+ * caller; who did what is shown by external id.
1716
+ */
1717
+ get: operations['get_conversation_activity'];
1718
+ put?: never;
1568
1719
  post?: never;
1569
1720
  delete?: never;
1570
1721
  options?: never;
1571
1722
  head?: never;
1723
+ patch?: never;
1724
+ trace?: never;
1725
+ };
1726
+ '/v1/conversation/{conversation_ext_id}/request-approval': {
1727
+ parameters: {
1728
+ query?: never;
1729
+ header?: never;
1730
+ path?: never;
1731
+ cookie?: never;
1732
+ };
1733
+ get?: never;
1734
+ put?: never;
1735
+ /**
1736
+ * Request Conversation Approval
1737
+ * @description Ask another person to approve this work item.
1738
+ *
1739
+ * Anyone who can edit it can pass it on (nobody can take a work item for themselves): the person asked
1740
+ * becomes its sign-off person and gets a ``conversation_approval_request`` notification, and only they (not
1741
+ * the person who asked) can approve it from then on. They can pass it on again the same way.
1742
+ */
1743
+ post: operations['request_conversation_approval'];
1744
+ delete?: never;
1745
+ options?: never;
1746
+ head?: never;
1747
+ patch?: never;
1748
+ trace?: never;
1749
+ };
1750
+ '/v1/conversation/{conversation_ext_id}/pending-auth': {
1751
+ parameters: {
1752
+ query?: never;
1753
+ header?: never;
1754
+ path?: never;
1755
+ cookie?: never;
1756
+ };
1572
1757
  /**
1573
- * Update Conversation Title
1574
- * @description Update a conversation title.
1575
- * RLS ensures the user can only update conversations they have access to.
1758
+ * Get Pending Auth
1759
+ * @description The agent run-session key a parked run is waiting for the owner to allow.
1760
+ *
1761
+ * 404 when the run is not waiting for access. Owner group only, like running the work.
1576
1762
  */
1577
- patch: operations['update_conversation_title'];
1763
+ get: operations['get_conversation_pending_auth'];
1764
+ put?: never;
1765
+ post?: never;
1766
+ delete?: never;
1767
+ options?: never;
1768
+ head?: never;
1769
+ patch?: never;
1578
1770
  trace?: never;
1579
1771
  };
1580
1772
  '/v1/assistant/sse-schema': {
@@ -1754,7 +1946,7 @@ interface paths {
1754
1946
  *
1755
1947
  * A scheduled/goal run accumulates its step events into the same ``resp:events``
1756
1948
  * machine a foreground turn uses, keyed by the run's pre-minted assistant msg id
1757
- * (exposed as ``Task.active_response_id``). This endpoint foregrounds that stream:
1949
+ * (exposed as ``Convos.active_response_id``). This endpoint foregrounds that stream:
1758
1950
  * it replays the events accumulated so far, then tails new ones until the run
1759
1951
  * finishes — emitting the exact same ``arbi.agent_step`` / ``response.completed``
1760
1952
  * frames the chat stream does, so the client reuses its normal SSE consumer.
@@ -1790,6 +1982,29 @@ interface paths {
1790
1982
  patch?: never;
1791
1983
  trace?: never;
1792
1984
  };
1985
+ '/v1/health/live': {
1986
+ parameters: {
1987
+ query?: never;
1988
+ header?: never;
1989
+ path?: never;
1990
+ cookie?: never;
1991
+ };
1992
+ /**
1993
+ * Liveness
1994
+ * @description Process liveness for orchestrators: answers 200 with no dependency checks.
1995
+ *
1996
+ * ``GET /v1/health/`` checks Postgres and LiteLLM, so using it as a liveness probe would restart healthy pods
1997
+ * during a dependency blip. Use this for liveness and ``/v1/health/`` for readiness.
1998
+ */
1999
+ get: operations['get_health_live'];
2000
+ put?: never;
2001
+ post?: never;
2002
+ delete?: never;
2003
+ options?: never;
2004
+ head?: never;
2005
+ patch?: never;
2006
+ trace?: never;
2007
+ };
1793
2008
  '/v1/health/': {
1794
2009
  parameters: {
1795
2010
  query?: never;
@@ -2102,7 +2317,7 @@ interface paths {
2102
2317
  * be reminded about — there is nothing to fire relative to otherwise.
2103
2318
  *
2104
2319
  * The reminder is deliberately CONTENT-FREE: it names the note by external id
2105
- * and nothing else. ``tasks.name`` is plaintext while ``facts.content`` is
2320
+ * and nothing else. ``workflows.name`` is plaintext while ``facts.content`` is
2106
2321
  * encrypted under the workspace key, so copying the text into the reminder
2107
2322
  * would leak the very thing the note protects. The client resolves the text
2108
2323
  * from the note when it displays the notification.
@@ -2114,6 +2329,66 @@ interface paths {
2114
2329
  patch?: never;
2115
2330
  trace?: never;
2116
2331
  };
2332
+ '/v1/workflow': {
2333
+ parameters: {
2334
+ query?: never;
2335
+ header?: never;
2336
+ path?: never;
2337
+ cookie?: never;
2338
+ };
2339
+ /** List Workflows */
2340
+ get: operations['list_workflows'];
2341
+ put?: never;
2342
+ /** Create Workflow */
2343
+ post: operations['create_workflow'];
2344
+ delete?: never;
2345
+ options?: never;
2346
+ head?: never;
2347
+ patch?: never;
2348
+ trace?: never;
2349
+ };
2350
+ '/v1/workflow/{workflow_id}': {
2351
+ parameters: {
2352
+ query?: never;
2353
+ header?: never;
2354
+ path?: never;
2355
+ cookie?: never;
2356
+ };
2357
+ /** Get Workflow */
2358
+ get: operations['get_workflow'];
2359
+ put?: never;
2360
+ post?: never;
2361
+ /** Delete Workflow */
2362
+ delete: operations['delete_workflow'];
2363
+ options?: never;
2364
+ head?: never;
2365
+ /** Update Workflow */
2366
+ patch: operations['update_workflow'];
2367
+ trace?: never;
2368
+ };
2369
+ '/v1/workflow/{workflow_id}/run': {
2370
+ parameters: {
2371
+ query?: never;
2372
+ header?: never;
2373
+ path?: never;
2374
+ cookie?: never;
2375
+ };
2376
+ get?: never;
2377
+ put?: never;
2378
+ /**
2379
+ * Run Workflow
2380
+ * @description Fire the workflow now as a test run: creates a conversation exactly as a trigger would.
2381
+ *
2382
+ * Ignores the armed switch and the clock and leaves the schedule untouched (no advance, no disarm). A person
2383
+ * pressing Run authorizes the agent's run from their own session when the workspace is open on it.
2384
+ */
2385
+ post: operations['run_workflow'];
2386
+ delete?: never;
2387
+ options?: never;
2388
+ head?: never;
2389
+ patch?: never;
2390
+ trace?: never;
2391
+ };
2117
2392
  '/v1/notifications/ws-schemas': {
2118
2393
  parameters: {
2119
2394
  query?: never;
@@ -2207,7 +2482,7 @@ interface paths {
2207
2482
  * the recipient's workspaces and names none, so the notification is agnostic and
2208
2483
  * the recipient's client picks the workspace; but a requester who already knows
2209
2484
  * the target (e.g. the email gateway receiving mail at wrk-xxxx@arbidocs.com) may
2210
- * attach it so the recipient's UI pre-selects it. The id only sticks if the
2485
+ * attach it so the recipient's UI preselects it. The id only sticks if the
2211
2486
  * requester's session can resolve it under RLS — otherwise it silently falls back
2212
2487
  * to agnostic. Either way the recipient drives role + temporary/permanent and
2213
2488
  * then calls POST /workspace/{ext_id}/users to actually grant.
@@ -2530,93 +2805,105 @@ interface paths {
2530
2805
  patch?: never;
2531
2806
  trace?: never;
2532
2807
  };
2533
- '/v1/tasks': {
2808
+ '/v1/files': {
2534
2809
  parameters: {
2535
2810
  query?: never;
2536
2811
  header?: never;
2537
2812
  path?: never;
2538
2813
  cookie?: never;
2539
2814
  };
2540
- /** List Tasks */
2541
- get: operations['list_tasks'];
2815
+ /**
2816
+ * List Files
2817
+ * @description List files in the workspace (OpenAI-compatible) with cursor pagination.
2818
+ */
2819
+ get: operations['list_files'];
2542
2820
  put?: never;
2543
- /** Create Task */
2544
- post: operations['create_task'];
2821
+ /**
2822
+ * Upload File
2823
+ * @description Upload a file (OpenAI-compatible).
2824
+ *
2825
+ * Accepts a multipart form with 'file' (binary) and 'purpose' (string) fields.
2826
+ */
2827
+ post: operations['upload_file'];
2545
2828
  delete?: never;
2546
2829
  options?: never;
2547
2830
  head?: never;
2548
2831
  patch?: never;
2549
2832
  trace?: never;
2550
2833
  };
2551
- '/v1/tasks/plan': {
2834
+ '/v1/files/{file_id}': {
2552
2835
  parameters: {
2553
2836
  query?: never;
2554
2837
  header?: never;
2555
2838
  path?: never;
2556
2839
  cookie?: never;
2557
2840
  };
2558
- get?: never;
2841
+ /**
2842
+ * Get File
2843
+ * @description Retrieve a single file by ID (OpenAI-compatible).
2844
+ */
2845
+ get: operations['get_file'];
2559
2846
  put?: never;
2847
+ post?: never;
2560
2848
  /**
2561
- * Plan Task
2562
- * @description Draft a reviewable ``TaskPlan`` for the active workspace from a plain objective.
2563
- *
2564
- * The unified planner (``filter_and_plan`` → ``author_checklist``): formulates the
2565
- * goal, proposes the doc set, and authors the acceptance criteria. Stateless — the
2566
- * caller attaches the returned plan to a create body (new task) or a PATCH (re-plan).
2849
+ * Delete File
2850
+ * @description Delete a file by ID (OpenAI-compatible).
2567
2851
  */
2568
- post: operations['plan_task'];
2569
- delete?: never;
2852
+ delete: operations['delete_file'];
2570
2853
  options?: never;
2571
2854
  head?: never;
2572
2855
  patch?: never;
2573
2856
  trace?: never;
2574
2857
  };
2575
- '/v1/tasks/{task_id}': {
2858
+ '/v1/files/{file_id}/content': {
2576
2859
  parameters: {
2577
2860
  query?: never;
2578
2861
  header?: never;
2579
2862
  path?: never;
2580
2863
  cookie?: never;
2581
2864
  };
2582
- /** Get Task */
2583
- get: operations['get_task'];
2865
+ /**
2866
+ * Get File Content
2867
+ * @description Retrieve the contents of a file (OpenAI-compatible).
2868
+ *
2869
+ * Returns the raw file bytes with the appropriate content type.
2870
+ */
2871
+ get: operations['get_file_content'];
2584
2872
  put?: never;
2585
2873
  post?: never;
2586
- /** Delete Task */
2587
- delete: operations['delete_task'];
2874
+ delete?: never;
2588
2875
  options?: never;
2589
2876
  head?: never;
2590
- /** Update Task */
2591
- patch: operations['update_task'];
2877
+ patch?: never;
2592
2878
  trace?: never;
2593
2879
  };
2594
- '/v1/tasks/{task_id}/runs': {
2880
+ '/v1/chat/completions': {
2595
2881
  parameters: {
2596
2882
  query?: never;
2597
2883
  header?: never;
2598
2884
  path?: never;
2599
2885
  cookie?: never;
2600
2886
  };
2887
+ get?: never;
2888
+ put?: never;
2601
2889
  /**
2602
- * List Task Runs
2603
- * @description A task's run history, newest first — derived from its bookend notifications.
2890
+ * Chat Completions
2891
+ * @description OpenAI-compatible chat completions endpoint.
2604
2892
  *
2605
- * There is no runs table: each ``task_completed`` notification tagged with this
2606
- * task IS a run record, carrying the run's conversation (open it to watch/read)
2607
- * and status. The current in-flight run (if any) is prepended from the task's
2608
- * live pointers.
2893
+ * Supports:
2894
+ * - Standard chat completion (pure LLM proxy)
2895
+ * - file_search tool interception for RAG-augmented responses
2896
+ * - Both streaming (SSE) and non-streaming modes
2897
+ * - Citation generation when retrieval is used
2609
2898
  */
2610
- get: operations['list_task_runs'];
2611
- put?: never;
2612
- post?: never;
2899
+ post: operations['chat_completions'];
2613
2900
  delete?: never;
2614
2901
  options?: never;
2615
2902
  head?: never;
2616
2903
  patch?: never;
2617
2904
  trace?: never;
2618
2905
  };
2619
- '/v1/tasks/{task_id}/run': {
2906
+ '/v1/oauth/create_code': {
2620
2907
  parameters: {
2621
2908
  query?: never;
2622
2909
  header?: never;
@@ -2626,29 +2913,20 @@ interface paths {
2626
2913
  get?: never;
2627
2914
  put?: never;
2628
2915
  /**
2629
- * Run Now
2630
- * @description Fire the task immediately (wake the agent / notify), without changing its schedule.
2631
- *
2632
- * Authorization is chosen by the task's ``auth_mode`` and resolved by the shared
2633
- * dispatch path (``fire_task``): a tier-3 ``scheduled_permanent`` task runs via the
2634
- * agent's standing membership; a temporary-tier task without a standing key mints
2635
- * an agent run-session and asks the owner to authorize (reusing the
2636
- * workspace-access-request flow), landing the task in a pending-auth state.
2916
+ * Create Oauth Code
2917
+ * @description Create an OAuth authorization code after user consent.
2637
2918
  *
2638
- * When pending, the response carries the agent run-session's PUBLIC key + email so
2639
- * the owner's client can grant a temporary, session-scoped key to it via
2640
- * ``POST /v1/workspace/{id}/users`` (its ``session_pubkey_b64`` path) and then
2641
- * re-trigger this endpoint — dispatch then resumes the run on that granted session.
2642
- * No task-specific endpoint; the owner is present so this is effectively synchronous.
2919
+ * Called by the /mcp-connect frontend page when the user clicks Allow.
2920
+ * Requires the user's active browser session JWT as the Bearer token.
2643
2921
  */
2644
- post: operations['run_task'];
2922
+ post: operations['create_oauth_code_v1_oauth_create_code_post'];
2645
2923
  delete?: never;
2646
2924
  options?: never;
2647
2925
  head?: never;
2648
2926
  patch?: never;
2649
2927
  trace?: never;
2650
2928
  };
2651
- '/v1/files': {
2929
+ '/v1/connectors': {
2652
2930
  parameters: {
2653
2931
  query?: never;
2654
2932
  header?: never;
@@ -2656,133 +2934,12 @@ interface paths {
2656
2934
  cookie?: never;
2657
2935
  };
2658
2936
  /**
2659
- * List Files
2660
- * @description List files in the workspace (OpenAI-compatible) with cursor pagination.
2937
+ * List active connector catalog entries
2938
+ * @description Return all active connector catalog entries (code-defined, no secrets).
2661
2939
  */
2662
- get: operations['list_files'];
2940
+ get: operations['list_connectors'];
2663
2941
  put?: never;
2664
- /**
2665
- * Upload File
2666
- * @description Upload a file (OpenAI-compatible).
2667
- *
2668
- * Accepts a multipart form with 'file' (binary) and 'purpose' (string) fields.
2669
- */
2670
- post: operations['upload_file'];
2671
- delete?: never;
2672
- options?: never;
2673
- head?: never;
2674
- patch?: never;
2675
- trace?: never;
2676
- };
2677
- '/v1/files/{file_id}': {
2678
- parameters: {
2679
- query?: never;
2680
- header?: never;
2681
- path?: never;
2682
- cookie?: never;
2683
- };
2684
- /**
2685
- * Get File
2686
- * @description Retrieve a single file by ID (OpenAI-compatible).
2687
- */
2688
- get: operations['get_file'];
2689
- put?: never;
2690
- post?: never;
2691
- /**
2692
- * Delete File
2693
- * @description Delete a file by ID (OpenAI-compatible).
2694
- */
2695
- delete: operations['delete_file'];
2696
- options?: never;
2697
- head?: never;
2698
- patch?: never;
2699
- trace?: never;
2700
- };
2701
- '/v1/files/{file_id}/content': {
2702
- parameters: {
2703
- query?: never;
2704
- header?: never;
2705
- path?: never;
2706
- cookie?: never;
2707
- };
2708
- /**
2709
- * Get File Content
2710
- * @description Retrieve the contents of a file (OpenAI-compatible).
2711
- *
2712
- * Returns the raw file bytes with the appropriate content type.
2713
- */
2714
- get: operations['get_file_content'];
2715
- put?: never;
2716
- post?: never;
2717
- delete?: never;
2718
- options?: never;
2719
- head?: never;
2720
- patch?: never;
2721
- trace?: never;
2722
- };
2723
- '/v1/chat/completions': {
2724
- parameters: {
2725
- query?: never;
2726
- header?: never;
2727
- path?: never;
2728
- cookie?: never;
2729
- };
2730
- get?: never;
2731
- put?: never;
2732
- /**
2733
- * Chat Completions
2734
- * @description OpenAI-compatible chat completions endpoint.
2735
- *
2736
- * Supports:
2737
- * - Standard chat completion (pure LLM proxy)
2738
- * - file_search tool interception for RAG-augmented responses
2739
- * - Both streaming (SSE) and non-streaming modes
2740
- * - Citation generation when retrieval is used
2741
- */
2742
- post: operations['chat_completions'];
2743
- delete?: never;
2744
- options?: never;
2745
- head?: never;
2746
- patch?: never;
2747
- trace?: never;
2748
- };
2749
- '/v1/oauth/create_code': {
2750
- parameters: {
2751
- query?: never;
2752
- header?: never;
2753
- path?: never;
2754
- cookie?: never;
2755
- };
2756
- get?: never;
2757
- put?: never;
2758
- /**
2759
- * Create Oauth Code
2760
- * @description Create an OAuth authorization code after user consent.
2761
- *
2762
- * Called by the /mcp-connect frontend page when the user clicks Allow.
2763
- * Requires the user's active browser session JWT as the Bearer token.
2764
- */
2765
- post: operations['create_oauth_code_v1_oauth_create_code_post'];
2766
- delete?: never;
2767
- options?: never;
2768
- head?: never;
2769
- patch?: never;
2770
- trace?: never;
2771
- };
2772
- '/v1/connectors': {
2773
- parameters: {
2774
- query?: never;
2775
- header?: never;
2776
- path?: never;
2777
- cookie?: never;
2778
- };
2779
- /**
2780
- * List active connector catalog entries
2781
- * @description Return all active connector catalog entries (code-defined, no secrets).
2782
- */
2783
- get: operations['list_connectors'];
2784
- put?: never;
2785
- post?: never;
2942
+ post?: never;
2786
2943
  delete?: never;
2787
2944
  options?: never;
2788
2945
  head?: never;
@@ -3339,6 +3496,75 @@ interface paths {
3339
3496
  patch?: never;
3340
3497
  trace?: never;
3341
3498
  };
3499
+ '/v1/slack/me': {
3500
+ parameters: {
3501
+ query?: never;
3502
+ header?: never;
3503
+ path?: never;
3504
+ cookie?: never;
3505
+ };
3506
+ /** Get Slack Connection */
3507
+ get: operations['get_slack_connection_v1_slack_me_get'];
3508
+ put?: never;
3509
+ post?: never;
3510
+ /** Disconnect Slack */
3511
+ delete: operations['disconnect_slack_v1_slack_me_delete'];
3512
+ options?: never;
3513
+ head?: never;
3514
+ patch?: never;
3515
+ trace?: never;
3516
+ };
3517
+ '/v1/slack/authorize': {
3518
+ parameters: {
3519
+ query?: never;
3520
+ header?: never;
3521
+ path?: never;
3522
+ cookie?: never;
3523
+ };
3524
+ /** Authorize Slack */
3525
+ get: operations['authorize_slack_v1_slack_authorize_get'];
3526
+ put?: never;
3527
+ post?: never;
3528
+ delete?: never;
3529
+ options?: never;
3530
+ head?: never;
3531
+ patch?: never;
3532
+ trace?: never;
3533
+ };
3534
+ '/v1/slack/callback': {
3535
+ parameters: {
3536
+ query?: never;
3537
+ header?: never;
3538
+ path?: never;
3539
+ cookie?: never;
3540
+ };
3541
+ /** Slack Callback */
3542
+ get: operations['slack_callback_v1_slack_callback_get'];
3543
+ put?: never;
3544
+ post?: never;
3545
+ delete?: never;
3546
+ options?: never;
3547
+ head?: never;
3548
+ patch?: never;
3549
+ trace?: never;
3550
+ };
3551
+ '/v1/slack/events': {
3552
+ parameters: {
3553
+ query?: never;
3554
+ header?: never;
3555
+ path?: never;
3556
+ cookie?: never;
3557
+ };
3558
+ get?: never;
3559
+ put?: never;
3560
+ /** Slack Events */
3561
+ post: operations['slack_events_v1_slack_events_post'];
3562
+ delete?: never;
3563
+ options?: never;
3564
+ head?: never;
3565
+ patch?: never;
3566
+ trace?: never;
3567
+ };
3342
3568
  '/v1/responses': {
3343
3569
  parameters: {
3344
3570
  query?: never;
@@ -3392,10 +3618,35 @@ type webhooks = Record<string, never>;
3392
3618
  interface components {
3393
3619
  schemas: {
3394
3620
  /**
3395
- * ActionType
3621
+ * ActivityKind
3622
+ * @description What happened to a task, in the order a person reads its history.
3396
3623
  * @enum {string}
3397
3624
  */
3398
- ActionType: 'notify' | 'agent_prompt' | 'run_skill';
3625
+ ActivityKind: 'created' | 'run_started' | 'awaiting_access' | 'access_granted' | 'ready_for_review' | 'handed_off' | 'changes_requested' | 'done' | 'reopened' | 'failed';
3626
+ /**
3627
+ * ActivityResponse
3628
+ * @description One entry of ``GET /v1/conversation/{id}/activity``.
3629
+ */
3630
+ ActivityResponse: {
3631
+ /** External Id */
3632
+ external_id: string;
3633
+ kind: components['schemas']['ActivityKind'];
3634
+ /** Actor Ext Id */
3635
+ actor_ext_id?: string | null;
3636
+ /** To Ext Id */
3637
+ to_ext_id?: string | null;
3638
+ /** Note */
3639
+ note?: string | null;
3640
+ /** Detail */
3641
+ detail?: {
3642
+ [key: string]: unknown;
3643
+ } | null;
3644
+ /**
3645
+ * Created At
3646
+ * Format: date-time
3647
+ */
3648
+ created_at: string;
3649
+ };
3399
3650
  /**
3400
3651
  * AddContactsRequest
3401
3652
  * @description Request model for adding contacts by email.
@@ -3679,7 +3930,7 @@ interface components {
3679
3930
  };
3680
3931
  /**
3681
3932
  * AgentWorkspaceResponse
3682
- * @description One workspace an agent can access, with its role.
3933
+ * @description One live workspace grant and whether it can wake an agent persistently.
3683
3934
  */
3684
3935
  AgentWorkspaceResponse: {
3685
3936
  /** Workspace Ext Id */
@@ -3692,9 +3943,9 @@ interface components {
3692
3943
  * Format: date-time
3693
3944
  */
3694
3945
  joined_at: string;
3695
- /** Whether the grant has a persistent wrapped workspace key. */
3946
+ /** Permanent */
3696
3947
  permanent: boolean;
3697
- /** Whether this is the workspace selected for agent wakeups. */
3948
+ /** Is Default */
3698
3949
  is_default: boolean;
3699
3950
  };
3700
3951
  /**
@@ -4246,7 +4497,7 @@ interface components {
4246
4497
  * "API_TYPE": "remote",
4247
4498
  * "ENABLE_THINKING": false,
4248
4499
  * "MODEL_NAME": "Fast",
4249
- * "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nYour answers are displayed directly as cell values in a table, so keep every answer as short as possible.\n\nGuidelines:\n- Answer with the value only — never a full sentence. Do not restate the question or add lead-ins such as \"This document is...\" or \"The document describes...\". Good: \"German\". Bad: \"This document is written in German.\"\n- When an answer has multiple values, put each value on its own line: separate values with a newline character. Do not separate them with commas, bullets, dashes, numbering, or by writing them as a sentence.\n- Only use information explicitly stated in the document; do not infer or assume information not present.\n- If the information is not found, respond with exactly \"Not found\".\n- Follow the format instructions exactly for each answer.\n- Output answers as plain text only. Do not use Markdown or any other formatting: no bold, italics, asterisks (*), underscores (_), backticks (`), bullets, or numbered/lettered enumeration.",
4500
+ * "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based on the document content.\n\nYour answers are displayed directly as cell values in a table, so keep every answer as short as possible.\n\nGuidelines:\n- Answer with the value only — never a full sentence. Do not restate the question or add lead-ins such as \"This document is...\" or \"The document describes...\". Good: \"German\". Bad: \"This document is written in German.\"\n- When an answer has multiple values, put each value on its own line: separate values with a newline character. Do not separate them with commas, bullets, dashes, numbering, or by writing them as a sentence.\n- Answer from the document. Reasonable inferences are fine; if the document gives no basis for an answer, the value is null and sources is empty.\n- Follow the format instructions exactly for each answer.\n- Output answers as plain text only. Do not use Markdown or any other formatting: no bold, italics, asterisks (*), underscores (_), backticks (`), bullets, or numbered/lettered enumeration.\n- Passages may be preceded by markers like [p3.2]: not document content. Cite them in \"sources\", never in a value.",
4250
4501
  * "MAX_TOKEN_CONTEXT_TO_ANSWER": 200000,
4251
4502
  * "TEMPERATURE": 0.1,
4252
4503
  * "MAX_TOKENS": 0,
@@ -4699,11 +4950,11 @@ interface components {
4699
4950
  title: string;
4700
4951
  /**
4701
4952
  * Mode
4702
- * @description Rendering mode: markdown (default, supports redlines), html, plain text, or image (a generated image artifact — render the doc via the image viewer)
4953
+ * @description Rendering mode: markdown (default, supports redlines), html (single-file page, rendered in a sandboxed preview), react (single-file JSX component, rendered in a sandboxed preview), plain text, or image (a generated image artifact — render the doc via the image viewer)
4703
4954
  * @default markdown
4704
4955
  * @enum {string}
4705
4956
  */
4706
- mode: 'markdown' | 'html' | 'text' | 'image';
4957
+ mode: 'markdown' | 'html' | 'text' | 'react' | 'image';
4707
4958
  /**
4708
4959
  * Content
4709
4960
  * @description The artifact content (markdown/html/text; empty for image mode)
@@ -4727,6 +4978,11 @@ interface components {
4727
4978
  * @default 1
4728
4979
  */
4729
4980
  version: number;
4981
+ /**
4982
+ * Parent Doc Ext Id
4983
+ * @description Document this artifact updates; it is saved as the next version in that document's chain
4984
+ */
4985
+ parent_doc_ext_id?: string | null;
4730
4986
  /**
4731
4987
  * Message Ext Id
4732
4988
  * @description External ID of the assistant message that generated this artifact
@@ -4750,6 +5006,28 @@ interface components {
4750
5006
  */
4751
5007
  question: string;
4752
5008
  };
5009
+ /**
5010
+ * AssistantMode
5011
+ * @description When the assistant answers a message in a conversation (``convos.assistant_mode``).
5012
+ *
5013
+ * - ``always``: every message runs the assistant. The default, and what every
5014
+ * pre-existing conversation is, so an ordinary 1:1 chat behaves as before.
5015
+ * - ``mentioned``: a thread between people. A message runs the assistant only
5016
+ * when it @mentions the assistant; any other message is a plain comment
5017
+ * (stored, shown, no LLM run). Set by callers that want threads.
5018
+ * @enum {string}
5019
+ */
5020
+ AssistantMode: 'always' | 'mentioned';
5021
+ /** AssistantModeUpdateRequest */
5022
+ AssistantModeUpdateRequest: {
5023
+ assistant_mode: components['schemas']['AssistantMode'];
5024
+ };
5025
+ /** AssistantModeUpdateResponse */
5026
+ AssistantModeUpdateResponse: {
5027
+ /** Conversation Ext Id */
5028
+ conversation_ext_id: string;
5029
+ assistant_mode: components['schemas']['AssistantMode'];
5030
+ };
4753
5031
  /**
4754
5032
  * AuthMessage
4755
5033
  * @description Client authentication message.
@@ -4764,34 +5042,6 @@ interface components {
4764
5042
  /** Token */
4765
5043
  token: string;
4766
5044
  };
4767
- /**
4768
- * AuthMode
4769
- * @description How a task's agent obtains the workspace key it needs to act — a per-task,
4770
- * least-privilege authorization choice. See ``docs/agent_scheduler_design.md`` and
4771
- * the per-tier threat model in ``src/core/agent_headless.py``.
4772
- *
4773
- * ``run_now_temp`` (default, tier 1) — RUN NOW with the owner present. The agent
4774
- * has no standing key, so the run reuses the shipped **workspace-access-request**
4775
- * flow: the agent asks the owner, who — being online — grants immediately via
4776
- * the ordinary ``POST /v1/workspace/{id}/users`` (a temporary, session-scoped
4777
- * key, or permanent, their choice). **No task-specific handshake** and, for a
4778
- * temporary grant, no durable ``WorkspaceUsers`` membership. Least privilege:
4779
- * a compromised agent host at rest holds no standing key.
4780
- *
4781
- * ``scheduled_require_auth`` (tier 2) — the SAME workspace-access-request flow, but
4782
- * the owner grants whenever they get to it: the run does not proceed until a key
4783
- * is granted, landing in a pending-auth state (``pending_auth_request_id``)
4784
- * rather than running unauthorized.
4785
- *
4786
- * ``scheduled_permanent`` (tier 3, advanced) — standing ``WorkspaceUsers``
4787
- * membership: the server can derive the workspace key from the agent's own
4788
- * deployment-wrapped identity at any time, owner offline. Convenient for
4789
- * unattended recurring runs, but the agent's environment can reach the
4790
- * workspace key whenever it likes — an explicit "I trust this agent's
4791
- * environment" opt-in, NOT the default.
4792
- * @enum {string}
4793
- */
4794
- AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
4795
5045
  /**
4796
5046
  * AuthResultMessage
4797
5047
  * @description Server response to authentication.
@@ -5660,6 +5910,58 @@ interface components {
5660
5910
  message_count: number;
5661
5911
  /** Last Message Status */
5662
5912
  last_message_status?: string | null;
5913
+ /** @default always */
5914
+ assistant_mode: components['schemas']['AssistantMode'];
5915
+ status?: components['schemas']['WorkStatus'] | null;
5916
+ /** Description */
5917
+ description?: string | null;
5918
+ /** Due At */
5919
+ due_at?: string | null;
5920
+ /** Signoff Ext Id */
5921
+ signoff_ext_id?: string | null;
5922
+ /**
5923
+ * Can Signoff
5924
+ * @default false
5925
+ */
5926
+ can_signoff: boolean;
5927
+ /** Completed At */
5928
+ completed_at?: string | null;
5929
+ /** Completed By Ext Id */
5930
+ completed_by_ext_id?: string | null;
5931
+ /** Parent Conversation Ext Id */
5932
+ parent_conversation_ext_id?: string | null;
5933
+ /** Workflow Ext Id */
5934
+ workflow_ext_id?: string | null;
5935
+ /** Agent Ext Id */
5936
+ agent_ext_id?: string | null;
5937
+ /** Skill Ref */
5938
+ skill_ref?: string | null;
5939
+ auth_mode?: components['schemas']['src__models__work__AuthMode'] | null;
5940
+ plan?: components['schemas']['TaskPlan'] | null;
5941
+ /** Goal State */
5942
+ goal_state?: {
5943
+ [key: string]: unknown;
5944
+ } | null;
5945
+ /** Last Error */
5946
+ last_error?: string | null;
5947
+ /** Pending Auth Request Id */
5948
+ pending_auth_request_id?: string | null;
5949
+ /**
5950
+ * In Progress
5951
+ * @default false
5952
+ */
5953
+ in_progress: boolean;
5954
+ /** Active Response Id */
5955
+ active_response_id?: string | null;
5956
+ /** Run Started At */
5957
+ run_started_at?: string | null;
5958
+ /** Owner Ext Id */
5959
+ owner_ext_id?: string | null;
5960
+ /**
5961
+ * Is Owner
5962
+ * @default true
5963
+ */
5964
+ is_owner: boolean;
5663
5965
  };
5664
5966
  /**
5665
5967
  * ConversationSearchGroup
@@ -5711,24 +6013,6 @@ interface components {
5711
6013
  /** Results */
5712
6014
  results: components['schemas']['ConversationSearchGroup'][];
5713
6015
  };
5714
- /** ConversationTitleUpdateRequest */
5715
- ConversationTitleUpdateRequest: {
5716
- /**
5717
- * Title
5718
- * @description New conversation title (1-60 characters)
5719
- */
5720
- title: string;
5721
- };
5722
- /** ConversationTitleUpdateResponse */
5723
- ConversationTitleUpdateResponse: {
5724
- /**
5725
- * Detail
5726
- * @default Conversation title updated successfully
5727
- */
5728
- detail: string;
5729
- /** Title */
5730
- title: string;
5731
- };
5732
6016
  /**
5733
6017
  * ConversationTitleUpdatedMessage
5734
6018
  * @description Conversation title regenerated server-side — frontend should refresh.
@@ -6006,41 +6290,102 @@ interface components {
6006
6290
  /** Parent Ext Id */
6007
6291
  parent_ext_id?: string | null;
6008
6292
  };
6009
- /** CreateTaskRequest */
6010
- CreateTaskRequest: {
6011
- /** Name */
6012
- name: string;
6013
- /** @default one_time */
6014
- trigger_type: components['schemas']['TriggerType'];
6015
- /** Rrule */
6016
- rrule?: string | null;
6017
- /** Run At */
6018
- run_at?: string | null;
6019
- /**
6020
- * Timezone
6021
- * @default UTC
6022
- */
6023
- timezone: string;
6024
- /** Event Kind */
6025
- event_kind?: string | null;
6026
- /** @default notify */
6027
- action_type: components['schemas']['ActionType'];
6028
- /**
6029
- * Prompt
6030
- * @default
6031
- */
6032
- prompt: string;
6293
+ /**
6294
+ * CreateWorkRequest
6295
+ * @description Create a work item in the active workspace (``POST /v1/conversation/work``).
6296
+ *
6297
+ * No ``prompt`` and no ``skill_ref`` → a plain to-do (``todo``). With one → the conversation is
6298
+ * created ``generating`` and the agent run starts now (the caller is present: the run's session is
6299
+ * granted from the caller's own workspace key; no access question).
6300
+ */
6301
+ CreateWorkRequest: {
6302
+ /** Title */
6303
+ title?: string | null;
6304
+ /** Description */
6305
+ description?: string | null;
6306
+ /** Due At */
6307
+ due_at?: string | null;
6308
+ /** Signoff User Ext Id */
6309
+ signoff_user_ext_id?: string | null;
6310
+ /** Parent Conversation Ext Id */
6311
+ parent_conversation_ext_id?: string | null;
6312
+ /** Shared */
6313
+ shared?: boolean | null;
6314
+ /** Prompt */
6315
+ prompt?: string | null;
6033
6316
  /** Skill Ref */
6034
6317
  skill_ref?: string | null;
6035
- /** Notify On Complete */
6036
- notify_on_complete?: boolean | null;
6318
+ /** Skill Inputs */
6319
+ skill_inputs?: {
6320
+ [key: string]: unknown;
6321
+ } | null;
6322
+ /** Agent Ext Id */
6323
+ agent_ext_id?: string | null;
6037
6324
  /** @default run_now_temp */
6038
- auth_mode: components['schemas']['AuthMode'];
6325
+ auth_mode: components['schemas']['src__models__work__AuthMode'];
6326
+ plan?: components['schemas']['TaskPlan'] | null;
6327
+ };
6328
+ /** CreateWorkflowRequest */
6329
+ CreateWorkflowRequest: {
6039
6330
  /** Workspace Ext Id */
6040
- workspace_ext_id?: string | null;
6331
+ workspace_ext_id: string;
6332
+ /** Name */
6333
+ name: string;
6334
+ /**
6335
+ * Description
6336
+ * @default
6337
+ */
6338
+ description: string;
6339
+ /**
6340
+ * Active
6341
+ * @default true
6342
+ */
6343
+ active: boolean;
6344
+ /**
6345
+ * Shared
6346
+ * @default false
6347
+ */
6348
+ shared: boolean;
6349
+ /** Rrule */
6350
+ rrule?: string | null;
6351
+ /**
6352
+ * Timezone
6353
+ * @default UTC
6354
+ */
6355
+ timezone: string;
6356
+ /** Run At */
6357
+ run_at?: string | null;
6358
+ /** Event Kind */
6359
+ event_kind?: string | null;
6360
+ /** Event Filter */
6361
+ event_filter?: {
6362
+ [key: string]: string | number | boolean;
6363
+ } | null;
6364
+ /** After Conversation Ext Id */
6365
+ after_conversation_ext_id?: string | null;
6366
+ /**
6367
+ * On Demand
6368
+ * @default false
6369
+ */
6370
+ on_demand: boolean;
6371
+ /**
6372
+ * Prompt
6373
+ * @default
6374
+ */
6375
+ prompt: string;
6376
+ /** Skill Ref */
6377
+ skill_ref?: string | null;
6378
+ /** Skill Inputs */
6379
+ skill_inputs?: {
6380
+ [key: string]: unknown;
6381
+ } | null;
6382
+ plan?: components['schemas']['TaskPlan'] | null;
6041
6383
  /** Agent Ext Id */
6042
6384
  agent_ext_id?: string | null;
6043
- task_plan?: components['schemas']['TaskPlan'] | null;
6385
+ /** @default run_now_temp */
6386
+ auth_mode: components['schemas']['src__models__workflow__AuthMode'];
6387
+ /** Signoff User Ext Id */
6388
+ signoff_user_ext_id?: string | null;
6044
6389
  };
6045
6390
  /**
6046
6391
  * DailyUsage
@@ -6246,6 +6591,10 @@ interface components {
6246
6591
  config_ext_id?: string | null;
6247
6592
  /** Parent Ext Id */
6248
6593
  parent_ext_id?: string | null;
6594
+ /** Source Message Ext Id */
6595
+ source_message_ext_id?: string | null;
6596
+ /** Conversation Ext Id */
6597
+ conversation_ext_id?: string | null;
6249
6598
  /** Created By Ext Id */
6250
6599
  created_by_ext_id: string;
6251
6600
  /** Updated By Ext Id */
@@ -6387,17 +6736,17 @@ interface components {
6387
6736
  MODEL_NAME: string;
6388
6737
  /**
6389
6738
  * System Instruction
6390
- * @default You are a document analysis assistant. Answer questions based strictly on document content.
6739
+ * @default You are a document analysis assistant. Answer questions based on the document content.
6391
6740
  *
6392
6741
  * Your answers are displayed directly as cell values in a table, so keep every answer as short as possible.
6393
6742
  *
6394
6743
  * Guidelines:
6395
6744
  * - Answer with the value only — never a full sentence. Do not restate the question or add lead-ins such as "This document is..." or "The document describes...". Good: "German". Bad: "This document is written in German."
6396
6745
  * - When an answer has multiple values, put each value on its own line: separate values with a newline character. Do not separate them with commas, bullets, dashes, numbering, or by writing them as a sentence.
6397
- * - Only use information explicitly stated in the document; do not infer or assume information not present.
6398
- * - If the information is not found, respond with exactly "Not found".
6746
+ * - Answer from the document. Reasonable inferences are fine; if the document gives no basis for an answer, the value is null and sources is empty.
6399
6747
  * - Follow the format instructions exactly for each answer.
6400
6748
  * - Output answers as plain text only. Do not use Markdown or any other formatting: no bold, italics, asterisks (*), underscores (_), backticks (`), bullets, or numbered/lettered enumeration.
6749
+ * - Passages may be preceded by markers like [p3.2]: not document content. Cite them in "sources", never in a value.
6401
6750
  */
6402
6751
  SYSTEM_INSTRUCTION: string;
6403
6752
  /**
@@ -7318,7 +7667,7 @@ interface components {
7318
7667
  * each criterion's running verdict + accumulated learnings + pass count + done flag.
7319
7668
  * This ``messages.tools`` entry is the **canonical** per-drive record: the grade-in-turn
7320
7669
  * step stamps it at finalize, and the scheduler reads it back (by response id) to
7321
- * advance the plaintext ``Task.goal_state`` summary.
7670
+ * advance the plaintext ``Convos.goal_state`` summary.
7322
7671
  *
7323
7672
  * Sensitive paths are SecretBox-encrypted at rest exactly like
7324
7673
  * ``trace.steps.*.learning``: ``record.learnings.*``, ``record.criteria.*.note``, and
@@ -7749,10 +8098,16 @@ interface components {
7749
8098
  workspace_ext_id: string;
7750
8099
  /** Previous Response Id */
7751
8100
  previous_response_id?: string | null;
8101
+ /** Conversation Ext Id */
8102
+ conversation_ext_id?: string | null;
7752
8103
  /** Model */
7753
8104
  model?: string | null;
7754
8105
  /** Active Artifact Ext Id */
7755
8106
  active_artifact_ext_id?: string | null;
8107
+ /** Mentions */
8108
+ mentions?: components['schemas']['MessageMention'][];
8109
+ assistant_mode?: components['schemas']['AssistantMode'] | null;
8110
+ task?: components['schemas']['TaskOptions'] | null;
7756
8111
  /**
7757
8112
  * Stream
7758
8113
  * @default false
@@ -7777,6 +8132,31 @@ interface components {
7777
8132
  /** Top P */
7778
8133
  top_p?: number | null;
7779
8134
  };
8135
+ /**
8136
+ * MessageMention
8137
+ * @description One structured @mention on a message (``messages.mentions``).
8138
+ *
8139
+ * Stored PLAINTEXT next to the encrypted content: the server must read who was
8140
+ * mentioned to share the conversation and notify them, exactly like
8141
+ * ``created_by``. ``label`` is never taken from the client: the server fills it
8142
+ * from the mentioned user's name (``users.given_name``/``family_name``, already
8143
+ * plaintext) or the fixed assistant label, so no message text can leak through
8144
+ * it. Renderers find ``@<label>`` in the decrypted content to draw the chip.
8145
+ */
8146
+ MessageMention: {
8147
+ /**
8148
+ * Type
8149
+ * @enum {string}
8150
+ */
8151
+ type: 'user' | 'assistant';
8152
+ /** User Ext Id */
8153
+ user_ext_id?: string | null;
8154
+ /**
8155
+ * Label
8156
+ * @description Display name, filled in by the server
8157
+ */
8158
+ label?: string | null;
8159
+ };
7780
8160
  /**
7781
8161
  * MessageMetadataPayload
7782
8162
  * @description ``message_metadata`` payload within ``response.completed.response.metadata``.
@@ -7798,11 +8178,6 @@ interface components {
7798
8178
  };
7799
8179
  /** Config Ext Id */
7800
8180
  config_ext_id?: string | null;
7801
- /**
7802
- * Shared
7803
- * @default false
7804
- */
7805
- shared: boolean;
7806
8181
  /**
7807
8182
  * Tokens
7808
8183
  * @default 0
@@ -7813,6 +8188,8 @@ interface components {
7813
8188
  * @default completed
7814
8189
  */
7815
8190
  status: string;
8191
+ /** Mentions */
8192
+ mentions?: components['schemas']['MessageMention'][];
7816
8193
  /** External Id */
7817
8194
  external_id: string;
7818
8195
  /**
@@ -7909,11 +8286,6 @@ interface components {
7909
8286
  };
7910
8287
  /** Config Ext Id */
7911
8288
  config_ext_id?: string | null;
7912
- /**
7913
- * Shared
7914
- * @default false
7915
- */
7916
- shared: boolean;
7917
8289
  /**
7918
8290
  * Tokens
7919
8291
  * @default 0
@@ -7924,6 +8296,8 @@ interface components {
7924
8296
  * @default completed
7925
8297
  */
7926
8298
  status: string;
8299
+ /** Mentions */
8300
+ mentions?: components['schemas']['MessageMention'][];
7927
8301
  /** External Id */
7928
8302
  external_id: string;
7929
8303
  /**
@@ -8158,8 +8532,8 @@ interface components {
8158
8532
  content?: string | null;
8159
8533
  /** Conversation Ext Id */
8160
8534
  conversation_ext_id?: string | null;
8161
- /** Task Ext Id */
8162
- task_ext_id?: string | null;
8535
+ /** Message Ext Id */
8536
+ message_ext_id?: string | null;
8163
8537
  /**
8164
8538
  * Read
8165
8539
  * @default false
@@ -8183,7 +8557,7 @@ interface components {
8183
8557
  * Type is self-descriptive, no need to parse content field.
8184
8558
  * @enum {string}
8185
8559
  */
8186
- 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' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity';
8560
+ 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' | 'conversation_ready_for_review' | 'conversation_done' | 'conversation_approval_request' | 'workflow_failed' | 'mailbox_sync_complete' | 'drive_sync_complete' | 'activity' | 'mention';
8187
8561
  /**
8188
8562
  * NotificationUpdate
8189
8563
  * @description Single notification update for bulk PATCH.
@@ -8350,6 +8724,22 @@ interface components {
8350
8724
  */
8351
8725
  SKIP_DUPLICATES: boolean;
8352
8726
  };
8727
+ /**
8728
+ * PendingAuthResponse
8729
+ * @description What the owner needs to allow a parked agent run: the agent's run-session PUBLIC key and email.
8730
+ *
8731
+ * Non-secret. Lets a client that only has the access-request notification (which carries no
8732
+ * encrypted note for an agent-originated request) grant the temporary key via
8733
+ * ``POST /v1/workspace/{id}/users``.
8734
+ */
8735
+ PendingAuthResponse: {
8736
+ /** Session Pubkey */
8737
+ session_pubkey: string;
8738
+ /** Agent Email */
8739
+ agent_email: string;
8740
+ /** Workspace Ext Id */
8741
+ workspace_ext_id?: string | null;
8742
+ };
8353
8743
  /**
8354
8744
  * PendingWorkspaceShare
8355
8745
  * @description A workspace share from an invite whose Redis-deposited key expired
@@ -8412,14 +8802,13 @@ interface components {
8412
8802
  task: string;
8413
8803
  };
8414
8804
  /**
8415
- * PlanTaskRequest
8416
- * @description Draft a ``TaskPlan`` from a plain objective (the stateless ``/plan`` endpoint).
8805
+ * PlanWorkRequest
8806
+ * @description Draft a ``TaskPlan`` from a plain objective (the stateless ``/work/plan`` endpoint).
8417
8807
  *
8418
- * No task row involved — the returned plan is attached to a create body (new
8419
- * task) or a PATCH (re-plan an existing one), matching the build-then-submit
8420
- * task edit flow.
8808
+ * No row involved — the returned plan is attached to a create body (new work) or a PATCH
8809
+ * (re-plan an existing one), matching the build-then-submit edit flow.
8421
8810
  */
8422
- PlanTaskRequest: {
8811
+ PlanWorkRequest: {
8423
8812
  /** Objective */
8424
8813
  objective: string;
8425
8814
  /**
@@ -8500,6 +8889,40 @@ interface components {
8500
8889
  */
8501
8890
  APPROVAL_TIMEOUT: number;
8502
8891
  };
8892
+ /**
8893
+ * PostMessageRequest
8894
+ * @description A human message posted WITHOUT running the assistant (a comment in a thread).
8895
+ *
8896
+ * Where it goes, in order of precedence:
8897
+ * - ``previous_message_ext_id``: reply under that exact message (a branch point).
8898
+ * - ``conversation_ext_id``: append after the conversation's most recent message.
8899
+ * - neither: start a new conversation in ``assistant_mode`` (default ``mentioned``).
8900
+ *
8901
+ * Only valid in a ``mentioned`` conversation: an ``always`` conversation promises
8902
+ * a reply to every message, so its messages go through ``POST /v1/assistant/query``.
8903
+ * Mentioning the assistant is rejected here for the same reason: that message is
8904
+ * meant to run it, so send it through the query endpoint (with ``mentions``).
8905
+ */
8906
+ PostMessageRequest: {
8907
+ /** Content */
8908
+ content: string;
8909
+ /** Mentions */
8910
+ mentions?: components['schemas']['MessageMention'][];
8911
+ /** Conversation Ext Id */
8912
+ conversation_ext_id?: string | null;
8913
+ /** Previous Message Ext Id */
8914
+ previous_message_ext_id?: string | null;
8915
+ /**
8916
+ * @description Mode of a conversation this message creates; ignored when posting into an existing one
8917
+ * @default mentioned
8918
+ */
8919
+ assistant_mode: components['schemas']['AssistantMode'];
8920
+ /**
8921
+ * Title
8922
+ * @description Title of a conversation this message creates (defaults to the start of the content)
8923
+ */
8924
+ title?: string | null;
8925
+ };
8503
8926
  /**
8504
8927
  * PresenceUpdateMessage
8505
8928
  * @description Sent when a contact's online status changes or is no longer tracked.
@@ -9095,6 +9518,19 @@ interface components {
9095
9518
  /** Users */
9096
9519
  users: components['schemas']['RemoveWorkspaceUserItem'][];
9097
9520
  };
9521
+ /**
9522
+ * RequestApprovalRequest
9523
+ * @description Ask a person to approve a work item. They become its sign-off person and are notified.
9524
+ */
9525
+ RequestApprovalRequest: {
9526
+ /** User Ext Id */
9527
+ user_ext_id: string;
9528
+ /**
9529
+ * Note
9530
+ * @default
9531
+ */
9532
+ note: string;
9533
+ };
9098
9534
  /**
9099
9535
  * RequestDeletionResponse
9100
9536
  * @description Response for POST /v1/user/request-deletion.
@@ -9123,7 +9559,7 @@ interface components {
9123
9559
  * ``workspace_ext_id`` is optional: omit it when the requester can't see the
9124
9560
  * recipient's workspaces under RLS (the recipient's client picks one), or pass
9125
9561
  * it when the requester already knows the target (e.g. the email gateway, which
9126
- * learns it from a wrk-xxxx@… address) so the recipient's UI pre-selects it. It
9562
+ * learns it from a wrk-xxxx@… address) so the recipient's UI preselects it. It
9127
9563
  * only sticks if the requester's session can actually resolve the workspace —
9128
9564
  * an unresolvable id silently falls back to agnostic, never leaking existence.
9129
9565
  *
@@ -9932,6 +10368,11 @@ interface components {
9932
10368
  */
9933
10369
  HYBRID_SPARSE_WEIGHT: number;
9934
10370
  };
10371
+ /**
10372
+ * ReviewAction
10373
+ * @enum {string}
10374
+ */
10375
+ ReviewAction: 'approve' | 'request_changes';
9935
10376
  /**
9936
10377
  * ReviewLLMConfig
9937
10378
  * @description Configuration for ReviewLLM - reviews agent draft answers against source material.
@@ -9991,6 +10432,18 @@ interface components {
9991
10432
  */
9992
10433
  MAX_TOKEN_SIZE_TO_ANSWER: number;
9993
10434
  };
10435
+ /**
10436
+ * ReviewWorkRequest
10437
+ * @description A human's verdict on prepared work (``ready_for_review``).
10438
+ */
10439
+ ReviewWorkRequest: {
10440
+ action: components['schemas']['ReviewAction'];
10441
+ /**
10442
+ * Feedback
10443
+ * @default
10444
+ */
10445
+ feedback: string;
10446
+ };
9994
10447
  /**
9995
10448
  * RunCodeConfig
9996
10449
  * @description spawn_coding_agent sandbox tuning (developer-only — image/network/limits are infra,
@@ -10316,14 +10769,6 @@ interface components {
10316
10769
  /** Auto Sync Workspace Ext Id */
10317
10770
  auto_sync_workspace_ext_id?: string | null;
10318
10771
  };
10319
- /** ShareConversationResponse */
10320
- ShareConversationResponse: {
10321
- /**
10322
- * Detail
10323
- * @default Conversation shared successfully
10324
- */
10325
- detail: string;
10326
- };
10327
10772
  /**
10328
10773
  * SkillSummaryResponse
10329
10774
  * @description One row of ``GET /v1/assistant/skills``.
@@ -10759,20 +11204,42 @@ interface components {
10759
11204
  instruction?: string | null;
10760
11205
  tag_type?: components['schemas']['TagFormat'];
10761
11206
  };
11207
+ /**
11208
+ * TaskOptions
11209
+ * @description Make the conversation an assistant query starts a task: ``POST /v1/assistant/query`` with ``task`` set.
11210
+ *
11211
+ * The query IS the run (as the person asking, with their own access). The conversation gets a status of
11212
+ * ``generating`` while the assistant works and ``ready_for_review`` when it finishes; every field here is optional.
11213
+ * Only read when the query starts a conversation (or a conversation that is not a task yet).
11214
+ */
11215
+ TaskOptions: {
11216
+ /** Title */
11217
+ title?: string | null;
11218
+ /** Description */
11219
+ description?: string | null;
11220
+ /** Due At */
11221
+ due_at?: string | null;
11222
+ /** Signoff User Ext Id */
11223
+ signoff_user_ext_id?: string | null;
11224
+ /** Parent Conversation Ext Id */
11225
+ parent_conversation_ext_id?: string | null;
11226
+ /** Shared */
11227
+ shared?: boolean | null;
11228
+ plan?: components['schemas']['TaskPlan'] | null;
11229
+ };
10762
11230
  /**
10763
11231
  * TaskPlan
10764
- * @description The reviewable definition-of-done for a goal task.
11232
+ * @description The reviewable definition-of-done for a goal run.
10765
11233
  *
10766
- * Authored by ``/plan`` (or hand-written), user-editable, stored on
10767
- * ``Task.task_plan``, and consumed at execution to (a) seed the intra-turn
10768
- * ``/goal`` gate with a frozen checklist and (b) scope retrieval to
10769
- * ``documents``. This is the *input* half (what "done" means + which docs);
10770
- * ``Task.goal_state`` is the runtime *status* projection (done/pass_count).
11234
+ * Authored by ``POST /v1/conversation/work/plan`` (or hand-written), user-editable, stored
11235
+ * (encrypted) on ``Convos.plan``, and consumed at execution to (a) seed the intra-turn ``/goal``
11236
+ * gate with a frozen checklist and (b) scope retrieval to ``documents``. This is the *input* half
11237
+ * (what "done" means + which docs); ``Convos.goal_state`` is the runtime *status* projection.
10771
11238
  *
10772
- * There is no ``scope`` field. Open-web vs. closed-corpus is a *capability* of
10773
- * the task's agent/workspace (whether web-search / read-url tools are enabled),
10774
- * resolved at execution — not a plan attribute. ``documents`` is orthogonal: it
10775
- * narrows *retrieval* to a subset of the workspace, it doesn't gate the web.
11239
+ * There is no ``scope`` field. Open-web vs. closed-corpus is a *capability* of the agent/workspace
11240
+ * (whether web-search / read-url tools are enabled), resolved at execution — not a plan attribute.
11241
+ * ``documents`` is orthogonal: it narrows *retrieval* to a subset of the workspace, it doesn't gate
11242
+ * the web.
10776
11243
  */
10777
11244
  TaskPlan: {
10778
11245
  /**
@@ -10798,7 +11265,7 @@ interface components {
10798
11265
  };
10799
11266
  /**
10800
11267
  * TaskPlanCriterion
10801
- * @description One acceptance criterion in a task plan (mirrors instruments.llm.GoalCriterion,
11268
+ * @description One acceptance criterion in a plan (mirrors instruments.llm.GoalCriterion,
10802
11269
  * redeclared here so the model layer needn't import the LLM instruments).
10803
11270
  */
10804
11271
  TaskPlanCriterion: {
@@ -10807,111 +11274,6 @@ interface components {
10807
11274
  /** Text */
10808
11275
  text: string;
10809
11276
  };
10810
- /** TaskResponse */
10811
- TaskResponse: {
10812
- /** External Id */
10813
- external_id: string;
10814
- /** Name */
10815
- name: string;
10816
- /** Trigger Type */
10817
- trigger_type: string;
10818
- /** Rrule */
10819
- rrule: string | null;
10820
- /** Run At */
10821
- run_at: string | null;
10822
- /** Timezone */
10823
- timezone: string;
10824
- /** Event Kind */
10825
- event_kind: string | null;
10826
- /** Action Type */
10827
- action_type: string;
10828
- /** Prompt */
10829
- prompt: string;
10830
- /** Skill Ref */
10831
- skill_ref: string | null;
10832
- /** Status */
10833
- status: string;
10834
- /** Next Run At */
10835
- next_run_at: string | null;
10836
- /** Last Run At */
10837
- last_run_at: string | null;
10838
- /** Last Error */
10839
- last_error: string | null;
10840
- /** In Progress */
10841
- in_progress: boolean;
10842
- /** Active Run Id */
10843
- active_run_id: string | null;
10844
- /** Agent Session */
10845
- agent_session: string | null;
10846
- /** Active Response Id */
10847
- active_response_id?: string | null;
10848
- /** Active Conversation Ext Id */
10849
- active_conversation_ext_id?: string | null;
10850
- /** Run Started At */
10851
- run_started_at: string | null;
10852
- /** Notify On Complete */
10853
- notify_on_complete: boolean;
10854
- auth_mode: components['schemas']['AuthMode'];
10855
- /** Pending Auth Request Id */
10856
- pending_auth_request_id?: string | null;
10857
- /** Pending Auth Session Pubkey */
10858
- pending_auth_session_pubkey?: string | null;
10859
- /** Pending Auth Agent Email */
10860
- pending_auth_agent_email?: string | null;
10861
- /** Created By Kind */
10862
- created_by_kind: string;
10863
- /** Workspace Ext Id */
10864
- workspace_ext_id?: string | null;
10865
- /** Agent Ext Id */
10866
- agent_ext_id?: string | null;
10867
- task_plan?: components['schemas']['TaskPlan'] | null;
10868
- /**
10869
- * Is Goal Task
10870
- * @default false
10871
- */
10872
- is_goal_task: boolean;
10873
- /** Goal State */
10874
- goal_state?: {
10875
- [key: string]: unknown;
10876
- } | null;
10877
- /**
10878
- * Created At
10879
- * Format: date-time
10880
- */
10881
- created_at: string;
10882
- /**
10883
- * Updated At
10884
- * Format: date-time
10885
- */
10886
- updated_at: string;
10887
- };
10888
- /**
10889
- * TaskRunResponse
10890
- * @description One execution of a task, derived from its run bookend notifications.
10891
- *
10892
- * There is no runs table: history comes from the ``task_started`` /
10893
- * ``task_completed`` notifications tagged with this task. Each entry links to the
10894
- * run's conversation (``conversation_ext_id``) — open it to watch/read the run.
10895
- */
10896
- TaskRunResponse: {
10897
- /** Run Id */
10898
- run_id?: string | null;
10899
- /** Conversation Ext Id */
10900
- conversation_ext_id?: string | null;
10901
- /** Status */
10902
- status: string;
10903
- /** Error */
10904
- error?: string | null;
10905
- /** Started At */
10906
- started_at?: string | null;
10907
- /** Finished At */
10908
- finished_at?: string | null;
10909
- };
10910
- /**
10911
- * TaskStatus
10912
- * @enum {string}
10913
- */
10914
- TaskStatus: 'active' | 'paused' | 'completed' | 'failed';
10915
11277
  /**
10916
11278
  * TaskUpdateMessage
10917
11279
  * @description Document processing progress update.
@@ -10954,6 +11316,8 @@ interface components {
10954
11316
  conversation_ext_id: string;
10955
11317
  /** Threads */
10956
11318
  threads: components['schemas']['Thread'][];
11319
+ /** @default always */
11320
+ assistant_mode: components['schemas']['AssistantMode'];
10957
11321
  };
10958
11322
  /**
10959
11323
  * ThumbnailsRequest
@@ -11182,11 +11546,6 @@ interface components {
11182
11546
  /** Text */
11183
11547
  text: string;
11184
11548
  };
11185
- /**
11186
- * TriggerType
11187
- * @enum {string}
11188
- */
11189
- TriggerType: 'one_time' | 'recurring' | 'event';
11190
11549
  /**
11191
11550
  * UpdateAgentRequest
11192
11551
  * @description Mutable agent fields. Only appearance for now — identity (name/email/keys)
@@ -11196,6 +11555,32 @@ interface components {
11196
11555
  /** Picture */
11197
11556
  picture?: string | null;
11198
11557
  };
11558
+ /**
11559
+ * UpdateConversationRequest
11560
+ * @description ``PATCH /v1/conversation/{id}`` — every field optional; only the ones sent change.
11561
+ *
11562
+ * ``shared`` is owner only. ``status`` accepts ``todo`` and ``done`` only: ``done`` is human-only
11563
+ * (by the sign-off person) and ``todo`` reopens; ``generating`` / ``ready_for_review`` are set
11564
+ * only by runs and review. ``parent_conversation_ext_id`` is cycle-checked; send ``null`` to
11565
+ * detach. ``signoff_user_ext_id`` must be a human who can edit the workspace.
11566
+ */
11567
+ UpdateConversationRequest: {
11568
+ /** Title */
11569
+ title?: string | null;
11570
+ /** Shared */
11571
+ shared?: boolean | null;
11572
+ /** Description */
11573
+ description?: string | null;
11574
+ /** Due At */
11575
+ due_at?: string | null;
11576
+ /** Signoff User Ext Id */
11577
+ signoff_user_ext_id?: string | null;
11578
+ /** Parent Conversation Ext Id */
11579
+ parent_conversation_ext_id?: string | null;
11580
+ /** Status */
11581
+ status?: ('todo' | 'done') | null;
11582
+ plan?: components['schemas']['TaskPlan'] | null;
11583
+ };
11199
11584
  /**
11200
11585
  * UpdateDocTagRequest
11201
11586
  * @description Update a doctag's note or citations. Identified by (tag_ext_id, doc_ext_id) pair.
@@ -11292,25 +11677,50 @@ interface components {
11292
11677
  */
11293
11678
  parent_ext_id?: string | null;
11294
11679
  };
11295
- /** UpdateTaskRequest */
11296
- UpdateTaskRequest: {
11680
+ /**
11681
+ * UpdateWorkflowRequest
11682
+ * @description Every field optional. Sending any trigger field replaces the whole trigger: exactly one of the four
11683
+ * must then be non-null (the others are cleared). ``agent_ext_id``/``signoff_user_ext_id`` null clears.
11684
+ */
11685
+ UpdateWorkflowRequest: {
11297
11686
  /** Name */
11298
11687
  name?: string | null;
11688
+ /** Description */
11689
+ description?: string | null;
11690
+ /** Active */
11691
+ active?: boolean | null;
11692
+ /** Shared */
11693
+ shared?: boolean | null;
11299
11694
  /** Rrule */
11300
11695
  rrule?: string | null;
11301
- /** Run At */
11302
- run_at?: string | null;
11303
11696
  /** Timezone */
11304
11697
  timezone?: string | null;
11698
+ /** Run At */
11699
+ run_at?: string | null;
11700
+ /** Event Kind */
11701
+ event_kind?: string | null;
11702
+ /** Event Filter */
11703
+ event_filter?: {
11704
+ [key: string]: string | number | boolean;
11705
+ } | null;
11706
+ /** After Conversation Ext Id */
11707
+ after_conversation_ext_id?: string | null;
11708
+ /** On Demand */
11709
+ on_demand?: boolean | null;
11305
11710
  /** Prompt */
11306
11711
  prompt?: string | null;
11307
11712
  /** Skill Ref */
11308
11713
  skill_ref?: string | null;
11309
- /** Notify On Complete */
11310
- notify_on_complete?: boolean | null;
11311
- status?: components['schemas']['TaskStatus'] | null;
11312
- auth_mode?: components['schemas']['AuthMode'] | null;
11313
- task_plan?: components['schemas']['TaskPlan'] | null;
11714
+ /** Skill Inputs */
11715
+ skill_inputs?: {
11716
+ [key: string]: unknown;
11717
+ } | null;
11718
+ plan?: components['schemas']['TaskPlan'] | null;
11719
+ /** Agent Ext Id */
11720
+ agent_ext_id?: string | null;
11721
+ auth_mode?: components['schemas']['src__models__workflow__AuthMode'] | null;
11722
+ /** Signoff User Ext Id */
11723
+ signoff_user_ext_id?: string | null;
11314
11724
  };
11315
11725
  /**
11316
11726
  * UpdateWorkspaceUserRolesRequest
@@ -11547,11 +11957,6 @@ interface components {
11547
11957
  };
11548
11958
  /** Config Ext Id */
11549
11959
  config_ext_id?: string | null;
11550
- /**
11551
- * Shared
11552
- * @default false
11553
- */
11554
- shared: boolean;
11555
11960
  /**
11556
11961
  * Tokens
11557
11962
  * @default 0
@@ -11562,6 +11967,8 @@ interface components {
11562
11967
  * @default completed
11563
11968
  */
11564
11969
  status: string;
11970
+ /** Mentions */
11971
+ mentions?: components['schemas']['MessageMention'][];
11565
11972
  /** External Id */
11566
11973
  external_id: string;
11567
11974
  /**
@@ -11765,10 +12172,7 @@ interface components {
11765
12172
  email_notifications?: components['schemas']['EmailNotificationSettings'];
11766
12173
  /** Premium Model */
11767
12174
  premium_model?: string | null;
11768
- /**
11769
- * Retired Premium Model
11770
- * @description One-shot notice: set only on the response that cleared a stored premium_model which is no longer an available Premium model. Never persisted; the choice is already cleared.
11771
- */
12175
+ /** Retired Premium Model */
11772
12176
  retired_premium_model?: string | null;
11773
12177
  /** Retired Premium Model Suggestion */
11774
12178
  retired_premium_model_suggestion?: string | null;
@@ -12019,16 +12423,128 @@ interface components {
12019
12423
  auth?: components['schemas']['AuthMessage'] | null;
12020
12424
  send_message?: components['schemas']['SendMessageRequest'] | null;
12021
12425
  };
12022
- /** WorkspaceCreateRequest */
12023
- WorkspaceCreateRequest: {
12426
+ /**
12427
+ * WorkStatus
12428
+ * @description Where a work conversation is in the human workflow. Agents prepare work; **only a human
12429
+ * marks it ``done``** (enforced in the router, never by the runner).
12430
+ *
12431
+ * ``todo`` — nothing automated pending; a human (or Run) moves it on.
12432
+ * ``generating`` — an agent run is in flight (``active_run_id`` is set).
12433
+ * ``ready_for_review`` — the agent finished; it waits for a human (the sign-off person).
12434
+ * ``done`` — a human accepted it.
12435
+ *
12436
+ * Only ``todo`` and ``done`` can be set by a client (PATCH). ``generating`` and
12437
+ * ``ready_for_review`` are set only by runs and by review.
12438
+ * @enum {string}
12439
+ */
12440
+ WorkStatus: 'todo' | 'generating' | 'ready_for_review' | 'done';
12441
+ /** WorkflowResponse */
12442
+ WorkflowResponse: {
12443
+ /** External Id */
12444
+ external_id: string;
12024
12445
  /** Name */
12025
12446
  name: string;
12026
- /** Description */
12027
- description?: string | null;
12028
12447
  /**
12029
- * Is Public
12030
- * @default false
12031
- */
12448
+ * Description
12449
+ * @default
12450
+ */
12451
+ description: string;
12452
+ /** Active */
12453
+ active: boolean;
12454
+ /**
12455
+ * Shared
12456
+ * @default false
12457
+ */
12458
+ shared: boolean;
12459
+ /** Workspace Ext Id */
12460
+ workspace_ext_id?: string | null;
12461
+ /** Rrule */
12462
+ rrule?: string | null;
12463
+ /** Timezone */
12464
+ timezone: string;
12465
+ /** Run At */
12466
+ run_at?: string | null;
12467
+ /** Next Fire At */
12468
+ next_fire_at?: string | null;
12469
+ /** Event Kind */
12470
+ event_kind?: string | null;
12471
+ /** Event Filter */
12472
+ event_filter?: {
12473
+ [key: string]: unknown;
12474
+ } | null;
12475
+ /** After Conversation Ext Id */
12476
+ after_conversation_ext_id?: string | null;
12477
+ /**
12478
+ * On Demand
12479
+ * @default false
12480
+ */
12481
+ on_demand: boolean;
12482
+ /**
12483
+ * Prompt
12484
+ * @default
12485
+ */
12486
+ prompt: string;
12487
+ /** Skill Ref */
12488
+ skill_ref?: string | null;
12489
+ /** Skill Inputs */
12490
+ skill_inputs?: {
12491
+ [key: string]: unknown;
12492
+ } | null;
12493
+ plan?: components['schemas']['TaskPlan'] | null;
12494
+ /** Agent Ext Id */
12495
+ agent_ext_id?: string | null;
12496
+ auth_mode: components['schemas']['src__models__workflow__AuthMode'];
12497
+ /** Signoff Ext Id */
12498
+ signoff_ext_id?: string | null;
12499
+ /** Fact Ext Id */
12500
+ fact_ext_id?: string | null;
12501
+ /** Last Fired At */
12502
+ last_fired_at?: string | null;
12503
+ /** Last Error */
12504
+ last_error?: string | null;
12505
+ /** Owner Ext Id */
12506
+ owner_ext_id?: string | null;
12507
+ /**
12508
+ * Is Owner
12509
+ * @default true
12510
+ */
12511
+ is_owner: boolean;
12512
+ /**
12513
+ * Created At
12514
+ * Format: date-time
12515
+ */
12516
+ created_at: string;
12517
+ /**
12518
+ * Updated At
12519
+ * Format: date-time
12520
+ */
12521
+ updated_at: string;
12522
+ };
12523
+ /**
12524
+ * WorkflowRunResponse
12525
+ * @description Result of ``POST /v1/workflow/{id}/run``: the conversation the test run created.
12526
+ */
12527
+ WorkflowRunResponse: {
12528
+ /** Conversation Ext Id */
12529
+ conversation_ext_id?: string | null;
12530
+ /**
12531
+ * Started
12532
+ * @default false
12533
+ */
12534
+ started: boolean;
12535
+ /** Error */
12536
+ error?: string | null;
12537
+ };
12538
+ /** WorkspaceCreateRequest */
12539
+ WorkspaceCreateRequest: {
12540
+ /** Name */
12541
+ name: string;
12542
+ /** Description */
12543
+ description?: string | null;
12544
+ /**
12545
+ * Is Public
12546
+ * @default false
12547
+ */
12032
12548
  is_public: boolean;
12033
12549
  workspace_type?: components['schemas']['WorkspaceType'] | null;
12034
12550
  /** Workspace Key */
@@ -12210,6 +12726,42 @@ interface components {
12210
12726
  */
12211
12727
  is_temporary: boolean;
12212
12728
  };
12729
+ /**
12730
+ * AuthMode
12731
+ * @description How a run's agent obtains the workspace key it needs to act — a per-work, least-privilege
12732
+ * authorization choice. See the per-tier threat model in ``src/core/agent_headless.py``.
12733
+ *
12734
+ * ``run_now_temp`` (default, tier 1) — RUN NOW with a person present. The agent has no standing
12735
+ * key; the run's session is granted the workspace key from the invoker's OWN session (no
12736
+ * access question). Unattended, the same flow becomes a workspace-access request to the owner.
12737
+ * No durable ``WorkspaceUsers`` membership. Least privilege: a compromised agent host at rest
12738
+ * holds no standing key.
12739
+ *
12740
+ * ``scheduled_require_auth`` (tier 2) — the run does not proceed until the owner grants a key; it
12741
+ * parks with ``pending_auth_request_id`` and a ``workspace_access_request`` notification
12742
+ * (carrying ``conversation_ext_id``) rather than running unauthorized.
12743
+ *
12744
+ * ``scheduled_permanent`` (tier 3, advanced) — standing ``WorkspaceUsers`` membership: the server
12745
+ * can derive the workspace key from the agent's own deployment-wrapped identity at any time,
12746
+ * owner offline. An explicit "I trust this agent's environment" opt-in, NOT the default.
12747
+ * @enum {string}
12748
+ */
12749
+ src__models__work__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
12750
+ /**
12751
+ * AuthMode
12752
+ * @description How a workflow's agent obtains the workspace key it needs to act (least privilege).
12753
+ *
12754
+ * NOTE: the same concept as ``src.models.work.AuthMode`` (work-core); the names and values are identical so
12755
+ * the two can be deduplicated.
12756
+ *
12757
+ * ``run_now_temp`` (default) — a person is present (Run / review feedback): the run session is granted
12758
+ * from their own workspace key. No standing membership.
12759
+ * ``scheduled_require_auth`` — an unattended run parks (``pending_auth_request_id`` + a
12760
+ * ``workspace_access_request`` notification) until the owner grants a key.
12761
+ * ``scheduled_permanent`` — the agent holds a standing membership; the server derives the key at any time.
12762
+ * @enum {string}
12763
+ */
12764
+ src__models__workflow__AuthMode: 'run_now_temp' | 'scheduled_require_auth' | 'scheduled_permanent';
12213
12765
  };
12214
12766
  responses: never;
12215
12767
  parameters: never;
@@ -14442,7 +14994,7 @@ interface operations {
14442
14994
  };
14443
14995
  };
14444
14996
  };
14445
- share_conversation: {
14997
+ update_conversation: {
14446
14998
  parameters: {
14447
14999
  query?: never;
14448
15000
  header?: never;
@@ -14451,7 +15003,11 @@ interface operations {
14451
15003
  };
14452
15004
  cookie?: never;
14453
15005
  };
14454
- requestBody?: never;
15006
+ requestBody: {
15007
+ content: {
15008
+ 'application/json': components['schemas']['UpdateConversationRequest'];
15009
+ };
15010
+ };
14455
15011
  responses: {
14456
15012
  /** @description Successful Response */
14457
15013
  200: {
@@ -14459,7 +15015,7 @@ interface operations {
14459
15015
  [name: string]: unknown;
14460
15016
  };
14461
15017
  content: {
14462
- 'application/json': components['schemas']['ShareConversationResponse'];
15018
+ 'application/json': components['schemas']['ConversationResponse'];
14463
15019
  };
14464
15020
  };
14465
15021
  /** @description Validation Error */
@@ -14473,28 +15029,26 @@ interface operations {
14473
15029
  };
14474
15030
  };
14475
15031
  };
14476
- update_conversation_title: {
15032
+ post_conversation_message: {
14477
15033
  parameters: {
14478
15034
  query?: never;
14479
15035
  header?: never;
14480
- path: {
14481
- conversation_ext_id: string;
14482
- };
15036
+ path?: never;
14483
15037
  cookie?: never;
14484
15038
  };
14485
15039
  requestBody: {
14486
15040
  content: {
14487
- 'application/json': components['schemas']['ConversationTitleUpdateRequest'];
15041
+ 'application/json': components['schemas']['PostMessageRequest'];
14488
15042
  };
14489
15043
  };
14490
15044
  responses: {
14491
15045
  /** @description Successful Response */
14492
- 200: {
15046
+ 201: {
14493
15047
  headers: {
14494
15048
  [name: string]: unknown;
14495
15049
  };
14496
15050
  content: {
14497
- 'application/json': components['schemas']['ConversationTitleUpdateResponse'];
15051
+ 'application/json': components['schemas']['MessageResponse'];
14498
15052
  };
14499
15053
  };
14500
15054
  /** @description Validation Error */
@@ -14508,37 +15062,20 @@ interface operations {
14508
15062
  };
14509
15063
  };
14510
15064
  };
14511
- get_sse_schema: {
15065
+ update_conversation_assistant_mode: {
14512
15066
  parameters: {
14513
15067
  query?: never;
14514
15068
  header?: never;
14515
- path?: never;
14516
- cookie?: never;
14517
- };
14518
- requestBody?: never;
14519
- responses: {
14520
- /** @description Successful Response */
14521
- 200: {
14522
- headers: {
14523
- [name: string]: unknown;
14524
- };
14525
- content: {
14526
- 'application/json': components['schemas']['SSESchemas'];
14527
- };
15069
+ path: {
15070
+ conversation_ext_id: string;
14528
15071
  };
15072
+ cookie?: never;
14529
15073
  };
14530
- };
14531
- list_skills: {
14532
- parameters: {
14533
- query?: {
14534
- /** @description Include skills whose frontmatter sets ``user-invocable: false``. Off by default — those are typically agent-only or in-progress skills that shouldn't surface in slash-command menus. */
14535
- include_hidden?: boolean;
15074
+ requestBody: {
15075
+ content: {
15076
+ 'application/json': components['schemas']['AssistantModeUpdateRequest'];
14536
15077
  };
14537
- header?: never;
14538
- path?: never;
14539
- cookie?: never;
14540
15078
  };
14541
- requestBody?: never;
14542
15079
  responses: {
14543
15080
  /** @description Successful Response */
14544
15081
  200: {
@@ -14546,7 +15083,7 @@ interface operations {
14546
15083
  [name: string]: unknown;
14547
15084
  };
14548
15085
  content: {
14549
- 'application/json': components['schemas']['SkillsListResponse'];
15086
+ 'application/json': components['schemas']['AssistantModeUpdateResponse'];
14550
15087
  };
14551
15088
  };
14552
15089
  /** @description Validation Error */
@@ -14560,27 +15097,40 @@ interface operations {
14560
15097
  };
14561
15098
  };
14562
15099
  };
14563
- list_commands: {
15100
+ create_work: {
14564
15101
  parameters: {
14565
15102
  query?: never;
14566
15103
  header?: never;
14567
15104
  path?: never;
14568
15105
  cookie?: never;
14569
15106
  };
14570
- requestBody?: never;
15107
+ requestBody: {
15108
+ content: {
15109
+ 'application/json': components['schemas']['CreateWorkRequest'];
15110
+ };
15111
+ };
14571
15112
  responses: {
14572
15113
  /** @description Successful Response */
14573
- 200: {
15114
+ 201: {
14574
15115
  headers: {
14575
15116
  [name: string]: unknown;
14576
15117
  };
14577
15118
  content: {
14578
- 'application/json': components['schemas']['CommandsListResponse'];
15119
+ 'application/json': components['schemas']['ConversationResponse'];
15120
+ };
15121
+ };
15122
+ /** @description Validation Error */
15123
+ 422: {
15124
+ headers: {
15125
+ [name: string]: unknown;
15126
+ };
15127
+ content: {
15128
+ 'application/json': components['schemas']['HTTPValidationError'];
14579
15129
  };
14580
15130
  };
14581
15131
  };
14582
15132
  };
14583
- transcribe_audio: {
15133
+ plan_work: {
14584
15134
  parameters: {
14585
15135
  query?: never;
14586
15136
  header?: never;
@@ -14589,7 +15139,7 @@ interface operations {
14589
15139
  };
14590
15140
  requestBody: {
14591
15141
  content: {
14592
- 'multipart/form-data': components['schemas']['Body_transcribe_audio'];
15142
+ 'application/json': components['schemas']['PlanWorkRequest'];
14593
15143
  };
14594
15144
  };
14595
15145
  responses: {
@@ -14599,7 +15149,7 @@ interface operations {
14599
15149
  [name: string]: unknown;
14600
15150
  };
14601
15151
  content: {
14602
- 'application/json': components['schemas']['TranscribeResponse'];
15152
+ 'application/json': components['schemas']['TaskPlan'];
14603
15153
  };
14604
15154
  };
14605
15155
  /** @description Validation Error */
@@ -14613,18 +15163,16 @@ interface operations {
14613
15163
  };
14614
15164
  };
14615
15165
  };
14616
- generate: {
15166
+ run_conversation: {
14617
15167
  parameters: {
14618
15168
  query?: never;
14619
15169
  header?: never;
14620
- path?: never;
14621
- cookie?: never;
14622
- };
14623
- requestBody: {
14624
- content: {
14625
- 'application/json': components['schemas']['MessageInput'];
15170
+ path: {
15171
+ conversation_ext_id: string;
14626
15172
  };
15173
+ cookie?: never;
14627
15174
  };
15175
+ requestBody?: never;
14628
15176
  responses: {
14629
15177
  /** @description Successful Response */
14630
15178
  200: {
@@ -14632,7 +15180,7 @@ interface operations {
14632
15180
  [name: string]: unknown;
14633
15181
  };
14634
15182
  content: {
14635
- 'text/event-stream': unknown;
15183
+ 'application/json': components['schemas']['ConversationResponse'];
14636
15184
  };
14637
15185
  };
14638
15186
  /** @description Validation Error */
@@ -14646,16 +15194,18 @@ interface operations {
14646
15194
  };
14647
15195
  };
14648
15196
  };
14649
- interject: {
15197
+ review_conversation: {
14650
15198
  parameters: {
14651
15199
  query?: never;
14652
15200
  header?: never;
14653
- path?: never;
15201
+ path: {
15202
+ conversation_ext_id: string;
15203
+ };
14654
15204
  cookie?: never;
14655
15205
  };
14656
15206
  requestBody: {
14657
15207
  content: {
14658
- 'application/json': components['schemas']['UserInputBody'];
15208
+ 'application/json': components['schemas']['ReviewWorkRequest'];
14659
15209
  };
14660
15210
  };
14661
15211
  responses: {
@@ -14665,7 +15215,7 @@ interface operations {
14665
15215
  [name: string]: unknown;
14666
15216
  };
14667
15217
  content: {
14668
- 'application/json': unknown;
15218
+ 'application/json': components['schemas']['ConversationResponse'];
14669
15219
  };
14670
15220
  };
14671
15221
  /** @description Validation Error */
@@ -14679,12 +15229,12 @@ interface operations {
14679
15229
  };
14680
15230
  };
14681
15231
  };
14682
- watch_run: {
15232
+ get_conversation_activity: {
14683
15233
  parameters: {
14684
15234
  query?: never;
14685
15235
  header?: never;
14686
15236
  path: {
14687
- response_id: string;
15237
+ conversation_ext_id: string;
14688
15238
  };
14689
15239
  cookie?: never;
14690
15240
  };
@@ -14696,7 +15246,7 @@ interface operations {
14696
15246
  [name: string]: unknown;
14697
15247
  };
14698
15248
  content: {
14699
- 'text/event-stream': unknown;
15249
+ 'application/json': components['schemas']['ActivityResponse'][];
14700
15250
  };
14701
15251
  };
14702
15252
  /** @description Validation Error */
@@ -14710,16 +15260,18 @@ interface operations {
14710
15260
  };
14711
15261
  };
14712
15262
  };
14713
- retrieve: {
15263
+ request_conversation_approval: {
14714
15264
  parameters: {
14715
15265
  query?: never;
14716
15266
  header?: never;
14717
- path?: never;
15267
+ path: {
15268
+ conversation_ext_id: string;
15269
+ };
14718
15270
  cookie?: never;
14719
15271
  };
14720
15272
  requestBody: {
14721
15273
  content: {
14722
- 'application/json': components['schemas']['MessageInput'];
15274
+ 'application/json': components['schemas']['RequestApprovalRequest'];
14723
15275
  };
14724
15276
  };
14725
15277
  responses: {
@@ -14729,7 +15281,7 @@ interface operations {
14729
15281
  [name: string]: unknown;
14730
15282
  };
14731
15283
  content: {
14732
- 'application/json': unknown;
15284
+ 'application/json': components['schemas']['ConversationResponse'];
14733
15285
  };
14734
15286
  };
14735
15287
  /** @description Validation Error */
@@ -14743,11 +15295,13 @@ interface operations {
14743
15295
  };
14744
15296
  };
14745
15297
  };
14746
- get_health: {
15298
+ get_conversation_pending_auth: {
14747
15299
  parameters: {
14748
15300
  query?: never;
14749
15301
  header?: never;
14750
- path?: never;
15302
+ path: {
15303
+ conversation_ext_id: string;
15304
+ };
14751
15305
  cookie?: never;
14752
15306
  };
14753
15307
  requestBody?: never;
@@ -14758,32 +15312,21 @@ interface operations {
14758
15312
  [name: string]: unknown;
14759
15313
  };
14760
15314
  content: {
14761
- 'application/json': components['schemas']['ConsolidatedHealthResponse'];
15315
+ 'application/json': components['schemas']['PendingAuthResponse'];
14762
15316
  };
14763
15317
  };
14764
- };
14765
- };
14766
- check_remote_models: {
14767
- parameters: {
14768
- query?: never;
14769
- header?: never;
14770
- path?: never;
14771
- cookie?: never;
14772
- };
14773
- requestBody?: never;
14774
- responses: {
14775
- /** @description Successful Response */
14776
- 200: {
15318
+ /** @description Validation Error */
15319
+ 422: {
14777
15320
  headers: {
14778
15321
  [name: string]: unknown;
14779
15322
  };
14780
15323
  content: {
14781
- 'application/json': components['schemas']['ModelsHealthStatus'];
15324
+ 'application/json': components['schemas']['HTTPValidationError'];
14782
15325
  };
14783
15326
  };
14784
15327
  };
14785
15328
  };
14786
- get_models: {
15329
+ get_sse_schema: {
14787
15330
  parameters: {
14788
15331
  query?: never;
14789
15332
  header?: never;
@@ -14798,14 +15341,17 @@ interface operations {
14798
15341
  [name: string]: unknown;
14799
15342
  };
14800
15343
  content: {
14801
- 'application/json': components['schemas']['ModelsResponse'];
15344
+ 'application/json': components['schemas']['SSESchemas'];
14802
15345
  };
14803
15346
  };
14804
15347
  };
14805
15348
  };
14806
- get_mcp_tools: {
15349
+ list_skills: {
14807
15350
  parameters: {
14808
- query?: never;
15351
+ query?: {
15352
+ /** @description Include skills whose frontmatter sets ``user-invocable: false``. Off by default — those are typically agent-only or in-progress skills that shouldn't surface in slash-command menus. */
15353
+ include_hidden?: boolean;
15354
+ };
14809
15355
  header?: never;
14810
15356
  path?: never;
14811
15357
  cookie?: never;
@@ -14818,12 +15364,21 @@ interface operations {
14818
15364
  [name: string]: unknown;
14819
15365
  };
14820
15366
  content: {
14821
- 'application/json': components['schemas']['McpToolsResponse'];
15367
+ 'application/json': components['schemas']['SkillsListResponse'];
15368
+ };
15369
+ };
15370
+ /** @description Validation Error */
15371
+ 422: {
15372
+ headers: {
15373
+ [name: string]: unknown;
15374
+ };
15375
+ content: {
15376
+ 'application/json': components['schemas']['HTTPValidationError'];
14822
15377
  };
14823
15378
  };
14824
15379
  };
14825
15380
  };
14826
- get_metrics: {
15381
+ list_commands: {
14827
15382
  parameters: {
14828
15383
  query?: never;
14829
15384
  header?: never;
@@ -14838,21 +15393,23 @@ interface operations {
14838
15393
  [name: string]: unknown;
14839
15394
  };
14840
15395
  content: {
14841
- 'application/json': {
14842
- [key: string]: unknown;
14843
- };
15396
+ 'application/json': components['schemas']['CommandsListResponse'];
14844
15397
  };
14845
15398
  };
14846
15399
  };
14847
15400
  };
14848
- list_tags: {
15401
+ transcribe_audio: {
14849
15402
  parameters: {
14850
15403
  query?: never;
14851
15404
  header?: never;
14852
15405
  path?: never;
14853
15406
  cookie?: never;
14854
15407
  };
14855
- requestBody?: never;
15408
+ requestBody: {
15409
+ content: {
15410
+ 'multipart/form-data': components['schemas']['Body_transcribe_audio'];
15411
+ };
15412
+ };
14856
15413
  responses: {
14857
15414
  /** @description Successful Response */
14858
15415
  200: {
@@ -14860,12 +15417,21 @@ interface operations {
14860
15417
  [name: string]: unknown;
14861
15418
  };
14862
15419
  content: {
14863
- 'application/json': components['schemas']['TagResponse'][];
15420
+ 'application/json': components['schemas']['TranscribeResponse'];
15421
+ };
15422
+ };
15423
+ /** @description Validation Error */
15424
+ 422: {
15425
+ headers: {
15426
+ [name: string]: unknown;
15427
+ };
15428
+ content: {
15429
+ 'application/json': components['schemas']['HTTPValidationError'];
14864
15430
  };
14865
15431
  };
14866
15432
  };
14867
15433
  };
14868
- create_tag: {
15434
+ generate: {
14869
15435
  parameters: {
14870
15436
  query?: never;
14871
15437
  header?: never;
@@ -14874,17 +15440,17 @@ interface operations {
14874
15440
  };
14875
15441
  requestBody: {
14876
15442
  content: {
14877
- 'application/json': components['schemas']['CreateTagRequest'];
15443
+ 'application/json': components['schemas']['MessageInput'];
14878
15444
  };
14879
15445
  };
14880
15446
  responses: {
14881
15447
  /** @description Successful Response */
14882
- 201: {
15448
+ 200: {
14883
15449
  headers: {
14884
15450
  [name: string]: unknown;
14885
15451
  };
14886
15452
  content: {
14887
- 'application/json': components['schemas']['TagResponse'];
15453
+ 'text/event-stream': unknown;
14888
15454
  };
14889
15455
  };
14890
15456
  /** @description Validation Error */
@@ -14898,16 +15464,18 @@ interface operations {
14898
15464
  };
14899
15465
  };
14900
15466
  };
14901
- delete_tag: {
15467
+ interject: {
14902
15468
  parameters: {
14903
15469
  query?: never;
14904
15470
  header?: never;
14905
- path: {
14906
- tag_ext_id: string;
14907
- };
15471
+ path?: never;
14908
15472
  cookie?: never;
14909
15473
  };
14910
- requestBody?: never;
15474
+ requestBody: {
15475
+ content: {
15476
+ 'application/json': components['schemas']['UserInputBody'];
15477
+ };
15478
+ };
14911
15479
  responses: {
14912
15480
  /** @description Successful Response */
14913
15481
  200: {
@@ -14915,7 +15483,7 @@ interface operations {
14915
15483
  [name: string]: unknown;
14916
15484
  };
14917
15485
  content: {
14918
- 'application/json': components['schemas']['DeleteTagResponse'];
15486
+ 'application/json': unknown;
14919
15487
  };
14920
15488
  };
14921
15489
  /** @description Validation Error */
@@ -14929,20 +15497,16 @@ interface operations {
14929
15497
  };
14930
15498
  };
14931
15499
  };
14932
- update_tag: {
15500
+ watch_run: {
14933
15501
  parameters: {
14934
15502
  query?: never;
14935
15503
  header?: never;
14936
15504
  path: {
14937
- tag_ext_id: string;
15505
+ response_id: string;
14938
15506
  };
14939
15507
  cookie?: never;
14940
15508
  };
14941
- requestBody: {
14942
- content: {
14943
- 'application/json': components['schemas']['UpdateTagRequest'];
14944
- };
14945
- };
15509
+ requestBody?: never;
14946
15510
  responses: {
14947
15511
  /** @description Successful Response */
14948
15512
  200: {
@@ -14950,7 +15514,7 @@ interface operations {
14950
15514
  [name: string]: unknown;
14951
15515
  };
14952
15516
  content: {
14953
- 'application/json': components['schemas']['TagResponse'];
15517
+ 'text/event-stream': unknown;
14954
15518
  };
14955
15519
  };
14956
15520
  /** @description Validation Error */
@@ -14964,7 +15528,7 @@ interface operations {
14964
15528
  };
14965
15529
  };
14966
15530
  };
14967
- create_fact: {
15531
+ retrieve: {
14968
15532
  parameters: {
14969
15533
  query?: never;
14970
15534
  header?: never;
@@ -14973,7 +15537,7 @@ interface operations {
14973
15537
  };
14974
15538
  requestBody: {
14975
15539
  content: {
14976
- 'application/json': components['schemas']['CreateFactRequest'];
15540
+ 'application/json': components['schemas']['MessageInput'];
14977
15541
  };
14978
15542
  };
14979
15543
  responses: {
@@ -14983,7 +15547,7 @@ interface operations {
14983
15547
  [name: string]: unknown;
14984
15548
  };
14985
15549
  content: {
14986
- 'application/json': components['schemas']['FactResponse'];
15550
+ 'application/json': unknown;
14987
15551
  };
14988
15552
  };
14989
15553
  /** @description Validation Error */
@@ -14997,18 +15561,36 @@ interface operations {
14997
15561
  };
14998
15562
  };
14999
15563
  };
15000
- create_facts_batch: {
15564
+ get_health_live: {
15001
15565
  parameters: {
15002
15566
  query?: never;
15003
15567
  header?: never;
15004
15568
  path?: never;
15005
15569
  cookie?: never;
15006
15570
  };
15007
- requestBody: {
15008
- content: {
15009
- 'application/json': components['schemas']['CreateFactsRequest'];
15571
+ requestBody?: never;
15572
+ responses: {
15573
+ /** @description Successful Response */
15574
+ 200: {
15575
+ headers: {
15576
+ [name: string]: unknown;
15577
+ };
15578
+ content: {
15579
+ 'application/json': {
15580
+ [key: string]: string;
15581
+ };
15582
+ };
15010
15583
  };
15011
15584
  };
15585
+ };
15586
+ get_health: {
15587
+ parameters: {
15588
+ query?: never;
15589
+ header?: never;
15590
+ path?: never;
15591
+ cookie?: never;
15592
+ };
15593
+ requestBody?: never;
15012
15594
  responses: {
15013
15595
  /** @description Successful Response */
15014
15596
  200: {
@@ -15016,39 +15598,54 @@ interface operations {
15016
15598
  [name: string]: unknown;
15017
15599
  };
15018
15600
  content: {
15019
- 'application/json': components['schemas']['FactResponse'][];
15601
+ 'application/json': components['schemas']['ConsolidatedHealthResponse'];
15020
15602
  };
15021
15603
  };
15022
- /** @description Validation Error */
15023
- 422: {
15604
+ };
15605
+ };
15606
+ check_remote_models: {
15607
+ parameters: {
15608
+ query?: never;
15609
+ header?: never;
15610
+ path?: never;
15611
+ cookie?: never;
15612
+ };
15613
+ requestBody?: never;
15614
+ responses: {
15615
+ /** @description Successful Response */
15616
+ 200: {
15024
15617
  headers: {
15025
15618
  [name: string]: unknown;
15026
15619
  };
15027
15620
  content: {
15028
- 'application/json': components['schemas']['HTTPValidationError'];
15621
+ 'application/json': components['schemas']['ModelsHealthStatus'];
15029
15622
  };
15030
15623
  };
15031
15624
  };
15032
15625
  };
15033
- list_facts: {
15626
+ get_models: {
15034
15627
  parameters: {
15035
- query?: {
15036
- pinned_only?: boolean;
15037
- /** @description Range start, any precision ("2019", "2019-10") */
15038
- date_from?: string | null;
15039
- /** @description Range end, any precision */
15040
- date_to?: string | null;
15041
- /** @description Only facts that carry a date — the timeline view */
15042
- dated_only?: boolean;
15043
- /** @description Only facts carrying ALL of these tags */
15044
- tag_ext_id?: string[] | null;
15045
- /** @description Only facts whose sources include this document */
15046
- doc_ext_id?: string | null;
15047
- /** @description Page size; omit for every matching fact */
15048
- limit?: number | null;
15049
- /** @description Facts to skip, for paging with limit */
15050
- offset?: number;
15628
+ query?: never;
15629
+ header?: never;
15630
+ path?: never;
15631
+ cookie?: never;
15632
+ };
15633
+ requestBody?: never;
15634
+ responses: {
15635
+ /** @description Successful Response */
15636
+ 200: {
15637
+ headers: {
15638
+ [name: string]: unknown;
15639
+ };
15640
+ content: {
15641
+ 'application/json': components['schemas']['ModelsResponse'];
15642
+ };
15051
15643
  };
15644
+ };
15645
+ };
15646
+ get_mcp_tools: {
15647
+ parameters: {
15648
+ query?: never;
15052
15649
  header?: never;
15053
15650
  path?: never;
15054
15651
  cookie?: never;
@@ -15061,21 +15658,54 @@ interface operations {
15061
15658
  [name: string]: unknown;
15062
15659
  };
15063
15660
  content: {
15064
- 'application/json': components['schemas']['FactResponse'][];
15661
+ 'application/json': components['schemas']['McpToolsResponse'];
15065
15662
  };
15066
15663
  };
15067
- /** @description Validation Error */
15068
- 422: {
15664
+ };
15665
+ };
15666
+ get_metrics: {
15667
+ parameters: {
15668
+ query?: never;
15669
+ header?: never;
15670
+ path?: never;
15671
+ cookie?: never;
15672
+ };
15673
+ requestBody?: never;
15674
+ responses: {
15675
+ /** @description Successful Response */
15676
+ 200: {
15069
15677
  headers: {
15070
15678
  [name: string]: unknown;
15071
15679
  };
15072
15680
  content: {
15073
- 'application/json': components['schemas']['HTTPValidationError'];
15681
+ 'application/json': {
15682
+ [key: string]: unknown;
15683
+ };
15074
15684
  };
15075
15685
  };
15076
15686
  };
15077
15687
  };
15078
- search_facts: {
15688
+ list_tags: {
15689
+ parameters: {
15690
+ query?: never;
15691
+ header?: never;
15692
+ path?: never;
15693
+ cookie?: never;
15694
+ };
15695
+ requestBody?: never;
15696
+ responses: {
15697
+ /** @description Successful Response */
15698
+ 200: {
15699
+ headers: {
15700
+ [name: string]: unknown;
15701
+ };
15702
+ content: {
15703
+ 'application/json': components['schemas']['TagResponse'][];
15704
+ };
15705
+ };
15706
+ };
15707
+ };
15708
+ create_tag: {
15079
15709
  parameters: {
15080
15710
  query?: never;
15081
15711
  header?: never;
@@ -15084,17 +15714,17 @@ interface operations {
15084
15714
  };
15085
15715
  requestBody: {
15086
15716
  content: {
15087
- 'application/json': components['schemas']['FactSearchRequest'];
15717
+ 'application/json': components['schemas']['CreateTagRequest'];
15088
15718
  };
15089
15719
  };
15090
15720
  responses: {
15091
15721
  /** @description Successful Response */
15092
- 200: {
15722
+ 201: {
15093
15723
  headers: {
15094
15724
  [name: string]: unknown;
15095
15725
  };
15096
15726
  content: {
15097
- 'application/json': components['schemas']['FactSearchResponse'];
15727
+ 'application/json': components['schemas']['TagResponse'];
15098
15728
  };
15099
15729
  };
15100
15730
  /** @description Validation Error */
@@ -15108,12 +15738,12 @@ interface operations {
15108
15738
  };
15109
15739
  };
15110
15740
  };
15111
- delete_fact: {
15741
+ delete_tag: {
15112
15742
  parameters: {
15113
15743
  query?: never;
15114
15744
  header?: never;
15115
15745
  path: {
15116
- fact_ext_id: string;
15746
+ tag_ext_id: string;
15117
15747
  };
15118
15748
  cookie?: never;
15119
15749
  };
@@ -15125,7 +15755,7 @@ interface operations {
15125
15755
  [name: string]: unknown;
15126
15756
  };
15127
15757
  content: {
15128
- 'application/json': components['schemas']['FactDeleteResponse'];
15758
+ 'application/json': components['schemas']['DeleteTagResponse'];
15129
15759
  };
15130
15760
  };
15131
15761
  /** @description Validation Error */
@@ -15139,18 +15769,18 @@ interface operations {
15139
15769
  };
15140
15770
  };
15141
15771
  };
15142
- update_fact: {
15772
+ update_tag: {
15143
15773
  parameters: {
15144
15774
  query?: never;
15145
15775
  header?: never;
15146
15776
  path: {
15147
- fact_ext_id: string;
15777
+ tag_ext_id: string;
15148
15778
  };
15149
15779
  cookie?: never;
15150
15780
  };
15151
15781
  requestBody: {
15152
15782
  content: {
15153
- 'application/json': components['schemas']['UpdateFactRequest'];
15783
+ 'application/json': components['schemas']['UpdateTagRequest'];
15154
15784
  };
15155
15785
  };
15156
15786
  responses: {
@@ -15160,7 +15790,7 @@ interface operations {
15160
15790
  [name: string]: unknown;
15161
15791
  };
15162
15792
  content: {
15163
- 'application/json': components['schemas']['FactResponse'];
15793
+ 'application/json': components['schemas']['TagResponse'];
15164
15794
  };
15165
15795
  };
15166
15796
  /** @description Validation Error */
@@ -15174,18 +15804,16 @@ interface operations {
15174
15804
  };
15175
15805
  };
15176
15806
  };
15177
- remind_fact: {
15807
+ create_fact: {
15178
15808
  parameters: {
15179
15809
  query?: never;
15180
15810
  header?: never;
15181
- path: {
15182
- fact_ext_id: string;
15183
- };
15811
+ path?: never;
15184
15812
  cookie?: never;
15185
15813
  };
15186
- requestBody?: {
15814
+ requestBody: {
15187
15815
  content: {
15188
- 'application/json': components['schemas']['RemindFactRequest'];
15816
+ 'application/json': components['schemas']['CreateFactRequest'];
15189
15817
  };
15190
15818
  };
15191
15819
  responses: {
@@ -15209,14 +15837,18 @@ interface operations {
15209
15837
  };
15210
15838
  };
15211
15839
  };
15212
- get_websocket_schema: {
15840
+ create_facts_batch: {
15213
15841
  parameters: {
15214
15842
  query?: never;
15215
15843
  header?: never;
15216
15844
  path?: never;
15217
15845
  cookie?: never;
15218
15846
  };
15219
- requestBody?: never;
15847
+ requestBody: {
15848
+ content: {
15849
+ 'application/json': components['schemas']['CreateFactsRequest'];
15850
+ };
15851
+ };
15220
15852
  responses: {
15221
15853
  /** @description Successful Response */
15222
15854
  200: {
@@ -15224,20 +15856,38 @@ interface operations {
15224
15856
  [name: string]: unknown;
15225
15857
  };
15226
15858
  content: {
15227
- 'application/json': components['schemas']['WebSocketSchemas'];
15859
+ 'application/json': components['schemas']['FactResponse'][];
15860
+ };
15861
+ };
15862
+ /** @description Validation Error */
15863
+ 422: {
15864
+ headers: {
15865
+ [name: string]: unknown;
15866
+ };
15867
+ content: {
15868
+ 'application/json': components['schemas']['HTTPValidationError'];
15228
15869
  };
15229
15870
  };
15230
15871
  };
15231
15872
  };
15232
- get_notifications: {
15873
+ list_facts: {
15233
15874
  parameters: {
15234
15875
  query?: {
15235
- /** @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. */
15236
- limit?: number;
15237
- /** @description Number of notifications to skip from the newest, for paging. */
15876
+ pinned_only?: boolean;
15877
+ /** @description Range start, any precision ("2019", "2019-10") */
15878
+ date_from?: string | null;
15879
+ /** @description Range end, any precision */
15880
+ date_to?: string | null;
15881
+ /** @description Only facts that carry a date — the timeline view */
15882
+ dated_only?: boolean;
15883
+ /** @description Only facts carrying ALL of these tags */
15884
+ tag_ext_id?: string[] | null;
15885
+ /** @description Only facts whose sources include this document */
15886
+ doc_ext_id?: string | null;
15887
+ /** @description Page size; omit for every matching fact */
15888
+ limit?: number | null;
15889
+ /** @description Facts to skip, for paging with limit */
15238
15890
  offset?: number;
15239
- /** @description Filter to a single notification type. Pass ``activity`` to read the durable activity feed (to-self, always-read log lines). When omitted, ``activity`` rows are EXCLUDED so they never pollute the normal notifications/unread UX. */
15240
- type?: components['schemas']['NotificationType'] | null;
15241
15891
  };
15242
15892
  header?: never;
15243
15893
  path?: never;
@@ -15251,7 +15901,7 @@ interface operations {
15251
15901
  [name: string]: unknown;
15252
15902
  };
15253
15903
  content: {
15254
- 'application/json': components['schemas']['NotificationResponse'][];
15904
+ 'application/json': components['schemas']['FactResponse'][];
15255
15905
  };
15256
15906
  };
15257
15907
  /** @description Validation Error */
@@ -15265,7 +15915,7 @@ interface operations {
15265
15915
  };
15266
15916
  };
15267
15917
  };
15268
- send_messages: {
15918
+ search_facts: {
15269
15919
  parameters: {
15270
15920
  query?: never;
15271
15921
  header?: never;
@@ -15274,17 +15924,17 @@ interface operations {
15274
15924
  };
15275
15925
  requestBody: {
15276
15926
  content: {
15277
- 'application/json': components['schemas']['SendMessageRequest'];
15927
+ 'application/json': components['schemas']['FactSearchRequest'];
15278
15928
  };
15279
15929
  };
15280
15930
  responses: {
15281
15931
  /** @description Successful Response */
15282
- 201: {
15932
+ 200: {
15283
15933
  headers: {
15284
15934
  [name: string]: unknown;
15285
15935
  };
15286
15936
  content: {
15287
- 'application/json': components['schemas']['NotificationResponse'][];
15937
+ 'application/json': components['schemas']['FactSearchResponse'];
15288
15938
  };
15289
15939
  };
15290
15940
  /** @description Validation Error */
@@ -15298,25 +15948,25 @@ interface operations {
15298
15948
  };
15299
15949
  };
15300
15950
  };
15301
- delete_notifications: {
15951
+ delete_fact: {
15302
15952
  parameters: {
15303
15953
  query?: never;
15304
15954
  header?: never;
15305
- path?: never;
15306
- cookie?: never;
15307
- };
15308
- requestBody: {
15309
- content: {
15310
- 'application/json': components['schemas']['DeleteNotificationsRequest'];
15955
+ path: {
15956
+ fact_ext_id: string;
15311
15957
  };
15958
+ cookie?: never;
15312
15959
  };
15960
+ requestBody?: never;
15313
15961
  responses: {
15314
15962
  /** @description Successful Response */
15315
- 204: {
15963
+ 200: {
15316
15964
  headers: {
15317
15965
  [name: string]: unknown;
15318
15966
  };
15319
- content?: never;
15967
+ content: {
15968
+ 'application/json': components['schemas']['FactDeleteResponse'];
15969
+ };
15320
15970
  };
15321
15971
  /** @description Validation Error */
15322
15972
  422: {
@@ -15329,16 +15979,18 @@ interface operations {
15329
15979
  };
15330
15980
  };
15331
15981
  };
15332
- update_notifications: {
15982
+ update_fact: {
15333
15983
  parameters: {
15334
15984
  query?: never;
15335
15985
  header?: never;
15336
- path?: never;
15986
+ path: {
15987
+ fact_ext_id: string;
15988
+ };
15337
15989
  cookie?: never;
15338
15990
  };
15339
15991
  requestBody: {
15340
15992
  content: {
15341
- 'application/json': components['schemas']['UpdateNotificationsRequest'];
15993
+ 'application/json': components['schemas']['UpdateFactRequest'];
15342
15994
  };
15343
15995
  };
15344
15996
  responses: {
@@ -15348,7 +16000,7 @@ interface operations {
15348
16000
  [name: string]: unknown;
15349
16001
  };
15350
16002
  content: {
15351
- 'application/json': components['schemas']['NotificationResponse'][];
16003
+ 'application/json': components['schemas']['FactResponse'];
15352
16004
  };
15353
16005
  };
15354
16006
  /** @description Validation Error */
@@ -15362,26 +16014,28 @@ interface operations {
15362
16014
  };
15363
16015
  };
15364
16016
  };
15365
- create_access_request: {
16017
+ remind_fact: {
15366
16018
  parameters: {
15367
16019
  query?: never;
15368
16020
  header?: never;
15369
- path?: never;
16021
+ path: {
16022
+ fact_ext_id: string;
16023
+ };
15370
16024
  cookie?: never;
15371
16025
  };
15372
- requestBody: {
16026
+ requestBody?: {
15373
16027
  content: {
15374
- 'application/json': components['schemas']['RequestWorkspaceAccessRequest'];
16028
+ 'application/json': components['schemas']['RemindFactRequest'];
15375
16029
  };
15376
16030
  };
15377
16031
  responses: {
15378
16032
  /** @description Successful Response */
15379
- 201: {
16033
+ 200: {
15380
16034
  headers: {
15381
16035
  [name: string]: unknown;
15382
16036
  };
15383
16037
  content: {
15384
- 'application/json': components['schemas']['NotificationResponse'];
16038
+ 'application/json': components['schemas']['FactResponse'];
15385
16039
  };
15386
16040
  };
15387
16041
  /** @description Validation Error */
@@ -15395,7 +16049,7 @@ interface operations {
15395
16049
  };
15396
16050
  };
15397
16051
  };
15398
- get_config_schema: {
16052
+ list_workflows: {
15399
16053
  parameters: {
15400
16054
  query?: never;
15401
16055
  header?: never;
@@ -15410,38 +16064,50 @@ interface operations {
15410
16064
  [name: string]: unknown;
15411
16065
  };
15412
16066
  content: {
15413
- 'application/json': unknown;
16067
+ 'application/json': components['schemas']['WorkflowResponse'][];
15414
16068
  };
15415
16069
  };
15416
16070
  };
15417
16071
  };
15418
- get_config_versions: {
16072
+ create_workflow: {
15419
16073
  parameters: {
15420
16074
  query?: never;
15421
16075
  header?: never;
15422
16076
  path?: never;
15423
16077
  cookie?: never;
15424
16078
  };
15425
- requestBody?: never;
16079
+ requestBody: {
16080
+ content: {
16081
+ 'application/json': components['schemas']['CreateWorkflowRequest'];
16082
+ };
16083
+ };
15426
16084
  responses: {
15427
16085
  /** @description Successful Response */
15428
- 200: {
16086
+ 201: {
15429
16087
  headers: {
15430
16088
  [name: string]: unknown;
15431
16089
  };
15432
16090
  content: {
15433
- 'application/json': components['schemas']['ConfigVersionsResponse'];
16091
+ 'application/json': components['schemas']['WorkflowResponse'];
16092
+ };
16093
+ };
16094
+ /** @description Validation Error */
16095
+ 422: {
16096
+ headers: {
16097
+ [name: string]: unknown;
16098
+ };
16099
+ content: {
16100
+ 'application/json': components['schemas']['HTTPValidationError'];
15434
16101
  };
15435
16102
  };
15436
16103
  };
15437
16104
  };
15438
- get_config: {
16105
+ get_workflow: {
15439
16106
  parameters: {
15440
16107
  query?: never;
15441
16108
  header?: never;
15442
16109
  path: {
15443
- /** @description Config name: 'cfg-XXXXXXXX' or 'default' for system default */
15444
- config_ext_id: string;
16110
+ workflow_id: string;
15445
16111
  };
15446
16112
  cookie?: never;
15447
16113
  };
@@ -15453,7 +16119,7 @@ interface operations {
15453
16119
  [name: string]: unknown;
15454
16120
  };
15455
16121
  content: {
15456
- 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
16122
+ 'application/json': components['schemas']['WorkflowResponse'];
15457
16123
  };
15458
16124
  };
15459
16125
  /** @description Validation Error */
@@ -15467,25 +16133,23 @@ interface operations {
15467
16133
  };
15468
16134
  };
15469
16135
  };
15470
- delete_config: {
16136
+ delete_workflow: {
15471
16137
  parameters: {
15472
16138
  query?: never;
15473
16139
  header?: never;
15474
16140
  path: {
15475
- config_ext_id: string;
16141
+ workflow_id: string;
15476
16142
  };
15477
16143
  cookie?: never;
15478
16144
  };
15479
16145
  requestBody?: never;
15480
16146
  responses: {
15481
16147
  /** @description Successful Response */
15482
- 200: {
16148
+ 204: {
15483
16149
  headers: {
15484
16150
  [name: string]: unknown;
15485
16151
  };
15486
- content: {
15487
- 'application/json': components['schemas']['ConfigDeleteResponse'];
15488
- };
16152
+ content?: never;
15489
16153
  };
15490
16154
  /** @description Validation Error */
15491
16155
  422: {
@@ -15498,16 +16162,18 @@ interface operations {
15498
16162
  };
15499
16163
  };
15500
16164
  };
15501
- save_config: {
16165
+ update_workflow: {
15502
16166
  parameters: {
15503
16167
  query?: never;
15504
16168
  header?: never;
15505
- path?: never;
16169
+ path: {
16170
+ workflow_id: string;
16171
+ };
15506
16172
  cookie?: never;
15507
16173
  };
15508
16174
  requestBody: {
15509
16175
  content: {
15510
- 'application/json': components['schemas']['ConfigUpdateData'];
16176
+ 'application/json': components['schemas']['UpdateWorkflowRequest'];
15511
16177
  };
15512
16178
  };
15513
16179
  responses: {
@@ -15517,7 +16183,7 @@ interface operations {
15517
16183
  [name: string]: unknown;
15518
16184
  };
15519
16185
  content: {
15520
- 'application/json': components['schemas']['ConfigSaveResponse'];
16186
+ 'application/json': components['schemas']['WorkflowResponse'];
15521
16187
  };
15522
16188
  };
15523
16189
  /** @description Validation Error */
@@ -15531,11 +16197,13 @@ interface operations {
15531
16197
  };
15532
16198
  };
15533
16199
  };
15534
- list_agents: {
16200
+ run_workflow: {
15535
16201
  parameters: {
15536
16202
  query?: never;
15537
16203
  header?: never;
15538
- path?: never;
16204
+ path: {
16205
+ workflow_id: string;
16206
+ };
15539
16207
  cookie?: never;
15540
16208
  };
15541
16209
  requestBody?: never;
@@ -15546,31 +16214,63 @@ interface operations {
15546
16214
  [name: string]: unknown;
15547
16215
  };
15548
16216
  content: {
15549
- 'application/json': components['schemas']['UserResponse'][];
16217
+ 'application/json': components['schemas']['WorkflowRunResponse'];
16218
+ };
16219
+ };
16220
+ /** @description Validation Error */
16221
+ 422: {
16222
+ headers: {
16223
+ [name: string]: unknown;
16224
+ };
16225
+ content: {
16226
+ 'application/json': components['schemas']['HTTPValidationError'];
15550
16227
  };
15551
16228
  };
15552
16229
  };
15553
16230
  };
15554
- create_agent: {
16231
+ get_websocket_schema: {
15555
16232
  parameters: {
15556
16233
  query?: never;
15557
16234
  header?: never;
15558
16235
  path?: never;
15559
16236
  cookie?: never;
15560
16237
  };
15561
- requestBody: {
15562
- content: {
15563
- 'application/json': components['schemas']['CreateAgentRequest'];
16238
+ requestBody?: never;
16239
+ responses: {
16240
+ /** @description Successful Response */
16241
+ 200: {
16242
+ headers: {
16243
+ [name: string]: unknown;
16244
+ };
16245
+ content: {
16246
+ 'application/json': components['schemas']['WebSocketSchemas'];
16247
+ };
16248
+ };
16249
+ };
16250
+ };
16251
+ get_notifications: {
16252
+ parameters: {
16253
+ query?: {
16254
+ /** @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. */
16255
+ limit?: number;
16256
+ /** @description Number of notifications to skip from the newest, for paging. */
16257
+ offset?: number;
16258
+ /** @description Filter to a single notification type. Pass ``activity`` to read the durable activity feed (to-self, always-read log lines). When omitted, ``activity`` rows are EXCLUDED so they never pollute the normal notifications/unread UX. */
16259
+ type?: components['schemas']['NotificationType'] | null;
15564
16260
  };
16261
+ header?: never;
16262
+ path?: never;
16263
+ cookie?: never;
15565
16264
  };
16265
+ requestBody?: never;
15566
16266
  responses: {
15567
16267
  /** @description Successful Response */
15568
- 201: {
16268
+ 200: {
15569
16269
  headers: {
15570
16270
  [name: string]: unknown;
15571
16271
  };
15572
16272
  content: {
15573
- 'application/json': components['schemas']['CreateAgentResponse'];
16273
+ 'application/json': components['schemas']['NotificationResponse'][];
15574
16274
  };
15575
16275
  };
15576
16276
  /** @description Validation Error */
@@ -15584,7 +16284,7 @@ interface operations {
15584
16284
  };
15585
16285
  };
15586
16286
  };
15587
- delete_agents: {
16287
+ send_messages: {
15588
16288
  parameters: {
15589
16289
  query?: never;
15590
16290
  header?: never;
@@ -15593,19 +16293,17 @@ interface operations {
15593
16293
  };
15594
16294
  requestBody: {
15595
16295
  content: {
15596
- 'application/json': components['schemas']['DeleteAgentsRequest'];
16296
+ 'application/json': components['schemas']['SendMessageRequest'];
15597
16297
  };
15598
16298
  };
15599
16299
  responses: {
15600
16300
  /** @description Successful Response */
15601
- 200: {
16301
+ 201: {
15602
16302
  headers: {
15603
16303
  [name: string]: unknown;
15604
16304
  };
15605
16305
  content: {
15606
- 'application/json': {
15607
- [key: string]: unknown;
15608
- };
16306
+ 'application/json': components['schemas']['NotificationResponse'][];
15609
16307
  };
15610
16308
  };
15611
16309
  /** @description Validation Error */
@@ -15619,26 +16317,25 @@ interface operations {
15619
16317
  };
15620
16318
  };
15621
16319
  };
15622
- get_agent_config: {
16320
+ delete_notifications: {
15623
16321
  parameters: {
15624
16322
  query?: never;
15625
16323
  header?: never;
15626
- path: {
15627
- /** @description Agent external id (agt-XXXXXXXX) */
15628
- agent_ext_id: string;
15629
- };
16324
+ path?: never;
15630
16325
  cookie?: never;
15631
16326
  };
15632
- requestBody?: never;
16327
+ requestBody: {
16328
+ content: {
16329
+ 'application/json': components['schemas']['DeleteNotificationsRequest'];
16330
+ };
16331
+ };
15633
16332
  responses: {
15634
16333
  /** @description Successful Response */
15635
- 200: {
16334
+ 204: {
15636
16335
  headers: {
15637
16336
  [name: string]: unknown;
15638
16337
  };
15639
- content: {
15640
- 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
15641
- };
16338
+ content?: never;
15642
16339
  };
15643
16340
  /** @description Validation Error */
15644
16341
  422: {
@@ -15651,17 +16348,18 @@ interface operations {
15651
16348
  };
15652
16349
  };
15653
16350
  };
15654
- list_agent_workspaces: {
16351
+ update_notifications: {
15655
16352
  parameters: {
15656
16353
  query?: never;
15657
16354
  header?: never;
15658
- path: {
15659
- /** @description Agent external id (agt-XXXXXXXX) */
15660
- agent_ext_id: string;
15661
- };
16355
+ path?: never;
15662
16356
  cookie?: never;
15663
16357
  };
15664
- requestBody?: never;
16358
+ requestBody: {
16359
+ content: {
16360
+ 'application/json': components['schemas']['UpdateNotificationsRequest'];
16361
+ };
16362
+ };
15665
16363
  responses: {
15666
16364
  /** @description Successful Response */
15667
16365
  200: {
@@ -15669,7 +16367,7 @@ interface operations {
15669
16367
  [name: string]: unknown;
15670
16368
  };
15671
16369
  content: {
15672
- 'application/json': components['schemas']['AgentWorkspaceResponse'][];
16370
+ 'application/json': components['schemas']['NotificationResponse'][];
15673
16371
  };
15674
16372
  };
15675
16373
  /** @description Validation Error */
@@ -15683,41 +16381,47 @@ interface operations {
15683
16381
  };
15684
16382
  };
15685
16383
  };
15686
- get_authorize_limits: {
16384
+ create_access_request: {
15687
16385
  parameters: {
15688
16386
  query?: never;
15689
16387
  header?: never;
15690
16388
  path?: never;
15691
16389
  cookie?: never;
15692
16390
  };
15693
- requestBody?: never;
16391
+ requestBody: {
16392
+ content: {
16393
+ 'application/json': components['schemas']['RequestWorkspaceAccessRequest'];
16394
+ };
16395
+ };
15694
16396
  responses: {
15695
16397
  /** @description Successful Response */
15696
- 200: {
16398
+ 201: {
15697
16399
  headers: {
15698
16400
  [name: string]: unknown;
15699
16401
  };
15700
16402
  content: {
15701
- 'application/json': components['schemas']['AuthorizeLimitsResponse'];
16403
+ 'application/json': components['schemas']['NotificationResponse'];
16404
+ };
16405
+ };
16406
+ /** @description Validation Error */
16407
+ 422: {
16408
+ headers: {
16409
+ [name: string]: unknown;
16410
+ };
16411
+ content: {
16412
+ 'application/json': components['schemas']['HTTPValidationError'];
15702
16413
  };
15703
16414
  };
15704
16415
  };
15705
16416
  };
15706
- authorize_agent: {
16417
+ get_config_schema: {
15707
16418
  parameters: {
15708
16419
  query?: never;
15709
16420
  header?: never;
15710
- path: {
15711
- /** @description Agent external id (agt-XXXXXXXX) */
15712
- agent_ext_id: string;
15713
- };
16421
+ path?: never;
15714
16422
  cookie?: never;
15715
16423
  };
15716
- requestBody: {
15717
- content: {
15718
- 'application/json': components['schemas']['AuthorizeAgentRequest'];
15719
- };
15720
- };
16424
+ requestBody?: never;
15721
16425
  responses: {
15722
16426
  /** @description Successful Response */
15723
16427
  200: {
@@ -15725,35 +16429,42 @@ interface operations {
15725
16429
  [name: string]: unknown;
15726
16430
  };
15727
16431
  content: {
15728
- 'application/json': components['schemas']['AuthorizeAgentResponse'];
16432
+ 'application/json': unknown;
15729
16433
  };
15730
16434
  };
15731
- /** @description Validation Error */
15732
- 422: {
16435
+ };
16436
+ };
16437
+ get_config_versions: {
16438
+ parameters: {
16439
+ query?: never;
16440
+ header?: never;
16441
+ path?: never;
16442
+ cookie?: never;
16443
+ };
16444
+ requestBody?: never;
16445
+ responses: {
16446
+ /** @description Successful Response */
16447
+ 200: {
15733
16448
  headers: {
15734
16449
  [name: string]: unknown;
15735
16450
  };
15736
16451
  content: {
15737
- 'application/json': components['schemas']['HTTPValidationError'];
16452
+ 'application/json': components['schemas']['ConfigVersionsResponse'];
15738
16453
  };
15739
16454
  };
15740
16455
  };
15741
16456
  };
15742
- update_agent: {
16457
+ get_config: {
15743
16458
  parameters: {
15744
16459
  query?: never;
15745
16460
  header?: never;
15746
16461
  path: {
15747
- /** @description Agent external id (agt-XXXXXXXX) */
15748
- agent_ext_id: string;
16462
+ /** @description Config name: 'cfg-XXXXXXXX' or 'default' for system default */
16463
+ config_ext_id: string;
15749
16464
  };
15750
16465
  cookie?: never;
15751
16466
  };
15752
- requestBody: {
15753
- content: {
15754
- 'application/json': components['schemas']['UpdateAgentRequest'];
15755
- };
15756
- };
16467
+ requestBody?: never;
15757
16468
  responses: {
15758
16469
  /** @description Successful Response */
15759
16470
  200: {
@@ -15761,7 +16472,7 @@ interface operations {
15761
16472
  [name: string]: unknown;
15762
16473
  };
15763
16474
  content: {
15764
- 'application/json': components['schemas']['UserResponse'];
16475
+ 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
15765
16476
  };
15766
16477
  };
15767
16478
  /** @description Validation Error */
@@ -15775,21 +16486,16 @@ interface operations {
15775
16486
  };
15776
16487
  };
15777
16488
  };
15778
- generate_agent_avatar: {
16489
+ delete_config: {
15779
16490
  parameters: {
15780
16491
  query?: never;
15781
16492
  header?: never;
15782
16493
  path: {
15783
- /** @description Agent external id (agt-XXXXXXXX) */
15784
- agent_ext_id: string;
16494
+ config_ext_id: string;
15785
16495
  };
15786
16496
  cookie?: never;
15787
16497
  };
15788
- requestBody: {
15789
- content: {
15790
- 'application/json': components['schemas']['GenerateAgentAvatarRequest'];
15791
- };
15792
- };
16498
+ requestBody?: never;
15793
16499
  responses: {
15794
16500
  /** @description Successful Response */
15795
16501
  200: {
@@ -15797,7 +16503,7 @@ interface operations {
15797
16503
  [name: string]: unknown;
15798
16504
  };
15799
16505
  content: {
15800
- 'application/json': components['schemas']['GenerateAgentAvatarResponse'];
16506
+ 'application/json': components['schemas']['ConfigDeleteResponse'];
15801
16507
  };
15802
16508
  };
15803
16509
  /** @description Validation Error */
@@ -15811,23 +16517,18 @@ interface operations {
15811
16517
  };
15812
16518
  };
15813
16519
  };
15814
- inbound_email: {
16520
+ save_config: {
15815
16521
  parameters: {
15816
- query: {
15817
- /** @description The sender (a registered human user) */
15818
- user_email: string;
15819
- /** @description Email subject */
15820
- subject?: string;
15821
- /** @description Set when the gateway received mail at a workspace-scoped address (wrk-xxxxxxxx@<deployment>) — act in that specific workspace, requesting access first if the agent isn't a member yet. */
15822
- workspace_ext_id?: string | null;
15823
- /** @description The inbound email's own Message-ID header, if any */
15824
- message_id?: string;
15825
- };
16522
+ query?: never;
15826
16523
  header?: never;
15827
16524
  path?: never;
15828
16525
  cookie?: never;
15829
16526
  };
15830
- requestBody?: never;
16527
+ requestBody: {
16528
+ content: {
16529
+ 'application/json': components['schemas']['ConfigUpdateData'];
16530
+ };
16531
+ };
15831
16532
  responses: {
15832
16533
  /** @description Successful Response */
15833
16534
  200: {
@@ -15835,7 +16536,7 @@ interface operations {
15835
16536
  [name: string]: unknown;
15836
16537
  };
15837
16538
  content: {
15838
- 'application/json': unknown;
16539
+ 'application/json': components['schemas']['ConfigSaveResponse'];
15839
16540
  };
15840
16541
  };
15841
16542
  /** @description Validation Error */
@@ -15849,7 +16550,7 @@ interface operations {
15849
16550
  };
15850
16551
  };
15851
16552
  };
15852
- list_tasks: {
16553
+ list_agents: {
15853
16554
  parameters: {
15854
16555
  query?: never;
15855
16556
  header?: never;
@@ -15864,12 +16565,12 @@ interface operations {
15864
16565
  [name: string]: unknown;
15865
16566
  };
15866
16567
  content: {
15867
- 'application/json': components['schemas']['TaskResponse'][];
16568
+ 'application/json': components['schemas']['UserResponse'][];
15868
16569
  };
15869
16570
  };
15870
16571
  };
15871
16572
  };
15872
- create_task: {
16573
+ create_agent: {
15873
16574
  parameters: {
15874
16575
  query?: never;
15875
16576
  header?: never;
@@ -15878,7 +16579,7 @@ interface operations {
15878
16579
  };
15879
16580
  requestBody: {
15880
16581
  content: {
15881
- 'application/json': components['schemas']['CreateTaskRequest'];
16582
+ 'application/json': components['schemas']['CreateAgentRequest'];
15882
16583
  };
15883
16584
  };
15884
16585
  responses: {
@@ -15888,7 +16589,7 @@ interface operations {
15888
16589
  [name: string]: unknown;
15889
16590
  };
15890
16591
  content: {
15891
- 'application/json': components['schemas']['TaskResponse'];
16592
+ 'application/json': components['schemas']['CreateAgentResponse'];
15892
16593
  };
15893
16594
  };
15894
16595
  /** @description Validation Error */
@@ -15902,7 +16603,7 @@ interface operations {
15902
16603
  };
15903
16604
  };
15904
16605
  };
15905
- plan_task: {
16606
+ delete_agents: {
15906
16607
  parameters: {
15907
16608
  query?: never;
15908
16609
  header?: never;
@@ -15911,7 +16612,7 @@ interface operations {
15911
16612
  };
15912
16613
  requestBody: {
15913
16614
  content: {
15914
- 'application/json': components['schemas']['PlanTaskRequest'];
16615
+ 'application/json': components['schemas']['DeleteAgentsRequest'];
15915
16616
  };
15916
16617
  };
15917
16618
  responses: {
@@ -15921,7 +16622,9 @@ interface operations {
15921
16622
  [name: string]: unknown;
15922
16623
  };
15923
16624
  content: {
15924
- 'application/json': components['schemas']['TaskPlan'];
16625
+ 'application/json': {
16626
+ [key: string]: unknown;
16627
+ };
15925
16628
  };
15926
16629
  };
15927
16630
  /** @description Validation Error */
@@ -15935,12 +16638,13 @@ interface operations {
15935
16638
  };
15936
16639
  };
15937
16640
  };
15938
- get_task: {
16641
+ get_agent_config: {
15939
16642
  parameters: {
15940
16643
  query?: never;
15941
16644
  header?: never;
15942
16645
  path: {
15943
- task_id: string;
16646
+ /** @description Agent external id (agt-XXXXXXXX) */
16647
+ agent_ext_id: string;
15944
16648
  };
15945
16649
  cookie?: never;
15946
16650
  };
@@ -15952,7 +16656,7 @@ interface operations {
15952
16656
  [name: string]: unknown;
15953
16657
  };
15954
16658
  content: {
15955
- 'application/json': components['schemas']['TaskResponse'];
16659
+ 'application/json': components['schemas']['AllConfigs'] | components['schemas']['NonDeveloperConfig'];
15956
16660
  };
15957
16661
  };
15958
16662
  /** @description Validation Error */
@@ -15966,23 +16670,26 @@ interface operations {
15966
16670
  };
15967
16671
  };
15968
16672
  };
15969
- delete_task: {
16673
+ list_agent_workspaces: {
15970
16674
  parameters: {
15971
16675
  query?: never;
15972
16676
  header?: never;
15973
16677
  path: {
15974
- task_id: string;
16678
+ /** @description Agent external id (agt-XXXXXXXX) */
16679
+ agent_ext_id: string;
15975
16680
  };
15976
16681
  cookie?: never;
15977
16682
  };
15978
16683
  requestBody?: never;
15979
16684
  responses: {
15980
16685
  /** @description Successful Response */
15981
- 204: {
16686
+ 200: {
15982
16687
  headers: {
15983
16688
  [name: string]: unknown;
15984
16689
  };
15985
- content?: never;
16690
+ content: {
16691
+ 'application/json': components['schemas']['AgentWorkspaceResponse'][];
16692
+ };
15986
16693
  };
15987
16694
  /** @description Validation Error */
15988
16695
  422: {
@@ -15995,18 +16702,39 @@ interface operations {
15995
16702
  };
15996
16703
  };
15997
16704
  };
15998
- update_task: {
16705
+ get_authorize_limits: {
16706
+ parameters: {
16707
+ query?: never;
16708
+ header?: never;
16709
+ path?: never;
16710
+ cookie?: never;
16711
+ };
16712
+ requestBody?: never;
16713
+ responses: {
16714
+ /** @description Successful Response */
16715
+ 200: {
16716
+ headers: {
16717
+ [name: string]: unknown;
16718
+ };
16719
+ content: {
16720
+ 'application/json': components['schemas']['AuthorizeLimitsResponse'];
16721
+ };
16722
+ };
16723
+ };
16724
+ };
16725
+ authorize_agent: {
15999
16726
  parameters: {
16000
16727
  query?: never;
16001
16728
  header?: never;
16002
16729
  path: {
16003
- task_id: string;
16730
+ /** @description Agent external id (agt-XXXXXXXX) */
16731
+ agent_ext_id: string;
16004
16732
  };
16005
16733
  cookie?: never;
16006
16734
  };
16007
16735
  requestBody: {
16008
16736
  content: {
16009
- 'application/json': components['schemas']['UpdateTaskRequest'];
16737
+ 'application/json': components['schemas']['AuthorizeAgentRequest'];
16010
16738
  };
16011
16739
  };
16012
16740
  responses: {
@@ -16016,7 +16744,7 @@ interface operations {
16016
16744
  [name: string]: unknown;
16017
16745
  };
16018
16746
  content: {
16019
- 'application/json': components['schemas']['TaskResponse'];
16747
+ 'application/json': components['schemas']['AuthorizeAgentResponse'];
16020
16748
  };
16021
16749
  };
16022
16750
  /** @description Validation Error */
@@ -16030,16 +16758,21 @@ interface operations {
16030
16758
  };
16031
16759
  };
16032
16760
  };
16033
- list_task_runs: {
16761
+ update_agent: {
16034
16762
  parameters: {
16035
16763
  query?: never;
16036
16764
  header?: never;
16037
16765
  path: {
16038
- task_id: string;
16766
+ /** @description Agent external id (agt-XXXXXXXX) */
16767
+ agent_ext_id: string;
16039
16768
  };
16040
16769
  cookie?: never;
16041
16770
  };
16042
- requestBody?: never;
16771
+ requestBody: {
16772
+ content: {
16773
+ 'application/json': components['schemas']['UpdateAgentRequest'];
16774
+ };
16775
+ };
16043
16776
  responses: {
16044
16777
  /** @description Successful Response */
16045
16778
  200: {
@@ -16047,7 +16780,7 @@ interface operations {
16047
16780
  [name: string]: unknown;
16048
16781
  };
16049
16782
  content: {
16050
- 'application/json': components['schemas']['TaskRunResponse'][];
16783
+ 'application/json': components['schemas']['UserResponse'];
16051
16784
  };
16052
16785
  };
16053
16786
  /** @description Validation Error */
@@ -16061,13 +16794,56 @@ interface operations {
16061
16794
  };
16062
16795
  };
16063
16796
  };
16064
- run_task: {
16797
+ generate_agent_avatar: {
16065
16798
  parameters: {
16066
16799
  query?: never;
16067
16800
  header?: never;
16068
16801
  path: {
16069
- task_id: string;
16802
+ /** @description Agent external id (agt-XXXXXXXX) */
16803
+ agent_ext_id: string;
16804
+ };
16805
+ cookie?: never;
16806
+ };
16807
+ requestBody: {
16808
+ content: {
16809
+ 'application/json': components['schemas']['GenerateAgentAvatarRequest'];
16810
+ };
16811
+ };
16812
+ responses: {
16813
+ /** @description Successful Response */
16814
+ 200: {
16815
+ headers: {
16816
+ [name: string]: unknown;
16817
+ };
16818
+ content: {
16819
+ 'application/json': components['schemas']['GenerateAgentAvatarResponse'];
16820
+ };
16821
+ };
16822
+ /** @description Validation Error */
16823
+ 422: {
16824
+ headers: {
16825
+ [name: string]: unknown;
16826
+ };
16827
+ content: {
16828
+ 'application/json': components['schemas']['HTTPValidationError'];
16829
+ };
16830
+ };
16831
+ };
16832
+ };
16833
+ inbound_email: {
16834
+ parameters: {
16835
+ query: {
16836
+ /** @description The sender (a registered human user) */
16837
+ user_email: string;
16838
+ /** @description Email subject */
16839
+ subject?: string;
16840
+ /** @description Set when the gateway received mail at a workspace-scoped address (wrk-xxxxxxxx@<deployment>) — act in that specific workspace, requesting access first if the agent isn't a member yet. */
16841
+ workspace_ext_id?: string | null;
16842
+ /** @description The inbound email's own Message-ID header, if any */
16843
+ message_id?: string;
16070
16844
  };
16845
+ header?: never;
16846
+ path?: never;
16071
16847
  cookie?: never;
16072
16848
  };
16073
16849
  requestBody?: never;
@@ -16078,7 +16854,7 @@ interface operations {
16078
16854
  [name: string]: unknown;
16079
16855
  };
16080
16856
  content: {
16081
- 'application/json': components['schemas']['TaskResponse'];
16857
+ 'application/json': unknown;
16082
16858
  };
16083
16859
  };
16084
16860
  /** @description Validation Error */
@@ -17106,6 +17882,132 @@ interface operations {
17106
17882
  };
17107
17883
  };
17108
17884
  };
17885
+ get_slack_connection_v1_slack_me_get: {
17886
+ parameters: {
17887
+ query?: never;
17888
+ header?: never;
17889
+ path?: never;
17890
+ cookie?: never;
17891
+ };
17892
+ requestBody?: never;
17893
+ responses: {
17894
+ /** @description Successful Response */
17895
+ 200: {
17896
+ headers: {
17897
+ [name: string]: unknown;
17898
+ };
17899
+ content: {
17900
+ 'application/json': {
17901
+ [key: string]: unknown;
17902
+ };
17903
+ };
17904
+ };
17905
+ };
17906
+ };
17907
+ disconnect_slack_v1_slack_me_delete: {
17908
+ parameters: {
17909
+ query?: never;
17910
+ header?: never;
17911
+ path?: never;
17912
+ cookie?: never;
17913
+ };
17914
+ requestBody?: never;
17915
+ responses: {
17916
+ /** @description Successful Response */
17917
+ 204: {
17918
+ headers: {
17919
+ [name: string]: unknown;
17920
+ };
17921
+ content?: never;
17922
+ };
17923
+ };
17924
+ };
17925
+ authorize_slack_v1_slack_authorize_get: {
17926
+ parameters: {
17927
+ query: {
17928
+ agent_ext_id: string;
17929
+ };
17930
+ header?: never;
17931
+ path?: never;
17932
+ cookie?: never;
17933
+ };
17934
+ requestBody?: never;
17935
+ responses: {
17936
+ /** @description Successful Response */
17937
+ 200: {
17938
+ headers: {
17939
+ [name: string]: unknown;
17940
+ };
17941
+ content: {
17942
+ 'application/json': {
17943
+ [key: string]: unknown;
17944
+ };
17945
+ };
17946
+ };
17947
+ /** @description Validation Error */
17948
+ 422: {
17949
+ headers: {
17950
+ [name: string]: unknown;
17951
+ };
17952
+ content: {
17953
+ 'application/json': components['schemas']['HTTPValidationError'];
17954
+ };
17955
+ };
17956
+ };
17957
+ };
17958
+ slack_callback_v1_slack_callback_get: {
17959
+ parameters: {
17960
+ query?: {
17961
+ code?: string | null;
17962
+ state?: string | null;
17963
+ error?: string | null;
17964
+ };
17965
+ header?: never;
17966
+ path?: never;
17967
+ cookie?: never;
17968
+ };
17969
+ requestBody?: never;
17970
+ responses: {
17971
+ /** @description Successful Response */
17972
+ 200: {
17973
+ headers: {
17974
+ [name: string]: unknown;
17975
+ };
17976
+ content: {
17977
+ 'application/json': unknown;
17978
+ };
17979
+ };
17980
+ /** @description Validation Error */
17981
+ 422: {
17982
+ headers: {
17983
+ [name: string]: unknown;
17984
+ };
17985
+ content: {
17986
+ 'application/json': components['schemas']['HTTPValidationError'];
17987
+ };
17988
+ };
17989
+ };
17990
+ };
17991
+ slack_events_v1_slack_events_post: {
17992
+ parameters: {
17993
+ query?: never;
17994
+ header?: never;
17995
+ path?: never;
17996
+ cookie?: never;
17997
+ };
17998
+ requestBody?: never;
17999
+ responses: {
18000
+ /** @description Successful Response */
18001
+ 200: {
18002
+ headers: {
18003
+ [name: string]: unknown;
18004
+ };
18005
+ content: {
18006
+ 'application/json': unknown;
18007
+ };
18008
+ };
18009
+ };
18010
+ };
17109
18011
  create_response: {
17110
18012
  parameters: {
17111
18013
  query?: never;