Versions in this module Expand all Collapse all v0 v0.0.3 Jan 31, 2026 v0.0.2 Jan 31, 2026 v0.0.1 Jan 31, 2026 Changes in this version + type APIError struct + Error string + type Client struct + func New(apiKey string) (*Client, error) + func (c *Client) GetContents(ctx context.Context, req *ContentsRequest) (*ContentsResponse, error) + func (c *Client) Search(ctx context.Context, req *SearchRequest) (*SearchResponse, error) + type ContentStatus struct + Error ... + ID string + Status string + type ContentsOptions struct + Highlights any + Summary any + Text any + type ContentsRequest struct + Context any + Highlights any + IDs []string + LivecrawlTimeout int + MaxAgeHours *int + SubpageTarget []string + Subpages int + Summary any + Text any + type ContentsResponse struct + Results []SearchResult + Statuses []ContentStatus + type ContextOptions struct + MaxCharacters int + type SearchRequest struct + Category string + Contents *ContentsOptions + EndPublishedDate string + ExcludeDomains []string + IncludeDomains []string + MaxAgeHours *int + NumResults int + Query string + StartPublishedDate string + Type string + type SearchResponse struct + AutopromptString string + ResolvedSearchType string + Results []SearchResult + type SearchResult struct + Author string + Highlights []string + ID string + PublishedDate string + Score float64 + Summary string + Text string + Title string + URL string + type SummaryOptions struct + Query string + Schema any + type TextOptions struct + IncludeHtmlTags bool + MaxCharacters int + Verbosity string