Versions in this module Expand all Collapse all v0 v0.1.0 Oct 4, 2026 Changes in this version + type APIError struct + Code string + RequestID string + RetryAfter string + StatusCode int + func (e *APIError) Error() string + type Client struct + func New(apiKey string, options *Options) (*Client, error) + func (c *Client) CreateScreening(ctx context.Context, input ScreeningRequest, idempotencyKey string) (*Response[ScreeningResult], error) + func (c *Client) GetEvidence(ctx context.Context, id string) (*EvidenceResponse, error) + func (c *Client) GetResult(ctx context.Context, id string) (*Response[RetainedResult], error) + func (c *Client) ListSources(ctx context.Context) (*Response[[]Source], error) + type ClientError struct + Code string + StatusCode int + func (e *ClientError) Error() string + func (e *ClientError) Unwrap() error + type Coverage struct + Fresh bool + PublishedAt *string + RetrievedAt string + SourceID string + SourceNotice json.RawMessage + Version string + type Evidence struct + ExpiresAt *string + Format string + Reference *string + ReplayLimit *string + Request *ScreeningRequest + Result ScreeningResult + RetainedInputs bool + Retention string + Subject *Subject + type EvidenceResponse struct + Evidence Evidence + RawJSON json.RawMessage + RequestID string + type Identifier struct + Issuer string + Type string + Value string + type Match struct + Assessment json.RawMessage + Conflicts []string + Evidence json.RawMessage + Record json.RawMessage + Score float64 + type Options struct + BaseURL string + HTTPClient *http.Client + MaxResponseBytes int64 + Timeout time.Duration + type PolicyReference struct + ID string + Version int64 + type Response struct + Data T + RawJSON json.RawMessage + RequestID string + type RetainedResult struct + Reference *string + Subject *Subject + type ScreeningRequest struct + CounterpartyID string + Package string + Policy *PolicyReference + Reference string + Retention string + Sources []string + Subject Subject + type ScreeningResult struct + Coverage []Coverage + CreatedAt string + Disclaimer string + Environment string + ID string + Matches []Match + Matching json.RawMessage + PolicySnapshot json.RawMessage + Status string + Versions Versions + type Source struct + Authority string + Availability string + Capabilities []string + Category string + CurrentVersion json.RawMessage + DisabledReason string + Fresh *bool + Homepage string + ID string + Jurisdiction string + LastImport json.RawMessage + Name string + Qualification json.RawMessage + RightsStatus string + type Subject struct + BirthDate string + Country string + EntityType string + Identifiers []Identifier + Name string + type Versions struct + Dataset string + MatchingEngine string + Package string + Policy string