# cscli lapi

## cscli lapi[​](#cscli-lapi "Direct link to cscli lapi")

Manage interaction with Local API (LAPI)

TEXTCOPY

```
cscli lapi [action] [flags]
```

### Options[​](#options "Direct link to Options")

TEXTCOPY

```
  -h, --help   help for lapi
```

### Options inherited from parent commands[​](#options-inherited-from-parent-commands "Direct link to Options inherited from parent commands")

TEXTCOPY

```
      --color string    Output color: yes, no, auto (default "auto")
  -c, --config string   path to crowdsec config file (default "/etc/crowdsec/config.yaml")
      --debug           Set logging to debug
      --error           Set logging to error
      --info            Set logging to info
  -o, --output string   Output format: human, json, raw
      --trace           Set logging to trace
      --warning         Set logging to warning
```

### SEE ALSO[​](#see-also "Direct link to SEE ALSO")

* [cscli](https://docs.crowdsec.net/docs/next/cscli/.md) - cscli allows you to manage crowdsec
* [cscli lapi context](https://docs.crowdsec.net/docs/next/cscli/cscli_lapi_context.md) - Manage context to send with alerts
* [cscli lapi register](https://docs.crowdsec.net/docs/next/cscli/cscli_lapi_register.md) - Register a machine to Local API (LAPI)
* [cscli lapi status](https://docs.crowdsec.net/docs/next/cscli/cscli_lapi_status.md) - Check authentication to Local API (LAPI)
