langgraph-api 0.2.44__py3-none-any.whl → 0.2.46__py3-none-any.whl

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.

Potentially problematic release.


This version of langgraph-api might be problematic. Click here for more details.

openapi.json CHANGED
@@ -33,7 +33,9 @@
33
33
  "paths": {
34
34
  "/assistants": {
35
35
  "post": {
36
- "tags": ["Assistants"],
36
+ "tags": [
37
+ "Assistants"
38
+ ],
37
39
  "summary": "Create Assistant",
38
40
  "description": "Create an assistant.\n\nAn initial version of the assistant will be created and the assistant is set to that version. To change versions, use the `POST /assistants/{assistant_id}/latest` endpoint.",
39
41
  "operationId": "create_assistant_assistants_post",
@@ -93,7 +95,9 @@
93
95
  },
94
96
  "/assistants/search": {
95
97
  "post": {
96
- "tags": ["Assistants"],
98
+ "tags": [
99
+ "Assistants"
100
+ ],
97
101
  "summary": "Search Assistants",
98
102
  "description": "Search for assistants.\n\nThis endpoint also functions as the endpoint to list all assistants.",
99
103
  "operationId": "search_assistants_assistants_search_post",
@@ -147,7 +151,9 @@
147
151
  },
148
152
  "/assistants/{assistant_id}": {
149
153
  "get": {
150
- "tags": ["Assistants"],
154
+ "tags": [
155
+ "Assistants"
156
+ ],
151
157
  "summary": "Get Assistant",
152
158
  "description": "Get an assistant by ID.",
153
159
  "operationId": "get_assistant_assistants__assistant_id__get",
@@ -189,7 +195,9 @@
189
195
  }
190
196
  },
191
197
  "delete": {
192
- "tags": ["Assistants"],
198
+ "tags": [
199
+ "Assistants"
200
+ ],
193
201
  "summary": "Delete Assistant",
194
202
  "description": "Delete an assistant by ID.\n\nAll versions of the assistant will be deleted as well.",
195
203
  "operationId": "delete_assistant_assistants__assistant_id__delete",
@@ -239,7 +247,9 @@
239
247
  }
240
248
  },
241
249
  "patch": {
242
- "tags": ["Assistants"],
250
+ "tags": [
251
+ "Assistants"
252
+ ],
243
253
  "summary": "Patch Assistant",
244
254
  "description": "Update an assistant.",
245
255
  "operationId": "patch_assistant_assistants__assistant_id__patch",
@@ -303,7 +313,9 @@
303
313
  },
304
314
  "/assistants/{assistant_id}/graph": {
305
315
  "get": {
306
- "tags": ["Assistants"],
316
+ "tags": [
317
+ "Assistants"
318
+ ],
307
319
  "summary": "Get Assistant Graph",
308
320
  "description": "Get an assistant by ID.",
309
321
  "operationId": "get_assistant_graph_assistants__assistant_id__graph_get",
@@ -392,7 +404,9 @@
392
404
  },
393
405
  "/assistants/{assistant_id}/subgraphs": {
394
406
  "get": {
395
- "tags": ["Assistants"],
407
+ "tags": [
408
+ "Assistants"
409
+ ],
396
410
  "summary": "Get Assistant Subgraphs",
397
411
  "description": "Get an assistant's subgraphs.",
398
412
  "operationId": "get_assistant_subgraphs_assistants__assistant_id__subgraphs_get",
@@ -456,7 +470,9 @@
456
470
  },
457
471
  "/assistants/{assistant_id}/subgraphs/{namespace}": {
458
472
  "get": {
459
- "tags": ["Assistants"],
473
+ "tags": [
474
+ "Assistants"
475
+ ],
460
476
  "summary": "Get Assistant Subgraphs by Namespace",
461
477
  "description": "Get an assistant's subgraphs filtered by namespace.",
462
478
  "operationId": "get_assistant_subgraphs_assistants__assistant_id__subgraphs__namespace__get",
@@ -520,7 +536,9 @@
520
536
  },
521
537
  "/assistants/{assistant_id}/schemas": {
522
538
  "get": {
523
- "tags": ["Assistants"],
539
+ "tags": [
540
+ "Assistants"
541
+ ],
524
542
  "summary": "Get Assistant Schemas",
525
543
  "description": "Get an assistant by ID.",
526
544
  "operationId": "get_assistant_schemas_assistants__assistant_id__schemas_get",
@@ -574,7 +592,9 @@
574
592
  },
575
593
  "/assistants/{assistant_id}/versions": {
576
594
  "post": {
577
- "tags": ["Assistants"],
595
+ "tags": [
596
+ "Assistants"
597
+ ],
578
598
  "summary": "Get Assistant Versions",
579
599
  "description": "Get all versions of an assistant.",
580
600
  "operationId": "get_assistant_versions_assistants__assistant_id__versions_get",
@@ -622,7 +642,9 @@
622
642
  },
623
643
  "/assistants/{assistant_id}/latest": {
624
644
  "post": {
625
- "tags": ["Assistants"],
645
+ "tags": [
646
+ "Assistants"
647
+ ],
626
648
  "summary": "Set Latest Assistant Version",
627
649
  "description": "Set the latest version for an assistant.",
628
650
  "operationId": "set_latest_assistant_version_assistants__assistant_id__versions_post",
@@ -687,7 +709,9 @@
687
709
  },
688
710
  "/threads": {
689
711
  "post": {
690
- "tags": ["Threads"],
712
+ "tags": [
713
+ "Threads"
714
+ ],
691
715
  "summary": "Create Thread",
692
716
  "description": "Create a thread.",
693
717
  "operationId": "create_thread_threads_post",
@@ -737,7 +761,9 @@
737
761
  },
738
762
  "/threads/search": {
739
763
  "post": {
740
- "tags": ["Threads"],
764
+ "tags": [
765
+ "Threads"
766
+ ],
741
767
  "summary": "Search Threads",
742
768
  "description": "Search for threads.\n\nThis endpoint also functions as the endpoint to list all threads.",
743
769
  "operationId": "search_threads_threads_search_post",
@@ -781,7 +807,9 @@
781
807
  },
782
808
  "/threads/{thread_id}/state": {
783
809
  "get": {
784
- "tags": ["Threads"],
810
+ "tags": [
811
+ "Threads"
812
+ ],
785
813
  "summary": "Get Thread State",
786
814
  "description": "Get state for a thread.\n\nThe latest state of the thread (i.e. latest checkpoint) is returned.",
787
815
  "operationId": "get_latest_thread_state_threads__thread_id__state_get",
@@ -834,7 +862,9 @@
834
862
  }
835
863
  },
836
864
  "post": {
837
- "tags": ["Threads"],
865
+ "tags": [
866
+ "Threads"
867
+ ],
838
868
  "summary": "Update Thread State",
839
869
  "description": "Add state to a thread.",
840
870
  "operationId": "update_thread_state_threads__thread_id__state_post",
@@ -888,7 +918,9 @@
888
918
  },
889
919
  "/threads/{thread_id}/state/{checkpoint_id}": {
890
920
  "get": {
891
- "tags": ["Threads"],
921
+ "tags": [
922
+ "Threads"
923
+ ],
892
924
  "summary": "Get Thread State At Checkpoint",
893
925
  "description": "Get state for a thread at a specific checkpoint.",
894
926
  "operationId": "get_thread_state_at_checkpoint_threads__thread_id__state__checkpoint_id__get",
@@ -955,7 +987,9 @@
955
987
  },
956
988
  "/threads/{thread_id}/state/checkpoint": {
957
989
  "post": {
958
- "tags": ["Threads"],
990
+ "tags": [
991
+ "Threads"
992
+ ],
959
993
  "summary": "Get Thread State At Checkpoint",
960
994
  "description": "Get state for a thread at a specific checkpoint.",
961
995
  "operationId": "post_thread_state_at_checkpoint_threads__thread_id__state__checkpoint_id__get",
@@ -1019,7 +1053,9 @@
1019
1053
  },
1020
1054
  "/threads/{thread_id}/history": {
1021
1055
  "get": {
1022
- "tags": ["Threads"],
1056
+ "tags": [
1057
+ "Threads"
1058
+ ],
1023
1059
  "summary": "Get Thread History",
1024
1060
  "description": "Get all past states for a thread.",
1025
1061
  "operationId": "get_thread_history_threads__thread_id__history_get",
@@ -1084,7 +1120,9 @@
1084
1120
  }
1085
1121
  },
1086
1122
  "post": {
1087
- "tags": ["Threads"],
1123
+ "tags": [
1124
+ "Threads"
1125
+ ],
1088
1126
  "summary": "Get Thread History Post",
1089
1127
  "description": "Get all past states for a thread.",
1090
1128
  "operationId": "get_thread_history_post_threads__thread_id__history_post",
@@ -1142,7 +1180,9 @@
1142
1180
  },
1143
1181
  "/threads/{thread_id}/copy": {
1144
1182
  "post": {
1145
- "tags": ["Threads"],
1183
+ "tags": [
1184
+ "Threads"
1185
+ ],
1146
1186
  "summary": "Copy Thread",
1147
1187
  "description": "Create a new thread with a copy of the state and checkpoints from an existing thread.",
1148
1188
  "operationId": "copy_thread_post_threads__thread_id__copy_post",
@@ -1196,7 +1236,9 @@
1196
1236
  },
1197
1237
  "/threads/{thread_id}": {
1198
1238
  "get": {
1199
- "tags": ["Threads"],
1239
+ "tags": [
1240
+ "Threads"
1241
+ ],
1200
1242
  "summary": "Get Thread",
1201
1243
  "description": "Get a thread by ID.",
1202
1244
  "operationId": "get_thread_threads__thread_id__get",
@@ -1248,7 +1290,9 @@
1248
1290
  }
1249
1291
  },
1250
1292
  "delete": {
1251
- "tags": ["Threads"],
1293
+ "tags": [
1294
+ "Threads"
1295
+ ],
1252
1296
  "summary": "Delete Thread",
1253
1297
  "description": "Delete a thread by ID.",
1254
1298
  "operationId": "delete_thread_threads__thread_id__delete",
@@ -1298,7 +1342,9 @@
1298
1342
  }
1299
1343
  },
1300
1344
  "patch": {
1301
- "tags": ["Threads"],
1345
+ "tags": [
1346
+ "Threads"
1347
+ ],
1302
1348
  "summary": "Patch Thread",
1303
1349
  "description": "Update a thread.",
1304
1350
  "operationId": "patch_thread_threads__thread_id__patch",
@@ -1362,7 +1408,9 @@
1362
1408
  },
1363
1409
  "/threads/{thread_id}/runs": {
1364
1410
  "get": {
1365
- "tags": ["Thread Runs"],
1411
+ "tags": [
1412
+ "Thread Runs"
1413
+ ],
1366
1414
  "summary": "List Runs",
1367
1415
  "description": "List runs for a thread.",
1368
1416
  "operationId": "list_runs_http_threads__thread_id__runs_get",
@@ -1403,7 +1451,13 @@
1403
1451
  "required": false,
1404
1452
  "schema": {
1405
1453
  "type": "string",
1406
- "enum": ["pending", "error", "success", "timeout", "interrupted"]
1454
+ "enum": [
1455
+ "pending",
1456
+ "error",
1457
+ "success",
1458
+ "timeout",
1459
+ "interrupted"
1460
+ ]
1407
1461
  },
1408
1462
  "name": "status",
1409
1463
  "in": "query"
@@ -1446,7 +1500,9 @@
1446
1500
  }
1447
1501
  },
1448
1502
  "post": {
1449
- "tags": ["Thread Runs"],
1503
+ "tags": [
1504
+ "Thread Runs"
1505
+ ],
1450
1506
  "summary": "Create Background Run",
1451
1507
  "description": "Create a run in existing thread, return the run ID immediately. Don't wait for the final run output.",
1452
1508
  "operationId": "create_run_threads__thread_id__runs_post",
@@ -1528,7 +1584,9 @@
1528
1584
  },
1529
1585
  "/threads/{thread_id}/runs/crons": {
1530
1586
  "post": {
1531
- "tags": ["Crons (Plus tier)"],
1587
+ "tags": [
1588
+ "Crons (Plus tier)"
1589
+ ],
1532
1590
  "summary": "Create Thread Cron",
1533
1591
  "description": "Create a cron to schedule runs on a thread.",
1534
1592
  "operationId": "create_thread_cron_threads__thread_id__runs_crons_post",
@@ -1592,7 +1650,9 @@
1592
1650
  },
1593
1651
  "/threads/{thread_id}/runs/stream": {
1594
1652
  "post": {
1595
- "tags": ["Thread Runs"],
1653
+ "tags": [
1654
+ "Thread Runs"
1655
+ ],
1596
1656
  "summary": "Create Run, Stream Output",
1597
1657
  "description": "Create a run in existing thread. Stream the output.",
1598
1658
  "operationId": "stream_run_threads__thread_id__runs_stream_post",
@@ -1675,7 +1735,9 @@
1675
1735
  },
1676
1736
  "/threads/{thread_id}/runs/wait": {
1677
1737
  "post": {
1678
- "tags": ["Thread Runs"],
1738
+ "tags": [
1739
+ "Thread Runs"
1740
+ ],
1679
1741
  "summary": "Create Run, Wait for Output",
1680
1742
  "description": "Create a run in existing thread. Wait for the final output and then return it.",
1681
1743
  "operationId": "wait_run_threads__thread_id__runs_wait_post",
@@ -1755,7 +1817,9 @@
1755
1817
  },
1756
1818
  "/threads/{thread_id}/runs/{run_id}": {
1757
1819
  "get": {
1758
- "tags": ["Thread Runs"],
1820
+ "tags": [
1821
+ "Thread Runs"
1822
+ ],
1759
1823
  "summary": "Get Run",
1760
1824
  "description": "Get a run by ID.",
1761
1825
  "operationId": "get_run_http_threads__thread_id__runs__run_id__get",
@@ -1819,7 +1883,9 @@
1819
1883
  }
1820
1884
  },
1821
1885
  "delete": {
1822
- "tags": ["Thread Runs"],
1886
+ "tags": [
1887
+ "Thread Runs"
1888
+ ],
1823
1889
  "summary": "Delete Run",
1824
1890
  "description": "Delete a run by ID.",
1825
1891
  "operationId": "delete_run_threads__thread_id__runs__run_id__delete",
@@ -1883,7 +1949,9 @@
1883
1949
  },
1884
1950
  "/threads/{thread_id}/runs/{run_id}/join": {
1885
1951
  "get": {
1886
- "tags": ["Thread Runs"],
1952
+ "tags": [
1953
+ "Thread Runs"
1954
+ ],
1887
1955
  "summary": "Join Run",
1888
1956
  "description": "Wait for a run to finish.",
1889
1957
  "operationId": "join_run_http_threads__thread_id__runs__run_id__join_get",
@@ -1958,7 +2026,9 @@
1958
2026
  },
1959
2027
  "/threads/{thread_id}/runs/{run_id}/stream": {
1960
2028
  "get": {
1961
- "tags": ["Thread Runs"],
2029
+ "tags": [
2030
+ "Thread Runs"
2031
+ ],
1962
2032
  "summary": "Join Run Stream",
1963
2033
  "description": "Join a run stream. This endpoint streams output in real-time from a run similar to the /threads/__THREAD_ID__/runs/stream endpoint. If the run has been created with `stream_resumable=true`, the stream can be resumed from the last seen event ID.",
1964
2034
  "operationId": "stream_run_http_threads__thread_id__runs__run_id__join_get",
@@ -2035,7 +2105,9 @@
2035
2105
  },
2036
2106
  "/threads/{thread_id}/runs/{run_id}/cancel": {
2037
2107
  "post": {
2038
- "tags": ["Thread Runs"],
2108
+ "tags": [
2109
+ "Thread Runs"
2110
+ ],
2039
2111
  "summary": "Cancel Run",
2040
2112
  "operationId": "cancel_run_http_threads__thread_id__runs__run_id__cancel_post",
2041
2113
  "parameters": [
@@ -2078,7 +2150,10 @@
2078
2150
  "required": false,
2079
2151
  "schema": {
2080
2152
  "type": "string",
2081
- "enum": ["interrupt", "rollback"],
2153
+ "enum": [
2154
+ "interrupt",
2155
+ "rollback"
2156
+ ],
2082
2157
  "title": "Action",
2083
2158
  "default": "interrupt"
2084
2159
  },
@@ -2120,7 +2195,9 @@
2120
2195
  },
2121
2196
  "/runs/crons": {
2122
2197
  "post": {
2123
- "tags": ["Crons (Plus tier)"],
2198
+ "tags": [
2199
+ "Crons (Plus tier)"
2200
+ ],
2124
2201
  "summary": "Create Cron",
2125
2202
  "description": "Create a cron to schedule runs on new threads.",
2126
2203
  "operationId": "create_cron_runs_crons_post",
@@ -2170,7 +2247,9 @@
2170
2247
  },
2171
2248
  "/runs/crons/search": {
2172
2249
  "post": {
2173
- "tags": ["Crons (Plus tier)"],
2250
+ "tags": [
2251
+ "Crons (Plus tier)"
2252
+ ],
2174
2253
  "summary": "Search Crons",
2175
2254
  "description": "Search all active crons",
2176
2255
  "operationId": "search_crons_runs_crons_post",
@@ -2214,7 +2293,9 @@
2214
2293
  },
2215
2294
  "/runs/stream": {
2216
2295
  "post": {
2217
- "tags": ["Stateless Runs"],
2296
+ "tags": [
2297
+ "Stateless Runs"
2298
+ ],
2218
2299
  "summary": "Create Run, Stream Output",
2219
2300
  "description": "Create a run in a new thread, stream the output.",
2220
2301
  "operationId": "stream_run_stateless_runs_stream_post",
@@ -2283,7 +2364,9 @@
2283
2364
  },
2284
2365
  "/runs/cancel": {
2285
2366
  "post": {
2286
- "tags": ["Thread Runs"],
2367
+ "tags": [
2368
+ "Thread Runs"
2369
+ ],
2287
2370
  "summary": "Cancel Runs",
2288
2371
  "description": "Cancel one or more runs. Can cancel runs by thread ID and run IDs, or by status filter.",
2289
2372
  "operationId": "cancel_runs_post",
@@ -2293,7 +2376,10 @@
2293
2376
  "required": false,
2294
2377
  "schema": {
2295
2378
  "type": "string",
2296
- "enum": ["interrupt", "rollback"],
2379
+ "enum": [
2380
+ "interrupt",
2381
+ "rollback"
2382
+ ],
2297
2383
  "title": "Action",
2298
2384
  "default": "interrupt"
2299
2385
  },
@@ -2340,7 +2426,9 @@
2340
2426
  },
2341
2427
  "/runs/wait": {
2342
2428
  "post": {
2343
- "tags": ["Stateless Runs"],
2429
+ "tags": [
2430
+ "Stateless Runs"
2431
+ ],
2344
2432
  "summary": "Create Run, Wait for Output",
2345
2433
  "description": "Create a run in a new thread. Wait for the final output and then return it.",
2346
2434
  "operationId": "wait_run_stateless_runs_wait_post",
@@ -2406,7 +2494,9 @@
2406
2494
  },
2407
2495
  "/runs": {
2408
2496
  "post": {
2409
- "tags": ["Stateless Runs"],
2497
+ "tags": [
2498
+ "Stateless Runs"
2499
+ ],
2410
2500
  "summary": "Create Background Run",
2411
2501
  "description": "Create a run in a new thread, return the run ID immediately. Don't wait for the final run output.",
2412
2502
  "operationId": "run_stateless_runs_post",
@@ -2472,7 +2562,9 @@
2472
2562
  },
2473
2563
  "/runs/batch": {
2474
2564
  "post": {
2475
- "tags": ["Stateless Runs"],
2565
+ "tags": [
2566
+ "Stateless Runs"
2567
+ ],
2476
2568
  "summary": "Create Run Batch",
2477
2569
  "description": "Create a batch of runs in new threads, return immediately.",
2478
2570
  "operationId": "run_batch_stateless_runs_post",
@@ -2530,7 +2622,9 @@
2530
2622
  },
2531
2623
  "/runs/crons/{cron_id}": {
2532
2624
  "delete": {
2533
- "tags": ["Crons (Plus tier)"],
2625
+ "tags": [
2626
+ "Crons (Plus tier)"
2627
+ ],
2534
2628
  "summary": "Delete Cron",
2535
2629
  "description": "Delete a cron by ID.",
2536
2630
  "operationId": "delete_cron_runs_crons__cron_id__delete",
@@ -2580,7 +2674,9 @@
2580
2674
  },
2581
2675
  "/store/items": {
2582
2676
  "put": {
2583
- "tags": ["Store"],
2677
+ "tags": [
2678
+ "Store"
2679
+ ],
2584
2680
  "summary": "Store or update an item.",
2585
2681
  "operationId": "put_item",
2586
2682
  "requestBody": {
@@ -2610,7 +2706,9 @@
2610
2706
  }
2611
2707
  },
2612
2708
  "delete": {
2613
- "tags": ["Store"],
2709
+ "tags": [
2710
+ "Store"
2711
+ ],
2614
2712
  "summary": "Delete an item.",
2615
2713
  "operationId": "delete_item",
2616
2714
  "requestBody": {
@@ -2640,7 +2738,9 @@
2640
2738
  }
2641
2739
  },
2642
2740
  "get": {
2643
- "tags": ["Store"],
2741
+ "tags": [
2742
+ "Store"
2743
+ ],
2644
2744
  "summary": "Retrieve a single item.",
2645
2745
  "operationId": "get_item",
2646
2746
  "parameters": [
@@ -2700,7 +2800,9 @@
2700
2800
  },
2701
2801
  "/store/items/search": {
2702
2802
  "post": {
2703
- "tags": ["Store"],
2803
+ "tags": [
2804
+ "Store"
2805
+ ],
2704
2806
  "summary": "Search for items within a namespace prefix.",
2705
2807
  "operationId": "search_items",
2706
2808
  "requestBody": {
@@ -2739,7 +2841,9 @@
2739
2841
  },
2740
2842
  "/store/namespaces": {
2741
2843
  "post": {
2742
- "tags": ["Store"],
2844
+ "tags": [
2845
+ "Store"
2846
+ ],
2743
2847
  "summary": "List namespaces with optional match conditions.",
2744
2848
  "operationId": "list_namespaces",
2745
2849
  "requestBody": {
@@ -2786,7 +2890,9 @@
2786
2890
  "description": "GET method not allowed; streaming not supported."
2787
2891
  }
2788
2892
  },
2789
- "tags": ["MCP"]
2893
+ "tags": [
2894
+ "MCP"
2895
+ ]
2790
2896
  },
2791
2897
  "post": {
2792
2898
  "operationId": "post_mcp",
@@ -2799,7 +2905,9 @@
2799
2905
  "required": true,
2800
2906
  "schema": {
2801
2907
  "type": "string",
2802
- "enum": ["application/json, text/event-stream"]
2908
+ "enum": [
2909
+ "application/json, text/event-stream"
2910
+ ]
2803
2911
  },
2804
2912
  "description": "Accept header must include both 'application/json' and 'text/event-stream' media types."
2805
2913
  }
@@ -2808,7 +2916,9 @@
2808
2916
  "required": true,
2809
2917
  "content": {
2810
2918
  "application/json": {
2811
- "schema": { "type": "object" },
2919
+ "schema": {
2920
+ "type": "object"
2921
+ },
2812
2922
  "description": "A JSON-RPC 2.0 request, notification, or response object.",
2813
2923
  "example": {
2814
2924
  "jsonrpc": "2.0",
@@ -2830,7 +2940,11 @@
2830
2940
  "200": {
2831
2941
  "description": "Successful JSON-RPC response.",
2832
2942
  "content": {
2833
- "application/json": { "schema": { "type": "object" } }
2943
+ "application/json": {
2944
+ "schema": {
2945
+ "type": "object"
2946
+ }
2947
+ }
2834
2948
  }
2835
2949
  },
2836
2950
  "202": {
@@ -2846,7 +2960,9 @@
2846
2960
  "description": "Internal server error or unexpected failure."
2847
2961
  }
2848
2962
  },
2849
- "tags": ["MCP"]
2963
+ "tags": [
2964
+ "MCP"
2965
+ ]
2850
2966
  },
2851
2967
  "delete": {
2852
2968
  "operationId": "delete_mcp",
@@ -2855,7 +2971,9 @@
2855
2971
  "responses": {
2856
2972
  "404": {}
2857
2973
  },
2858
- "tags": ["MCP"]
2974
+ "tags": [
2975
+ "MCP"
2976
+ ]
2859
2977
  }
2860
2978
  }
2861
2979
  },
@@ -2924,7 +3042,10 @@
2924
3042
  "description": "The name of the assistant"
2925
3043
  },
2926
3044
  "description": {
2927
- "type": ["string", "null"],
3045
+ "type": [
3046
+ "string",
3047
+ "null"
3048
+ ],
2928
3049
  "title": "Assistant Description",
2929
3050
  "description": "The description of the assistant"
2930
3051
  }
@@ -2965,7 +3086,10 @@
2965
3086
  },
2966
3087
  "if_exists": {
2967
3088
  "type": "string",
2968
- "enum": ["raise", "do_nothing"],
3089
+ "enum": [
3090
+ "raise",
3091
+ "do_nothing"
3092
+ ],
2969
3093
  "title": "If Exists",
2970
3094
  "description": "How to handle duplicate creation. Must be either 'raise' (raise error if duplicate), or 'do_nothing' (return existing assistant).",
2971
3095
  "default": "raise"
@@ -2976,13 +3100,18 @@
2976
3100
  "description": "The name of the assistant. Defaults to 'Untitled'."
2977
3101
  },
2978
3102
  "description": {
2979
- "type": ["string", "null"],
3103
+ "type": [
3104
+ "string",
3105
+ "null"
3106
+ ],
2980
3107
  "title": "Description",
2981
3108
  "description": "The description of the assistant. Defaults to null."
2982
3109
  }
2983
3110
  },
2984
3111
  "type": "object",
2985
- "required": ["graph_id"],
3112
+ "required": [
3113
+ "graph_id"
3114
+ ],
2986
3115
  "title": "AssistantCreate",
2987
3116
  "description": "Payload for creating an assistant."
2988
3117
  },
@@ -3182,7 +3311,9 @@
3182
3311
  "anyOf": [
3183
3312
  {
3184
3313
  "type": "string",
3185
- "enum": ["*"]
3314
+ "enum": [
3315
+ "*"
3316
+ ]
3186
3317
  },
3187
3318
  {
3188
3319
  "items": {
@@ -3198,7 +3329,9 @@
3198
3329
  "anyOf": [
3199
3330
  {
3200
3331
  "type": "string",
3201
- "enum": ["*"]
3332
+ "enum": [
3333
+ "*"
3334
+ ]
3202
3335
  },
3203
3336
  {
3204
3337
  "items": {
@@ -3212,14 +3345,22 @@
3212
3345
  },
3213
3346
  "multitask_strategy": {
3214
3347
  "type": "string",
3215
- "enum": ["reject", "rollback", "interrupt", "enqueue"],
3348
+ "enum": [
3349
+ "reject",
3350
+ "rollback",
3351
+ "interrupt",
3352
+ "enqueue"
3353
+ ],
3216
3354
  "title": "Multitask Strategy",
3217
3355
  "description": "Multitask strategy to use. Must be one of 'reject', 'interrupt', 'rollback', or 'enqueue'.",
3218
3356
  "default": "reject"
3219
3357
  }
3220
3358
  },
3221
3359
  "type": "object",
3222
- "required": ["assistant_id", "schedule"],
3360
+ "required": [
3361
+ "assistant_id",
3362
+ "schedule"
3363
+ ],
3223
3364
  "title": "CronCreate",
3224
3365
  "description": "Payload for creating a cron job."
3225
3366
  },
@@ -3287,7 +3428,11 @@
3287
3428
  }
3288
3429
  },
3289
3430
  "type": "object",
3290
- "required": ["graph_id", "state_schema", "config_schema"],
3431
+ "required": [
3432
+ "graph_id",
3433
+ "state_schema",
3434
+ "config_schema"
3435
+ ],
3291
3436
  "title": "GraphSchema",
3292
3437
  "description": "Defines the structure and properties of a graph."
3293
3438
  },
@@ -3366,7 +3511,13 @@
3366
3511
  },
3367
3512
  "status": {
3368
3513
  "type": "string",
3369
- "enum": ["pending", "error", "success", "timeout", "interrupted"],
3514
+ "enum": [
3515
+ "pending",
3516
+ "error",
3517
+ "success",
3518
+ "timeout",
3519
+ "interrupted"
3520
+ ],
3370
3521
  "title": "Status",
3371
3522
  "description": "The status of the run. One of 'pending', 'error', 'success', 'timeout', 'interrupted'."
3372
3523
  },
@@ -3381,7 +3532,12 @@
3381
3532
  },
3382
3533
  "multitask_strategy": {
3383
3534
  "type": "string",
3384
- "enum": ["reject", "rollback", "interrupt", "enqueue"],
3535
+ "enum": [
3536
+ "reject",
3537
+ "rollback",
3538
+ "interrupt",
3539
+ "enqueue"
3540
+ ],
3385
3541
  "title": "Multitask Strategy",
3386
3542
  "description": "Strategy to handle concurrent runs on the same thread."
3387
3543
  }
@@ -3411,12 +3567,22 @@
3411
3567
  "description": "The node to send the message to."
3412
3568
  },
3413
3569
  "input": {
3414
- "type": ["object", "array", "number", "string", "boolean", "null"],
3570
+ "type": [
3571
+ "object",
3572
+ "array",
3573
+ "number",
3574
+ "string",
3575
+ "boolean",
3576
+ "null"
3577
+ ],
3415
3578
  "title": "Message",
3416
3579
  "description": "The message to send."
3417
3580
  }
3418
3581
  },
3419
- "required": ["node", "input"]
3582
+ "required": [
3583
+ "node",
3584
+ "input"
3585
+ ]
3420
3586
  },
3421
3587
  "Command": {
3422
3588
  "type": "object",
@@ -3424,12 +3590,23 @@
3424
3590
  "description": "The command to run.",
3425
3591
  "properties": {
3426
3592
  "update": {
3427
- "type": ["object", "array", "null"],
3593
+ "type": [
3594
+ "object",
3595
+ "array",
3596
+ "null"
3597
+ ],
3428
3598
  "title": "Update",
3429
3599
  "description": "An update to the state."
3430
3600
  },
3431
3601
  "resume": {
3432
- "type": ["object", "array", "number", "string", "boolean", "null"],
3602
+ "type": [
3603
+ "object",
3604
+ "array",
3605
+ "number",
3606
+ "string",
3607
+ "boolean",
3608
+ "null"
3609
+ ],
3433
3610
  "title": "Resume",
3434
3611
  "description": "A value to pass to an interrupted node."
3435
3612
  },
@@ -3559,7 +3736,9 @@
3559
3736
  "anyOf": [
3560
3737
  {
3561
3738
  "type": "string",
3562
- "enum": ["*"]
3739
+ "enum": [
3740
+ "*"
3741
+ ]
3563
3742
  },
3564
3743
  {
3565
3744
  "items": {
@@ -3575,7 +3754,9 @@
3575
3754
  "anyOf": [
3576
3755
  {
3577
3756
  "type": "string",
3578
- "enum": ["*"]
3757
+ "enum": [
3758
+ "*"
3759
+ ]
3579
3760
  },
3580
3761
  {
3581
3762
  "items": {
@@ -3619,7 +3800,9 @@
3619
3800
  ],
3620
3801
  "title": "Stream Mode",
3621
3802
  "description": "The stream mode(s) to use.",
3622
- "default": ["values"]
3803
+ "default": [
3804
+ "values"
3805
+ ]
3623
3806
  },
3624
3807
  "stream_subgraphs": {
3625
3808
  "type": "boolean",
@@ -3635,7 +3818,10 @@
3635
3818
  },
3636
3819
  "on_disconnect": {
3637
3820
  "type": "string",
3638
- "enum": ["cancel", "continue"],
3821
+ "enum": [
3822
+ "cancel",
3823
+ "continue"
3824
+ ],
3639
3825
  "title": "On Disconnect",
3640
3826
  "description": "The disconnect mode to use. Must be one of 'cancel' or 'continue'.",
3641
3827
  "default": "cancel"
@@ -3650,20 +3836,28 @@
3650
3836
  },
3651
3837
  "multitask_strategy": {
3652
3838
  "type": "string",
3653
- "enum": ["reject", "rollback", "interrupt", "enqueue"],
3839
+ "enum": [
3840
+ "reject",
3841
+ "rollback",
3842
+ "interrupt",
3843
+ "enqueue"
3844
+ ],
3654
3845
  "title": "Multitask Strategy",
3655
3846
  "description": "Multitask strategy to use. Must be one of 'reject', 'interrupt', 'rollback', or 'enqueue'.",
3656
3847
  "default": "reject"
3657
3848
  },
3658
3849
  "if_not_exists": {
3659
3850
  "type": "string",
3660
- "enum": ["create", "reject"],
3851
+ "enum": [
3852
+ "create",
3853
+ "reject"
3854
+ ],
3661
3855
  "title": "If Not Exists",
3662
3856
  "description": "How to handle missing thread. Must be either 'reject' (raise error if missing), or 'create' (create new thread).",
3663
3857
  "default": "reject"
3664
3858
  },
3665
3859
  "after_seconds": {
3666
- "type": "integer",
3860
+ "type": "number",
3667
3861
  "title": "After Seconds",
3668
3862
  "description": "The number of seconds to wait before starting the run. Use to schedule future runs."
3669
3863
  },
@@ -3675,7 +3869,9 @@
3675
3869
  }
3676
3870
  },
3677
3871
  "type": "object",
3678
- "required": ["assistant_id"],
3872
+ "required": [
3873
+ "assistant_id"
3874
+ ],
3679
3875
  "title": "RunCreateStateful",
3680
3876
  "description": "Payload for creating a run."
3681
3877
  },
@@ -3779,7 +3975,9 @@
3779
3975
  "anyOf": [
3780
3976
  {
3781
3977
  "type": "string",
3782
- "enum": ["*"]
3978
+ "enum": [
3979
+ "*"
3980
+ ]
3783
3981
  },
3784
3982
  {
3785
3983
  "items": {
@@ -3795,7 +3993,9 @@
3795
3993
  "anyOf": [
3796
3994
  {
3797
3995
  "type": "string",
3798
- "enum": ["*"]
3996
+ "enum": [
3997
+ "*"
3998
+ ]
3799
3999
  },
3800
4000
  {
3801
4001
  "items": {
@@ -3839,7 +4039,9 @@
3839
4039
  ],
3840
4040
  "title": "Stream Mode",
3841
4041
  "description": "The stream mode(s) to use.",
3842
- "default": ["values"]
4042
+ "default": [
4043
+ "values"
4044
+ ]
3843
4045
  },
3844
4046
  "feedback_keys": {
3845
4047
  "items": {
@@ -3863,20 +4065,26 @@
3863
4065
  },
3864
4066
  "on_completion": {
3865
4067
  "type": "string",
3866
- "enum": ["delete", "keep"],
4068
+ "enum": [
4069
+ "delete",
4070
+ "keep"
4071
+ ],
3867
4072
  "title": "On Completion",
3868
4073
  "description": "Whether to delete or keep the thread created for a stateless run. Must be one of 'delete' or 'keep'.",
3869
4074
  "default": "delete"
3870
4075
  },
3871
4076
  "on_disconnect": {
3872
4077
  "type": "string",
3873
- "enum": ["cancel", "continue"],
4078
+ "enum": [
4079
+ "cancel",
4080
+ "continue"
4081
+ ],
3874
4082
  "title": "On Disconnect",
3875
4083
  "description": "The disconnect mode to use. Must be one of 'cancel' or 'continue'.",
3876
4084
  "default": "cancel"
3877
4085
  },
3878
4086
  "after_seconds": {
3879
- "type": "integer",
4087
+ "type": "number",
3880
4088
  "title": "After Seconds",
3881
4089
  "description": "The number of seconds to wait before starting the run. Use to schedule future runs."
3882
4090
  },
@@ -3888,7 +4096,9 @@
3888
4096
  }
3889
4097
  },
3890
4098
  "type": "object",
3891
- "required": ["assistant_id"],
4099
+ "required": [
4100
+ "assistant_id"
4101
+ ],
3892
4102
  "title": "RunCreateStateless",
3893
4103
  "description": "Payload for creating a run."
3894
4104
  },
@@ -3933,7 +4143,10 @@
3933
4143
  },
3934
4144
  "sort_order": {
3935
4145
  "type": "string",
3936
- "enum": ["asc", "desc"],
4146
+ "enum": [
4147
+ "asc",
4148
+ "desc"
4149
+ ],
3937
4150
  "title": "Sort Order",
3938
4151
  "description": "The order to sort by."
3939
4152
  }
@@ -3983,7 +4196,12 @@
3983
4196
  },
3984
4197
  "status": {
3985
4198
  "type": "string",
3986
- "enum": ["idle", "busy", "interrupted", "error"],
4199
+ "enum": [
4200
+ "idle",
4201
+ "busy",
4202
+ "interrupted",
4203
+ "error"
4204
+ ],
3987
4205
  "title": "Status",
3988
4206
  "description": "Thread status to filter on."
3989
4207
  },
@@ -4004,13 +4222,21 @@
4004
4222
  },
4005
4223
  "sort_by": {
4006
4224
  "type": "string",
4007
- "enum": ["thread_id", "status", "created_at", "updated_at"],
4225
+ "enum": [
4226
+ "thread_id",
4227
+ "status",
4228
+ "created_at",
4229
+ "updated_at"
4230
+ ],
4008
4231
  "title": "Sort By",
4009
4232
  "description": "Sort by field."
4010
4233
  },
4011
4234
  "sort_order": {
4012
4235
  "type": "string",
4013
- "enum": ["asc", "desc"],
4236
+ "enum": [
4237
+ "asc",
4238
+ "desc"
4239
+ ],
4014
4240
  "title": "Sort Order",
4015
4241
  "description": "Sort order."
4016
4242
  }
@@ -4046,7 +4272,12 @@
4046
4272
  },
4047
4273
  "status": {
4048
4274
  "type": "string",
4049
- "enum": ["idle", "busy", "interrupted", "error"],
4275
+ "enum": [
4276
+ "idle",
4277
+ "busy",
4278
+ "interrupted",
4279
+ "error"
4280
+ ],
4050
4281
  "title": "Status",
4051
4282
  "description": "The status of the thread."
4052
4283
  },
@@ -4081,7 +4312,10 @@
4081
4312
  },
4082
4313
  "if_exists": {
4083
4314
  "type": "string",
4084
- "enum": ["raise", "do_nothing"],
4315
+ "enum": [
4316
+ "raise",
4317
+ "do_nothing"
4318
+ ],
4085
4319
  "title": "If Exists",
4086
4320
  "description": "How to handle duplicate creation. Must be either 'raise' (raise error if duplicate), or 'do_nothing' (return existing thread).",
4087
4321
  "default": "raise"
@@ -4093,7 +4327,9 @@
4093
4327
  "properties": {
4094
4328
  "strategy": {
4095
4329
  "type": "string",
4096
- "enum": ["delete"],
4330
+ "enum": [
4331
+ "delete"
4332
+ ],
4097
4333
  "description": "The TTL strategy. 'delete' removes the entire thread.",
4098
4334
  "default": "delete"
4099
4335
  },
@@ -4115,7 +4351,9 @@
4115
4351
  }
4116
4352
  }
4117
4353
  },
4118
- "required": ["updates"]
4354
+ "required": [
4355
+ "updates"
4356
+ ]
4119
4357
  }
4120
4358
  }
4121
4359
  },
@@ -4148,7 +4386,9 @@
4148
4386
  "description": "Include subgraph states."
4149
4387
  }
4150
4388
  },
4151
- "required": ["checkpoint"],
4389
+ "required": [
4390
+ "checkpoint"
4391
+ ],
4152
4392
  "type": "object",
4153
4393
  "title": "ThreadStateCheckpointRequest",
4154
4394
  "description": "Payload for getting the state of a thread at a checkpoint."
@@ -4204,7 +4444,10 @@
4204
4444
  "$ref": "#/components/schemas/ThreadState"
4205
4445
  }
4206
4446
  },
4207
- "required": ["id", "name"]
4447
+ "required": [
4448
+ "id",
4449
+ "name"
4450
+ ]
4208
4451
  },
4209
4452
  "type": "array",
4210
4453
  "title": "Tasks"
@@ -4227,7 +4470,13 @@
4227
4470
  }
4228
4471
  },
4229
4472
  "type": "object",
4230
- "required": ["values", "next", "checkpoint", "metadata", "created_at"],
4473
+ "required": [
4474
+ "values",
4475
+ "next",
4476
+ "checkpoint",
4477
+ "metadata",
4478
+ "created_at"
4479
+ ],
4231
4480
  "title": "ThreadState"
4232
4481
  },
4233
4482
  "ThreadStateSearch": {
@@ -4328,7 +4577,9 @@
4328
4577
  "description": "Update the state as if this node had just executed."
4329
4578
  }
4330
4579
  },
4331
- "required": ["as_node"],
4580
+ "required": [
4581
+ "as_node"
4582
+ ],
4332
4583
  "type": "object"
4333
4584
  },
4334
4585
  "ThreadStateUpdateResponse": {
@@ -4367,7 +4618,11 @@
4367
4618
  },
4368
4619
  "StorePutRequest": {
4369
4620
  "type": "object",
4370
- "required": ["namespace", "key", "value"],
4621
+ "required": [
4622
+ "namespace",
4623
+ "key",
4624
+ "value"
4625
+ ],
4371
4626
  "properties": {
4372
4627
  "namespace": {
4373
4628
  "type": "array",
@@ -4393,7 +4648,9 @@
4393
4648
  },
4394
4649
  "StoreDeleteRequest": {
4395
4650
  "type": "object",
4396
- "required": ["key"],
4651
+ "required": [
4652
+ "key"
4653
+ ],
4397
4654
  "properties": {
4398
4655
  "namespace": {
4399
4656
  "type": "array",
@@ -4416,7 +4673,10 @@
4416
4673
  "type": "object",
4417
4674
  "properties": {
4418
4675
  "namespace_prefix": {
4419
- "type": ["array", "null"],
4676
+ "type": [
4677
+ "array",
4678
+ "null"
4679
+ ],
4420
4680
  "items": {
4421
4681
  "type": "string"
4422
4682
  },
@@ -4424,7 +4684,10 @@
4424
4684
  "description": "List of strings representing the namespace prefix."
4425
4685
  },
4426
4686
  "filter": {
4427
- "type": ["object", "null"],
4687
+ "type": [
4688
+ "object",
4689
+ "null"
4690
+ ],
4428
4691
  "additionalProperties": true,
4429
4692
  "title": "Filter",
4430
4693
  "description": "Optional dictionary of key-value pairs to filter results."
@@ -4485,7 +4748,13 @@
4485
4748
  },
4486
4749
  "Item": {
4487
4750
  "type": "object",
4488
- "required": ["namespace", "key", "value", "created_at", "updated_at"],
4751
+ "required": [
4752
+ "namespace",
4753
+ "key",
4754
+ "value",
4755
+ "created_at",
4756
+ "updated_at"
4757
+ ],
4489
4758
  "properties": {
4490
4759
  "namespace": {
4491
4760
  "type": "array",
@@ -4522,7 +4791,11 @@
4522
4791
  "properties": {
4523
4792
  "status": {
4524
4793
  "type": "string",
4525
- "enum": ["pending", "running", "all"],
4794
+ "enum": [
4795
+ "pending",
4796
+ "running",
4797
+ "all"
4798
+ ],
4526
4799
  "title": "Status",
4527
4800
  "description": "Filter runs by status to cancel. Must be one of 'pending', 'running', or 'all'."
4528
4801
  },
@@ -4544,16 +4817,23 @@
4544
4817
  },
4545
4818
  "oneOf": [
4546
4819
  {
4547
- "required": ["status"]
4820
+ "required": [
4821
+ "status"
4822
+ ]
4548
4823
  },
4549
4824
  {
4550
- "required": ["thread_id", "run_ids"]
4825
+ "required": [
4826
+ "thread_id",
4827
+ "run_ids"
4828
+ ]
4551
4829
  }
4552
4830
  ]
4553
4831
  },
4554
4832
  "SearchItemsResponse": {
4555
4833
  "type": "object",
4556
- "required": ["items"],
4834
+ "required": [
4835
+ "items"
4836
+ ],
4557
4837
  "properties": {
4558
4838
  "items": {
4559
4839
  "type": "array",