Skip to content

Sync agent API spec - #948

Open
warpmachineuser wants to merge 1 commit into
mainfrom
automation/sync-agent-api-spec
Open

warpmachineuser wants to merge 1 commit into
mainfrom
automation/sync-agent-api-spec

Conversation

@warpmachineuser

@warpmachineuser warpmachineuser commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Syncs the public Agent API OpenAPI spec from warp-server.

Source ref: 21c4f8e1f2684f74031d68fbe2a694d2e59aef6c
Source commit: 21c4f8e1f2684f74031d68fbe2a694d2e59aef6c

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 23, 2026 3:44pm UTC

Request Review

@cla-bot cla-bot Bot added the cla-signed label Oct 22, 2026
@warp-for-oss

warp-for-oss Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

@warpmachineuser

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 /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@warp-for-oss warp-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Overview

This PR syncs the public Agent API OpenAPI spec with new networking policy, batch run lookup, run diagnostics, platform duration, and benchmark naming fields.

Concerns

  • The new network policies endpoint describes using networkPolicy.extends, but the existing public request schema uses network_policy, so the generated docs would direct users to the wrong field name.

Verdict

Found: 0 critical, 1 important, 0 suggestions

Request changes

Comment /warp-agent-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

summary: List built-in network policies
description: |
Return Warp-managed network policies grouped by name, with every published
version and its included allowed hosts. Use a name and version in networkPolicy.extends.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ [IMPORTANT] The public API schema uses network_policy, not networkPolicy; this would send users to a non-existent field.

Suggested change
version and its included allowed hosts. Use a name and version in networkPolicy.extends.
version and its included allowed hosts. Use a name and version in network_policy.extends.

Source ref: 21c4f8e1f2684f74031d68fbe2a694d2e59aef6c

Source commit: 21c4f8e1f2684f74031d68fbe2a694d2e59aef6c

This branch was successfully deployed

1 active deployment
Preview — 674c9177 Deployed Oct 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant