Skip to content

Commit 3e03aff

Browse files
feat(api): add messages/paginated endpoint
1 parent 81f1fa9 commit 3e03aff

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 34
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-33aeed53e882a3bea6a93f73f1ff365860e3363f5994f8d6923e3a955d51110f.yml
3-
openapi_spec_hash: 20f924c68bf7ef0b532930d9de79c9e0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-8f9296ac9fa68bb264c4739463e55ce27cdafb31b705b27600d6656db7b0dac5.yml
3+
openapi_spec_hash: 8df92140f49cace852d7b71b0964da5b
44
config_hash: 0197f86ba1a4b1b5ce813d0e62138588

src/agentex/resources/messages/messages.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,10 @@ def list(
192192
timeout: float | httpx.Timeout | None | NotGiven = not_given,
193193
) -> MessageListResponse:
194194
"""
195-
List Messages
195+
List messages for a task with offset-based pagination.
196+
197+
For cursor-based pagination with infinite scroll support, use
198+
/messages/paginated.
196199
197200
Args:
198201
task_id: The task ID
@@ -385,7 +388,10 @@ async def list(
385388
timeout: float | httpx.Timeout | None | NotGiven = not_given,
386389
) -> MessageListResponse:
387390
"""
388-
List Messages
391+
List messages for a task with offset-based pagination.
392+
393+
For cursor-based pagination with infinite scroll support, use
394+
/messages/paginated.
389395
390396
Args:
391397
task_id: The task ID

0 commit comments

Comments
 (0)