Go SDK

Production-ready SDK for building typed integrations against ServoAgent APIs.

Installation

go get github.com/servoagent/servoagent-go

Package: github.com/servoagent/servoagent-go

Best For

High-throughput services
CLI tooling
Microservices
Batch jobs

Quick Start

client := servoagent.NewClient(servoagent.Config{APIKey: "sk_live_..."})

runs, err := client.Runs.List(ctx, servoagent.ListRunsParams{Limit: 20})
if err != nil {
  log.Fatal(err)
}
fmt.Println(len(runs.Data))

Generate Snippets

API Explorer can generate snippets for cURL, Python, Node.js, Go, and Ruby from a single request.

Open API Explorer