docs(api): surface the run followups endpoint in API & SDK reference#190
Conversation
The POST /agent/runs/{runId}/followups endpoint is available in the REST
API and the generated SDKs (runs.submit_followup), but the API & SDK
overview page only listed run/list/get as primary endpoints, so it was
hard to discover. Add the follow-up (and cancel) endpoints to the Key
Endpoints list, add RunFollowupRequest to the models list, and add a
next-steps pointer in the quickstart.
REMOTE-1889
Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
Trim the follow-ups entry in the Key endpoints list to a single concise line matching the other endpoint descriptions, drop the SDK sentence that singled out follow-ups and cancel, and remove the follow-up bullet from the quickstart Next steps. Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
There was a problem hiding this comment.
Overview
This PR updates the API and SDK reference docs so the existing run follow-up endpoint is discoverable from the overview and quickstart pages. I checked the added endpoint references against the local OpenAPI spec; no approved or repository spec context was provided, and I did not find security concerns in the docs-only changes.
Concerns
- The new overview wording can make
modesound like an HTTP query parameter even thoughRunFollowupRequestdefines it as a request-body field.
Verdict
Found: 0 critical, 0 important, 1 suggestions
Approve with nits
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| Fetch full details for a single run, including session link and resolved configuration. | ||
| * `POST /agent/runs/{runId}/followups` | ||
|
|
||
| Send a follow-up message to an existing run to steer or continue it, the same capability the Slack and Linear integrations use. |
There was a problem hiding this comment.
💡 [SUGGESTION] Avoid calling mode an "optional query" here; RunFollowupRequest defines it as a request-body field, and this wording can read like a URL query parameter.
| Send a follow-up message to an existing run to steer or continue it, the same capability the Slack and Linear integrations use. | |
| Send a follow-up message to an existing run, the same capability the Slack and Linear integrations use to continue a run. The server routes the message based on the run's current state (queued, running, or ended), so you can steer or continue a run programmatically. A `200` response means the follow-up was accepted; observe the updated state with `GET /agent/runs/{runId}`. The follow-up message and optional `mode` field are described by the `RunFollowupRequest` model. |
Summary
Improves discoverability of the run follow-ups endpoint in the public Oz API & SDK docs.
REMOTE-1889 — a customer building a custom GitHub Actions integration could not find an API to send a follow-up message (the way the Linear/Slack integrations do). The capability is already exposed:
POST /agent/runs/{runId}/followups(documented in the Scalar reference at/api).warp-server/stainless/stainless.yml(agent.runs.submit_followup), and both OpenAPI specs already define the endpoint and theRunFollowupRequestschema.The gap was the human-readable overview page, which listed only
run/list/getas the "primary endpoints", so the follow-up endpoint was effectively hidden.Changes
reference/api-and-sdk/index.mdxPOST /agent/runs/{runId}/followups(andPOST /agent/runs/{runId}/cancel) to the Key Endpoints list, noting it is the same capability the Slack and Linear integrations use, and that it is available in the SDKs (runs.submit_followup).RunFollowupRequestto the Models Reference list.reference/api-and-sdk/quickstart.mdxNotes
stainless.ymlor OpenAPI changes were required — the endpoint is already exposed there. This PR is scoped to the remaining docs-discoverability gap called out in the issue.npm run build(337 pages built, no errors).Testing
npm run build— succeeds.Conversation: https://staging.warp.dev/conversation/67551d0d-4dd3-41c8-a959-ec5d77d24221
Run: https://oz.staging.warp.dev/runs/019ea832-5fd9-7656-ad84-5afdeb7f085e
This PR was generated with Oz.