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

# Quickstart

> Start searching your files in less than 5 minutes.

## 1. Get your API Key

To start using SearchAnything, you'll need an API key.

1. Log in to the [SearchAnything Dashboard](https://atom14.ai/dashboard.html).
2. Navigate to the **Developers** tab.
3. Click **Create New Key**.
4. Copy your key (starts with `sk_live_` or `sk_test_`).

<Note>
  Use `sk_test_` keys for development. They don't count against your billing quota and return mock data for testing integration.
</Note>

## 2. Upload a File

Once you have your key, you can upload a file using our REST API. SearchAnything accepts PDFs, Images, Audio, and Video.

```bash theme={null}
curl -X POST https://searchanything.onrender.com/api/files/upload \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY" \
  -F "file=@/path/to/your/document.pdf"
```

**Response:**

```json theme={null}
{
  "file": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "original_name": "document.pdf",
    "status": "processing",
    "file_type": "pdf"
  }
}
```

The file status will start as `pending` or `processing`. Depending on the file size, it may take a few seconds to become `ready`.

## 3. Search Your Content

Once the file is processed, you can search its contents immediately.

```bash theme={null}
curl -X GET "https://searchanything.onrender.com/api/search?q=quarterly+revenue" \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY"
```

**Response:**

```json theme={null}
{
  "results": [
    {
      "content": "...the quarterly revenue exceeded expectations by 15%...",
      "score": 0.89,
      "file_id": "550e8400-e29b-41d4-a716-446655440000",
      "locator": {
        "page": 12
      },
      "files": {
        "original_name": "document.pdf",
        "file_type": "pdf"
      }
    }
  ],
  "count": 1
}
```

## Next Steps

<CardGroup cols={2}>
  <Card title="API Reference" icon="book" href="/api-reference">
    See all available endpoints and parameters.
  </Card>

  <Card title="SDKs" icon="box-open" href="/sdks">
    Check out our Python and TypeScript libraries (Coming Soon).
  </Card>
</CardGroup>
