Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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.6.1"
".": "0.6.2"
}
8 changes: 4 additions & 4 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-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml
openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0
config_hash: 0197f86ba1a4b1b5ce813d0e62138588
configured_endpoints: 36
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml
openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701
config_hash: 758ca2ffe20517da913adf250c924c8a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.6.2 (2025-11-05)

Full Changelog: [v0.6.1...v0.6.2](https://github.com/scaleapi/scale-agentex-python/compare/v0.6.1...v0.6.2)

### Features

* **api:** update via SDK Studio ([b732dfa](https://github.com/scaleapi/scale-agentex-python/commit/b732dfac50cacc90c84a751fd6c75d18fa5b43ed))

## 0.6.1 (2025-11-05)

Full Changelog: [v0.6.0...v0.6.1](https://github.com/scaleapi/scale-agentex-python/compare/v0.6.0...v0.6.1)
Expand Down
13 changes: 13 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,16 @@ Methods:
- <code title="get /tracker/{tracker_id}">client.tracker.<a href="./src/agentex/resources/tracker.py">retrieve</a>(tracker_id) -> <a href="./src/agentex/types/agent_task_tracker.py">AgentTaskTracker</a></code>
- <code title="put /tracker/{tracker_id}">client.tracker.<a href="./src/agentex/resources/tracker.py">update</a>(tracker_id, \*\*<a href="src/agentex/types/tracker_update_params.py">params</a>) -> <a href="./src/agentex/types/agent_task_tracker.py">AgentTaskTracker</a></code>
- <code title="get /tracker">client.tracker.<a href="./src/agentex/resources/tracker.py">list</a>(\*\*<a href="src/agentex/types/tracker_list_params.py">params</a>) -> <a href="./src/agentex/types/tracker_list_response.py">TrackerListResponse</a></code>

# DeploymentHistory

Types:

```python
from agentex.types import DeploymentHistory, DeploymentHistoryListResponse
```

Methods:

- <code title="get /deployment-history/{deployment_id}">client.deployment_history.<a href="./src/agentex/resources/deployment_history.py">retrieve</a>(deployment_id) -> <a href="./src/agentex/types/deployment_history.py">DeploymentHistory</a></code>
- <code title="get /deployment-history">client.deployment_history.<a href="./src/agentex/resources/deployment_history.py">list</a>(\*\*<a href="src/agentex/types/deployment_history_list_params.py">params</a>) -> <a href="./src/agentex/types/deployment_history_list_response.py">DeploymentHistoryListResponse</a></code>
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.6.1"
version = "0.6.2"
description = "The official Python library for the agentex API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
16 changes: 15 additions & 1 deletion src/agentex/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
)
from ._utils import is_given, get_async_library
from ._version import __version__
from .resources import spans, tasks, agents, events, states, tracker
from .resources import spans, tasks, agents, events, states, tracker, deployment_history
from ._streaming import Stream as Stream, AsyncStream as AsyncStream
from ._exceptions import APIStatusError
from ._base_client import (
Expand Down Expand Up @@ -57,6 +57,7 @@ class Agentex(SyncAPIClient):
states: states.StatesResource
events: events.EventsResource
tracker: tracker.TrackerResource
deployment_history: deployment_history.DeploymentHistoryResource
with_raw_response: AgentexWithRawResponse
with_streaming_response: AgentexWithStreamedResponse

Expand Down Expand Up @@ -141,6 +142,7 @@ def __init__(
self.states = states.StatesResource(self)
self.events = events.EventsResource(self)
self.tracker = tracker.TrackerResource(self)
self.deployment_history = deployment_history.DeploymentHistoryResource(self)
self.with_raw_response = AgentexWithRawResponse(self)
self.with_streaming_response = AgentexWithStreamedResponse(self)

Expand Down Expand Up @@ -261,6 +263,7 @@ class AsyncAgentex(AsyncAPIClient):
states: states.AsyncStatesResource
events: events.AsyncEventsResource
tracker: tracker.AsyncTrackerResource
deployment_history: deployment_history.AsyncDeploymentHistoryResource
with_raw_response: AsyncAgentexWithRawResponse
with_streaming_response: AsyncAgentexWithStreamedResponse

Expand Down Expand Up @@ -345,6 +348,7 @@ def __init__(
self.states = states.AsyncStatesResource(self)
self.events = events.AsyncEventsResource(self)
self.tracker = tracker.AsyncTrackerResource(self)
self.deployment_history = deployment_history.AsyncDeploymentHistoryResource(self)
self.with_raw_response = AsyncAgentexWithRawResponse(self)
self.with_streaming_response = AsyncAgentexWithStreamedResponse(self)

Expand Down Expand Up @@ -466,6 +470,7 @@ def __init__(self, client: Agentex) -> None:
self.states = states.StatesResourceWithRawResponse(client.states)
self.events = events.EventsResourceWithRawResponse(client.events)
self.tracker = tracker.TrackerResourceWithRawResponse(client.tracker)
self.deployment_history = deployment_history.DeploymentHistoryResourceWithRawResponse(client.deployment_history)


class AsyncAgentexWithRawResponse:
Expand All @@ -477,6 +482,9 @@ def __init__(self, client: AsyncAgentex) -> None:
self.states = states.AsyncStatesResourceWithRawResponse(client.states)
self.events = events.AsyncEventsResourceWithRawResponse(client.events)
self.tracker = tracker.AsyncTrackerResourceWithRawResponse(client.tracker)
self.deployment_history = deployment_history.AsyncDeploymentHistoryResourceWithRawResponse(
client.deployment_history
)


class AgentexWithStreamedResponse:
Expand All @@ -488,6 +496,9 @@ def __init__(self, client: Agentex) -> None:
self.states = states.StatesResourceWithStreamingResponse(client.states)
self.events = events.EventsResourceWithStreamingResponse(client.events)
self.tracker = tracker.TrackerResourceWithStreamingResponse(client.tracker)
self.deployment_history = deployment_history.DeploymentHistoryResourceWithStreamingResponse(
client.deployment_history
)


class AsyncAgentexWithStreamedResponse:
Expand All @@ -499,6 +510,9 @@ def __init__(self, client: AsyncAgentex) -> None:
self.states = states.AsyncStatesResourceWithStreamingResponse(client.states)
self.events = events.AsyncEventsResourceWithStreamingResponse(client.events)
self.tracker = tracker.AsyncTrackerResourceWithStreamingResponse(client.tracker)
self.deployment_history = deployment_history.AsyncDeploymentHistoryResourceWithStreamingResponse(
client.deployment_history
)


Client = Agentex
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.6.1" # x-release-please-version
__version__ = "0.6.2" # x-release-please-version
14 changes: 14 additions & 0 deletions src/agentex/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
MessagesResourceWithStreamingResponse,
AsyncMessagesResourceWithStreamingResponse,
)
from .deployment_history import (
DeploymentHistoryResource,
AsyncDeploymentHistoryResource,
DeploymentHistoryResourceWithRawResponse,
AsyncDeploymentHistoryResourceWithRawResponse,
DeploymentHistoryResourceWithStreamingResponse,
AsyncDeploymentHistoryResourceWithStreamingResponse,
)

__all__ = [
"AgentsResource",
Expand Down Expand Up @@ -100,4 +108,10 @@
"AsyncTrackerResourceWithRawResponse",
"TrackerResourceWithStreamingResponse",
"AsyncTrackerResourceWithStreamingResponse",
"DeploymentHistoryResource",
"AsyncDeploymentHistoryResource",
"DeploymentHistoryResourceWithRawResponse",
"AsyncDeploymentHistoryResourceWithRawResponse",
"DeploymentHistoryResourceWithStreamingResponse",
"AsyncDeploymentHistoryResourceWithStreamingResponse",
]
Loading