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

# Roulette API Documentation

> Programmatic access to your AI-powered deal flow CRM

# Bet on better data.

Roulette is the AI-powered deal CRM that eliminates manual data entry for venture capital firms. Our API gives you programmatic access to automate deal flow, sync pipeline data, and build custom integrations.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Start making API requests in under 5 minutes
  </Card>

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

  <Card title="Companies API" icon="building" href="/api-reference/companies/list">
    Manage your deal pipeline programmatically
  </Card>

  <Card title="Core Concepts" icon="lightbulb" href="/concepts/companies">
    Understand how Roulette structures data
  </Card>
</CardGroup>

## What can you build?

<CardGroup cols={2}>
  <Card title="Automate Deal Ingestion" icon="wand-magic-sparkles">
    Forward emails, process form submissions, or pipe in deals from any source. Our AI extracts company data, downloads decks, and populates your CRM fields automatically.
  </Card>

  <Card title="Sync Your Systems" icon="arrows-rotate">
    Keep Roulette in sync with your internal tools, data warehouse, or portfolio management systems.
  </Card>

  <Card title="Build Custom Workflows" icon="diagram-project">
    Connect Roulette to Zapier, Make, or your own automation pipelines to trigger actions when deals move through your pipeline.
  </Card>

  <Card title="Generate Reports" icon="chart-line">
    Pull pipeline data for custom analytics, LP reporting, or investment committee dashboards.
  </Card>
</CardGroup>

## Key Endpoints

| Endpoint                       | Description                                             |
| ------------------------------ | ------------------------------------------------------- |
| `POST /companies/upload/ai`    | AI-powered company creation from emails, text, or files |
| `GET /companies`               | List and filter your deal pipeline                      |
| `POST /companies/{id}/analyze` | Extract data from pitch decks with AI                   |
| `GET /accounts/{id}/dashboard` | Pipeline statistics and metrics                         |
| `GET /accounts/{id}/emails`    | Access ingested emails                                  |

## API Design

<AccordionGroup>
  <Accordion title="RESTful Design">
    Resource-oriented URLs with standard HTTP methods (GET, POST, PATCH, DELETE).
  </Accordion>

  <Accordion title="JSON Responses">
    Consistent response structure with `success`, `data`, and `error` fields.
  </Accordion>

  <Accordion title="Cursor Pagination">
    Efficient pagination using `has_next` and `has_prev` flags for fast response times.
  </Accordion>

  <Accordion title="AI-Powered Endpoints">
    Intelligent endpoints that extract and structure data automatically. AI operations consume credits from your account.
  </Accordion>
</AccordionGroup>

## Need Help?

<CardGroup cols={2}>
  <Card title="Contact Support" icon="envelope" href="mailto:support@useroulette.com">
    Reach out to our team
  </Card>

  <Card title="Dashboard" icon="gauge" href="https://www.useroulette.com/home">
    Access your Roulette CRM
  </Card>

  <Card title="API Status" icon="signal" href="https://status.useroulette.com/">
    Check system status and uptime
  </Card>

  <Card title="API Reference" icon="code" href="/api-reference">
    Browse all endpoints
  </Card>
</CardGroup>
