# `frontline api`

Escape hatch for ad-hoc authenticated Public API calls

```bash
frontline api [options] [command]
```

## `frontline api raw`

Escape hatch: authenticated GET against the same Public API base URL as other commands (path is relative to that base, e.g. /agents).

```bash
frontline api raw [options] <method> <path>
```

**Options**

| Flag | Description | Default |
|  --- | --- | --- |
| `--query <pairs...>` | Query parameters as key=value pairs |  |
| `--api-key <key>` | Override API key for this run (else FRONTLINE_API_KEY env, else stored profile key) |  |
| `--base-url <url>` | Advanced: override Public API base URL for this run |  |
| `--profile <name>` | Credentials profile: uses that profile's saved API key and Public API base URL (see `frontline auth profiles list`) |  |
| `--debug` | Show debug information (redacted token) |  |