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

# Introduction

> Upload a PDF. Search it in milliseconds. Parse any document to clean Markdown.

LightOn gives you an API to search, parse, and ingest documents at scale.
Build knowledge-retrieval pipelines without managing vector databases or OCR models.

<div style={{ display: 'flex', flexWrap: 'wrap', gap: '0.5rem' }}>
  <a href="https://api.lighton.ai/docs" target="_blank" rel="noopener noreferrer" style={{ display: 'inline-flex', alignItems: 'center', gap: '0.4rem', padding: '0.35rem 0.75rem', borderRadius: '0.5rem', background: '#1f99bb', color: '#fff', fontSize: '0.8rem', fontWeight: 600, textDecoration: 'none', lineHeight: 1.2 }}>
    <Icon icon="code" size={14} color="#fff" /> OpenAPI spec
  </a>

  <a href="https://developers.lighton.ai/skill.md" target="_blank" rel="noopener noreferrer" style={{ display: 'inline-flex', alignItems: 'center', gap: '0.4rem', padding: '0.35rem 0.75rem', borderRadius: '0.5rem', background: '#1f99bb', color: '#fff', fontSize: '0.8rem', fontWeight: 600, textDecoration: 'none', lineHeight: 1.2 }}>
    <Icon icon="robot" size={14} color="#fff" /> skill.md
  </a>

  <a href="/tutorials/from-documents-to-answers" style={{ display: 'inline-flex', alignItems: 'center', gap: '0.4rem', padding: '0.35rem 0.75rem', borderRadius: '0.5rem', background: '#f59e0b', color: '#fff', fontSize: '0.8rem', fontWeight: 600, textDecoration: 'none', lineHeight: 1.2 }}>
    <Icon icon="face-spiral-eyes" size={14} color="#fff" /> CEO wants a RAG by tomorrow and I'm lost!
  </a>
</div>

## What you can do

### Build a searchable knowledge base

Ingest documents once, then query them. A persistent, indexed corpus you can search or ask questions over.

<Columns cols={3}>
  <Card title="Ingest" icon="cloud-arrow-up" href="/tutorials/files">
    Upload files to a workspace and LightOn turns them into a searchable index
    automatically, running the whole document-understanding pipeline for you.
  </Card>

  <Card title="Search" icon="magnifying-glass" href="/tutorials/search">
    Hybrid semantic + lexical search with reranking across your document corpus.
    Returns ranked chunks with scores, source metadata, and optional page images.
  </Card>

  <Card title="Ask" icon="comments" href="/tutorials/ask">
    Retrieval-augmented generation in one call: a grounded LLM answer with the
    sources it used, returned synchronously or streamed token by token.
  </Card>
</Columns>

### Classify and organise documents

<Columns cols={3}>
  <Card title="Workspaces" icon="box-archive" href="/tutorials/workspaces">
    Partition your corpus into isolated containers per team, customer, or tenant.
  </Card>

  <Card title="Tags" icon="tags" href="/tutorials/tags">
    Group documents into reusable collections that cut across workspaces.
  </Card>

  <Card title="Facets" icon="layer-group" href="/tutorials/facets/overview">
    Define classification trees with custom attributes, classify files, and filter search by metadata.
  </Card>
</Columns>

### Process documents on the fly

Convert or extract from a document in a single call. Nothing is stored, useful for feeding your own pipeline.

<Columns cols={2}>
  <Card title="Parse" icon="file-lines" href="/tutorials/parse">
    Convert PDFs, Office files, and images to structured Markdown. Sync mode for
    quick jobs, async for large documents. Nothing stored either way.
  </Card>

  <Card title="Extract" icon="wand-magic-sparkles" href="/tutorials/extract">
    Pull typed fields out of documents using a JSON Schema you provide. Sync mode
    for small files, async mode for large jobs.
  </Card>
</Columns>

## Get started

<Columns cols={3}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get a search result in under 5 minutes.
  </Card>

  <Card title="Authentication" icon="key" href="/authentication">
    Set up your API key.
  </Card>

  <Card title="API Reference" icon="terminal" href="/api-reference/introduction">
    Full endpoint documentation.
  </Card>
</Columns>

<Frame>
  <img src="https://mintcdn.com/lighton-developers/HDs7IIr5cFKfMAf5/images/do_you_even_search.png?fit=max&auto=format&n=HDs7IIr5cFKfMAf5&q=85&s=67cd186d720616931e9f38a7fb18bd5b" alt="Do you even search?" style={{ borderRadius: '0.5rem' }} width="1536" height="1024" data-path="images/do_you_even_search.png" />
</Frame>
