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

# Overview

> Complete reference for APIs

## Base URL

All API requests should be made to:

```
https://api.u1.archetypeai.app/v0.5
```

## Authentication

All API requests require authentication using your API key:

```bash theme={"system"}
Authorization: Bearer YOUR_API_KEY
```

## Available APIs

<CardGroup cols={2}>
  <Card title="Lens API" icon="eye" href="/api-reference/lens">
    Create and manage lens sessions
  </Card>

  <Card title="Files API" icon="file" href="/api-reference/files">
    Upload and manage files
  </Card>
</CardGroup>

## Rate Limits

API rate limits vary by plan. Contact [support@archetypeai.dev](mailto:support@archetypeai.dev) for details about your organization's limits.

## Error Handling

All API errors follow a consistent format:

```json theme={"system"}
{
  "error": {
    "code": "ERROR_CODE",
    "message": "Human-readable error message",
    "details": {}
  }
}
```
