# Synapse Router Multi-Model Gateway API

Get Synapse Router Multi-Model 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, description, returned input schema field, and returned jsonrpc field for application integration and result review, and integration reference.

Documentation: https://openany.si/gateway/synapse-router-multi-model-gateway/
API ID: efc9e0e8-33ca-485e-b961-42c7521faf84
Provider: codesphereug
Contract revision: 6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/codesphereug/synapse/mcp
Page update time: 2026-12-03T02:49:50.608Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.001 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:50.608Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Synapse Router Multi-Model Gateway API

Synapse Router Multi-Model 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.

## What You Can Build

- **Application integration and result review**: Keep the request context attached to available returned results.
- **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[].description` | Description |
| `result.tools[].inputSchema` | Returned input schema field |
| `jsonrpc` | Returned jsonrpc field |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Synapse Router Multi-Model Gateway API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "jsonrpc": {
      "type": "string"
    },
    "result": {
      "type": "object",
      "properties": {
        "tools": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "description": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object",
                "properties": {
                  "properties": {
                    "type": "object",
                    "properties": {
                      "bypass_cache": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "boolean"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "estimated_output_tokens": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "integer"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "latency_sla_ms": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "max_cost_usd": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "min_confidence": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "number"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "prompt": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "require_json_schema": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "step_id": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "system_prompt": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "tenant_id": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "tools_schema": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "array",
                            "items": {}
                          },
                          "items": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string"
                              }
                            }
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "workflow_id": {
                        "type": "object",
                        "properties": {
                          "default": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "endpoint_id": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "budget_cap_usd": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "cost_usd": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "model_id": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "task_id": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "task_prompt": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      },
                      "tokens_used": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "required": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "type": {
                    "type": "string"
                  }
                }
              },
              "name": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Recorded upstream MCP tools/list (HTTP 200)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/codesphereug/synapse/mcp' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "id": 2,
  "jsonrpc": "2.0",
  "method": "tools/list"
}'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "id": 2,
  "jsonrpc": "2.0",
  "result": {
    "tools": [
      {
        "description": "Route an AI agent workflow step across FAST_LOCAL, BALANCED, and FRONTIER_REASONING models using Pareto cost/latency optimization, SimHash semantic caching, circuit-breaker failover, and confidence-gated cascade escalation.",
        "inputSchema": {
          "properties": {
            "bypass_cache": {
              "default": false,
              "type": "boolean"
            },
            "estimated_output_tokens": {
              "default": 256,
              "type": "integer"
            },
            "latency_sla_ms": {
              "type": "number"
            },
            "max_cost_usd": {
              "type": "number"
            },
            "min_confidence": {
              "default": 0.78,
              "type": "number"
            },
            "prompt": {
              "description": "User or agent step instruction.",
              "type": "string"
            },
            "require_json_schema": {
              "type": "object"
            },
            "step_id": {
              "default": "step-0",
              "type": "string"
            },
            "system_prompt": {
              "default": "",
              "type": "string"
            },
            "tenant_id": {
              "default": "default-tenant",
              "type": "string"
            },
            "tools_schema": {
              "default": [],
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "workflow_id": {
              "default": "default-workflow",
              "type": "string"
            }
          },
          "required": [
            "prompt"
          ],
          "type": "object"
        },
        "name": "route_agent_step"
      },
      {
        "description": "Compute deterministic complexity score [0.0, 1.0] and recommended model Tier (FAST_LOCAL, BALANCED, FRONTIER_REASONING) for an agent step.",
        "inputSchema": {
          "properties": {
            "estimated_output_tokens": {
              "default": 256,
              "type": "integer"
            },
            "latency_sla_ms": {
              "type": "number"
            },
            "prompt": {
              "type": "string"
            },
            "require_json_schema": {
              "type": "object"
            },
            "system_prompt": {
              "default": "",
              "type": "string"
            },
            "tools_schema": {
              "default": [],
              "items": {
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "prompt"
          ],
          "type": "object"
        },
        "name": "classify_task_complexity"
      },
      {
        "description": "Inspect 3-state circuit breaker status (CLOSED, OPEN, HALF_OPEN), rolling error rates, HTTP 429 rate-limit counters, and EMA latency for registered model endpoints.",
        "inputSchema": {
          "properties": {
            "endpoint_id": {
              "description": "Optional endpoint ID; omit to inspect all registered endpoints.",
              "type": "string"
            }
          },
          "type": "object"
        },
        "name": "inspect_endpoint_health"
      },
      {
        "description": "Query tenant and workflow token/USD budget utilization, remaining allowance, and 80% soft-cap tier downgrade state.",
        "inputSchema": {
          "properties": {
            "tenant_id": {
              "default": "default-tenant",
              "type": "string"
            },
            "workflow_id": {
              "default": "default-workflow",
              "type": "string"
            }
          },
          "type": "object"
        },
        "name": "check_budget_status"
      },
      {
        "description": "Query sliding-window RPM and TPM consumption, ceiling limits, and saturation status for a model endpoint.",
        "inputSchema": {
          "properties": {
            "endpoint_id": {
              "description": "Model endpoint ID to inspect.",
              "type": "string"
            }
          },
          "required": [
            "endpoint_id"
          ],
          "type": "object"
        },
        "name": "synapse_rate_limit_status"
      },
      {
        "description": "Export canonical RFC 6962 G2_BUDGET_ROUTING attestation leaf for a routing receipt or simulation parameters.",
        "inputSchema": {
          "properties": {
            "budget_cap_usd": {
              "type": "number"
            },
            "cost_usd": {
              "type": "number"
            },
            "model_id": {
              "type": "string"
            },
            "task_id": {
              "type": "string"
            },
            "task_prompt": {
              "type": "string"
            },
            "tokens_used": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "name": "synapse_export_aegis_g2"
      }
    ]
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Does this implementation require business input parameters?
No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

### Which request format should I follow?
Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

### How should I map the returned fields?
Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

### Can I reuse request parameters from another endpoint?
Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
