# ApiVault Developer Guide

## Common workflows

### Find an API

```text
/av search
```

Search an API, event, table, symbol, template, module, source example or secure pattern.

### Test a safe API

```text
/av testlab
```

Use the argument builder and SafeRunner. Protected/review/metadata entries remain blocked.

### Inspect runtime globals

```text
/av globals
```

Read-only `_G` inspection. Functions are not called.

### Audit addon code snippets

```text
/av audit
```

Paste Lua/XML/TOC text and generate checklist-style findings.

### Debug external addon data

```text
/av devapi
/av dashboard
/av bugadvisor
```

External addons can register logs, errors, traces and checkpoints through ApiVault's Public Developer API.

### Record event payloads

```text
/av events
```

Manual event listener and capped payload recorder.

## Recommended validation

Use BugSack/BugGrabber or Blizzard Lua errors during testing and fix the first error stack before adding new features.
