Run BQL with Typed Results
runBqlQueryStructuredExecute BQL and return the typed table (column names, types, and rows) or structured text result. Uses the same query contract as REST JSON and GraphQL queryShell. The query travels in a POST body end to end, so long queries have no URL-length ceiling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The BQL query to execute | |
| ledger | No | Target ledger as owner/name. Required for an unpinned credential; defaults to the credential's ledger restriction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |