letta-client 1.0.0a3__py3-none-any.whl → 1.0.0a4__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 letta-client might be problematic. Click here for more details.

Files changed (86) hide show
  1. letta_client/__init__.py +12 -0
  2. letta_client/agents/blocks/client.py +28 -14
  3. letta_client/agents/blocks/raw_client.py +14 -0
  4. letta_client/agents/client.py +36 -8
  5. letta_client/agents/context/client.py +4 -2
  6. letta_client/agents/context/raw_client.py +2 -0
  7. letta_client/agents/core_memory/client.py +4 -2
  8. letta_client/agents/core_memory/raw_client.py +2 -0
  9. letta_client/agents/files/client.py +24 -12
  10. letta_client/agents/files/raw_client.py +12 -0
  11. letta_client/agents/folders/client.py +20 -10
  12. letta_client/agents/folders/raw_client.py +10 -0
  13. letta_client/agents/groups/client.py +4 -2
  14. letta_client/agents/groups/raw_client.py +2 -0
  15. letta_client/agents/messages/client.py +40 -20
  16. letta_client/agents/messages/raw_client.py +20 -0
  17. letta_client/agents/passages/client.py +16 -8
  18. letta_client/agents/passages/raw_client.py +8 -0
  19. letta_client/agents/raw_client.py +28 -0
  20. letta_client/agents/sources/client.py +20 -10
  21. letta_client/agents/sources/raw_client.py +10 -0
  22. letta_client/agents/tools/client.py +24 -12
  23. letta_client/agents/tools/raw_client.py +12 -0
  24. letta_client/archives/client.py +4 -2
  25. letta_client/archives/raw_client.py +2 -0
  26. letta_client/blocks/agents/client.py +4 -2
  27. letta_client/blocks/agents/raw_client.py +2 -0
  28. letta_client/blocks/client.py +12 -6
  29. letta_client/blocks/raw_client.py +6 -0
  30. letta_client/core/client_wrapper.py +2 -2
  31. letta_client/groups/client.py +12 -6
  32. letta_client/groups/messages/client.py +24 -12
  33. letta_client/groups/messages/raw_client.py +12 -0
  34. letta_client/groups/raw_client.py +6 -0
  35. letta_client/identities/agents/client.py +4 -2
  36. letta_client/identities/agents/raw_client.py +2 -0
  37. letta_client/identities/blocks/client.py +4 -2
  38. letta_client/identities/blocks/raw_client.py +2 -0
  39. letta_client/identities/client.py +12 -6
  40. letta_client/identities/properties/client.py +4 -2
  41. letta_client/identities/properties/raw_client.py +2 -0
  42. letta_client/identities/raw_client.py +6 -0
  43. letta_client/jobs/client.py +12 -6
  44. letta_client/jobs/raw_client.py +6 -0
  45. letta_client/providers/client.py +16 -8
  46. letta_client/providers/raw_client.py +8 -0
  47. letta_client/sources/client.py +24 -12
  48. letta_client/sources/files/client.py +16 -8
  49. letta_client/sources/files/raw_client.py +8 -0
  50. letta_client/sources/passages/client.py +4 -2
  51. letta_client/sources/passages/raw_client.py +2 -0
  52. letta_client/sources/raw_client.py +12 -0
  53. letta_client/steps/client.py +4 -2
  54. letta_client/steps/feedback/client.py +4 -2
  55. letta_client/steps/feedback/raw_client.py +2 -0
  56. letta_client/steps/messages/client.py +4 -2
  57. letta_client/steps/messages/raw_client.py +2 -0
  58. letta_client/steps/metrics/client.py +4 -2
  59. letta_client/steps/metrics/raw_client.py +2 -0
  60. letta_client/steps/raw_client.py +2 -0
  61. letta_client/steps/trace/client.py +4 -2
  62. letta_client/steps/trace/raw_client.py +2 -0
  63. letta_client/templates/__init__.py +8 -0
  64. letta_client/templates/types/__init__.py +16 -0
  65. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config.py +6 -0
  66. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls.py +14 -0
  67. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_llm_config_parallel_tool_calls_item.py +7 -0
  68. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item.py +6 -0
  69. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution.py +15 -0
  70. letta_client/templates/types/templates_create_agents_from_template_response_agents_item_tools_item_enable_parallel_execution_item.py +7 -0
  71. letta_client/tools/client.py +42 -6
  72. letta_client/tools/raw_client.py +36 -0
  73. letta_client/types/__init__.py +4 -0
  74. letta_client/types/approval_request_message.py +12 -0
  75. letta_client/types/approval_request_message_allowed_tool_calls.py +8 -0
  76. letta_client/types/approval_request_message_requested_tool_calls.py +8 -0
  77. letta_client/types/internal_template_agent_create.py +5 -0
  78. letta_client/types/letta_schemas_agent_file_agent_schema.py +5 -0
  79. letta_client/types/letta_schemas_agent_file_tool_schema.py +5 -0
  80. letta_client/types/llm_config.py +5 -0
  81. letta_client/types/run_metrics.py +5 -0
  82. letta_client/types/tool.py +5 -0
  83. letta_client/types/tool_create.py +5 -0
  84. {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a4.dist-info}/METADATA +1 -1
  85. {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a4.dist-info}/RECORD +86 -80
  86. {letta_client-1.0.0a3.dist-info → letta_client-1.0.0a4.dist-info}/WHEEL +0 -0
@@ -295,6 +295,7 @@ class BlocksClient:
295
295
  Parameters
296
296
  ----------
297
297
  block_id : str
298
+ The ID of the block in the format 'block-<uuid4>'
298
299
 
299
300
  request_options : typing.Optional[RequestOptions]
300
301
  Request-specific configuration.
@@ -313,7 +314,7 @@ class BlocksClient:
313
314
  token="YOUR_TOKEN",
314
315
  )
315
316
  client.blocks.retrieve(
316
- block_id="block_id",
317
+ block_id="block-123e4567-e89b-42d3-8456-426614174000",
317
318
  )
318
319
  """
319
320
  _response = self._raw_client.retrieve(block_id, request_options=request_options)
@@ -326,6 +327,7 @@ class BlocksClient:
326
327
  Parameters
327
328
  ----------
328
329
  block_id : str
330
+ The ID of the block in the format 'block-<uuid4>'
329
331
 
330
332
  request_options : typing.Optional[RequestOptions]
331
333
  Request-specific configuration.
@@ -344,7 +346,7 @@ class BlocksClient:
344
346
  token="YOUR_TOKEN",
345
347
  )
346
348
  client.blocks.delete(
347
- block_id="block_id",
349
+ block_id="block-123e4567-e89b-42d3-8456-426614174000",
348
350
  )
349
351
  """
350
352
  _response = self._raw_client.delete(block_id, request_options=request_options)
@@ -374,6 +376,7 @@ class BlocksClient:
374
376
  Parameters
375
377
  ----------
376
378
  block_id : str
379
+ The ID of the block in the format 'block-<uuid4>'
377
380
 
378
381
  value : typing.Optional[str]
379
382
  Value of the block.
@@ -434,7 +437,7 @@ class BlocksClient:
434
437
  token="YOUR_TOKEN",
435
438
  )
436
439
  client.blocks.modify(
437
- block_id="block_id",
440
+ block_id="block-123e4567-e89b-42d3-8456-426614174000",
438
441
  )
439
442
  """
440
443
  _response = self._raw_client.modify(
@@ -764,6 +767,7 @@ class AsyncBlocksClient:
764
767
  Parameters
765
768
  ----------
766
769
  block_id : str
770
+ The ID of the block in the format 'block-<uuid4>'
767
771
 
768
772
  request_options : typing.Optional[RequestOptions]
769
773
  Request-specific configuration.
@@ -787,7 +791,7 @@ class AsyncBlocksClient:
787
791
 
788
792
  async def main() -> None:
789
793
  await client.blocks.retrieve(
790
- block_id="block_id",
794
+ block_id="block-123e4567-e89b-42d3-8456-426614174000",
791
795
  )
792
796
 
793
797
 
@@ -803,6 +807,7 @@ class AsyncBlocksClient:
803
807
  Parameters
804
808
  ----------
805
809
  block_id : str
810
+ The ID of the block in the format 'block-<uuid4>'
806
811
 
807
812
  request_options : typing.Optional[RequestOptions]
808
813
  Request-specific configuration.
@@ -826,7 +831,7 @@ class AsyncBlocksClient:
826
831
 
827
832
  async def main() -> None:
828
833
  await client.blocks.delete(
829
- block_id="block_id",
834
+ block_id="block-123e4567-e89b-42d3-8456-426614174000",
830
835
  )
831
836
 
832
837
 
@@ -859,6 +864,7 @@ class AsyncBlocksClient:
859
864
  Parameters
860
865
  ----------
861
866
  block_id : str
867
+ The ID of the block in the format 'block-<uuid4>'
862
868
 
863
869
  value : typing.Optional[str]
864
870
  Value of the block.
@@ -924,7 +930,7 @@ class AsyncBlocksClient:
924
930
 
925
931
  async def main() -> None:
926
932
  await client.blocks.modify(
927
- block_id="block_id",
933
+ block_id="block-123e4567-e89b-42d3-8456-426614174000",
928
934
  )
929
935
 
930
936
 
@@ -330,6 +330,7 @@ class RawBlocksClient:
330
330
  Parameters
331
331
  ----------
332
332
  block_id : str
333
+ The ID of the block in the format 'block-<uuid4>'
333
334
 
334
335
  request_options : typing.Optional[RequestOptions]
335
336
  Request-specific configuration.
@@ -377,6 +378,7 @@ class RawBlocksClient:
377
378
  Parameters
378
379
  ----------
379
380
  block_id : str
381
+ The ID of the block in the format 'block-<uuid4>'
380
382
 
381
383
  request_options : typing.Optional[RequestOptions]
382
384
  Request-specific configuration.
@@ -443,6 +445,7 @@ class RawBlocksClient:
443
445
  Parameters
444
446
  ----------
445
447
  block_id : str
448
+ The ID of the block in the format 'block-<uuid4>'
446
449
 
447
450
  value : typing.Optional[str]
448
451
  Value of the block.
@@ -858,6 +861,7 @@ class AsyncRawBlocksClient:
858
861
  Parameters
859
862
  ----------
860
863
  block_id : str
864
+ The ID of the block in the format 'block-<uuid4>'
861
865
 
862
866
  request_options : typing.Optional[RequestOptions]
863
867
  Request-specific configuration.
@@ -905,6 +909,7 @@ class AsyncRawBlocksClient:
905
909
  Parameters
906
910
  ----------
907
911
  block_id : str
912
+ The ID of the block in the format 'block-<uuid4>'
908
913
 
909
914
  request_options : typing.Optional[RequestOptions]
910
915
  Request-specific configuration.
@@ -971,6 +976,7 @@ class AsyncRawBlocksClient:
971
976
  Parameters
972
977
  ----------
973
978
  block_id : str
979
+ The ID of the block in the format 'block-<uuid4>'
974
980
 
975
981
  value : typing.Optional[str]
976
982
  Value of the block.
@@ -24,10 +24,10 @@ class BaseClientWrapper:
24
24
 
25
25
  def get_headers(self) -> typing.Dict[str, str]:
26
26
  headers: typing.Dict[str, str] = {
27
- "User-Agent": "letta-client/1.0.0a3",
27
+ "User-Agent": "letta-client/1.0.0a4",
28
28
  "X-Fern-Language": "Python",
29
29
  "X-Fern-SDK-Name": "letta-client",
30
- "X-Fern-SDK-Version": "1.0.0a3",
30
+ "X-Fern-SDK-Version": "1.0.0a4",
31
31
  **(self.get_custom_headers() or {}),
32
32
  }
33
33
  if self._project is not None:
@@ -207,6 +207,7 @@ class GroupsClient:
207
207
  Parameters
208
208
  ----------
209
209
  group_id : str
210
+ The ID of the group in the format 'group-<uuid4>'
210
211
 
211
212
  request_options : typing.Optional[RequestOptions]
212
213
  Request-specific configuration.
@@ -225,7 +226,7 @@ class GroupsClient:
225
226
  token="YOUR_TOKEN",
226
227
  )
227
228
  client.groups.retrieve(
228
- group_id="group_id",
229
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
229
230
  )
230
231
  """
231
232
  _response = self._raw_client.retrieve(group_id, request_options=request_options)
@@ -240,6 +241,7 @@ class GroupsClient:
240
241
  Parameters
241
242
  ----------
242
243
  group_id : str
244
+ The ID of the group in the format 'group-<uuid4>'
243
245
 
244
246
  request_options : typing.Optional[RequestOptions]
245
247
  Request-specific configuration.
@@ -258,7 +260,7 @@ class GroupsClient:
258
260
  token="YOUR_TOKEN",
259
261
  )
260
262
  client.groups.delete(
261
- group_id="group_id",
263
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
262
264
  )
263
265
  """
264
266
  _response = self._raw_client.delete(group_id, request_options=request_options)
@@ -281,6 +283,7 @@ class GroupsClient:
281
283
  Parameters
282
284
  ----------
283
285
  group_id : str
286
+ The ID of the group in the format 'group-<uuid4>'
284
287
 
285
288
  agent_ids : typing.Optional[typing.Sequence[str]]
286
289
 
@@ -314,7 +317,7 @@ class GroupsClient:
314
317
  token="YOUR_TOKEN",
315
318
  )
316
319
  client.groups.modify(
317
- group_id="group_id",
320
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
318
321
  )
319
322
  """
320
323
  _response = self._raw_client.modify(
@@ -544,6 +547,7 @@ class AsyncGroupsClient:
544
547
  Parameters
545
548
  ----------
546
549
  group_id : str
550
+ The ID of the group in the format 'group-<uuid4>'
547
551
 
548
552
  request_options : typing.Optional[RequestOptions]
549
553
  Request-specific configuration.
@@ -567,7 +571,7 @@ class AsyncGroupsClient:
567
571
 
568
572
  async def main() -> None:
569
573
  await client.groups.retrieve(
570
- group_id="group_id",
574
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
571
575
  )
572
576
 
573
577
 
@@ -585,6 +589,7 @@ class AsyncGroupsClient:
585
589
  Parameters
586
590
  ----------
587
591
  group_id : str
592
+ The ID of the group in the format 'group-<uuid4>'
588
593
 
589
594
  request_options : typing.Optional[RequestOptions]
590
595
  Request-specific configuration.
@@ -608,7 +613,7 @@ class AsyncGroupsClient:
608
613
 
609
614
  async def main() -> None:
610
615
  await client.groups.delete(
611
- group_id="group_id",
616
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
612
617
  )
613
618
 
614
619
 
@@ -634,6 +639,7 @@ class AsyncGroupsClient:
634
639
  Parameters
635
640
  ----------
636
641
  group_id : str
642
+ The ID of the group in the format 'group-<uuid4>'
637
643
 
638
644
  agent_ids : typing.Optional[typing.Sequence[str]]
639
645
 
@@ -672,7 +678,7 @@ class AsyncGroupsClient:
672
678
 
673
679
  async def main() -> None:
674
680
  await client.groups.modify(
675
- group_id="group_id",
681
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
676
682
  )
677
683
 
678
684
 
@@ -54,6 +54,7 @@ class MessagesClient:
54
54
  Parameters
55
55
  ----------
56
56
  group_id : str
57
+ The ID of the group in the format 'group-<uuid4>'
57
58
 
58
59
  before : typing.Optional[str]
59
60
  Message ID cursor for pagination. Returns messages that come before this message ID in the specified sort order
@@ -96,7 +97,7 @@ class MessagesClient:
96
97
  token="YOUR_TOKEN",
97
98
  )
98
99
  client.groups.messages.list(
99
- group_id="group_id",
100
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
100
101
  before="before",
101
102
  after="after",
102
103
  limit=1,
@@ -140,6 +141,7 @@ class MessagesClient:
140
141
  Parameters
141
142
  ----------
142
143
  group_id : str
144
+ The ID of the group in the format 'group-<uuid4>'
143
145
 
144
146
  messages : typing.Sequence[LettaRequestMessagesItem]
145
147
  The messages to be sent to the agent.
@@ -179,7 +181,7 @@ class MessagesClient:
179
181
  token="YOUR_TOKEN",
180
182
  )
181
183
  client.groups.messages.create(
182
- group_id="group_id",
184
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
183
185
  messages=[
184
186
  MessageCreate(
185
187
  role="user",
@@ -229,6 +231,7 @@ class MessagesClient:
229
231
  Parameters
230
232
  ----------
231
233
  group_id : str
234
+ The ID of the group in the format 'group-<uuid4>'
232
235
 
233
236
  messages : typing.Sequence[LettaStreamingRequestMessagesItem]
234
237
  The messages to be sent to the agent.
@@ -277,7 +280,7 @@ class MessagesClient:
277
280
  token="YOUR_TOKEN",
278
281
  )
279
282
  response = client.groups.messages.create_stream(
280
- group_id="group_id",
283
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
281
284
  messages=[
282
285
  MessageCreate(
283
286
  role="user",
@@ -322,8 +325,10 @@ class MessagesClient:
322
325
  Parameters
323
326
  ----------
324
327
  group_id : str
328
+ The ID of the group in the format 'group-<uuid4>'
325
329
 
326
330
  message_id : str
331
+ The ID of the message in the format 'message-<uuid4>'
327
332
 
328
333
  request : MessagesModifyRequest
329
334
 
@@ -344,8 +349,8 @@ class MessagesClient:
344
349
  token="YOUR_TOKEN",
345
350
  )
346
351
  client.groups.messages.modify(
347
- group_id="group_id",
348
- message_id="message_id",
352
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
353
+ message_id="message-123e4567-e89b-42d3-8456-426614174000",
349
354
  request=UpdateSystemMessage(
350
355
  content="content",
351
356
  ),
@@ -363,6 +368,7 @@ class MessagesClient:
363
368
  Parameters
364
369
  ----------
365
370
  group_id : str
371
+ The ID of the group in the format 'group-<uuid4>'
366
372
 
367
373
  request_options : typing.Optional[RequestOptions]
368
374
  Request-specific configuration.
@@ -381,7 +387,7 @@ class MessagesClient:
381
387
  token="YOUR_TOKEN",
382
388
  )
383
389
  client.groups.messages.reset(
384
- group_id="group_id",
390
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
385
391
  )
386
392
  """
387
393
  _response = self._raw_client.reset(group_id, request_options=request_options)
@@ -423,6 +429,7 @@ class AsyncMessagesClient:
423
429
  Parameters
424
430
  ----------
425
431
  group_id : str
432
+ The ID of the group in the format 'group-<uuid4>'
426
433
 
427
434
  before : typing.Optional[str]
428
435
  Message ID cursor for pagination. Returns messages that come before this message ID in the specified sort order
@@ -470,7 +477,7 @@ class AsyncMessagesClient:
470
477
 
471
478
  async def main() -> None:
472
479
  await client.groups.messages.list(
473
- group_id="group_id",
480
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
474
481
  before="before",
475
482
  after="after",
476
483
  limit=1,
@@ -517,6 +524,7 @@ class AsyncMessagesClient:
517
524
  Parameters
518
525
  ----------
519
526
  group_id : str
527
+ The ID of the group in the format 'group-<uuid4>'
520
528
 
521
529
  messages : typing.Sequence[LettaRequestMessagesItem]
522
530
  The messages to be sent to the agent.
@@ -561,7 +569,7 @@ class AsyncMessagesClient:
561
569
 
562
570
  async def main() -> None:
563
571
  await client.groups.messages.create(
564
- group_id="group_id",
572
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
565
573
  messages=[
566
574
  MessageCreate(
567
575
  role="user",
@@ -614,6 +622,7 @@ class AsyncMessagesClient:
614
622
  Parameters
615
623
  ----------
616
624
  group_id : str
625
+ The ID of the group in the format 'group-<uuid4>'
617
626
 
618
627
  messages : typing.Sequence[LettaStreamingRequestMessagesItem]
619
628
  The messages to be sent to the agent.
@@ -667,7 +676,7 @@ class AsyncMessagesClient:
667
676
 
668
677
  async def main() -> None:
669
678
  response = await client.groups.messages.create_stream(
670
- group_id="group_id",
679
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
671
680
  messages=[
672
681
  MessageCreate(
673
682
  role="user",
@@ -716,8 +725,10 @@ class AsyncMessagesClient:
716
725
  Parameters
717
726
  ----------
718
727
  group_id : str
728
+ The ID of the group in the format 'group-<uuid4>'
719
729
 
720
730
  message_id : str
731
+ The ID of the message in the format 'message-<uuid4>'
721
732
 
722
733
  request : MessagesModifyRequest
723
734
 
@@ -743,8 +754,8 @@ class AsyncMessagesClient:
743
754
 
744
755
  async def main() -> None:
745
756
  await client.groups.messages.modify(
746
- group_id="group_id",
747
- message_id="message_id",
757
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
758
+ message_id="message-123e4567-e89b-42d3-8456-426614174000",
748
759
  request=UpdateSystemMessage(
749
760
  content="content",
750
761
  ),
@@ -767,6 +778,7 @@ class AsyncMessagesClient:
767
778
  Parameters
768
779
  ----------
769
780
  group_id : str
781
+ The ID of the group in the format 'group-<uuid4>'
770
782
 
771
783
  request_options : typing.Optional[RequestOptions]
772
784
  Request-specific configuration.
@@ -790,7 +802,7 @@ class AsyncMessagesClient:
790
802
 
791
803
  async def main() -> None:
792
804
  await client.groups.messages.reset(
793
- group_id="group_id",
805
+ group_id="group-123e4567-e89b-42d3-8456-426614174000",
794
806
  )
795
807
 
796
808
 
@@ -53,6 +53,7 @@ class RawMessagesClient:
53
53
  Parameters
54
54
  ----------
55
55
  group_id : str
56
+ The ID of the group in the format 'group-<uuid4>'
56
57
 
57
58
  before : typing.Optional[str]
58
59
  Message ID cursor for pagination. Returns messages that come before this message ID in the specified sort order
@@ -147,6 +148,7 @@ class RawMessagesClient:
147
148
  Parameters
148
149
  ----------
149
150
  group_id : str
151
+ The ID of the group in the format 'group-<uuid4>'
150
152
 
151
153
  messages : typing.Sequence[LettaRequestMessagesItem]
152
154
  The messages to be sent to the agent.
@@ -248,6 +250,7 @@ class RawMessagesClient:
248
250
  Parameters
249
251
  ----------
250
252
  group_id : str
253
+ The ID of the group in the format 'group-<uuid4>'
251
254
 
252
255
  messages : typing.Sequence[LettaStreamingRequestMessagesItem]
253
256
  The messages to be sent to the agent.
@@ -368,8 +371,10 @@ class RawMessagesClient:
368
371
  Parameters
369
372
  ----------
370
373
  group_id : str
374
+ The ID of the group in the format 'group-<uuid4>'
371
375
 
372
376
  message_id : str
377
+ The ID of the message in the format 'message-<uuid4>'
373
378
 
374
379
  request : MessagesModifyRequest
375
380
 
@@ -428,6 +433,7 @@ class RawMessagesClient:
428
433
  Parameters
429
434
  ----------
430
435
  group_id : str
436
+ The ID of the group in the format 'group-<uuid4>'
431
437
 
432
438
  request_options : typing.Optional[RequestOptions]
433
439
  Request-specific configuration.
@@ -495,6 +501,7 @@ class AsyncRawMessagesClient:
495
501
  Parameters
496
502
  ----------
497
503
  group_id : str
504
+ The ID of the group in the format 'group-<uuid4>'
498
505
 
499
506
  before : typing.Optional[str]
500
507
  Message ID cursor for pagination. Returns messages that come before this message ID in the specified sort order
@@ -589,6 +596,7 @@ class AsyncRawMessagesClient:
589
596
  Parameters
590
597
  ----------
591
598
  group_id : str
599
+ The ID of the group in the format 'group-<uuid4>'
592
600
 
593
601
  messages : typing.Sequence[LettaRequestMessagesItem]
594
602
  The messages to be sent to the agent.
@@ -690,6 +698,7 @@ class AsyncRawMessagesClient:
690
698
  Parameters
691
699
  ----------
692
700
  group_id : str
701
+ The ID of the group in the format 'group-<uuid4>'
693
702
 
694
703
  messages : typing.Sequence[LettaStreamingRequestMessagesItem]
695
704
  The messages to be sent to the agent.
@@ -810,8 +819,10 @@ class AsyncRawMessagesClient:
810
819
  Parameters
811
820
  ----------
812
821
  group_id : str
822
+ The ID of the group in the format 'group-<uuid4>'
813
823
 
814
824
  message_id : str
825
+ The ID of the message in the format 'message-<uuid4>'
815
826
 
816
827
  request : MessagesModifyRequest
817
828
 
@@ -870,6 +881,7 @@ class AsyncRawMessagesClient:
870
881
  Parameters
871
882
  ----------
872
883
  group_id : str
884
+ The ID of the group in the format 'group-<uuid4>'
873
885
 
874
886
  request_options : typing.Optional[RequestOptions]
875
887
  Request-specific configuration.
@@ -253,6 +253,7 @@ class RawGroupsClient:
253
253
  Parameters
254
254
  ----------
255
255
  group_id : str
256
+ The ID of the group in the format 'group-<uuid4>'
256
257
 
257
258
  request_options : typing.Optional[RequestOptions]
258
259
  Request-specific configuration.
@@ -302,6 +303,7 @@ class RawGroupsClient:
302
303
  Parameters
303
304
  ----------
304
305
  group_id : str
306
+ The ID of the group in the format 'group-<uuid4>'
305
307
 
306
308
  request_options : typing.Optional[RequestOptions]
307
309
  Request-specific configuration.
@@ -361,6 +363,7 @@ class RawGroupsClient:
361
363
  Parameters
362
364
  ----------
363
365
  group_id : str
366
+ The ID of the group in the format 'group-<uuid4>'
364
367
 
365
368
  agent_ids : typing.Optional[typing.Sequence[str]]
366
369
 
@@ -661,6 +664,7 @@ class AsyncRawGroupsClient:
661
664
  Parameters
662
665
  ----------
663
666
  group_id : str
667
+ The ID of the group in the format 'group-<uuid4>'
664
668
 
665
669
  request_options : typing.Optional[RequestOptions]
666
670
  Request-specific configuration.
@@ -710,6 +714,7 @@ class AsyncRawGroupsClient:
710
714
  Parameters
711
715
  ----------
712
716
  group_id : str
717
+ The ID of the group in the format 'group-<uuid4>'
713
718
 
714
719
  request_options : typing.Optional[RequestOptions]
715
720
  Request-specific configuration.
@@ -769,6 +774,7 @@ class AsyncRawGroupsClient:
769
774
  Parameters
770
775
  ----------
771
776
  group_id : str
777
+ The ID of the group in the format 'group-<uuid4>'
772
778
 
773
779
  agent_ids : typing.Optional[typing.Sequence[str]]
774
780
 
@@ -41,6 +41,7 @@ class AgentsClient:
41
41
  Parameters
42
42
  ----------
43
43
  identity_id : str
44
+ The ID of the identity in the format 'identity-<uuid4>'
44
45
 
45
46
  before : typing.Optional[str]
46
47
  Agent ID cursor for pagination. Returns agents that come before this agent ID in the specified sort order
@@ -74,7 +75,7 @@ class AgentsClient:
74
75
  token="YOUR_TOKEN",
75
76
  )
76
77
  client.identities.agents.list(
77
- identity_id="identity_id",
78
+ identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
78
79
  before="before",
79
80
  after="after",
80
81
  limit=1,
@@ -125,6 +126,7 @@ class AsyncAgentsClient:
125
126
  Parameters
126
127
  ----------
127
128
  identity_id : str
129
+ The ID of the identity in the format 'identity-<uuid4>'
128
130
 
129
131
  before : typing.Optional[str]
130
132
  Agent ID cursor for pagination. Returns agents that come before this agent ID in the specified sort order
@@ -163,7 +165,7 @@ class AsyncAgentsClient:
163
165
 
164
166
  async def main() -> None:
165
167
  await client.identities.agents.list(
166
- identity_id="identity_id",
168
+ identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
167
169
  before="before",
168
170
  after="after",
169
171
  limit=1,
@@ -36,6 +36,7 @@ class RawAgentsClient:
36
36
  Parameters
37
37
  ----------
38
38
  identity_id : str
39
+ The ID of the identity in the format 'identity-<uuid4>'
39
40
 
40
41
  before : typing.Optional[str]
41
42
  Agent ID cursor for pagination. Returns agents that come before this agent ID in the specified sort order
@@ -120,6 +121,7 @@ class AsyncRawAgentsClient:
120
121
  Parameters
121
122
  ----------
122
123
  identity_id : str
124
+ The ID of the identity in the format 'identity-<uuid4>'
123
125
 
124
126
  before : typing.Optional[str]
125
127
  Agent ID cursor for pagination. Returns agents that come before this agent ID in the specified sort order
@@ -41,6 +41,7 @@ class BlocksClient:
41
41
  Parameters
42
42
  ----------
43
43
  identity_id : str
44
+ The ID of the identity in the format 'identity-<uuid4>'
44
45
 
45
46
  before : typing.Optional[str]
46
47
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -74,7 +75,7 @@ class BlocksClient:
74
75
  token="YOUR_TOKEN",
75
76
  )
76
77
  client.identities.blocks.list(
77
- identity_id="identity_id",
78
+ identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
78
79
  before="before",
79
80
  after="after",
80
81
  limit=1,
@@ -125,6 +126,7 @@ class AsyncBlocksClient:
125
126
  Parameters
126
127
  ----------
127
128
  identity_id : str
129
+ The ID of the identity in the format 'identity-<uuid4>'
128
130
 
129
131
  before : typing.Optional[str]
130
132
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -163,7 +165,7 @@ class AsyncBlocksClient:
163
165
 
164
166
  async def main() -> None:
165
167
  await client.identities.blocks.list(
166
- identity_id="identity_id",
168
+ identity_id="identity-123e4567-e89b-42d3-8456-426614174000",
167
169
  before="before",
168
170
  after="after",
169
171
  limit=1,
@@ -36,6 +36,7 @@ class RawBlocksClient:
36
36
  Parameters
37
37
  ----------
38
38
  identity_id : str
39
+ The ID of the identity in the format 'identity-<uuid4>'
39
40
 
40
41
  before : typing.Optional[str]
41
42
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order
@@ -120,6 +121,7 @@ class AsyncRawBlocksClient:
120
121
  Parameters
121
122
  ----------
122
123
  identity_id : str
124
+ The ID of the identity in the format 'identity-<uuid4>'
123
125
 
124
126
  before : typing.Optional[str]
125
127
  Block ID cursor for pagination. Returns blocks that come before this block ID in the specified sort order