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

# Rastro

> AI-powered catalog enrichment and normalization with enterprise-grade data governance

Transform raw product data into complete, structured catalogs. Every field is validated, sourced, and ready for production. Fully compatible with your existing PIM and ERP schemas.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Enrich your first item in 2 minutes
  </Card>

  <Card title="API Reference" icon="code" href="/enrich/reference">
    Full endpoint documentation
  </Card>
</CardGroup>

***

## Why Rastro?

### Auto-Scaling Infrastructure

Processing 30,000+ SKUs is complex — managing queues, handling failures, rate limiting, and scaling workers. Rastro handles all of this for you. Just send your data and we process it at scale.

### Web or Internal Sources with Full Traceability

Rastro can fetch information for you from anywhere on the internet with no URLs provided, PDFs, images, and any data or links you provide.

Every enriched value includes sources showing where data was found, plus optional explanations of how values were derived. No black boxes—audit any data point back to its origin:

```json theme={null}
{
  "after_data": {
    "material": "316 Stainless Steel",
    "bore_diameter": "25 mm",
    "datasheet_url": "https://example.com/spec.pdf",
    "sources": {
      "material": ["https://mcmaster.com/catalog/91251A"],
      "bore_diameter": ["https://mcmaster.com/catalog/91251A"],
      "datasheet_url": ["https://mcmaster.com/catalog/91251A"]
    },
    "source_explanations": {
      "material": "Extracted from product title and specifications table",
      "bore_diameter": "Extracted from product dimensions section",
      "datasheet_url": "Extracted from specifications table on page 2"
    }
  },
  "all_sources": ["https://mcmaster.com/catalog/91251A"]
}
```

Set `"web_search": false` to skip web lookups and only process your input data. Sources will reference `INPUT_DATA` instead of URLs.

### Automatic Error Flagging

AI flags uncertain values, conflicting data, and potential issues for human review. Every result includes reasoning and flags.

```json theme={null}
{
  "review_info": {
    "reasoning": "Found conflicting specs across sources",
    "flags": ["conflicting_data", "verify_dimensions"],
    "flag_record": true
  }
}
```

### Taxonomy & Category Prediction

Automatically classify items into your taxonomy with attribute extraction. Define your category hierarchy once—Rastro assigns items and extracts category-specific attributes.

```json theme={null}
{
  "category_path": "Fasteners > Bolts > Hex Bolts",
  "taxonomy_attributes": {
    "Thread Size": "M10-1.5",
    "Head Type": "Hex",
    "Grade": "A2-70"
  }
}
```

### Complex Field Types

Define fields with units, enums, arrays, and validation constraints. Rastro extracts structured data matching your exact schema.

```json theme={null}
{
  "output_schema": [
    {"name": "weight", "type": "number", "unit": "kg"},
    {"name": "material", "type": "string", "enum": ["Steel", "Aluminum", "Brass"]},
    {"name": "certifications", "type": "array", "items_enum": ["ISO 9001", "CE", "UL"]}
  ]
}
```

### Row Judging

Judge rows against your catalog schema and quality prompt. Identify incomplete records before they hit production.

```json theme={null}
{
  "judgments": [
    {
      "row_index": 0,
      "decision": "review_required",
      "reasons": ["Complete specs, missing datasheet URL"],
      "field_issues": ["datasheet_url is blank"]
    }
  ]
}
```

***

<CardGroup cols={3}>
  <Card title="Enrich API" icon="sparkles" href="/enrich/quickstart">
    Web research with citations
  </Card>

  <Card title="Flows" icon="diagram-project" href="/flows/quickstart">
    Visual data pipelines
  </Card>

  <Card title="Catalogs" icon="database" href="/catalogs/quickstart">
    Managed product storage
  </Card>

  <Card title="Photo Studio" icon="camera" href="/photo-studio/quickstart">
    AI product photo editing and video
  </Card>

  <Card title="MCP (Codex / Claude)" icon="robot" href="/mcp/quickstart">
    Agent-driven bulk catalog operations with review safety
  </Card>
</CardGroup>
