Get definitions
fastero_get_definitionsThe organisation's shared definitions, for writing SQL about a business question: metrics (what revenue, MRR or churn mean, as SQL expressions), datasets (which table holds what, its fields and time fields), relationships (how tables join, by which columns) and notes your admins wrote about querying the data (naming conventions, fiscal calendar). Pass connectionId for the definitions that apply to that database (the organisation-wide ones plus its own, and its own replaces an organisation-wide one of the same kind and name); search filters by name, synonym or description. A metric's expression is the organisation's agreed wording for that number, so a query built from it agrees with the team's own reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Words to look for, e.g. "revenue". | |
| connectionId | No | The connection the SQL will run on: a data connection’s id, from fastero_list_connections. |