Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
c8fb37f
codegen metadata
stainless-app[bot] Oct 23, 2025
d5f9484
codegen metadata
stainless-app[bot] Oct 24, 2025
215c064
codegen metadata
stainless-app[bot] Oct 24, 2025
a98d3ab
codegen metadata
stainless-app[bot] Oct 24, 2025
d18cce7
codegen metadata
stainless-app[bot] Oct 24, 2025
289c554
codegen metadata
stainless-app[bot] Oct 24, 2025
061412d
codegen metadata
stainless-app[bot] Oct 24, 2025
9506597
codegen metadata
stainless-app[bot] Oct 24, 2025
b354a33
codegen metadata
stainless-app[bot] Oct 24, 2025
d0197ce
codegen metadata
stainless-app[bot] Oct 24, 2025
e185c33
codegen metadata
stainless-app[bot] Oct 24, 2025
2d8c786
codegen metadata
stainless-app[bot] Oct 26, 2025
94eeabf
codegen metadata
stainless-app[bot] Oct 26, 2025
b0856bb
codegen metadata
stainless-app[bot] Oct 26, 2025
7f087c8
codegen metadata
stainless-app[bot] Oct 26, 2025
0d8601f
codegen metadata
stainless-app[bot] Oct 26, 2025
7a9864a
codegen metadata
stainless-app[bot] Oct 26, 2025
c2816fa
codegen metadata
stainless-app[bot] Oct 26, 2025
1e3b818
codegen metadata
stainless-app[bot] Oct 26, 2025
a410a73
codegen metadata
stainless-app[bot] Oct 26, 2025
14a5838
codegen metadata
stainless-app[bot] Oct 26, 2025
c159542
codegen metadata
stainless-app[bot] Oct 26, 2025
41fad40
codegen metadata
stainless-app[bot] Oct 26, 2025
bdb6d44
codegen metadata
stainless-app[bot] Oct 26, 2025
532419e
codegen metadata
stainless-app[bot] Oct 27, 2025
6e1f2f7
codegen metadata
stainless-app[bot] Oct 27, 2025
b49cebc
codegen metadata
stainless-app[bot] Oct 27, 2025
3cffd37
codegen metadata
stainless-app[bot] Oct 27, 2025
2193596
codegen metadata
stainless-app[bot] Oct 27, 2025
f9b785b
codegen metadata
stainless-app[bot] Oct 27, 2025
aa79924
codegen metadata
stainless-app[bot] Oct 27, 2025
02ca8a0
codegen metadata
stainless-app[bot] Oct 27, 2025
2e6f4b2
codegen metadata
stainless-app[bot] Oct 27, 2025
f5e4fd2
feat(api): api update
stainless-app[bot] Oct 27, 2025
f8d0e5b
release: 0.4.27
stainless-app[bot] Oct 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.26"
".": "0.4.27"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 34
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-c34c0577d9716c22554633ecb41d091675248d1385e9d1cc7c19479d55b56cb1.yml
openapi_spec_hash: 3daaeab87b12b271ba2ee39e7dc166f2
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-6803f43832a4ba37348dfc1daefe5f60f2472b76c73c286257ca370248d64e75.yml
openapi_spec_hash: 44d9bed4803ac9f98419df9e0ad1c485
config_hash: 6481ea6b42040f435dedcb00a98f35f8
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.4.27 (2025-10-27)

Full Changelog: [v0.4.26...v0.4.27](https://github.com/scaleapi/agentex-python/compare/v0.4.26...v0.4.27)

### Features

* **api:** api update ([f5e4fd2](https://github.com/scaleapi/agentex-python/commit/f5e4fd2f2fbb2c7e67e51795fba1f0b2e13048de))

## 0.4.26 (2025-10-21)

Full Changelog: [v0.4.25...v0.4.26](https://github.com/scaleapi/agentex-python/compare/v0.4.25...v0.4.26)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentex-sdk"
version = "0.4.26"
version = "0.4.27"
description = "The official Python library for the agentex API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/agentex/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "agentex"
__version__ = "0.4.26" # x-release-please-version
__version__ = "0.4.27" # x-release-please-version
30 changes: 28 additions & 2 deletions src/agentex/resources/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ def retrieve(
def list(
self,
*,
limit: int | Omit = omit,
page_number: int | Omit = omit,
task_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -104,6 +106,10 @@ def list(
List all registered agents, optionally filtered by query parameters.

Args:
limit: Limit

page_number: Page number

task_id: Task ID

extra_headers: Send extra headers
Expand All @@ -121,7 +127,14 @@ def list(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
query=maybe_transform({"task_id": task_id}, agent_list_params.AgentListParams),
query=maybe_transform(
{
"limit": limit,
"page_number": page_number,
"task_id": task_id,
},
agent_list_params.AgentListParams,
),
),
cast_to=AgentListResponse,
)
Expand Down Expand Up @@ -639,6 +652,8 @@ async def retrieve(
async def list(
self,
*,
limit: int | Omit = omit,
page_number: int | Omit = omit,
task_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -651,6 +666,10 @@ async def list(
List all registered agents, optionally filtered by query parameters.

Args:
limit: Limit

page_number: Page number

task_id: Task ID

extra_headers: Send extra headers
Expand All @@ -668,7 +687,14 @@ async def list(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
query=await async_maybe_transform({"task_id": task_id}, agent_list_params.AgentListParams),
query=await async_maybe_transform(
{
"limit": limit,
"page_number": page_number,
"task_id": task_id,
},
agent_list_params.AgentListParams,
),
),
cast_to=AgentListResponse,
)
Expand Down
8 changes: 6 additions & 2 deletions src/agentex/resources/messages/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ def list(
self,
*,
task_id: str,
limit: Optional[int] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -213,6 +214,7 @@ def list(
{
"task_id": task_id,
"limit": limit,
"page_number": page_number,
},
message_list_params.MessageListParams,
),
Expand Down Expand Up @@ -367,7 +369,8 @@ async def list(
self,
*,
task_id: str,
limit: Optional[int] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -400,6 +403,7 @@ async def list(
{
"task_id": task_id,
"limit": limit,
"page_number": page_number,
},
message_list_params.MessageListParams,
),
Expand Down
22 changes: 20 additions & 2 deletions src/agentex/resources/spans.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def update(
def list(
self,
*,
limit: int | Omit = omit,
page_number: int | Omit = omit,
trace_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -249,7 +251,14 @@ def list(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
query=maybe_transform({"trace_id": trace_id}, span_list_params.SpanListParams),
query=maybe_transform(
{
"limit": limit,
"page_number": page_number,
"trace_id": trace_id,
},
span_list_params.SpanListParams,
),
),
cast_to=SpanListResponse,
)
Expand Down Expand Up @@ -452,6 +461,8 @@ async def update(
async def list(
self,
*,
limit: int | Omit = omit,
page_number: int | Omit = omit,
trace_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -479,7 +490,14 @@ async def list(
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
query=await async_maybe_transform({"trace_id": trace_id}, span_list_params.SpanListParams),
query=await async_maybe_transform(
{
"limit": limit,
"page_number": page_number,
"trace_id": trace_id,
},
span_list_params.SpanListParams,
),
),
cast_to=SpanListResponse,
)
Expand Down
16 changes: 16 additions & 0 deletions src/agentex/resources/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def list(
self,
*,
agent_id: Optional[str] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
task_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -180,6 +182,10 @@ def list(
Args:
agent_id: Agent ID

limit: Limit

page_number: Page number

task_id: Task ID

extra_headers: Send extra headers
Expand All @@ -200,6 +206,8 @@ def list(
query=maybe_transform(
{
"agent_id": agent_id,
"limit": limit,
"page_number": page_number,
"task_id": task_id,
},
state_list_params.StateListParams,
Expand Down Expand Up @@ -384,6 +392,8 @@ async def list(
self,
*,
agent_id: Optional[str] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
task_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -398,6 +408,10 @@ async def list(
Args:
agent_id: Agent ID

limit: Limit

page_number: Page number

task_id: Task ID

extra_headers: Send extra headers
Expand All @@ -418,6 +432,8 @@ async def list(
query=await async_maybe_transform(
{
"agent_id": agent_id,
"limit": limit,
"page_number": page_number,
"task_id": task_id,
},
state_list_params.StateListParams,
Expand Down
8 changes: 8 additions & 0 deletions src/agentex/resources/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def list(
*,
agent_id: Optional[str] | Omit = omit,
agent_name: Optional[str] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -114,6 +116,8 @@ def list(
{
"agent_id": agent_id,
"agent_name": agent_name,
"limit": limit,
"page_number": page_number,
},
task_list_params.TaskListParams,
),
Expand Down Expand Up @@ -349,6 +353,8 @@ async def list(
*,
agent_id: Optional[str] | Omit = omit,
agent_name: Optional[str] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -379,6 +385,8 @@ async def list(
{
"agent_id": agent_id,
"agent_name": agent_name,
"limit": limit,
"page_number": page_number,
},
task_list_params.TaskListParams,
),
Expand Down
16 changes: 16 additions & 0 deletions src/agentex/resources/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ def list(
self,
*,
agent_id: Optional[str] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
task_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -145,6 +147,10 @@ def list(
Args:
agent_id: Agent ID

limit: Limit

page_number: Page number

task_id: Task ID

extra_headers: Send extra headers
Expand All @@ -165,6 +171,8 @@ def list(
query=maybe_transform(
{
"agent_id": agent_id,
"limit": limit,
"page_number": page_number,
"task_id": task_id,
},
tracker_list_params.TrackerListParams,
Expand Down Expand Up @@ -281,6 +289,8 @@ async def list(
self,
*,
agent_id: Optional[str] | Omit = omit,
limit: int | Omit = omit,
page_number: int | Omit = omit,
task_id: Optional[str] | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand All @@ -295,6 +305,10 @@ async def list(
Args:
agent_id: Agent ID

limit: Limit

page_number: Page number

task_id: Task ID

extra_headers: Send extra headers
Expand All @@ -315,6 +329,8 @@ async def list(
query=await async_maybe_transform(
{
"agent_id": agent_id,
"limit": limit,
"page_number": page_number,
"task_id": task_id,
},
tracker_list_params.TrackerListParams,
Expand Down
6 changes: 6 additions & 0 deletions src/agentex/types/agent_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@


class AgentListParams(TypedDict, total=False):
limit: int
"""Limit"""

page_number: int
"""Page number"""

task_id: Optional[str]
"""Task ID"""
5 changes: 3 additions & 2 deletions src/agentex/types/message_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from __future__ import annotations

from typing import Optional
from typing_extensions import Required, TypedDict

__all__ = ["MessageListParams"]
Expand All @@ -12,4 +11,6 @@ class MessageListParams(TypedDict, total=False):
task_id: Required[str]
"""The task ID"""

limit: Optional[int]
limit: int

page_number: int
4 changes: 4 additions & 0 deletions src/agentex/types/span_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@


class SpanListParams(TypedDict, total=False):
limit: int

page_number: int

trace_id: Optional[str]
6 changes: 6 additions & 0 deletions src/agentex/types/state_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@ class StateListParams(TypedDict, total=False):
agent_id: Optional[str]
"""Agent ID"""

limit: int
"""Limit"""

page_number: int
"""Page number"""

task_id: Optional[str]
"""Task ID"""
Loading