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 .roe-main-release-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1-0-91
1-0-93
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.7** - SDK operation coverage is synchronized across Python,
> **v1.1.8** - 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
14 changes: 14 additions & 0 deletions SDK_EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ result = client.agents.jobs.delete_data(
)
```

#### `agents_jobs_webhook_resend_create`

Resend agent job webhook

```python
from roe import RoeClient

client = RoeClient()

result = client.agents.jobs.resend_webhook(
job_id="job_id", # required
)
```

#### `agents_jobs_status_retrieve`

Get agent job status.
Expand Down
75 changes: 75 additions & 0 deletions openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,58 @@ paths:
schema:
$ref: '#/components/schemas/ErrorDetailResponse'
description: Agent job not found
/v1/agents/jobs/{job_id}/webhook/resend/:
post:
operationId: agents_jobs_webhook_resend_create
description: Re-send the completion webhook for a job. Useful for replaying
a callback during integration work. Sends to every active webhook on the agent,
or to one of them when `webhook_id` is given. The job is not re-run and its
status is unchanged.
summary: Resend agent job webhook
parameters:
- in: path
name: job_id
schema:
type: string
format: uuid
required: true
- name: organization_id
in: query
required: false
schema:
type: string
format: uuid
description: Organization ID. This is required for access control. It can
be provided via query or request body depending on the endpoint.
tags:
- agents
- sdk
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ResendAgentJobWebhookRequest'
security:
- apiKeyAuth: []
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/AgentJobWebhookResendResponse'
description: ''
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorResponse'
description: Job has not reached a terminal status
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorDetailResponse'
description: Job not found
/v1/agents/jobs/results/:
post:
operationId: agents_jobs_results_create
Expand Down Expand Up @@ -4489,6 +4541,18 @@ components:
minItems: 1
required:
- job_ids
AgentJobWebhookResendResponse:
type: object
properties:
status:
type: string
queued:
type: integer
description: How many deliveries were queued. 0 means the agent has no active
webhook subscription, which is the usual reason a callback never arrives.
required:
- queued
- status
AgentRunAsyncManyRequest:
type: object
description: Serializer for agent async many execution requests.
Expand Down Expand Up @@ -5957,6 +6021,17 @@ components:
* `core` - core
* `watch` - watch
* `edge` - edge
ResendAgentJobWebhookRequest:
type: object
description: Serializer for re-sending a job's completion webhook.
properties:
webhook_id:
type:
- string
- 'null'
format: uuid
description: Send to only this webhook. Omit to send to every active webhook
on the agent.
ResolveRequest:
type: object
description: |-
Expand Down
11 changes: 11 additions & 0 deletions openapi/wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,17 @@ apis:
location: path
annotation: str
coerce: uuid
- kind: body
method_name: resend_webhook
docstring: ''
method: POST
path: /v1/agents/jobs/{job_id}/webhook/resend/
endpoint_module: roe._generated.api.agents.agents_jobs_webhook_resend_create
parameters:
- name: job_id
location: path
annotation: str
coerce: uuid
Comment on lines +597 to +607

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Public resend method is missing

When a user follows the new example and calls client.agents.jobs.resend_webhook, the hand-written AgentJobsAPI facade has no corresponding method, causing an AttributeError before any request is sent.

Fix in Claude Code

- kind: body
method_name: cancel_all
docstring: ''
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.7"
version = "1.1.8"
authors = [
{ name = "Roe", email = "founders@roe-ai.com" },
]
Expand Down
Loading
Loading