> ## Documentation Index
> Fetch the complete documentation index at: https://docs-attestly.code4source.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Spatial compliance API for socio-environmental risk.

**Attestly** is a B2B API that turns a polygon and a ruleset into a
compliance verdict. Send geometry, get back which protected areas it
overlaps, how far it is from sensitive zones, whether the parties
involved appear on sanctions lists — all in a single call.

## What you can do

* **Check compliance**: `POST /v1/evaluate` runs a ruleset (yours or from
  the catalog) over a polygon and returns a structured verdict —
  `COMPLIANT`, `WARNING`, `NON_COMPLIANT`, or `DEGRADED`.
* **Discover overlaps**: `POST /v1/intersections` lists every reference
  area that intersects a polygon, with overlap area and ratio.
* **Measure distances**: `POST /v1/distance` returns nearest features
  within a radius range.
* **Match a subject**: `POST /v1/subjects` checks a typed identifier
  (CNPJ, EIN, OFAC SDN, etc.) against subject registers.
* **Browse the catalog**: `GET /v1/sources`, `GET /v1/rulesets` to see
  which datasets and rulesets are available to your organization.

## How it fits together

The discovery endpoints (`/intersections`, `/distance`, `/subjects`)
answer raw questions about a geometry or identifier. `/evaluate` runs
a full **ruleset** — your compliance policy expressed as a JSON
document — and returns a structured verdict. Most customers start
with discovery and move to `/evaluate` once their policy stabilizes.

## Where to go next

<CardGroup cols={2}>
  <Card title="Quickstart" icon="play" href="/quickstart">
    Make your first request in under a minute.
  </Card>

  <Card title="How it works" icon="diagram-project" href="/concepts/how-it-works">
    Geometry → sources → checks → verdict.
  </Card>

  <Card title="Authoring rulesets" icon="pen" href="/authoring/ruleset-basics">
    Encode your compliance policy as a JSON ruleset.
  </Card>

  <Card title="API Reference" icon="code" href="/api/evaluate">
    Endpoint contracts and request/response shapes.
  </Card>
</CardGroup>
