PatchPilot Code Repair Gateway API
Get PatchPilot Code Repair Gateway data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Codesphereug, pass parameters such as id, jsonrpc, method, and retrieve structured data including identifier, name, returned annotations field, description, and returned input schema field to search interfaces and source review, and integration reference.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 2Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
PatchPilot Code Repair Gateway API
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Overview
PatchPilot Code Repair Gateway API
PatchPilot Code Repair Gateway API uses the documented POST route for this operation. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | No business input parameters. |
| Selected implementation | codesphereug · PatchPilot Code Repair Gateway |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Search interfaces and source review: Keep returned sources and query context together.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
id |
Identifier |
result.tools[].name |
Name |
result.tools[].annotations |
Returned annotations field |
result.tools[].description |
Description |
result.tools[].inputSchema |
Returned input schema field |
jsonrpc |
Returned jsonrpc field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/codesphereug/patchpilot/mcp' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"id": 2,
"jsonrpc": "2.0",
"method": "tools/list"
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published PatchPilot Code Repair Gateway API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
codesphereugCurrent PatchPilot Code Repair Gateway API · POST · View API reference | $0.001 / call | 2 | 100.00%successP501.12s |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 6. Price update time: not supplied.
Total $0.1
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/codesphereug/patchpilot/mcp- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
No input fields are required by this API contract.
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
idintegerjsonrpcstringresultobjecttoolsobject[]annotationsobjectdestructiveHintbooleanidempotentHintbooleanopenWorldHintbooleanreadOnlyHintboolean
descriptionstringinputSchemaobjectpropertiesobjectexport_aegisobjectdefaultbooleandescriptionstringtypestring
original_filesobjectdescriptionstringtypestring
unified_diffobjectdescriptionstringtypestring
include_testsobjectdefaultbooleandescriptionstringtypestring
sourcesobjectdescriptionstringtypestring
token_budgetobjectdefaultintegerdescriptionstringtypestring
top_kobjectdefaultintegerdescriptionstringtypestring
traceback_textobjectdescriptionstringtypestring
allow_test_modificationsobjectdefaultbooleandescriptionstringtypestring
max_files_touchedobjectdefaultintegerdescriptionstringtypestring
max_lines_changedobjectdefaultintegerdescriptionstringtypestring
patched_filesobjectdescriptionstringtypestring
file_pathobjectdescriptionstringtypestring
line_numberobjectdescriptionstringtypestring
query_nameobjectdescriptionstringtypestring
requiredstring[]typestring
namestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Recorded upstream MCP tools/list (HTTP 200)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/codesphereug/patchpilot/mcp' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "id": 2, "jsonrpc": "2.0", "method": "tools/list" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "id": 2, "jsonrpc": "2.0", "result": { "tools": [ { "annotations": { "destructiveHint": false, "idempotentHint": true, "openWorldHint": false, "readOnlyHint": true }, "description": "Parse and audit a multi-file unified git diff against 8 deterministic AST anti-reward-hacking & safety rules (RH001–RH008) and export canonical Nexus Aegis G5 leaf attestation.", "inputSchema": { "properties": { "export_aegis": { "default": false, "description": "Whether to include canonical Nexus Aegis G5 attestation package in output.", "type": "boolean" }, "original_files": { "description": "Optional mapping of {rel_path: original_source_code}.", "type": "object" }, "unified_diff": { "description": "Multi-file unified diff string (e.g. git diff output).", "type": "string" } }, "required": [ "unified_diff" ], "type": "object" }, "name": "audit_unified_diff" }, { "annotations": { "destructiveHint": false, "idempotentHint": true, "openWorldHint": false, "readOnlyHint": true }, "description": "Rank suspect Python functions/methods from a traceback or pytest failure log using hybrid Stack-Trace + AST Call-Graph + BM25 token overlap, returning minimal line-numbered AST slices within a strict token budget.", "inputSchema": { "properties": { "include_tests": { "default": false, "description": "Whether to include test_* functions in ranked candidates.", "type": "boolean" }, "sources": { "description": "Optional in-memory {rel_path: source_code} map instead of workspace_root.", "type": "object" }, "token_budget": { "default": 1200, "description": "Maximum token budget across returned AST code slices.", "type": "integer" }, "top_k": { "default": 5, "description": "Maximum number of suspect functions to return.", "type": "integer" }, "traceback_text": { "description": "Raw Python traceback or pytest failure output.", "type": "string" } }, "required": [ "traceback_text" ], "type": "object" }, "name": "localize_fault" }, { "annotations": { "destructiveHint": false, "idempotentHint": true, "openWorldHint": false, "readOnlyHint": true }, "description": "Evaluate a proposed patch (original vs patched files or unified diff) against 8 deterministic AST anti-reward-hacking & safety rules (RH001–RH008).", "inputSchema": { "properties": { "allow_test_modifications": { "default": false, "description": "Whether edits to test files are allowed without triggering RH001-RH002.", "type": "boolean" }, "max_files_touched": { "default": 5, "description": "Maximum number of files a candidate patch is permitted to modify.", "type": "integer" }, "max_lines_changed": { "default": 250, "description": "Maximum added plus deleted lines allowed across the patch.", "type": "integer" }, "original_files": { "description": "Mapping of {rel_path: original_source_code}.", "type": "object" }, "patched_files": { "description": "Mapping of {rel_path: patched_source_code}.", "type": "object" }, "unified_diff": { "description": "Optional unified diff string applied onto original_files.", "type": "string" } }, "required": [ "original_files" ], "type": "object" }, "name": "verify_patch_integrity" }, { "annotations": { "destructiveHint": false, "idempotentHint": true, "openWorldHint": false, "readOnlyHint": true }, "description": "Query the AST symbol table and bidirectional call graph of a workspace by symbol name or (file_path, line_number).", "inputSchema": { "properties": { "file_path": { "description": "Relative file path for line-based enclosing symbol lookup.", "type": "string" }, "line_number": { "description": "1-based line number for enclosing symbol lookup.", "type": "integer" }, "query_name": { "description": "Function, method, or class name to look up.", "type": "string" }, "sources": { "description": "Optional in-memory {rel_path: source_code} map.", "type": "object" } }, "required": [], "type": "object" }, "name": "inspect_ast_symbols" } ] } }