# lg_logging_settings: Logging settings

Check whether prompts and completions are kept, and for how many days. Only an owner changes it, in the web app.

- **Changes data:** no (read only)
- **Credential scope:** `settings:read` (an API key's scopes, or what you allowed when connecting with OAuth)
- **Assistant level:** any connected assistant (Read only and up)

## Inputs

None.

## Example MCP call

A `tools/call` request to `https://manage.restolayer.com/mcp`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lg_logging_settings",
    "arguments": {}
  }
}
```

## Example REST call

The same thing over REST (`GET /v1/settings/logging`):

```bash
curl -s -X GET "https://manage.restolayer.com/v1/settings/logging" \
  -H "Authorization: Bearer $LG_API_KEY"
```

All tools: [MCP tools](https://www.restolayer.com/docs/mcp/tools). Connecting: [connect your assistant](https://www.restolayer.com/docs/connect).
