Health check
package main
import (
"context"
"fmt"
"github.com/chamelaion/chamelaion-go"
"github.com/chamelaion/chamelaion-go/option"
)
func main() {
client := chamelaion.NewClient(
option.WithBearerToken("My Bearer Token"),
option.WithAPIKey("My API Key"),
)
response, err := client.Health.Check(context.TODO())
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.Status)
}
{
"status": "ok"
}Returns Examples
{
"status": "ok"
}