> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orquestr.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eleventa_monocaja.custom.validate

> Validate read-only SQL against allowlist

# `eleventa_monocaja.custom.validate`

Validate read-only SQL against allowlist

| | |
| - | - |
| **Adapter** | `eleventa_monocaja` |
| **Operation** | `db.query` |
| **SQL policy** | `read` |

## Parameters

| Name | Kind | Required | Notes |
| - | - | - | - |
| `sql` | `sql` | Yes | |

## Example

```bash theme={"system"}
curl -s -X POST "$API/v1/devices/$DEVICE_ID/functions/eleventa_monocaja.custom.validate" \
  -H "Authorization: Bearer $ORQUESTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"sql":"SELECT FIRST 1 ID FROM PRODUCTOS"}}'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.