Skip to main content
github.com/plainrouter/sdk-go is the official Go SDK generated from PlainRouter’s signed OpenAPI contract. Release v0.5.0 targets signed API contract 0.5.0.

Requirements

  • Go 1.23 or newer.
  • A per-Signal tracker secret.
  • Server-side code. Do not put the tracker secret in browser or distributed client code.

Install

Review the release and generated source in plainrouter/sdk-go.

Create an authenticated client

Pass the Signal tracker secret through the request context:
Load the secret from your environment or secret manager rather than writing it in source code. The Go SDK does not accept an MCP workspace token or OAuth management credential.

Configure another API origin

The generated configuration defaults to the PlainRouter Conversion API. Override its server only for a PlainRouter-provided region or a controlled test environment.

Handle credentials safely

Keep the Signal tracker secret in server-side credential storage. Never include it in prompts, URLs, logs, source control, or client-side code. For operation names and request fields, use the Conversion API reference.