Data API базы: состояние
data_api_statusWhether the database has the Data API enabled, its address, keys and the sites allowed to call it.
Keys are shown by prefix; the public key also comes with its value (it is
not a secret: it ships in the site bundle). Secret keys are never returned
or stored. Enabling the API goes through the CLI; as in
Supabase, new tables in `public` are then open to the roles and RLS
decides the rows, so every table needs RLS on. Sign-in and files are
enabled only by the person in the dashboard.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "data_api_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | The database: name, slug or id. Without it — the organization's only database with the Data API enabled. | |
| organization | No | Organization slug. Without it — the only one, or the personal one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| keys | No | ||
| sites | No | ||
| enabled | Yes | ||
| database | Yes | ||
| url_note | No | ||
| next_action | Yes | ||
| auth_enabled | No | ||
| organization | Yes | ||
| files_enabled | No |