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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
A Python SDK for the [Roe](https://www.roe-ai.com/) API.

<!-- ROE-SDK:RELEASE-BANNER:START -->
> **v1.1.4** - SDK operation coverage is synchronized across Python,
> **v1.1.5** - SDK operation coverage is synchronized across Python,
> TypeScript, and Go. See `SDK_EXAMPLES.md` for copy-ready examples and
> use cases.
<!-- ROE-SDK:RELEASE-BANNER:END -->
Expand Down
23 changes: 23 additions & 0 deletions SDK_EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,29 @@ result = client.agents.duplicate(
)
```

#### `agents_jobs_list`

List agent jobs or create a new agent job.

```python
from roe import RoeClient

Comment thread
Chen-ROE marked this conversation as resolved.
client = RoeClient()

result = client.agents.jobs.list(
agent_id="agent_id", # required
page=1, # optional
page_size=1, # optional
status_code="status_code", # optional
version_name="version_name", # optional
metadata="metadata", # optional
created_from="created_from", # optional
created_to="created_to", # optional
search="search", # optional
ordering="ordering", # optional
)
```

#### `agents_jobs_cancel_all_create`

Cancel all running agent jobs (:cancelAll)
Expand Down
Loading
Loading