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

# API Reference

> Overview of the Traceback REST API, base URLs, rate limits, and response formats.

The Traceback REST API enables programmatic access to error events, distributed trace graphs, session replays, and project management.

## Base URLs

| Environment           | Base URL                               |
| :-------------------- | :------------------------------------- |
| **Production**        | `https://api.traceback.dev/v1`         |
| **Ingestion Edge**    | `https://ingest.traceback.dev/v1`      |
| **Sandbox / Staging** | `https://sandbox-api.traceback.dev/v1` |

***

## Response Format

All API responses return JSON with standard HTTP status codes.

```json theme={null}
{
  "data": { ... },
  "status": "success"
}
```

Error responses follow RFC 7807 Problem Details:

```json theme={null}
{
  "error": {
    "code": "invalid_api_key",
    "message": "The provided Bearer token has expired or is invalid.",
    "status": 401
  }
}
```

***

## Rate Limits

| Tier               | Requests / Minute | Ingest Rate           |
| :----------------- | :---------------- | :-------------------- |
| **Free Developer** | 60 req/min        | 5,000 events/hr       |
| **Team**           | 600 req/min       | 50,000 events/hr      |
| **Enterprise**     | Custom            | Custom Dedicated Edge |
