Skip to content
Open
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 .roe-main-release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1-0-87
1-0-89
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.5** - SDK operation coverage is synchronized across Python,
> **v1.1.6** - 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
9 changes: 9 additions & 0 deletions SDK_EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ result = client.agents.run_sync(
agent_id="agent_id",
text="text",
metadata={},
skip_cache=False, # optional: True bypasses the job-result cache
)
```

Expand All @@ -187,6 +188,7 @@ job = client.agents.run(
timeout_seconds=300,
text="text",
metadata={},
skip_cache=False, # optional: True bypasses the job-result cache
)
```

Expand All @@ -204,6 +206,7 @@ batch = client.agents.run_many(
batch_inputs=[{"text": "text"}],
timeout_seconds=300,
metadata={},
skip_cache=False, # optional: True bypasses the job-result cache
)
```

Expand All @@ -221,6 +224,7 @@ result = client.agents.run_version_sync(
version_id="version_id",
text="text",
metadata={},
skip_cache=False, # optional: True bypasses the job-result cache
)
```

Expand All @@ -239,6 +243,7 @@ job = client.agents.run_version(
timeout_seconds=300,
text="text",
metadata={},
skip_cache=False, # optional: True bypasses the job-result cache
)
```

Expand Down Expand Up @@ -500,6 +505,7 @@ result = client.connections.create(
config={}, # required
description="description", # optional
auth_config={}, # optional
dynamic_inputs={}, # optional
)
```

Expand All @@ -516,6 +522,7 @@ result = client.connections.test_credentials(
connector_type="connector_type", # required
config={}, # required
auth_config={}, # optional
dynamic_inputs={}, # optional
)
```

Expand Down Expand Up @@ -562,6 +569,7 @@ result = client.connections.update(
description="description", # optional
config={}, # optional
auth_config={}, # optional
dynamic_inputs={}, # optional
)
```

Expand All @@ -580,6 +588,7 @@ result = client.connections.replace(
description="description", # optional
config={}, # optional
auth_config={}, # optional
dynamic_inputs={}, # optional
)
```

Expand Down
76 changes: 75 additions & 1 deletion openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ paths:
schema:
type: string
description: 'Field to order results by. Prefix with ''-'' for descending.
Options: name, created_at, most_recent_job, job_count, engine_class_id,
Options: name, created_at, updated_at, most_recent_job, job_count, engine_class_id,
creator.'
- in: query
name: organization_id
Expand Down Expand Up @@ -121,6 +121,19 @@ paths:
items:
type: string
description: Filter agents by tag IDs. Can be provided multiple times.
- in: query
name: updated_from
schema:
type: string
format: date-time
description: Filter agents whose last config update was at or after this timestamp.
- in: query
name: updated_to
schema:
type: string
format: date-time
description: Filter agents whose last config update was at or before this
timestamp.
tags:
- agents
- sdk
Expand Down Expand Up @@ -4652,6 +4665,10 @@ components:
type: string
format: date-time
readOnly: true
updated_at:
type: string
format: date-time
readOnly: true
name:
type: string
maxLength: 200
Expand Down Expand Up @@ -4711,6 +4728,7 @@ components:
- name
- organization_id
- tags
- updated_at
BaseAgentCreateRequest:
type: object
description: Serializer for creating base agents with proper JSON field handling
Expand Down Expand Up @@ -4810,6 +4828,16 @@ components:
description:
type: string
config: {}
dynamic_inputs:
type: object
additionalProperties:
type: string
readOnly: true
dynamic_input_test_disabled_reason:
type:
- string
- 'null'
readOnly: true
auth_config:
type: object
additionalProperties: {}
Expand All @@ -4829,6 +4857,8 @@ components:
- connector_display_name
- connector_type
- created_at
- dynamic_input_test_disabled_reason
- dynamic_inputs
- id
- name
- organization
Expand Down Expand Up @@ -4872,6 +4902,16 @@ components:
description:
type: string
config: {}
dynamic_inputs:
type: object
additionalProperties:
type: string
readOnly: true
dynamic_input_test_disabled_reason:
type:
- string
- 'null'
readOnly: true
status:
$ref: '#/components/schemas/StatusEnum'
created_at:
Expand All @@ -4886,6 +4926,8 @@ components:
- connector_display_name
- connector_type
- created_at
- dynamic_input_test_disabled_reason
- dynamic_inputs
- id
- name
- organization
Expand Down Expand Up @@ -4922,13 +4964,25 @@ components:
oneOf:
- {}
- type: 'null'
dynamic_input_fields:
type: object
additionalProperties:
type: array
items:
type: string
dynamic_input_test_fields:
type: array
items:
type: string
required:
- auth_schema
- category
- config_schema
- delivery_config_schema
- description
- display_name
- dynamic_input_fields
- dynamic_input_test_fields
- icon
- id
- supports_delivery
Expand Down Expand Up @@ -4992,6 +5046,11 @@ components:
auth_config:
type: object
additionalProperties: {}
dynamic_inputs:
type: object
additionalProperties:
type: string
minLength: 1
organization_id:
type:
- string
Expand Down Expand Up @@ -5686,6 +5745,11 @@ components:
auth_config:
type: object
additionalProperties: {}
dynamic_inputs:
type: object
additionalProperties:
type: string
minLength: 1
PatchedUpdatePolicyRequest:
type: object
description: Serializer for updating policy metadata (name, description)
Expand Down Expand Up @@ -6233,6 +6297,11 @@ components:
auth_config:
type: object
additionalProperties: {}
dynamic_inputs:
type: object
additionalProperties:
type: string
minLength: 1
required:
- config
- connector_type
Expand Down Expand Up @@ -6265,6 +6334,11 @@ components:
auth_config:
type: object
additionalProperties: {}
dynamic_inputs:
type: object
additionalProperties:
type: string
minLength: 1
UpdatePolicy:
type: object
description: Serializer for updating policy metadata (name, description)
Expand Down
24 changes: 24 additions & 0 deletions openapi/wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,12 @@ apis:
annotation: dict[str, Any] | None
default: null
pass_unset_when_none: true
- name: dynamic_inputs
location: body
wire_name: dynamic_inputs
annotation: dict[str, str] | None
default: null
pass_unset_when_none: true
- kind: body
method_name: test_credentials
docstring: Test connection credentials without saving a connection.
Expand All @@ -804,6 +810,12 @@ apis:
annotation: dict[str, Any] | None
default: null
pass_unset_when_none: true
- name: dynamic_inputs
location: body
wire_name: dynamic_inputs
annotation: dict[str, str] | None
default: null
pass_unset_when_none: true
- kind: body
method_name: retrieve
docstring: Retrieve a connection.
Expand Down Expand Up @@ -857,6 +869,12 @@ apis:
annotation: dict[str, Any] | None
default: null
pass_unset_when_none: true
- name: dynamic_inputs
location: body
wire_name: dynamic_inputs
annotation: dict[str, str] | None
default: null
pass_unset_when_none: true
- kind: body
method_name: replace
docstring: Replace a connection.
Expand Down Expand Up @@ -896,6 +914,12 @@ apis:
annotation: dict[str, Any] | None
default: null
pass_unset_when_none: true
- name: dynamic_inputs
location: body
wire_name: dynamic_inputs
annotation: dict[str, str] | None
default: null
pass_unset_when_none: true
- kind: body
method_name: delete
docstring: Delete a connection.
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 = "roe-ai"
version = "1.1.5"
version = "1.1.6"
authors = [
{ name = "Roe", email = "founders@roe-ai.com" },
]
Expand Down
Loading
Loading