Agent

Submit a patch for PR creation

Mark a patch as confirmed so the platform PR service picks it up and creates a pull request with proper formatting. If the patch already has a PR, returns the existing PR link.

post/api/v2/agent/triggerPrFromPatch

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Organization ID (injected by MCP server)

patchIdstring uuid required

ID of the patch to submit for PR creation

Response

Patch submitted or already submitted

status'submitted' | 'already_submitted' required

Whether the patch was newly submitted or already had a PR. If already_submitted, prLink is returned.

patchIdstring uuid
prLinkstring nullable
pullRequestStatus'PENDING' | 'ACCEPTED' | 'DENIED' | 'null' nullable
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.