Versions in this module Expand all Collapse all v1 v1.15.3 Feb 20, 2026 v1.15.2 Feb 18, 2026 v1.15.1 Feb 15, 2026 v1.15.0 Feb 13, 2026 Changes in this version + type APIResponse struct + Data T + Error string + Success bool + func DecodeResponse[T any](resp *http.Response) (*APIResponse[T], error) + type Client struct + func New(cfg *types.Config) (*Client, error) + func NewFromConfig() (*Client, error) + func NewFromConfigUnauthenticated() (*Client, error) + func NewUnauthenticated(cfg *types.Config) (*Client, error) + func (c *Client) Delete(ctx context.Context, path string) (*http.Response, error) + func (c *Client) EnvID() string + func (c *Client) EnvPath(path string) string + func (c *Client) Get(ctx context.Context, path string) (*http.Response, error) + func (c *Client) Post(ctx context.Context, path string, body any) (*http.Response, error) + func (c *Client) Put(ctx context.Context, path string, body any) (*http.Response, error) + func (c *Client) Request(ctx context.Context, method, path string, body any) (*http.Response, error) + func (c *Client) RequestRaw(ctx context.Context, method, path string, body io.Reader, ...) (*http.Response, error) + func (c *Client) SetEnvironment(envID string) + func (c *Client) SetTimeout(timeout time.Duration) + func (c *Client) TestConnection(ctx context.Context) error + type PaginatedResponse struct + Items []T + Pagination struct{ ... } + func DecodePaginatedResponse[T any](resp *http.Response) (*PaginatedResponse[T], error)