# CrawlDex Agent Quickstart

Required loop: resolve -> inspect -> preflight -> act -> report.

## Resolve

- `GET /api/v1/resolve?q=cancel%20my%20subscription`

## Inspect

- `GET /api/v1/tasks/subscriptions.cancel`

## Preflight

```http
POST /api/v1/preflight
Content-Type: application/json
```

```json
{
  "site": "example.com",
  "task": "subscriptions.cancel",
  "agent_profile": {
    "stack": "browser-use",
    "model": "gpt-5.5",
    "browser_runtime": "chromium"
  }
}
```

## Report

```http
POST /api/v1/runs
Content-Type: application/json
x-crawldex-agent-key: aa_agent_...
```

Do not submit secrets, cookies, private screenshots, payment data, or unredacted user content.

## Discovery

- `/llms.txt`
- `/.well-known/crawldex.json`
- `/openapi.json`
- `/api/v1/accounts/options`